X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e691f46b2ec1b5dbbff2e51131e3c532e688a89..7291c37aa8f406b9487963a1b7fd6ee45b2e0b34:/src/gtk/button.cpp?ds=sidebyside diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index 31fd1bd089..fc88afb789 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -109,10 +109,8 @@ bool wxButton::Create( wxWindow *parent, wxWindowID id, const wxString &label, SetLabel( label ); -#if (GTK_MINOR_VERSION > 0) if (style & wxNO_BORDER) gtk_button_set_relief( GTK_BUTTON(m_widget), GTK_RELIEF_NONE ); -#endif gtk_signal_connect( GTK_OBJECT(m_widget), "clicked", GTK_SIGNAL_FUNC(gtk_button_clicked_callback), (gpointer*)this ); @@ -162,7 +160,7 @@ void wxButton::SetLabel( const wxString &label ) wxControl::SetLabel( label ); - gtk_label_set( GTK_LABEL( BUTTON_CHILD(m_widget) ), GetLabel().mbc_str() ); + gtk_label_set( GTK_LABEL( BUTTON_CHILD(m_widget) ), wxGTK_CONV( GetLabel() ) ); } bool wxButton::Enable( bool enable )