]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix.
authorStefan Neis <Stefan.Neis@t-online.de>
Tue, 31 Oct 2006 20:46:35 +0000 (20:46 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Tue, 31 Oct 2006 20:46:35 +0000 (20:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/combobox.cpp

index 75a033757860dc55d5103375ab142aa6dde81532..2c28d28b70c4bb1d3cda431c9152129dd9d4426c 100644 (file)
@@ -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())
     {