Allow to leave another window enabled in wxWindowDisabler
Allow specifying another window to "skip", i.e. not to disable, in wxWindowDisabler. This is not used yet, but will be in the upcoming commit.
This commit is contained in:
@@ -97,8 +97,12 @@ public:
|
||||
from happening you may want to use wxFRAME_TOOL_WINDOW, if applicable,
|
||||
or wxFRAME_NO_TASKBAR style when creating the window that will remain
|
||||
enabled.
|
||||
|
||||
The argument @a winToSkip2 may be used to specify another window to
|
||||
leave enabled, if it is non-null. This parameter is only available
|
||||
since wxWidgets 3.1.7.
|
||||
*/
|
||||
explicit wxWindowDisabler(wxWindow* winToSkip);
|
||||
explicit wxWindowDisabler(wxWindow* winToSkip, wxWindow* winToSkip2 = NULL);
|
||||
|
||||
/**
|
||||
Reenables the windows disabled by the constructor.
|
||||
|
||||
Reference in New Issue
Block a user