]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/stattext.cpp
added XRC handler for wxStdDialogButtonSizer
[wxWidgets.git] / src / gtk1 / stattext.cpp
index 6f068dc3d0d4d2fe68b9aec7bff05d0be28543b0..9b5aa5cb2f2faa946d2bfd0c65b38ed36a07e6d6 100644 (file)
@@ -144,9 +144,8 @@ void wxStaticText::SetLabel( const wxString &label )
         gtk_label_set_markup( GTK_LABEL(m_widget), wxGTK_CONV( colorlabel ) );
     }
     else
         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
 #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))
 
     // adjust the label size to the new label unless disabled
     if (!HasFlag(wxST_NO_AUTORESIZE))