X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d257b8db10b5f464d896ff0d4249237d8f587a1..6e2e590f2adca1d43ab654c2128459ebc339c87d:/src/gtk/checklst.cpp diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index ba70c07e7f..95dbf3d2a8 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -15,6 +15,12 @@ #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 @@ -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; }