Workaround for static controls appearing with a white background
on otherwise grey panels on WinCE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e4535381d5
commit
95b838bed2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user