X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23318a5358be74727fb62854f623da84a4545bcd..ff3fd98a080f92ed9123d938d0eb26997cae5bea:/src/generic/editlbox.cpp diff --git a/src/generic/editlbox.cpp b/src/generic/editlbox.cpp index 1e0dc8e738..204e28908a 100644 --- 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); }