From: Robin Dunn Date: Tue, 17 Oct 2006 19:50:03 +0000 (+0000) Subject: Add impl for IsFrozen X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fd39f7a893223741e579c5292b825a5c966a4170 Add impl for IsFrozen git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/window.h b/include/wx/mac/carbon/window.h index f7f5e8b337..16d5cfc663 100644 --- a/include/wx/mac/carbon/window.h +++ b/include/wx/mac/carbon/window.h @@ -65,7 +65,8 @@ public: const wxRect *rect = NULL ); virtual void Freeze(); virtual void Thaw(); - + virtual bool IsFrozen() const; + virtual void Update() ; virtual void ClearBackground(); diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index e6a954fa29..3183451f17 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -2301,6 +2301,11 @@ void wxWindowMac::Thaw() #endif } +bool wxWindowMac::IsFrozen() const +{ + return m_frozenness != 0; +} + wxWindowMac *wxGetActiveWindow() { // actually this is a windows-only concept