X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afa14f2c7c3c1faa6332ee196a9cd5ca8200c68..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/src/gtk1/stattext.cpp?ds=sidebyside diff --git a/src/gtk1/stattext.cpp b/src/gtk1/stattext.cpp index 6e00a77898..f10c32753c 100644 --- a/src/gtk1/stattext.cpp +++ b/src/gtk1/stattext.cpp @@ -12,6 +12,10 @@ #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