25#ifndef STD_BITMAP_BUTTON_H
26#define STD_BITMAP_BUTTON_H
29#include <wx/bmpbndl.h>
49 STD_BITMAP_BUTTON( wxWindow* aParent, wxWindowID aId,
const wxBitmap& aDummyBitmap,
50 const wxPoint& aPos = wxDefaultPosition,
const wxSize& aSize = wxDefaultSize,
55 void SetBitmap(
const wxBitmapBundle& aBmp );
56 bool Enable(
bool aEnable =
true )
override;
59 void OnKillFocus( wxFocusEvent& aEvent );
60 void OnMouseLeave( wxMouseEvent& aEvent );
61 void OnMouseEnter( wxMouseEvent& aEvent );
62 void OnLeftButtonUp( wxMouseEvent& aEvent );
63 void OnLeftButtonDown( wxMouseEvent& aEvent );
64 void OnPaint( wxPaintEvent& WXUNUSED( aEvent ) );
65 void onThemeChanged( wxSysColourChangedEvent &aEvent );
68 int m_stateButton = 0;
69 bool m_bIsEnable =
true;