The Unicode handling fixes my app seemed to need.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-06-14 14:51:25 +00:00
parent 627fe5e8ab
commit 002f42185d
8 changed files with 26 additions and 22 deletions

View File

@@ -50,9 +50,9 @@ bool wxCheckListBox::IsChecked( int index ) const
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"));
@@ -69,7 +69,7 @@ void wxCheckListBox::Check( int index, bool check )
GtkBin *bin = GTK_BIN( child->data );
GtkLabel *label = GTK_LABEL( bin->child );
wxString str = label->label;
wxString str = wxString(label->label,*wxConv_current);
if (check == (str[1] == _T('X'))) return;