]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
Upport scrolling changes and mouse wheel changes.
[wxWidgets.git] / src / gtk1 / listbox.cpp
index ca9fb3016c39ab36b8d375114eed7b5bc34bfc9b..2cf833d0ace0b336c3001c94177d5478a0e61ecf 100644 (file)
@@ -558,7 +558,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
     m_parent->DoAddChild( this );
 
     PostCreation(size);
-    SetBestSize(size); // need this too because this is a wxControlWithItems
+    SetInitialSize(size); // need this too because this is a wxControlWithItems
 
     return true;
 }