23 #include "wxgis/net/message.h"
29 wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_GIS_NET, wxGISNET_MSG,
wxGISNetEvent);
44 m_msg =
event.m_msg.Clone();
47 void SetNetMessage(
const wxNetMessage &msg) { m_msg = msg; }
50 virtual wxEvent *Clone()
const {
return new wxGISNetEvent(*
this); }
59 typedef void (wxEvtHandler::*wxGISNetEventFunction)(
wxGISNetEvent&);
61 #define wxGISNetEventHandler(func) \
62 wxEVENT_HANDLER_CAST(wxGISNetEventFunction, func)
64 #define EVT_GISNET_MSG(func) wx__DECLARE_EVT0(wxGISNET_MSG, wxGISNetEventHandler(func))
Definition: netevent.h:66
Definition: netevent.h:34