Minor doc typos removed; compilation improved for VC++ 4.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -103,12 +103,12 @@ BEGIN_EVENT_TABLE(MyTaskBarIcon, wxTaskBarIcon)
|
||||
EVT_MENU(PU_EXIT, MyTaskBarIcon::OnMenuExit)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
void MyTaskBarIcon::OnMenuRestore(wxEvent& )
|
||||
void MyTaskBarIcon::OnMenuRestore(wxCommandEvent& )
|
||||
{
|
||||
dialog->Show(TRUE);
|
||||
}
|
||||
|
||||
void MyTaskBarIcon::OnMenuExit(wxEvent& )
|
||||
void MyTaskBarIcon::OnMenuExit(wxCommandEvent& )
|
||||
{
|
||||
dialog->Close(TRUE);
|
||||
}
|
||||
|
@@ -22,8 +22,8 @@ public:
|
||||
virtual void OnLButtonDClick(wxEvent&);
|
||||
virtual void OnRButtonDClick(wxEvent&);
|
||||
|
||||
void OnMenuRestore(wxEvent&);
|
||||
void OnMenuExit(wxEvent&);
|
||||
void OnMenuRestore(wxCommandEvent&);
|
||||
void OnMenuExit(wxCommandEvent&);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
Reference in New Issue
Block a user