#include "wx/wxprec.h"
#ifndef WX_PRECOMP
-#include "wx/setup.h"
+ #include "wx/setup.h"
+ #include "wx/settings.h"
#endif
#if wxUSE_COMBOBOX
// A choice/combobox normally has a white background (or other, depending
// on global settings) rather than inheriting the parent's background colour.
//
- SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOW));
+ SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
- SetFont(pParent->GetFont());
+ SetFont(*wxSMALL_FONT);
int i;
gfnWndprocEdit = (WXFARPROC)::WinSubclassWindow( (HWND)GetHwnd()
,(PFNWP)wxComboEditWndProc
);
+ ::WinSetWindowULong(GetHwnd(), QWL_USER, (ULONG)this);
return TRUE;
} // end of wxComboBox::Create