Added machinery to Enable/Disable windows. When a window is disabled, it
authorDavid Elliott <dfe@tgwbd.org>
Tue, 19 Aug 2003 14:45:54 +0000 (14:45 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Tue, 19 Aug 2003 14:45:54 +0000 (14:45 +0000)
commitadb4816c3eb825108e8e94ef523a5da666111430
tree08dd7edabd02852a5c38daf8fe4f80e3c73c5eb2
parent5751dd32c77946719c80a7e9e1a882a92f3eed51
Added machinery to Enable/Disable windows.  When a window is disabled, it
disables all of its children.  Every window maintains a bool indicating
whether it should be enabled (i.e. Enable() was called on it directly).
When a window is reenabled, it reenables children, but only if they are
actually supposed to be enabled. Override CocoaSetEnabled() in subclasses
to actually enable/disable a Cocoa control.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/cocoa/window.h
src/cocoa/window.mm