projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for wxComboBox::GetSelection from inside event handler
[wxWidgets.git]
/
src
/
gtk1
/
control.cpp
diff --git
a/src/gtk1/control.cpp
b/src/gtk1/control.cpp
index ca1b3a199d36c5f2d8a78ca9aed53876aa30e73d..72e2da93ef4b857bc10f17ab66735f2cf17a6f3b 100644
(file)
--- a/
src/gtk1/control.cpp
+++ b/
src/gtk1/control.cpp
@@
-11,6
+11,10
@@
#pragma implementation "control.h"
#endif
+#include "wx/defs.h"
+
+#if wxUSE_CONTROLS
+
#include "wx/control.h"
#include <gtk/gtk.h>
@@
-79,3
+83,5
@@
wxSize wxControl::DoGetBestSize() const
return wxSize(req.width, req.height);
}
+#endif // wxUSE_CONTROLS
+