X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afa14f2c7c3c1faa6332ee196a9cd5ca8200c68..28f5082b3235a349ffc3b99eeacca5049ccd42dd:/src/gtk1/control.cpp diff --git a/src/gtk1/control.cpp b/src/gtk1/control.cpp index ca1b3a199d..72e2da93ef 100644 --- a/src/gtk1/control.cpp +++ b/src/gtk1/control.cpp @@ -11,6 +11,10 @@ #pragma implementation "control.h" #endif +#include "wx/defs.h" + +#if wxUSE_CONTROLS + #include "wx/control.h" #include @@ -79,3 +83,5 @@ wxSize wxControl::DoGetBestSize() const return wxSize(req.width, req.height); } +#endif // wxUSE_CONTROLS +