From 948f4c37355b0055282f9ad4180c31e0517f3742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 10 Nov 2006 22:44:23 +0000 Subject: [PATCH] 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 --- src/generic/collpaneg.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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);