]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/mdi.cpp
tell that there was an error...
[wxWidgets.git] / src / gtk1 / mdi.cpp
index 958a37294436427771423322cf3453d141b65342..999be74c6e132719e1c82221210d1e96105ac852 100644 (file)
@@ -18,6 +18,7 @@
 #include "wx/dialog.h"
 #include "wx/menu.h"
 #include "wx/intl.h"
+#include "wx/gtk/private.h"
 
 #include <glib.h>
 #include <gdk/gdk.h>
@@ -399,7 +400,7 @@ void wxMDIChildFrame::SetTitle( const wxString &title )
 
     wxMDIParentFrame* parent = (wxMDIParentFrame*) GetParent();
     GtkNotebook* notebook = GTK_NOTEBOOK(parent->m_widget);
-    gtk_notebook_set_tab_label_text(notebook, m_widget, title.mbc_str());
+    gtk_notebook_set_tab_label_text(notebook, m_widget, wxGTK_CONV( title ) );
 }
 
 //-----------------------------------------------------------------------------