]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
another file I added on the wxUniv branch and forgot to merge
[wxWidgets.git] / src / gtk / control.cpp
index ca1b3a199d36c5f2d8a78ca9aed53876aa30e73d..72e2da93ef4b857bc10f17ab66735f2cf17a6f3b 100644 (file)
 #pragma implementation "control.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_CONTROLS
+
 #include "wx/control.h"
 
 #include <gtk/gtk.h>
@@ -79,3 +83,5 @@ wxSize wxControl::DoGetBestSize() const
     return wxSize(req.width, req.height);
 }
 
+#endif // wxUSE_CONTROLS
+