X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cf6acbf261c5d47f97d280700b1203f3d8d8047..8f4fcc4ee080b020057cc028a809ffc884f63bb8:/src/os2/choice.cpp diff --git a/src/os2/choice.cpp b/src/os2/choice.cpp index 0597080b72..00d0d583e4 100644 --- a/src/os2/choice.cpp +++ b/src/os2/choice.cpp @@ -16,6 +16,7 @@ #include "wx/choice.h" #include "wx/utils.h" #include "wx/log.h" + #include "wx/settings.h" #endif #include "wx/os2/private.h" @@ -50,8 +51,8 @@ bool wxChoice::Create( )) return FALSE; lSstyle = CBS_DROPDOWNLIST | - WS_TABSTOP | - WS_VISIBLE; + WS_TABSTOP | + WS_VISIBLE; if (lStyle & wxCLIP_SIBLINGS ) lSstyle |= WS_CLIPSIBLINGS; @@ -71,7 +72,7 @@ bool wxChoice::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)); for (int i = 0; i < n; i++) { Append(asChoices[i]);