X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b728771971efe1ac6a7d7aa2ff1fabdb2c5efadc..955e46d25d6ac0f9fa55ec9fe11f0c21da3a494d:/wxPython/src/_button.i diff --git a/wxPython/src/_button.i b/wxPython/src/_button.i index 53af38d7b0..6cd296576c 100644 --- a/wxPython/src/_button.i +++ b/wxPython/src/_button.i @@ -24,6 +24,8 @@ enum { wxBU_RIGHT, wxBU_BOTTOM, + wxBU_ALIGN_MASK, + wxBU_EXACTFIT, wxBU_AUTODRAW, }; @@ -269,6 +271,10 @@ public: wxBitmap , GetBitmapSelected(), "Returns the bitmap for the selected state.", ""); + DocDeclStr( + wxBitmap , GetBitmapHover(), + "Returns the bitmap used when the mouse is over the button, may be invalid.", ""); + DocDeclStr( void , SetBitmapDisabled(const wxBitmap& bitmap), @@ -289,8 +295,14 @@ public: void , SetBitmapLabel(const wxBitmap& bitmap), "Sets the bitmap label for the button. This is the bitmap used for the unselected state, and for all other states if no other bitmaps are provided.", ""); - + + DocDeclStr( + void , SetBitmapHover(const wxBitmap& 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.", ""); + void SetMargins(int x, int y); int GetMarginX() const; int GetMarginY() const;