X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e59b88579c7a1e8b4da0827be75dc5d2a84ec73..97d13342cc2ac77e21c38115cc6ebecac930f92a:/interface/wx/bmpbuttn.h diff --git a/interface/wx/bmpbuttn.h b/interface/wx/bmpbuttn.h index 76847b6bd7..ba624b7121 100644 --- a/interface/wx/bmpbuttn.h +++ b/interface/wx/bmpbuttn.h @@ -18,9 +18,9 @@ additional bitmaps for the selected state, unpressed focused state, and greyed-out state may be supplied. - @section wxbitmapbutton_states Button states - This class supports bitmaps for several different states: + @section bitmapbutton_states Button states + This class supports bitmaps for several different states: @li @b normal: this is the bitmap shown in the default state, it must be always valid while all the other bitmaps are optional and don't have to be set. @li @b disabled: bitmap shown when the button is disabled. @@ -54,7 +54,7 @@ Note that the wxBU_EXACTFIT style supported by wxButton is not used by this class as bitmap buttons don't have any minimal standard size by default. - @beginEventTable{wxCommandEvent} + @beginEventEmissionTable{wxCommandEvent} @event{EVT_BUTTON(id, func)} Process a wxEVT_COMMAND_BUTTON_CLICKED event, when the button is clicked. @endEventTable @@ -84,9 +84,11 @@ public: Bitmap to be displayed. @param pos Button position. + If ::wxDefaultPosition is specified then a default position is chosen. @param size - Button size. If wxDefaultSize is specified then the button is sized - appropriately for the bitmap. + Button size. + If ::wxDefaultSize is specified then the button is sized appropriately + for the bitmap. @param style Window style. See wxBitmapButton. @param validator @@ -147,7 +149,7 @@ public: @see SetBitmapFocus() */ const wxBitmap& GetBitmapFocus() const; - wxBitmap& GetBitmapFocus(); + wxBitmap& GetBitmapFocus(); //@} //@{ @@ -156,8 +158,8 @@ public: @see SetBitmapHover() */ - const wxBitmap& GetBitmapHover(); - wxBitmap& GetBitmapHover(); + const wxBitmap& GetBitmapHover() const; + wxBitmap& GetBitmapHover(); //@} //@{ @@ -168,8 +170,8 @@ public: @see SetBitmapLabel() */ - const wxBitmap& GetBitmapLabel(); - wxBitmap& GetBitmapLabel(); + const wxBitmap& GetBitmapLabel() const; + wxBitmap& GetBitmapLabel(); //@} /**