diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index ff850d052b..93bb178b2d 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -125,6 +125,11 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id, // so that non-solid background renders correctly under GTK+: SetThemeEnabled(true); +#ifdef __WXWINCE__ + // Required get solid control backgrounds under WinCE + SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); +#endif + return true; }