X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afa14f2c7c3c1faa6332ee196a9cd5ca8200c68..9d2cef1c694eb0c34ae4b9c9bd7ab04e3255301d:/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 +