+ bool InheritsBackgroundColour() const
+ {
+ return m_inheritBgCol;
+ }
+ bool UseBgCol() const
+ {
+ return m_hasBgCol;
+ }
+
+ // if the window shouldn't inherit its colour from the parent, override
+ // this function to return true
+ //
+ // this is currently only used by wxMSW and wxUniv but should be useful for
+ // the other ports too
+ virtual bool ProvidesBackground() const { return false; }