X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d050da45f8d91301892d73905b292ef25675217d..9667d393a85441c1e39b3f357544209bffd89232:/src/common/combocmn.cpp diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 3d3bb90ad1..8874d1873a 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -1177,6 +1177,8 @@ bool wxComboCtrlBase::Enable(bool enable) m_btn->Enable(enable); if ( m_text ) m_text->Enable(enable); + + Refresh(); return true; } @@ -1635,7 +1637,7 @@ void wxComboCtrlBase::HandleNormalMouseEvent( wxMouseEvent& event ) { // 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();