still overriding the escape key
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 21 Aug 2006 15:57:08 +0000 (15:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 21 Aug 2006 15:57:08 +0000 (15:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/dialog.h

index ffe6c9ebc5a7895db6175760bacc41cc84c3c7c1..aadb9849b702d27b4e595316ed496453f17dfe17 100644 (file)
@@ -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;