-
- wxString str = label->label;
-
- if (check == (str[1] == 'X')) return;
-
- if (check)
- str.SetChar( 1, 'X' );
- else
- str.SetChar( 1, '-' );
-
- gtk_label_set( label, str );
-
- return;
+
+ wxString str = wxString(label->label,*wxConvCurrent);
+
+ if (check == (str[1] == _T('X'))) return;
+
+ if (check)
+ str.SetChar( 1, _T('X') );
+ else
+ str.SetChar( 1, _T('-') );
+
+ gtk_label_set( label, str.mbc_str() );
+
+ return;