X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e98d32057de9051bdad3b7442357c42226b16be8..948f4c37355b0055282f9ad4180c31e0517f3742:/src/generic/collpaneg.cpp 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);