X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afa14f2c7c3c1faa6332ee196a9cd5ca8200c68..f78024a1f98fac96991a9f87804000512a32a976:/src/gtk1/stattext.cpp 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