long style = wxDEFAULT_DIALOG_STYLE,
const wxString& name = wxDialogNameStr);
- ~wxDialog();
+ virtual ~wxDialog();
// virtual bool Destroy();
virtual bool Show(bool show = true);
// 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;