]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/animate.py
Don't use hidden items for size calc (patch 1698314)
[wxWidgets.git] / wxPython / src / msw / animate.py
index 3aaaab1319b6bb3f0eefe2fc142e710f680d5a85..19ed6f3c3261b2cec011b6bc98117744eb6d7433 100644 (file)
@@ -80,15 +80,15 @@ class AnimationBase(_core.Object):
         return _animate.AnimationBase_IsOk(*args, **kwargs)
 
     def GetDelay(*args, **kwargs):
-        """GetDelay(self, size_t i) -> int"""
+        """GetDelay(self, int i) -> int"""
         return _animate.AnimationBase_GetDelay(*args, **kwargs)
 
     def GetFrameCount(*args, **kwargs):
-        """GetFrameCount(self) -> size_t"""
+        """GetFrameCount(self) -> int"""
         return _animate.AnimationBase_GetFrameCount(*args, **kwargs)
 
     def GetFrame(*args, **kwargs):
-        """GetFrame(self, size_t i) -> Image"""
+        """GetFrame(self, int i) -> Image"""
         return _animate.AnimationBase_GetFrame(*args, **kwargs)
 
     def GetSize(*args, **kwargs):
@@ -120,13 +120,21 @@ class Animation(AnimationBase):
     __swig_destroy__ = _animate.delete_Animation
     __del__ = lambda self : None;
     def GetFramePosition(*args, **kwargs):
-        """GetFramePosition(self, size_t frame) -> Point"""
+        """GetFramePosition(self, int frame) -> Point"""
         return _animate.Animation_GetFramePosition(*args, **kwargs)
 
+    def GetFrameSize(*args, **kwargs):
+        """GetFrameSize(self, int frame) -> Size"""
+        return _animate.Animation_GetFrameSize(*args, **kwargs)
+
     def GetDisposalMethod(*args, **kwargs):
-        """GetDisposalMethod(self, size_t frame) -> int"""
+        """GetDisposalMethod(self, int frame) -> int"""
         return _animate.Animation_GetDisposalMethod(*args, **kwargs)
 
+    def GetTransparentColour(*args, **kwargs):
+        """GetTransparentColour(self, int frame) -> Colour"""
+        return _animate.Animation_GetTransparentColour(*args, **kwargs)
+
     def GetBackgroundColour(*args, **kwargs):
         """GetBackgroundColour(self) -> Colour"""
         return _animate.Animation_GetBackgroundColour(*args, **kwargs)
@@ -166,6 +174,15 @@ class AnimationCtrlBase(_core.Control):
         """IsPlaying(self) -> bool"""
         return _animate.AnimationCtrlBase_IsPlaying(*args, **kwargs)
 
+    def SetInactiveBitmap(*args, **kwargs):
+        """SetInactiveBitmap(self, Bitmap bmp)"""
+        return _animate.AnimationCtrlBase_SetInactiveBitmap(*args, **kwargs)
+
+    def GetInactiveBitmap(*args, **kwargs):
+        """GetInactiveBitmap(self) -> Bitmap"""
+        return _animate.AnimationCtrlBase_GetInactiveBitmap(*args, **kwargs)
+
+    InactiveBitmap = property(GetInactiveBitmap,SetInactiveBitmap) 
 _animate.AnimationCtrlBase_swigregister(AnimationCtrlBase)
 NullAnimation = cvar.NullAnimation