25#ifndef _BITMAP_TOGGLE_H
26#define _BITMAP_TOGGLE_H
28#include <wx/statbmp.h>
29#include <wx/bmpbndl.h>
49 BITMAP_TOGGLE( wxWindow* aParent, wxWindowID aId,
const wxBitmapBundle& aCheckedBitmap,
50 const wxBitmapBundle& 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
wxBitmapBundle m_unchecked_bitmap
void SetValue(bool aValue)
Read the checkbox state.
wxBitmapBundle m_checked_bitmap
void SetWindowID(wxWindowID aId)
Updates the window ID of this control and its children.