X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afa14f2c7c3c1faa6332ee196a9cd5ca8200c68..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/gtk/stattext.cpp diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 6e00a77898..f10c32753c 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/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