]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/control.cpp
removed corrected detection of wchar_t under Mac OS X (added in revision 1.355)
[wxWidgets.git] / src / gtk1 / 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
+