// the actions supported by this control
// ----------------------------------------------------------------------------
-#define wxACTION_BUTTON_TOGGLE _T("toggle") // press/release the button
-#define wxACTION_BUTTON_PRESS _T("press") // press the button
-#define wxACTION_BUTTON_RELEASE _T("release") // release the button
-#define wxACTION_BUTTON_CLICK _T("click") // generate button click event
+#define wxACTION_BUTTON_TOGGLE wxT("toggle") // press/release the button
+#define wxACTION_BUTTON_PRESS wxT("press") // press the button
+#define wxACTION_BUTTON_RELEASE wxT("release") // release the button
+#define wxACTION_BUTTON_CLICK wxT("click") // generate button click event
// ----------------------------------------------------------------------------
// wxButton: a push button
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxButton : public wxButtonBase
+class WXDLLIMPEXP_CORE wxButton : public wxButtonBase
{
public:
wxButton() { Init(); }
virtual ~wxButton();
- virtual void SetImageLabel(const wxBitmap& bitmap);
- virtual void SetImageMargins(wxCoord x, wxCoord y);
virtual wxWindow *SetDefault();
virtual bool IsPressed() const { return m_isPressed; }
virtual bool DoDrawBackground(wxDC& dc);
virtual void DoDraw(wxControlRenderer *renderer);
+ virtual void DoSetBitmap(const wxBitmap& bitmap, State which);
+ virtual void DoSetBitmapMargins(wxCoord x, wxCoord y);
+
// common part of all ctors
void Init();