#ifndef __button_bi__
#define __button_bi__

#include once "common.bi"

' class wxButton
_DS(wxButton_GetDefaultSize) (size as _wxSize ptr)

_DF(wxButton_ctor) as _wxButton ptr

_DF(wxButton_Create)         (self      as _wxButton    ptr          , _
                              parent    as _wxWindow    ptr          , _
                              id        as  wxInt           = -1     , _
                              labelArg  as _wxString    ptr = WX_NULL, _
                              x         as  wxInt           = -1     , _
                              y         as  wxInt           = -1     , _
                              w         as  wxInt           = -1     , _
                              h         as  wxInt           = -1     , _
                              style     as  wxInt           =  0     , _
                              validator as _wxValidator ptr = WX_NULL, _
                              nameArg   as _wxString    ptr = WX_NULL) as wxBool

_DS(wxButton_SetDefault)     (self as _wxButton ptr)

_DS(wxButton_SetImageLabel)  (self as _wxButton ptr, bitmap as _wxBitmap ptr)

_DS(wxButton_SetImageMargins)(self as _wxButton ptr, x as wxCoord, y as wxCoord)

_DS(wxButton_SetLabel)       (self as _wxButton ptr, label as _wxString ptr)
_DF(wxButton_GetLabel)       (self as _wxButton ptr) as _wxString ptr

#endif ' __button_bi__