X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a260fe6a435f318c386b2da660fd30a7a2b02ce5..07fa75bc31fd49da3e4bd4a8bf056a96493bf26b:/src/gtk/mdi.cpp?ds=sidebyside diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index 3eb711da9d..85eb0270c7 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -335,7 +335,7 @@ static void wxInsertChildInMDI( wxMDIClientWindow* parent, wxMDIChildFrame* chil wxString s = child->m_title; if (s.IsNull()) s = _("MDI child"); - GtkWidget *label_widget = gtk_label_new( s ); + GtkWidget *label_widget = gtk_label_new( s.mbc_str() ); gtk_misc_set_alignment( GTK_MISC(label_widget), 0.0, 0.5 ); gtk_signal_connect( GTK_OBJECT(child->m_widget), "size_allocate",