]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/mdi.cpp
Another Unicode fix.
[wxWidgets.git] / src / gtk / mdi.cpp
index 3eb711da9d002dbd77e68788c0d1f987e7f5ab6e..85eb0270c7b38ea91bf954dfc89d9de2cda875e6 100644 (file)
@@ -335,7 +335,7 @@ static void wxInsertChildInMDI( wxMDIClientWindow* parent, wxMDIChildFrame* chil
     wxString s = child->m_title;
     if (s.IsNull()) s = _("MDI child");
 
     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",
     gtk_misc_set_alignment( GTK_MISC(label_widget), 0.0, 0.5 );
 
     gtk_signal_connect( GTK_OBJECT(child->m_widget), "size_allocate",