]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mediactrl.h
Doc fixes A-M edition. Thanks to Arnout for pointing these out. Also I fixed some...
[wxWidgets.git] / include / wx / mediactrl.h
index 0e27f8b541f979a8c4e52cc40783e84541e41be9..1e6ece736ca07668b019126e1d0f2bb24f3c5db7 100644 (file)
@@ -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