]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/editlbox.cpp
close the associated frame if the view is deleted directly to avoid leaving zombie...
[wxWidgets.git] / src / generic / editlbox.cpp
index 1e0dc8e73827dab1dcefeabcf454ed465381ce40..204e28908ad057a59090aba865a7c2070519a1c1 100644 (file)
@@ -172,6 +172,7 @@ public:
 #else
          w -= 2*wxSystemSettings::GetMetric(wxSYS_VSCROLL_X);
 #endif
+         if (w < 0) w = 0;
          SetColumnWidth(0, w);
     }