#if wxUSE_CHECKLISTBOX
-#include "gdk/gdk.h"
-#include "gtk/gtk.h"
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// wxCheckListBox
wxString str = wxString(label->label,*wxConvCurrent);
- return (str[1] == wxT('X'));
+ return (str.GetChar(1) == wxT('X'));
}
wxFAIL_MSG(wxT("wrong checklistbox index"));
wxString str = wxString(label->label,*wxConvCurrent);
- if (check == (str[1] == wxT('X'))) return;
+ if (check == (str.GetChar(1) == wxT('X'))) return;
if (check)
str.SetChar( 1, wxT('X') );