]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
added test for __MACH__ for Mac OS X compilation
[wxWidgets.git] / include / wx / window.h
index 61e65b7a9f9e47fece8c8d521cd41cf3b94ed9ba..2fc3e20a8a061685aa36bf9de36dc3f0621e0a59 100644 (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