]> git.saurik.com Git - wxWidgets.git/commit
allow handling events in a function taking the base class of the event class correspo...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Feb 2009 18:33:01 +0000 (18:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Feb 2009 18:33:01 +0000 (18:33 +0000)
commita01ada0599acdc11497850c4c8e846d3f237bf91
treebf93c7ce2e9ae5a87d1451c90e8a2ca769ff394a
parent56364fa2218d6acc78d8d77066926527a6116f41
allow handling events in a function taking the base class of the event class corresponding to the event type and not exactly the event class itself: this is more flexible (while still being safe) and incidentally fixes compatibility issues with existing code using explicit casts to wxObjectEventFunction (see #10477)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/event.h
tests/events/evthandler.cpp