From ab718f6e4c3c3907d1459c7caa3d850508cb9763 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 21 Aug 2006 15:57:08 +0000 Subject: [PATCH] still overriding the escape key git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/dialog.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/mac/carbon/dialog.h b/include/wx/mac/carbon/dialog.h index ffe6c9ebc5..aadb9849b7 100644 --- a/include/wx/mac/carbon/dialog.h +++ b/include/wx/mac/carbon/dialog.h @@ -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; -- 2.50.0