]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/button.cpp
removing dependancy on mac headers from public wx headers (eventually adding wx/mac...
[wxWidgets.git] / src / gtk1 / 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
+