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:
@@ -125,7 +125,7 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id,
|
|||||||
// so that non-solid background renders correctly under GTK+:
|
// so that non-solid background renders correctly under GTK+:
|
||||||
SetThemeEnabled(true);
|
SetThemeEnabled(true);
|
||||||
|
|
||||||
#ifdef __WXWINCE__
|
#if defined(__WXWINCE__) && (defined(__POCKETPC__) || defined(__SMARTPHONE__))
|
||||||
// Required to get solid control backgrounds under WinCE
|
// Required to get solid control backgrounds under WinCE
|
||||||
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user