From: Robin Dunn Date: Wed, 7 Apr 2004 21:56:55 +0000 (+0000) Subject: set m_bestSize X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4685815fa7506f0e28d13bc5361b28493b7265c1 set m_bestSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }