X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8946ede10c2702c7acbb194fe8bd2793d7fb8358..b6fd0b424573e09ae7e83a28b225bbba008157b7:/include/wx/clipbrd.h?ds=sidebyside 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))