]> git.saurik.com Git - wxWidgets.git/commitdiff
set m_bestSize
authorRobin Dunn <robin@alldunn.com>
Wed, 7 Apr 2004 21:56:55 +0000 (21:56 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 7 Apr 2004 21:56:55 +0000 (21:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/vlbox.cpp

index 989f6f797d835b6b924089d183d9e105182b73e8..903e1878273abc4c7b73c00d4578e9cc0b6adf61 100644 (file)
@@ -84,6 +84,8 @@ bool wxVListBox::Create(wxWindow *parent,
 
     m_colBgSel = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
 
+    m_bestSize = GetSize();
+    
     return true;
 }