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:
@@ -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
|
||||
|
Reference in New Issue
Block a user