diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index 989f6f797d..903e187827 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -84,6 +84,8 @@ bool wxVListBox::Create(wxWindow *parent, m_colBgSel = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT); + m_bestSize = GetSize(); + return true; }