]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/stattext.cpp
Fixes the problem with VARCHAR fields not allowing the stored string to ever be lengt...
[wxWidgets.git] / src / gtk1 / stattext.cpp
index 6e00a778984022dd9675ba0b10f9c9681b91a08d..f10c32753c92eba493c55b015478fb9b3fa71acb 100644 (file)
     #pragma implementation "stattext.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_STATTEXT
+
 #include "wx/stattext.h"
 
 #include "gdk/gdk.h"
@@ -156,3 +160,4 @@ wxSize wxStaticText::DoGetBestSize() const
     return wxSize(req.width, req.height);
 }
 
+#endif // wxUSE_STATTEXT