wxCommandEvent event(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, cb->GetId());
event.SetInt(cb->GetValue());
event.SetEventObject(cb);
- cb->GetEventHandler()->ProcessEvent(event);
+ cb->HandleWindowEvent(event);
}
}
const wxValidator& validator,
const wxString &name)
{
- m_needParent = true;
-
m_blockEvent = false;
if (!PreCreation(parent, pos, size) ||
const wxValidator& validator,
const wxString &name)
{
- m_needParent = true;
-
m_blockEvent = false;
if (!PreCreation(parent, pos, size) ||