]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/choice.cpp
Updated to use correct value for wxSTC_MASK_FOLDERS
[wxWidgets.git] / src / os2 / choice.cpp
index 0597080b722f910dd4f710f891167e841bf5da78..96df144bf15320426ad3227e3ff651a6b5612532 100644 (file)
@@ -50,8 +50,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 +71,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]);