X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2158f4d798650d7f8cc59ba36e115679b0effe1b..1c0338c5615c351371f704b326634f58d0bf7da9:/include/wx/mac/carbon/dialog.h diff --git a/include/wx/mac/carbon/dialog.h b/include/wx/mac/carbon/dialog.h index ffe6c9ebc5..6b03257503 100644 --- a/include/wx/mac/carbon/dialog.h +++ b/include/wx/mac/carbon/dialog.h @@ -16,7 +16,7 @@ WXDLLEXPORT_DATA(extern const wxChar) wxDialogNameStr[]; -class WXDLLEXPORT wxMacToolTip ; +class WXDLLIMPEXP_FWD_CORE wxMacToolTip ; // Dialog boxes class WXDLLEXPORT wxDialog : public wxDialogBase @@ -58,7 +58,7 @@ public: long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxDialogNameStr); - ~wxDialog(); + virtual ~wxDialog(); // virtual bool Destroy(); virtual bool Show(bool show = true); @@ -72,6 +72,9 @@ public: // may be called to terminate the dialog with the given return code virtual void EndModal(int retCode); + // mac also takes command-period as cancel + virtual bool IsEscapeKey(const wxKeyEvent& event); + // returns TRUE if we're in a modal loop bool IsModalShowing() const;