X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66bd83b4ec25c06bbd72cf2aa7cedd94892660b4..645b5bd6c0bc43c1029bcaeed32f34db063a3739:/src/gtk/stattext.cpp 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))