X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afa14f2c7c3c1faa6332ee196a9cd5ca8200c68..bcd3d8d9e26e41615d26d457ba0e2b84b80a0356:/src/gtk/control.cpp?ds=inline diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index ca1b3a199d..72e2da93ef 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/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 +