23 #include "wxgis/catalogui/gxselection.h"
30 wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_GIS_CLU, wxGXSELECTION_CHANGED,
wxGxSelectionEvent);
40 wxGxSelectionEvent(wxEventType eventType = wxGXSELECTION_CHANGED,
wxGxSelection* pSelection = NULL,
long nInitiator = wxNOT_FOUND) : wxEvent(0, eventType), m_nInitiator(nInitiator), m_pSelection(pSelection)
45 m_nInitiator =
event.m_nInitiator;
46 m_pSelection =
event.m_pSelection;
49 void SetInitiator(
long nInitiator) { m_nInitiator = nInitiator; }
50 long GetInitiator()
const {
return m_nInitiator; }
51 void SetSelection(
wxGxSelection* pSelection) { m_pSelection = pSelection; }
66 #define wxGxSelectionEventHandler(func) \
67 wxEVENT_HANDLER_CAST(wxGxSelectionEventFunction, func)
69 #define EVT_GXSELECTION_CHANGED(func) wx__DECLARE_EVT0(wxGXSELECTION_CHANGED, wxGxSelectionEventHandler(func))
The GxSelection class event.
Definition: gxeventui.h:37
The GxObject Selection class.
Definition: gxselection.h:30