fix to avoid eVC crashes: restored wxObjectEventFunction declaration so that it defines a wxObject method, not wxEvtHandler one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
86a2f7226f
commit
d5d5101391
@ -2105,7 +2105,10 @@ private:
|
||||
// event handler and related classes
|
||||
// ============================================================================
|
||||
|
||||
typedef void (wxEvtHandler::*wxObjectEventFunction)(wxEvent&);
|
||||
// for backwards compatibility and to prevent eVC 4 for ARM from crashing with
|
||||
// internal compiler error when compiling wx, we define wxObjectEventFunction
|
||||
// as a wxObject method even though it can only be a wxEvtHandler one
|
||||
typedef void (wxObject::*wxObjectEventFunction)(wxEvent&);
|
||||
|
||||
// we can't have ctors nor base struct in backwards compatibility mode or
|
||||
// otherwise we won't be able to initialize the objects with an agregate, so
|
||||
|
Loading…
Reference in New Issue
Block a user