X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57bd4c6031d438f11af0ec540136f49a928b923c..68f146206ff65cfafdf88c154aece854a0ba4864:/src/msw/wince/checklst.cpp diff --git a/src/msw/wince/checklst.cpp b/src/msw/wince/checklst.cpp index 24215c91f3..7f14ed6c63 100644 --- a/src/msw/wince/checklst.cpp +++ b/src/msw/wince/checklst.cpp @@ -116,7 +116,7 @@ bool wxCheckListBox::Create(wxWindow *parent, wxWindowID id, m_itemsClientData.SetCount(n); // now we can compute our best size correctly, so do it if necessary - SetBestSize(size); + SetInitialSize(size); return true; }