]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
another segfault fix
[wxWidgets.git] / src / gtk / 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