wxcontextmenueventthis class is used for context menu events, sent to give the application a chance to show a context (popup) menu. derived from
wxcommandevent include files <wx/event.h> event table macros to process a menu event, use these event handler macros to direct input to member functions that take a wxcontextmenuevent argument.
see also
command events, members
wxcontextmenuevent::wxcontextmenuevent
wxcontextmenuevent::wxcontextmenueventwxcontextmenuevent(wxtype id = 0, int id = 0, const wxpoint& pos=wxdefaultposition) constructor.
wxcontextmenuevent::getpositionwxpoint getposition() const returns the position at which the menu should be shown.
wxcontextmenuevent::setpositionvoid setposition(const wxpoint& point) sets the position at which the menu should be shown.
|