X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66bd83b4ec25c06bbd72cf2aa7cedd94892660b4..ee0225491381093f4c119b5170d9d21d43090c42:/src/gtk1/stattext.cpp diff --git a/src/gtk1/stattext.cpp b/src/gtk1/stattext.cpp index 6f068dc3d0..9b5aa5cb2f 100644 --- a/src/gtk1/stattext.cpp +++ b/src/gtk1/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))