21#ifndef _BITMAP_TOGGLE_H
22#define _BITMAP_TOGGLE_H
24#include <wx/statbmp.h>
25#include <wx/bmpbndl.h>
45 BITMAP_TOGGLE( wxWindow* aParent, wxWindowID aId,
const wxBitmapBundle& aCheckedBitmap,
46 const wxBitmapBundle& aUncheckedBitmap,
bool aChecked =
false );
wxDECLARE_EVENT(TOGGLE_CHANGED, wxCommandEvent)
wxLongLong m_debounce
Timestamp for debouncing events.
wxStaticBitmap * m_bitmap
wxBitmapBundle m_unchecked_bitmap
void SetValue(bool aValue)
Set the checkbox state.
wxBitmapBundle m_checked_bitmap
void SetWindowID(wxWindowID aId)
Update the window ID of this control and its children.
bool GetValue() const
Read the checkbox state.