25 #ifndef _BITMAP_TOGGLE_H 26 #define _BITMAP_TOGGLE_H 28 #include <wx/statbmp.h> 48 BITMAP_TOGGLE( wxWindow* aParent, wxWindowID aId,
const wxBitmap& aCheckedBitmap,
49 const wxBitmap& aUncheckedBitmap,
bool aChecked =
false );
wxDECLARE_EVENT(TOGGLE_CHANGED, wxCommandEvent)
void SetValue(bool aValue)
Read the checkbox state.
A checkbox control except with custom bitmaps for the checked and unchecked states.
void SetWindowID(wxWindowID aId)
Updates the window ID of this control and its children.
wxStaticBitmap * m_bitmap
wxBitmap m_checked_bitmap
wxBitmap m_unchecked_bitmap