Added CanApplyParentThemeBackground and use it in wxMSW's

wxNotebook::ApplyThemeBackground.  It's in the common base classes so
that someday it's usage can expand to the other platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-04 17:03:55 +00:00
parent a6de86fa53
commit bd507486e0
15 changed files with 38 additions and 18 deletions

View File

@@ -52,6 +52,7 @@ public:
// implementation only from now on
virtual bool MSWCommand(WXUINT param, WXWORD id);
virtual void Command(wxCommandEvent& event);
virtual bool CanApplyParentThemeBackground() const { return true; }
protected:
virtual wxSize DoGetBestSize() const;