extern "C" {
static void gtk_togglebutton_clicked_callback(GtkWidget *WXUNUSED(widget), wxToggleButton *cb)
{
- if (g_isIdle)
- wxapp_install_idle_handler();
-
if (!cb->m_hasVMT || g_blockEventsOnDrag)
return;
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) ||