From 052da7d572c75d05207b53f515ed6623285dc841 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Dec 2004 21:43:45 +0000 Subject: [PATCH] added a few more composite functions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/subwin.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/wx/msw/subwin.h b/include/wx/msw/subwin.h index 61620abff7..c32cade9b8 100644 --- a/include/wx/msw/subwin.h +++ b/include/wx/msw/subwin.h @@ -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) {