X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fc81cbc050c7c69cb04eeef508a8a237a4935c5..f6e9a8189cfd9189418d6c0976a8a07f3bcd914b:/include/wx/mediactrl.h diff --git a/include/wx/mediactrl.h b/include/wx/mediactrl.h index 0e27f8b541..1e6ece736c 100644 --- a/include/wx/mediactrl.h +++ b/include/wx/mediactrl.h @@ -191,7 +191,7 @@ protected: wxSize DoGetBestSize() const; #ifdef __WXMAC__ - friend class wxMediaBackend; + friend class wxQTMediaBackend; #endif #ifdef __WXCOCOA__ friend class wxQTMediaBackend; @@ -200,7 +200,7 @@ protected: bool m_bLoaded; bool m_bLoop; - DECLARE_DYNAMIC_CLASS(wxMediaCtrl); + DECLARE_DYNAMIC_CLASS(wxMediaCtrl) }; // ---------------------------------------------------------------------------- @@ -262,12 +262,7 @@ public: virtual wxMediaState GetState() { return wxMEDIASTATE_STOPPED; } -#ifdef __WXMAC__ - wxMacControl* GetControlPeer(wxControl* ctrl) - { return ((wxMediaCtrl*)ctrl)->m_peer; } -#endif - - DECLARE_CLASS(wxMediaBackend) + DECLARE_DYNAMIC_CLASS(wxMediaBackend) }; //Event ID to give to our events