X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/644cb5372c67d2bd246729257b936bd0aa85b882..0bbe61b8c18a1795189f0cf73cc61c14a0fb846d:/src/common/mediactrlcmn.cpp?ds=inline diff --git a/src/common/mediactrlcmn.cpp b/src/common/mediactrlcmn.cpp index ba9d1c0d9b..6120cada49 100644 --- a/src/common/mediactrlcmn.cpp +++ b/src/common/mediactrlcmn.cpp @@ -12,11 +12,11 @@ // TODO: Platform specific backend defaults? //=========================================================================== -// Definitions +// Declarations //=========================================================================== //--------------------------------------------------------------------------- -// Pre-compiled header stuff +// Includes //--------------------------------------------------------------------------- #include "wx/wxprec.h" @@ -29,11 +29,9 @@ #ifndef WX_PRECOMP #include "wx/hash.h" + #include "wx/log.h" #endif -//--------------------------------------------------------------------------- -// Includes -//--------------------------------------------------------------------------- #include "wx/mediactrl.h" //=========================================================================== @@ -256,6 +254,7 @@ const wxClassInfo* wxMediaCtrl::NextBackend(wxClassInfo::const_iterator* it) if ( classInfo->IsKindOf(CLASSINFO(wxMediaBackend)) && classInfo != CLASSINFO(wxMediaBackend) ) { + ++(*it); return classInfo; } }