why the heck should something that reacts on wxID_CLOSE be called OnQuit?

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-01-18 00:03:59 +00:00
parent e7266247d5
commit 4aa3178674
2 changed files with 3 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ protected:
void OnActivate(wxActivateEvent& event);
#ifdef __WXMAC__
void OnQuit(wxCommandEvent& event);
void OnClose(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
#endif

View File

@@ -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