X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7ac4461ab64212a536a8dabffc2ad65ef573a5f..096c9f9b986e3e614175efdbb880ef4f94283c42:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 2bef390337..c4d3cb49ed 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -43,7 +43,7 @@ bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label m_isStaticBox = TRUE; - m_widget = gtk_frame_new(m_label); + m_widget = gtk_frame_new(m_label.mbc_str()); m_parent->AddChild( this ); @@ -66,7 +66,7 @@ void wxStaticBox::SetLabel( const wxString &label ) { wxControl::SetLabel( label ); GtkFrame *frame = GTK_FRAME( m_widget ); - gtk_frame_set_label( frame, GetLabel() ); + gtk_frame_set_label( frame, GetLabel().mbc_str() ); } void wxStaticBox::ApplyWidgetStyle() @@ -74,4 +74,3 @@ void wxStaticBox::ApplyWidgetStyle() SetWidgetStyle(); gtk_widget_set_style( m_widget, m_widgetStyle ); } -