]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
fixed wrong arguments to Draw
[wxWidgets.git] / src / msw / button.cpp
index 4e93fe7cd8c115d4ed4199fd7fd6cc44c6ea2790..9a36d74f46bd3b8783ce63ae43efa8e022e39bea 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "button.h"
 #endif
 
@@ -51,6 +51,7 @@ IMPLEMENT_DYNAMIC_CLASS_XTI(wxButton, wxControl,"wx/button.h")
 
 WX_BEGIN_PROPERTIES_TABLE(wxButton)
        WX_DELEGATE( OnClick , wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEvent )
+       // default
 WX_END_PROPERTIES_TABLE()
 
 WX_BEGIN_HANDLERS_TABLE(wxButton)