m_btn->Enable(enable);
if ( m_text )
m_text->Enable(enable);
+
+ Refresh();
return true;
}
{
// relay (some) mouse events to the popup
if ( evtType == wxEVT_MOUSEWHEEL )
- m_popup->AddPendingEvent(event);
+ m_popup->GetEventHandler()->AddPendingEvent(event);
}
else if ( evtType )
event.Skip();