X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2fbb8fbbed4e8a15bed1cd539d0f51eac3019658..c7c6e54baed01937426239dd38164ee0326fa172:/src/os2/combobox.cpp diff --git a/src/os2/combobox.cpp b/src/os2/combobox.cpp index f1862b75bf..2c28d28b70 100644 --- a/src/os2/combobox.cpp +++ b/src/os2/combobox.cpp @@ -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(wxSize(-1,nEditHeight+4)); // +2x2 for the border if (!rsValue.empty()) {