]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
Fixed bug: splitter was not drawn for nested categories
[wxWidgets.git] / src / common / combocmn.cpp
index 3d3bb90ad16acf0702b60ba5e5cfbcb3adf85d64..8874d1873abd9557f227eac1505e2429194eb6f7 100644 (file)
@@ -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();