]> git.saurik.com Git - wxWidgets.git/commitdiff
added a few more composite functions
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Dec 2004 21:43:45 +0000 (21:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Dec 2004 21:43:45 +0000 (21:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/subwin.h

index 61620abff732cb266873dfc5f3962b849fe6aad9..c32cade9b86e4b3a85ce933872542dbe3758941c 100644 (file)
@@ -88,6 +88,15 @@ public:
         }
     }
 
         }
     }
 
+    // enable/disable everything
+    void Enable(bool enable)
+    {
+        for ( size_t n = 0; n < m_count; n++ )
+        {
+            ::EnableWindow(m_hwnds[n], enable);
+        }
+    }
+
     // set font for all windows
     void SetFont(const wxFont& font)
     {
     // set font for all windows
     void SetFont(const wxFont& font)
     {