]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/choice.cpp
corrected path splitting for mac relative paths
[wxWidgets.git] / src / os2 / choice.cpp
index 079295ab77803d5ddcb67038361989911acee866..00d0d583e48576a7a8af7c620227992607354fac 100644 (file)
@@ -16,6 +16,7 @@
     #include "wx/choice.h"
     #include "wx/utils.h"
     #include "wx/log.h"
     #include "wx/choice.h"
     #include "wx/utils.h"
     #include "wx/log.h"
+    #include "wx/settings.h"
 #endif
 
 #include "wx/os2/private.h"
 #endif
 
 #include "wx/os2/private.h"
@@ -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.
     //
     // 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]);
     for (int i = 0; i < n; i++)
     {
         Append(asChoices[i]);