]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/combobox.cpp
Always draw the selection of selected items, not just when they have
[wxWidgets.git] / src / os2 / combobox.cpp
index f1862b75bf935f012ae02765aee963bda52cb1d2..75a033757860dc55d5103375ab142aa6dde81532 100644 (file)
@@ -167,7 +167,7 @@ bool wxComboBox::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(-1,nEditHeight+4));   // +2x2 for the border
 
     if (!rsValue.empty())
     {