X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66bd83b4ec25c06bbd72cf2aa7cedd94892660b4..dff4be9392001bfd15f9833c7c767ed415f4ae2c:/src/gtk/stattext.cpp?ds=sidebyside diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 6f068dc3d0..9b5aa5cb2f 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -144,9 +144,8 @@ void wxStaticText::SetLabel( const wxString &label ) gtk_label_set_markup( GTK_LABEL(m_widget), wxGTK_CONV( colorlabel ) ); } else -#else - gtk_label_set( GTK_LABEL(m_widget), wxGTK_CONV( m_label ) ); #endif + gtk_label_set( GTK_LABEL(m_widget), wxGTK_CONV( m_label ) ); // adjust the label size to the new label unless disabled if (!HasFlag(wxST_NO_AUTORESIZE))