Get ShowWindowModal behavior working under OS X Cocoa for file, dir and message dialogs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2010-01-28 04:06:23 +00:00
parent 896576e31e
commit bfa92264c0
10 changed files with 312 additions and 182 deletions

View File

@@ -66,6 +66,10 @@ public:
wxDialogModality GetModality() const;
#if wxOSX_USE_COCOA
virtual void ModalFinishedCallback(void* WXUNUSED(panel), int WXUNUSED(returnCode)) {}
#endif
protected:
// show modal dialog and enter modal loop
void DoShowModal();
@@ -79,10 +83,10 @@ protected:
// needed for cleanup on the Cocoa side.
void EndWindowModal();
wxDialogModality m_modality;
private:
void Init();
wxDialogModality m_modality;
};
#endif