Describe better which windows are affected by wxWindowDisabler

It affects only windows shown on the screen and not already disabled.

Closes https://github.com/wxWidgets/wxWidgets/pull/366
This commit is contained in:
Cătălin Răceanu
2016-12-09 18:09:43 +02:00
committed by Vadim Zeitlin
parent d970b802a4
commit 4d20de73bd

View File

@@ -58,13 +58,16 @@ enum wxShutdownFlags
/** /**
@class wxWindowDisabler @class wxWindowDisabler
This class disables all windows of the application (may be with the This class disables all top level windows of the application (maybe with
exception of one of them) in its constructor and enables them back in its the exception of one of them) in its constructor and enables them back in
destructor. its destructor.
This is useful when you want to indicate to the user that the application This is useful when you want to indicate to the user that the application
is currently busy and cannot respond to user input. is currently busy and cannot respond to user input.
@note When instantiated, this affects only windows shown on the screen and
not already disabled.
@library{wxcore} @library{wxcore}
@category{misc} @category{misc}