From: Stefan Neis Date: Tue, 31 Oct 2006 20:46:35 +0000 (+0000) Subject: Compilation fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/823189ee506cce24121aa597e5dd9d509bd17d89 Compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/combobox.cpp b/src/os2/combobox.cpp index 75a0337578..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); - SetInitialSize(-1,nEditHeight+4)); // +2x2 for the border + SetInitialSize(wxSize(-1,nEditHeight+4)); // +2x2 for the border if (!rsValue.empty()) {