X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/002f42185d25472085d36a077d1428d71c781e5b..babd4308f2704f4234e271d29a8e8c1e211b4af6:/src/gtk1/checklst.cpp diff --git a/src/gtk1/checklst.cpp b/src/gtk1/checklst.cpp index 046020c6e0..6c08581ae6 100644 --- a/src/gtk1/checklst.cpp +++ b/src/gtk1/checklst.cpp @@ -13,6 +13,8 @@ #include "wx/checklst.h" +#if wxUSE_CHECKLISTBOX + #include "gdk/gdk.h" #include "gtk/gtk.h" @@ -69,7 +71,7 @@ void wxCheckListBox::Check( int index, bool check ) GtkBin *bin = GTK_BIN( child->data ); GtkLabel *label = GTK_LABEL( bin->child ); - wxString str = wxString(label->label,*wxConv_current); + wxString str = wxString(label->label,*wxConvCurrent); if (check == (str[1] == _T('X'))) return; @@ -91,3 +93,5 @@ int wxCheckListBox::GetItemHeight() const // FIXME return 22; } + +#endif