]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/vlbox.cpp
implemented nested index entries and index entries pointing to multiple documents...
[wxWidgets.git] / src / generic / vlbox.cpp
index 903e1878273abc4c7b73c00d4578e9cc0b6adf61..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;
 
@@ -84,8 +84,6 @@ bool wxVListBox::Create(wxWindow *parent,
 
     m_colBgSel = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
 
-    m_bestSize = GetSize();
-    
     return true;
 }