174 const std::string
Format()
const;
209 m_keyCode = aExtraParam & ~MD_MODIFIER_MASK;
459 template<typename T, std::enable_if_t<!std::is_pointer<T>::value>* =
nullptr >
464 wxCHECK_MSG(
m_param.has_value(), T(),
"Attempted to get a parameter from an event with "
469 param = std::any_cast<T>(
m_param );
471 catch(
const std::bad_any_cast& )
473 wxCHECK_MSG(
false, T(), wxString::Format(
"Requested parameter type %s from event "
474 "with parameter type %s.",
485 template<typename T, std::enable_if_t<std::is_pointer<T>::value>* =
nullptr>
490 wxCHECK_MSG(
m_param.has_value(), param,
"Attempted to get a parameter from an event with "
495 param = std::any_cast<T>(
m_param );
497 catch(
const std::bad_any_cast& )
499 wxCHECK_MSG(
false, param, wxString::Format(
"Requested parameter type %s from event "
500 "with parameter type %s.",
667 const std::string
Format()
const;
674 const std::string
Names()
const;
680 if( event.Matches( aEvent ) )
Represent a set of changes (additions, deletions or modifications) of a data model (e....