X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afa14f2c7c3c1faa6332ee196a9cd5ca8200c68..e623926d636cf2ff8a39ec0b773028779189cb92:/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