wxSize DoGetBestSize() const;
#ifdef __WXMAC__
- friend class wxMediaBackend;
+ friend class wxQTMediaBackend;
#endif
#ifdef __WXCOCOA__
friend class wxQTMediaBackend;
bool m_bLoaded;
bool m_bLoop;
- DECLARE_DYNAMIC_CLASS(wxMediaCtrl);
+ DECLARE_DYNAMIC_CLASS(wxMediaCtrl)
};
// ----------------------------------------------------------------------------
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