#include <CRMenuSelectionEvent.h>
Public Member Functions | |
CRMenuSelectionEvent (wxEvent *event) | |
Constructor. | |
virtual void | EmitCpp () |
Emit event simulation specific C++ code. | |
virtual void | Process (CRCapturedEvent **pendingEvt) |
Process event, only called after checking for handling ability. | |
virtual | ~CRMenuSelectionEvent () |
Destructor. |
Becaue toolbar tools use the same event type identifier, this class has to handle tools as well.
Definition at line 34 of file CRMenuSelectionEvent.h.
wxTst::CRMenuSelectionEvent::CRMenuSelectionEvent | ( | wxEvent * | event | ) |
Constructor.
event | event to handle |
Definition at line 26 of file CRMenuSelectionEvent.cpp.
wxTst::CRMenuSelectionEvent::~CRMenuSelectionEvent | ( | ) | [virtual] |
void wxTst::CRMenuSelectionEvent::EmitCpp | ( | ) | [virtual] |
Emit event simulation specific C++ code.
m_eventObjectIsMenu
m_isTool
Implements wxTst::CRCapturedEvent.
Definition at line 231 of file CRMenuSelectionEvent.cpp.
References wxTst::CRCppEmitter::AddCode(), wxTst::CRCppEmitter::AddComment(), wxTst::CRCppEmitter::AddContainerLookupCode(), wxTst::CRCppEmitter::GetInstance(), wxTst::CRCapturedEvent::m_event, and wxTst::CRCppEmitter::MakeVarName().
void wxTst::CRMenuSelectionEvent::Process | ( | CRCapturedEvent ** | pendingEvt | ) | [virtual] |
Process event, only called after checking for handling ability.
pendingEvt | current pending event with respect to code emitting (or NULL if none is pending) |
Implements wxTst::CRCapturedEvent.
Definition at line 205 of file CRMenuSelectionEvent.cpp.
References wxTst::CRCapturedEvent::m_event.