Compilation fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2006-10-31 20:46:35 +00:00
parent aef42e1ff6
commit 823189ee50

View 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())
{