From: Włodzimierz Skiba Date: Fri, 10 Nov 2006 22:44:23 +0000 (+0000) Subject: WinCE background fix. Perhaps not only WinCE problem???. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/948f4c37355b0055282f9ad4180c31e0517f3742?ds=sidebyside;hp=e98d32057de9051bdad3b7442357c42226b16be8 WinCE background fix. Perhaps not only WinCE problem???. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/collpaneg.cpp b/src/generic/collpaneg.cpp index ad017b317f..1e2a14880f 100644 --- a/src/generic/collpaneg.cpp +++ b/src/generic/collpaneg.cpp @@ -85,6 +85,10 @@ bool wxGenericCollapsiblePane::Create(wxWindow *parent, m_sz->Add(m_pStaticLine, 1, wxALIGN_CENTER|wxLEFT|wxRIGHT, GetBorder()); #endif +#ifdef __WXWINCE__ + SetBackgroundColour(parent->GetBackgroundColour()); +#endif + // do not set sz as our sizers since we handle the pane window without using sizers m_pPane = new wxWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNO_BORDER);