]> git.saurik.com Git - wxWidgets.git/commitdiff
why the heck should something that reacts on wxID_CLOSE be called OnQuit?
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 18 Jan 2003 00:03:59 +0000 (00:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 18 Jan 2003 00:03:59 +0000 (00:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/html/helpfrm.h
src/html/helpfrm.cpp

index 2d8c439e13e6f7994dd51c2b8445008d7b242d20..b2b0432d8e126b6b0d7e2cbc1f4dd1fcb63bebd2 100644 (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
 
index 347f8d1d12649c6474987aef8fa38735dc0be4d6..d01ec35ffb694a6f3f7ff00da4f05820303701ba 100644 (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