X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f7aa1664c7e953c151d53fc2d86aff8b3459775..df75c66c357f1140afe5718ff030a705f8f0382d:/wxPython/src/mac/_controls.py diff --git a/wxPython/src/mac/_controls.py b/wxPython/src/mac/_controls.py index 7eb6c35a5f..651d66b895 100644 --- a/wxPython/src/mac/_controls.py +++ b/wxPython/src/mac/_controls.py @@ -240,6 +240,14 @@ class BitmapButton(Button): """ return _controls_.BitmapButton_GetBitmapSelected(*args, **kwargs) + def GetBitmapHover(*args, **kwargs): + """ + GetBitmapHover(self) -> Bitmap + + Returns the bitmap used when the mouse is over the button, may be invalid. + """ + return _controls_.BitmapButton_GetBitmapHover(*args, **kwargs) + def SetBitmapDisabled(*args, **kwargs): """ SetBitmapDisabled(self, Bitmap bitmap) @@ -273,6 +281,16 @@ class BitmapButton(Button): """ return _controls_.BitmapButton_SetBitmapLabel(*args, **kwargs) + def SetBitmapHover(*args, **kwargs): + """ + SetBitmapHover(self, Bitmap hover) + + Sets the bitmap to be shown when the mouse is over the button. This function + is new since wxWidgets version 2.7.0 and the hover bitmap is currently only + supported in wxMSW. + """ + return _controls_.BitmapButton_SetBitmapHover(*args, **kwargs) + def SetMargins(*args, **kwargs): """SetMargins(self, int x, int y)""" return _controls_.BitmapButton_SetMargins(*args, **kwargs)