]> git.saurik.com Git - wxWidgets.git/commitdiff
Add impl for IsFrozen
authorRobin Dunn <robin@alldunn.com>
Tue, 17 Oct 2006 19:50:03 +0000 (19:50 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 17 Oct 2006 19:50:03 +0000 (19:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/window.h
src/mac/carbon/window.cpp

index f7f5e8b3370c94079a51931919631a84449df23f..16d5cfc6630bd5b43ce7ce483f53d9f3259d67b3 100644 (file)
@@ -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();
 
index e6a954fa299aaa4b68d9fc6489c0827a03469884..3183451f176ff190d5be6d3744c68f9f567d65d9 100644 (file)
@@ -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