]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE background fix. Perhaps not only WinCE problem???.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 10 Nov 2006 22:44:23 +0000 (22:44 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 10 Nov 2006 22:44:23 +0000 (22:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/collpaneg.cpp

index ad017b317f283d69f5644b501ad2dc29f966b648..1e2a14880faf4c2b8902bd9c6618c1b18e88dde4 100644 (file)
@@ -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);