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:
@@ -12,8 +12,9 @@ class WXDLLEXPORT wxStaticTextBase : public wxControl
|
||||
public:
|
||||
wxStaticTextBase() { }
|
||||
|
||||
// overriden base cirtuals
|
||||
virtual bool AcceptsFocus() const { return FALSE; }
|
||||
// overriden base virtuals
|
||||
virtual bool AcceptsFocus() const { return false; }
|
||||
virtual bool CanApplyParentThemeBackground() const { return true; }
|
||||
|
||||
private:
|
||||
DECLARE_NO_COPY_CLASS(wxStaticTextBase)
|
||||
|
Reference in New Issue
Block a user