X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/850ff4855026066770d80c376ee6fc864169509c..9cf99fc093f9c45b6b5d8d8b357699d826c9916a:/src/gtk1/button.cpp?ds=sidebyside diff --git a/src/gtk1/button.cpp b/src/gtk1/button.cpp index 4fd565e8dc..01b3283adc 100644 --- a/src/gtk1/button.cpp +++ b/src/gtk1/button.cpp @@ -11,6 +11,10 @@ #pragma implementation "button.h" #endif +#include "wx/defs.h" + +#if wxUSE_BUTTON + #include "wx/button.h" #include @@ -186,3 +190,5 @@ wxSize wxButton::DoGetBestSize() const return ret; } +#endif // wxUSE_BUTTON +