]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mediactrl.h
fix comparison of BYTE variable with -1 after last commit
[wxWidgets.git] / include / wx / mediactrl.h
index 4661bde448d484863787395d22380bbc4b94b1be..d5223615a295ff9a9754213e6d2ee36a1ca7d655 100644 (file)
@@ -171,7 +171,7 @@ public:
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString& name = wxT("mediaCtrl"));
 
-    bool DoCreate(wxClassInfo* instance,
+    bool DoCreate(const wxClassInfo* instance,
                 wxWindow* parent, wxWindowID winid,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
@@ -213,7 +213,7 @@ public:
     {   return Load(wxURI(fileName), wxURI(proxy));       }
 
 protected:
-    static wxClassInfo* NextBackend();
+    static const wxClassInfo* NextBackend(wxClassInfo::const_iterator* it);
 
     void OnMediaFinished(wxMediaEvent& evt);
     virtual void DoMoveWindow(int x, int y, int w, int h);