]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
Compilation fix for old OS/2 compilers.
[wxWidgets.git] / src / generic / panelg.cpp
index 93bb178b2d70b3f7afc75f3193a00b38e5e1aad9..7a31bd9ab58f363afa14a3aa6d63d4700156908e 100644 (file)
@@ -126,8 +126,8 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id,
     SetThemeEnabled(true);
 
 #ifdef __WXWINCE__
     SetThemeEnabled(true);
 
 #ifdef __WXWINCE__
-    // Required get solid control backgrounds under WinCE
-    SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
+    // Required to get solid control backgrounds under WinCE
+    SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
 #endif
 
     return true;
 #endif
 
     return true;