Added Set/GetThemeEnabled and used this for determining whether to paint a theme
background. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -333,6 +333,9 @@ public:
|
||||
// make the window modal (all other windows unresponsive)
|
||||
virtual void MakeModal(bool modal = TRUE);
|
||||
|
||||
virtual void SetThemeEnabled(bool enableTheme) { m_themeEnabled = enableTheme; }
|
||||
virtual bool GetThemeEnabled() const { return m_themeEnabled; }
|
||||
|
||||
// focus handling
|
||||
// --------------
|
||||
|
||||
@@ -773,6 +776,7 @@ protected:
|
||||
long m_windowStyle,
|
||||
m_exStyle;
|
||||
wxString m_windowName;
|
||||
bool m_themeEnabled;
|
||||
|
||||
protected:
|
||||
// common part of all ctors: it is not virtual because it is called from
|
||||
|
Reference in New Issue
Block a user