]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
renamed wxDynamicThisCast to wxDynamicCastThis, removed 1st parameter, and documented
[wxWidgets.git] / src / gtk / button.cpp
index 4fd565e8dcffa2848bd020ab1bb37baf0b7ce7ed..01b3283adcd389665996f97dd30995b20bc4bcd5 100644 (file)
 #pragma implementation "button.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_BUTTON
+
 #include "wx/button.h"
 
 #include <gdk/gdk.h>
@@ -186,3 +190,5 @@ wxSize wxButton::DoGetBestSize() const
     return ret;
 }
 
+#endif // wxUSE_BUTTON
+