X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8946ede10c2702c7acbb194fe8bd2793d7fb8358..3508c1432884472f0d24f0f98c0dc75ed35df297:/include/wx/clipbrd.h diff --git a/include/wx/clipbrd.h b/include/wx/clipbrd.h index b00b6bdd4a..76371170c3 100644 --- a/include/wx/clipbrd.h +++ b/include/wx/clipbrd.h @@ -120,12 +120,12 @@ private: DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxClipboardEvent) }; -extern WXDLLIMPEXP_CORE const wxEventType wxEVT_CLIPBOARD_CHANGED; +wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_CLIPBOARD_CHANGED, wxClipboardEvent ) typedef void (wxEvtHandler::*wxClipboardEventFunction)(wxClipboardEvent&); #define wxClipboardEventHandler(func) \ - (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxClipboardEventFunction, &func) + wxEVENT_HANDLER_CAST(wxClipboardEventFunction, func) #define EVT_CLIPBOARD_CHANGED(func) wx__DECLARE_EVT0(wxEVT_CLIPBOARD_CHANGED, wxClipboardEventHandler(func))