move functions using deprecated methods out of line to avoid deprecation warnings from MSVC when building any code including wx/event.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1296,6 +1296,27 @@ bool wxEvtHandler::DoTryApp(wxEvent& event)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool wxEvtHandler::TryBefore(wxEvent& event)
|
||||
{
|
||||
#ifdef WXWIN_COMPATIBILITY_2_8
|
||||
// call the old virtual function to keep the code overriding it working
|
||||
return TryValidator(event);
|
||||
#else
|
||||
wxUnusedVar(event);
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool wxEvtHandler::TryAfter(wxEvent& event)
|
||||
{
|
||||
#ifdef WXWIN_COMPATIBILITY_2_8
|
||||
// as above, call the old virtual function for compatibility
|
||||
return TryParent(event);
|
||||
#else
|
||||
return DoTryApp(event);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool wxEvtHandler::ProcessEvent(wxEvent& event)
|
||||
{
|
||||
// allow the application to hook into event processing
|
||||
|
Reference in New Issue
Block a user