- DECLARE_DYNAMIC_CLASS(wxBitmapButton)
- public:
- inline wxBitmapButton() { m_marginX = wxDEFAULT_BUTTON_MARGIN; m_marginY = wxDEFAULT_BUTTON_MARGIN; }
- inline wxBitmapButton(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize, long style = wxBU_AUTODRAW,
-#if wxUSE_VALIDATORS
- const wxValidator& validator = wxDefaultValidator,
-#endif
- const wxString& name = wxButtonNameStr)
- {
- Create(parent, id, bitmap, pos, size, style, validator, name);
- }
+public:
+ inline wxBitmapButton()
+ {
+ m_marginX = wxDEFAULT_BUTTON_MARGIN;
+ m_marginY = wxDEFAULT_BUTTON_MARGIN;
+ }
+ inline wxBitmapButton( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxBitmap& rBitmap
+ ,const wxPoint& rPos = wxDefaultPosition
+ ,const wxSize& rSize = wxDefaultSize
+ ,long lStyle = wxBU_AUTODRAW
+ ,const wxValidator& rValidator = wxDefaultValidator
+ ,const wxString& rsName = wxButtonNameStr
+ )
+ {
+ Create( pParent
+ ,vId
+ ,rBitmap
+ ,rPos
+ ,rSize
+ ,lStyle
+ ,rValidator
+ ,rsName
+ );
+ }