From: Julian Smart Date: Sat, 2 Apr 2005 17:41:08 +0000 (+0000) Subject: Only set background colour explicitly for PPC/Smartphone X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5497e635e042ba244ffb640f231260324402a9d8?ds=inline Only set background colour explicitly for PPC/Smartphone git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index 7a31bd9ab5..1a957c727d 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -125,7 +125,7 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id, // so that non-solid background renders correctly under GTK+: SetThemeEnabled(true); -#ifdef __WXWINCE__ +#if defined(__WXWINCE__) && (defined(__POCKETPC__) || defined(__SMARTPHONE__)) // Required to get solid control backgrounds under WinCE SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)); #endif