X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afa14f2c7c3c1faa6332ee196a9cd5ca8200c68..328bfc22243e3d4672ddf626db4f78e4269c7275:/src/gtk/control.cpp 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 +