X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70eca0fa29a1ba70695a42ba103070a69bfe926d..a22895511a250173cf7dd4403fc89f293a898067:/src/common/mediactrlcmn.cpp diff --git a/src/common/mediactrlcmn.cpp b/src/common/mediactrlcmn.cpp index 8812a48efc..b95b00b9a4 100644 --- a/src/common/mediactrlcmn.cpp +++ b/src/common/mediactrlcmn.cpp @@ -254,6 +254,7 @@ const wxClassInfo* wxMediaCtrl::NextBackend(wxClassInfo::const_iterator* it) if ( classInfo->IsKindOf(CLASSINFO(wxMediaBackend)) && classInfo != CLASSINFO(wxMediaBackend) ) { + ++(*it); return classInfo; } } @@ -468,7 +469,7 @@ void wxMediaCtrl::DoMoveWindow(int x, int y, int w, int h) //--------------------------------------------------------------------------- // wxMediaCtrl::MacVisibilityChanged //--------------------------------------------------------------------------- -#ifdef __WXMAC__ +#ifdef __WXOSX_CARBON__ void wxMediaCtrl::MacVisibilityChanged() { wxControl::MacVisibilityChanged(); @@ -549,7 +550,7 @@ void wxMediaBackendCommonBase::QueueStopEvent() #ifdef __WXMSW__ // MSW has huge backends so we do it seperately FORCE_LINK(wxmediabackend_am) FORCE_LINK(wxmediabackend_wmp10) -#else +#elif !defined(__WXOSX_COCOA__) FORCE_LINK(basewxmediabackends) #endif