]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/choice.cpp
moved some wxMimeTypeCommands methods into .cpp file from header, this generally...
[wxWidgets.git] / src / os2 / choice.cpp
index 770da88cccc274c1e4c1cba5edc3043f166adca9..1e62c4f6c000afe2bfa38bffa4e8e823a38b98a7 100644 (file)
@@ -107,7 +107,7 @@ bool wxChoice::Create(
     int  nEditHeight;
     wxGetCharSize( GetHWND(), NULL, &nEditHeight, &vFont );
     nEditHeight = EDIT_HEIGHT_FROM_CHAR_HEIGHT(nEditHeight);
-    SetBestFittingSize(wxSize(-1,nEditHeight+4));   // +2x2 for the border
+    SetInitialSize(wxSize(-1,nEditHeight+4));   // +2x2 for the border
 
     return true;
 } // end of wxChoice::Create