]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/checklst.cpp
make wxSetEnv compatible with ANSI and Unicode, deprecate passing NULL to it in favou...
[wxWidgets.git] / src / msw / wince / checklst.cpp
index 24215c91f30712bd5437a5ae237e747016beb722..7f14ed6c63fd7940a05eacbd4445f5d9bab708fc 100644 (file)
@@ -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;
 }