X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cf6acbf261c5d47f97d280700b1203f3d8d8047..dafbe8c0af90db9f79931ef1bbec9ceab4c40503:/src/os2/combobox.cpp diff --git a/src/os2/combobox.cpp b/src/os2/combobox.cpp index e062a2f24a..7d6565d798 100644 --- a/src/os2/combobox.cpp +++ b/src/os2/combobox.cpp @@ -140,7 +140,7 @@ bool wxComboBox::Create( // 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()); @@ -163,6 +163,7 @@ bool wxComboBox::Create( gfnWndprocEdit = (WXFARPROC)::WinSubclassWindow( (HWND)GetHwnd() ,(PFNWP)wxComboEditWndProc ); + ::WinSetWindowULong(GetHwnd(), QWL_USER, (ULONG)this); return TRUE; } // end of wxComboBox::Create