X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/555f645a40d21b575f6154e484e2cddcb950a341..e4277538a535d6d6c049f0b0ead9ed2b07cd93f2:/include/wx/cocoa/dialog.h diff --git a/include/wx/cocoa/dialog.h b/include/wx/cocoa/dialog.h index b4e0145e91..d5b13e7cc6 100644 --- a/include/wx/cocoa/dialog.h +++ b/include/wx/cocoa/dialog.h @@ -17,7 +17,7 @@ #include "wx/panel.h" #include "wx/cocoa/NSPanel.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxDialogNameStr[]; // ======================================================================== // wxDialog @@ -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_