#include "wx/checklst.h"
+#if wxUSE_CHECKLISTBOX
+
#include "gdk/gdk.h"
#include "gtk/gtk.h"
GtkBin *bin = GTK_BIN( child->data );
GtkLabel *label = GTK_LABEL( bin->child );
- wxString str = label->label;
+ wxString str = wxString(label->label,*wxConv_current);
- return (str[1] == 'X');
+ return (str[1] == _T('X'));
}
wxFAIL_MSG(_T("wrong checklistbox index"));
GtkBin *bin = GTK_BIN( child->data );
GtkLabel *label = GTK_LABEL( bin->child );
- wxString str = label->label;
+ wxString str = wxString(label->label,*wxConvCurrent);
if (check == (str[1] == _T('X'))) return;
// FIXME
return 22;
}
+
+#endif