4 changed files with 63 additions and 14 deletions
@ -1 +0,0 @@
|
||||
f5426533db98990a905d32e1c7928a7584dbd80e wxGTK-2.8.11.tar.gz |
@ -0,0 +1,30 @@
|
||||
diff -Naur wxGTK-2.8.12.orig/src/gtk/dataview.cpp wxGTK-2.8.12/src/gtk/dataview.cpp
|
||||
--- wxGTK-2.8.12.orig/src/gtk/dataview.cpp 2011-03-22 13:18:57.000000000 +0100
|
||||
+++ wxGTK-2.8.12/src/gtk/dataview.cpp 2011-11-04 10:58:56.581017157 +0100
|
||||
@@ -37,6 +37,8 @@
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
+#include <stdint.h> // for uintptr_t
|
||||
+
|
||||
//-----------------------------------------------------------------------------
|
||||
// classes
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -311,7 +313,7 @@
|
||||
g_value_init( value, G_TYPE_STRING );
|
||||
model->GetValue( variant,
|
||||
(unsigned int) column,
|
||||
- (unsigned int) iter->user_data );
|
||||
+ (uintptr_t) iter->user_data );
|
||||
|
||||
// FIXME: we should support different encodings here
|
||||
g_value_set_string( value, wxGTK_CONV_SYS(variant.GetString()) );
|
||||
@@ -1417,7 +1419,7 @@
|
||||
|
||||
wxDataViewRenderer *cell = (wxDataViewRenderer*) data;
|
||||
|
||||
- unsigned int model_row = (unsigned int) iter->user_data;
|
||||
+ uintptr_t model_row = (uintptr_t) iter->user_data;
|
||||
|
||||
wxVariant value;
|
||||
list_store->model->GetValue( value, cell->GetOwner()->GetModelColumn(), model_row );
|
@ -0,0 +1 @@
|
||||
56cc7f6622dd6f2fecd43fc210dc1c6cb155b37f wxGTK-2.8.12.tar.gz |
Loading…
Reference in new issue