diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h
index 2d8c439e13..b2b0432d8e 100644
--- a/include/wx/html/helpfrm.h
+++ b/include/wx/html/helpfrm.h
@@ -169,7 +169,7 @@ protected:
void OnActivate(wxActivateEvent& event);
#ifdef __WXMAC__
- void OnQuit(wxCommandEvent& event);
+ void OnClose(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
#endif
diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp
index 347f8d1d12..d01ec35ffb 100644
--- a/src/html/helpfrm.cpp
+++ b/src/html/helpfrm.cpp
@@ -1522,7 +1522,7 @@ void wxHtmlHelpFrame::OnCloseWindow(wxCloseEvent& evt)
}
#ifdef __WXMAC__
-void wxHtmlHelpFrame::OnQuit(wxCommandEvent& event)
+void wxHtmlHelpFrame::OnClose(wxCommandEvent& event)
{
Close(TRUE);
}
@@ -1550,7 +1550,7 @@ BEGIN_EVENT_TABLE(wxHtmlHelpFrame, wxFrame)
EVT_COMBOBOX(wxID_HTML_BOOKMARKSLIST, wxHtmlHelpFrame::OnBookmarksSel)
EVT_CLOSE(wxHtmlHelpFrame::OnCloseWindow)
#ifdef __WXMAC__
- EVT_MENU(wxID_CLOSE, wxHtmlHelpFrame::OnQuit)
+ EVT_MENU(wxID_CLOSE, wxHtmlHelpFrame::OnClose)
EVT_MENU(wxID_ABOUT, wxHtmlHelpFrame::OnAbout)
#endif