]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/checklst.cpp
DT_WORD_ELLIPSIS is not defined under CE
[wxWidgets.git] / src / gtk / checklst.cpp
index ba70c07e7f0af791fbde0118f989a11e3f1c9f31..95dbf3d2a84faadef73a90d2ef45369f6f13bf3f 100644 (file)
 #if wxUSE_CHECKLISTBOX
 
 #include "wx/checklst.h"
+
+// FIXME: We use GtkList to implement wxListBox
+#ifdef GTK_DISABLE_DEPRECATED
+#undef GTK_DISABLE_DEPRECATED
+#endif
+
 #include "wx/gtk/private.h"
 
 #include <gdk/gdk.h>
@@ -93,7 +99,7 @@ void wxCheckListBox::Check( int index, bool check )
 
         str.SetChar( 1, check ? wxCHECKLBOX_CHECKED : wxCHECKLBOX_UNCHECKED );
 
-        gtk_label_set( label, wxGTK_CONV( str ) );
+        gtk_label_set_text( label, wxGTK_CONV( str ) );
 
         return;
     }