]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/checklst.cpp
Column position changes after each delete, so always delete the 0 column.
[wxWidgets.git] / src / mac / carbon / checklst.cpp
index 351a59bf6b73c764534827d8822fa912f16105ab..0f87743287a258457100949b4ac22b0cd5624b71 100644 (file)
@@ -93,7 +93,7 @@ bool wxCheckListBox::Create(
     InsertItems( n , choices , 0 );
 
     // Needed because it is a wxControlWithItems
-    SetBestSize( size );
+    SetInitialSize( size );
 
     return true;
 }