avoid setting negative size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
58d439cf5a
commit
d9b22b06d3
@ -172,6 +172,7 @@ public:
|
||||
#else
|
||||
w -= 2*wxSystemSettings::GetMetric(wxSYS_VSCROLL_X);
|
||||
#endif
|
||||
if (w < 0) w = 0;
|
||||
SetColumnWidth(0, w);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user