]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/media.py
Allow the OOR reference to be saved without doing an INCREF. This
[wxWidgets.git] / wxPython / src / gtk / media.py
index e4f3371c8bed4f3d24cd05e7b049bacf3b95f264..e42519cdcc2d19f09c3a73df9b6cd1e9255cbdf4 100644 (file)
@@ -108,21 +108,21 @@ class MediaCtrl(_core.Control):
         """SetPlaybackRate(self, double dRate) -> bool"""
         return _media.MediaCtrl_SetPlaybackRate(*args, **kwargs)
 
-    def SetPosition(*args, **kwargs):
-        """SetPosition(self, wxLongLong where) -> bool"""
-        return _media.MediaCtrl_SetPosition(*args, **kwargs)
+    def SetMediaPosition(*args, **kwargs):
+        """SetMediaPosition(self, wxLongLong where) -> bool"""
+        return _media.MediaCtrl_SetMediaPosition(*args, **kwargs)
 
-    def GetPosition(*args, **kwargs):
+    def GetMediaPosition(*args, **kwargs):
         """
-        GetPosition(self) -> wxLongLong
+        GetMediaPosition(self) -> wxLongLong
 
         Get the window's position.
         """
-        return _media.MediaCtrl_GetPosition(*args, **kwargs)
+        return _media.MediaCtrl_GetMediaPosition(*args, **kwargs)
 
-    def GetDuration(*args, **kwargs):
-        """GetDuration(self) -> wxLongLong"""
-        return _media.MediaCtrl_GetDuration(*args, **kwargs)
+    def GetMediaDuration(*args, **kwargs):
+        """GetMediaDuration(self) -> wxLongLong"""
+        return _media.MediaCtrl_GetMediaDuration(*args, **kwargs)
 
 
 class MediaCtrlPtr(MediaCtrl):