#define _WX_BMPBUTTN_H_
#include "wx/button.h"
+#include "wx/dcclient.h"
-WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr;
+WXDLLEXPORT_DATA(extern const wxChar) wxButtonNameStr[];
#define wxDEFAULT_BUTTON_MARGIN 4
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxBU_AUTODRAW
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxButtonNameStr
)
{
,rPos
,rSize
,lStyle
-#if wxUSE_VALIDATORS
,rValidator
-#endif
,rsName
);
}
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxBU_AUTODRAW
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxButtonNameStr
);
SetBitmapLabel(rBitmap);
}
-#if WXWIN_COMPATIBILITY
- wxBitmap* GetBitmap(void) const
- {
- return (wxBitmap *)&m_buttonBitmap;
- }
-#endif
-
//
// Implementation
//