From: Václav Slavík Date: Sun, 27 Jun 2004 13:47:52 +0000 (+0000) Subject: fixed typo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1171e2e56e0f0cc61f6d2bf95878fbb4eb2280da fixed typo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)) 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))