From fd39f7a893223741e579c5292b825a5c966a4170 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 17 Oct 2006 19:50:03 +0000 Subject: [PATCH] Add impl for IsFrozen git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/window.h | 3 ++- src/mac/carbon/window.cpp | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.50.0