Changed CanApplyParentThemeBackground to ApplyParentThemeBackground

and let the windows set the the background colour themselves (or not)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-05 05:28:21 +00:00
parent 8eca4fef10
commit cc0bffaceb
17 changed files with 41 additions and 26 deletions

View File

@@ -61,7 +61,9 @@ public:
int GetMarginX() const { return m_marginX; }
int GetMarginY() const { return m_marginY; }
virtual bool CanApplyParentThemeBackground() const { return true; }
virtual void ApplyParentThemeBackground(const wxColour& bg)
{ SetBackgroundColour(bg); }
protected:
// function called when any of the bitmaps changes