]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
correct the test for Windows platform (this also fixes unit test failures in FormatCo...
[wxWidgets.git] / src / gtk / button.cpp
index 086159189ad1dbdf40149bde8b7f78d3b6ac9369..066183e717c9cfba0204d1bd07ec99a83ad5e0c8 100644 (file)
@@ -211,7 +211,7 @@ void wxButton::SetLabel( const wxString &lbl )
     gtk_button_set_label(GTK_BUTTON(m_widget), wxGTK_CONV(labelGTK));
     gtk_button_set_use_stock(GTK_BUTTON(m_widget), FALSE);
 
-    ApplyWidgetStyle( false );
+    GTKApplyWidgetStyle( false );
 }
 
 bool wxButton::Enable( bool enable )