)
{
- if (!OS2CreateControl( pParent
+ if (!CreateControl( pParent
,vId
,rPos
,rSize
//
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
- SetFont(*wxSMALL_FONT);
+ wxFont* pTextFont = new wxFont( 10
+ ,wxMODERN
+ ,wxNORMAL
+ ,wxNORMAL
+ );
+ SetFont(*pTextFont);
int i;
-
for (i = 0; i < n; i++)
{
Append(asChoices[i]);
,(PFNWP)wxComboEditWndProc
);
::WinSetWindowULong(GetHwnd(), QWL_USER, (ULONG)this);
+ delete pTextFont;
return TRUE;
} // end of wxComboBox::Create