X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4685815fa7506f0e28d13bc5361b28493b7265c1..ebe47451544561fbe6e57808d604641d24109359:/src/generic/vlbox.cpp?ds=inline diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index 903e187827..bb58622e9b 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -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; }