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:
parent
12b58624e9
commit
19fe5fd1dc
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user