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)
A checkbox control except with custom bitmaps for the checked and unchecked states.
wxStaticBitmap * m_bitmap
wxBitmap m_unchecked_bitmap
void SetValue(bool aValue)
Read the checkbox state.
wxBitmap m_checked_bitmap
void SetWindowID(wxWindowID aId)
Updates the window ID of this control and its children.