Add Get/SetBitmapHover
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -271,6 +271,10 @@ public:
|
|||||||
wxBitmap , GetBitmapSelected(),
|
wxBitmap , GetBitmapSelected(),
|
||||||
"Returns the bitmap for the selected state.", "");
|
"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(
|
DocDeclStr(
|
||||||
void , SetBitmapDisabled(const wxBitmap& bitmap),
|
void , SetBitmapDisabled(const wxBitmap& bitmap),
|
||||||
@@ -293,6 +297,12 @@ public:
|
|||||||
unselected state, and for all other states if no other bitmaps are provided.", "");
|
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);
|
void SetMargins(int x, int y);
|
||||||
int GetMarginX() const;
|
int GetMarginX() const;
|
||||||
int GetMarginY() const;
|
int GetMarginY() const;
|
||||||
|
Reference in New Issue
Block a user