don't pretend that type unsafe event table entry works, it doesn't any more (bug 969012)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-06-22 23:25:46 +00:00
parent 12b58624e9
commit 19fe5fd1dc

View File

@ -180,7 +180,8 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
EVT_MY_CUSTOM_COMMAND(wxID_ANY, MyFrame::OnProcessCustom)
// this would also work:
// the line below would also work if OnProcessCustom() were defined as
// taking a wxEvent (as required by EVT_CUSTOM) and not wxCommandEvent
//EVT_CUSTOM(wxEVT_MY_CUSTOM_COMMAND, wxID_ANY, MyFrame::OnProcessCustom)
END_EVENT_TABLE()