X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..faa49bfd39592406f8d7a732eb5ae4e25887ca60:/include/wx/cocoa/dialog.h?ds=sidebyside diff --git a/include/wx/cocoa/dialog.h b/include/wx/cocoa/dialog.h index 50785849f8..a9e793a22d 100644 --- a/include/wx/cocoa/dialog.h +++ b/include/wx/cocoa/dialog.h @@ -6,7 +6,7 @@ // Created: 2002/12/15 // RCS-ID: $Id: // Copyright: David Elliott -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_COCOA_DIALOG_H_ @@ -81,7 +81,7 @@ protected: // Implementation // ------------------------------------------------------------------------ public: - bool Show(bool show = true); + virtual bool Show(bool show = true); void SetModal(bool flag); virtual bool IsModal() const { return m_isModal; } @@ -102,6 +102,10 @@ protected: void OnOK(wxCommandEvent& event); void OnApply(wxCommandEvent& event); void OnCancel(wxCommandEvent& event); + + // end either modal or modeless dialog + void EndDialog(int rc); + }; #endif // _WX_COCOA_DIALOG_H_