X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45b81639ef31938fbcf512519dbd74a54fbcd1d5..eeb0bee1d31939f8ff14a3c7dba6ff22fcdb6fff:/include/wx/mac/carbon/dialog.h diff --git a/include/wx/mac/carbon/dialog.h b/include/wx/mac/carbon/dialog.h index 39d3ec0ad0..4b3827bea0 100644 --- a/include/wx/mac/carbon/dialog.h +++ b/include/wx/mac/carbon/dialog.h @@ -14,7 +14,7 @@ #include "wx/panel.h" -WXDLLEXPORT_DATA(extern const wxChar) wxDialogNameStr[]; +WXDLLEXPORT_DATA(extern const char) wxDialogNameStr[]; class WXDLLIMPEXP_FWD_CORE wxMacToolTip ; @@ -59,15 +59,16 @@ 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); - // implementation // -------------- // show modal dialog and enter modal loop void DoShowModal(); +protected: + // mac also takes command-period as cancel + virtual bool IsEscapeKey(const wxKeyEvent& event); + private: void Init();