]> git.saurik.com Git - wxWidgets.git/commitdiff
wxVListBox doesn't handle (at least horz) resizing properly without wxFULL_REPAINT_ON...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 May 2004 21:31:33 +0000 (21:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 May 2004 21:31:33 +0000 (21:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/vlbox.cpp

index 989f6f797d835b6b924089d183d9e105182b73e8..bb58622e9b968fcbe2b54bfe71eaf18e1c0525e0 100644 (file)
@@ -68,7 +68,7 @@ bool wxVListBox::Create(wxWindow *parent,
                         long style,
                         const wxString& name)
 {
-    style |= wxWANTS_CHARS;
+    style |= wxWANTS_CHARS | wxFULL_REPAINT_ON_RESIZE;
     if ( !wxVScrolledWindow::Create(parent, id, pos, size, style, name) )
         return false;