// Author: Julian Smart
// Modified by:
// Created: 04/01/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
void wxCheckBoxCallback (Widget w, XtPointer clientData,
XtPointer ptr);
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
-
// Single check box item
bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
const wxPoint& pos,
void wxCheckBox::ChangeBackgroundColour()
{
- if (!m_backgroundColour.Ok())
+ if (!m_backgroundColour.IsOk())
return;
wxComputeColours (XtDisplay((Widget) m_mainWidget), & m_backgroundColour,
#if wxUSE_TOGGLEBTN
-wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent );
+wxDEFINE_EVENT( wxEVT_TOGGLEBUTTON, wxCommandEvent );
IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl)
bool wxToggleButton::Create( wxWindow* parent, wxWindowID id,