More DLL build fixes for wxMediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f3613896af
commit
c220a8ec4f
@ -79,6 +79,7 @@
|
||||
# define WXMAKINGDLL_HTML
|
||||
# define WXMAKINGDLL_XML
|
||||
# define WXMAKINGDLL_XRC
|
||||
# define WXMAKINGDLL_MEDIA
|
||||
#endif /* WXMAKINGDLL */
|
||||
|
||||
/*
|
||||
|
@ -270,8 +270,8 @@ public:
|
||||
#define wxMEDIA_STOP_ID 13001
|
||||
|
||||
//Define our event types - we need to call DEFINE_EVENT_TYPE(EVT) later
|
||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_MEDIA_FINISHED, wxMEDIA_FINISHED_ID)
|
||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_MEDIA_STOP, wxMEDIA_STOP_ID)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_MEDIA, wxEVT_MEDIA_FINISHED, wxMEDIA_FINISHED_ID)
|
||||
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_MEDIA, wxEVT_MEDIA_STOP, wxMEDIA_STOP_ID)
|
||||
|
||||
//Function type(s) our events need
|
||||
typedef void (wxEvtHandler::*wxMediaEventFunction)(wxMediaEvent&);
|
||||
|
@ -51,8 +51,8 @@
|
||||
IMPLEMENT_CLASS(wxMediaCtrl, wxControl);
|
||||
IMPLEMENT_CLASS(wxMediaBackend, wxObject);
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxMediaEvent, wxEvent);
|
||||
DEFINE_LOCAL_EVENT_TYPE(wxEVT_MEDIA_FINISHED);
|
||||
DEFINE_LOCAL_EVENT_TYPE(wxEVT_MEDIA_STOP);
|
||||
DEFINE_EVENT_TYPE(wxEVT_MEDIA_FINISHED);
|
||||
DEFINE_EVENT_TYPE(wxEVT_MEDIA_STOP);
|
||||
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user