]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mediactrlcmn.cpp
on HP-UX 11.11, vsscanf first parameter is not const
[wxWidgets.git] / src / common / mediactrlcmn.cpp
index 8812a48efcfba756b769292ad10200982f93969f..6120cada491a7cebc59b3a9affa3c072d0d0838e 100644 (file)
@@ -254,6 +254,7 @@ const wxClassInfo* wxMediaCtrl::NextBackend(wxClassInfo::const_iterator* it)
         if ( classInfo->IsKindOf(CLASSINFO(wxMediaBackend)) &&
              classInfo != CLASSINFO(wxMediaBackend) )
         {
         if ( classInfo->IsKindOf(CLASSINFO(wxMediaBackend)) &&
              classInfo != CLASSINFO(wxMediaBackend) )
         {
+            ++(*it);
             return classInfo;
         }
     }
             return classInfo;
         }
     }