X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5276b0a53cef4815230e39b54d2ecda14f72cbd1..b8f0ac88a51be909c0e5b87657ea0a5dc9bbb721:/src/common/mediactrlcmn.cpp diff --git a/src/common/mediactrlcmn.cpp b/src/common/mediactrlcmn.cpp index a1273c75f5..760829a556 100644 --- a/src/common/mediactrlcmn.cpp +++ b/src/common/mediactrlcmn.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/common/mediactrl.cpp +// Name: src/common/mediactrlcmn.cpp // Purpose: wxMediaCtrl common code // Author: Ryan Norton // Modified by: @@ -123,7 +123,6 @@ bool wxMediaCtrl::Create(wxWindow* parent, wxWindowID id, while((classInfo = NextBackend(&it)) != NULL) { - wxLogMessage( classInfo->GetClassName() ); if(!DoCreate(classInfo, parent, id, pos, size, style, validator, name)) continue; @@ -249,8 +248,8 @@ const wxClassInfo* wxMediaCtrl::NextBackend(wxClassInfo::const_iterator* it) *it != end; ++(*it) ) { const wxClassInfo* classInfo = **it; - if ( classInfo->IsKindOf(CLASSINFO(wxMediaBackend)) && - classInfo != CLASSINFO(wxMediaBackend) ) + if ( classInfo->IsKindOf(wxCLASSINFO(wxMediaBackend)) && + classInfo != wxCLASSINFO(wxMediaBackend) ) { ++(*it); return classInfo; @@ -545,10 +544,10 @@ void wxMediaBackendCommonBase::QueueStopEvent() // #include "wx/html/forcelnk.h" -#ifdef __WXMSW__ // MSW has huge backends so we do it seperately +#ifdef __WXMSW__ // MSW has huge backends so we do it separately FORCE_LINK(wxmediabackend_am) FORCE_LINK(wxmediabackend_wmp10) -#elif !defined(__WXOSX_COCOA__) +#else FORCE_LINK(basewxmediabackends) #endif