From 5497e635e042ba244ffb640f231260324402a9d8 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 2 Apr 2005 17:41:08 +0000 Subject: [PATCH] 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 --- src/generic/panelg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0