support wxWindowDisabler on osx_cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1567,6 +1567,12 @@ void wxEnableTopLevelWindows(bool enable)
|
||||
node->GetData()->Enable(enable);
|
||||
}
|
||||
|
||||
#if defined(__WXOSX__) && wxOSX_USE_COCOA
|
||||
|
||||
// defined in evtloop.mm
|
||||
|
||||
#else
|
||||
|
||||
wxWindowDisabler::wxWindowDisabler(bool disable)
|
||||
{
|
||||
m_disabled = disable;
|
||||
@@ -1629,6 +1635,8 @@ wxWindowDisabler::~wxWindowDisabler()
|
||||
delete m_winDisabled;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// Yield to other apps/messages and disable user input to all windows except
|
||||
// the given one
|
||||
bool wxSafeYield(wxWindow *win, bool onlyIfNeeded)
|
||||
|
Reference in New Issue
Block a user