projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for root behavior under MSW
[wxWidgets.git]
/
src
/
gtk
/
stattext.cpp
diff --git
a/src/gtk/stattext.cpp
b/src/gtk/stattext.cpp
index 6e00a778984022dd9675ba0b10f9c9681b91a08d..f10c32753c92eba493c55b015478fb9b3fa71acb 100644
(file)
--- 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