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
This commit is contained in:
Julian Smart
2005-04-02 17:41:08 +00:00
parent 3bd8a40543
commit 5497e635e0

View File

@@ -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