]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dialog.h
adding command key accelerator
[wxWidgets.git] / 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;