use Cocoa fix for nested modal loops for system dialogs also 2

Header was missing in 99eba63796, see #18204
This commit is contained in:
Stefan Csomor
2018-08-27 13:57:58 +02:00
parent 99eba63796
commit b38813a5e9

View File

@@ -60,8 +60,13 @@ public:
virtual void EndModal(int retCode);
static bool OSXHasModalDialogsOpen();
static void OSXBeginModalDialog();
static void OSXEndModalDialog();
void OSXBeginModalDialog();
void OSXEndModalDialog();
#if wxOSX_USE_COCOA
bool OSXGetWorksWhenModal();
void OSXSetWorksWhenModal(bool worksWhenModal);
#endif
// implementation
// --------------
@@ -89,6 +94,11 @@ protected:
private:
void Init();
static wxVector<wxDialog*> s_modalStack;
#if wxOSX_USE_COCOA
static wxVector<bool> s_modalWorksStack;
#endif
};
#endif