projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow 2 step creation of wxDocChildFrameAnyBase and derived classes
[wxWidgets.git]
/
src
/
generic
/
editlbox.cpp
diff --git
a/src/generic/editlbox.cpp
b/src/generic/editlbox.cpp
index 1e0dc8e73827dab1dcefeabcf454ed465381ce40..204e28908ad057a59090aba865a7c2070519a1c1 100644
(file)
--- a/
src/generic/editlbox.cpp
+++ b/
src/generic/editlbox.cpp
@@
-172,6
+172,7
@@
public:
#else
w -= 2*wxSystemSettings::GetMetric(wxSYS_VSCROLL_X);
#endif
+ if (w < 0) w = 0;
SetColumnWidth(0, w);
}