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:
Julian Smart
2000-09-15 13:15:37 +00:00
parent 117247fd2c
commit a2d93e735a
13 changed files with 54 additions and 8 deletions

View File

@@ -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