mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Eliminate idle event handler of CellularPanel...
... achieving the intent of b7386c2db1 by other
means
This commit is contained in:
@@ -103,7 +103,6 @@ BEGIN_EVENT_TABLE(CellularPanel, OverlayPanel)
|
||||
EVT_SET_FOCUS(CellularPanel::OnSetFocus)
|
||||
EVT_KILL_FOCUS(CellularPanel::OnKillFocus)
|
||||
EVT_CONTEXT_MENU(CellularPanel::OnContextMenu)
|
||||
EVT_IDLE(CellularPanel::OnIdle)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
CellularPanel::CellularPanel(
|
||||
@@ -473,12 +472,6 @@ void CellularPanel::OnContextMenu(wxContextMenuEvent & WXUNUSED(event))
|
||||
DoContextMenu();
|
||||
}
|
||||
|
||||
void CellularPanel::OnIdle(wxIdleEvent &event)
|
||||
{
|
||||
event.Skip();
|
||||
HandleCursorForPresentMouseState();
|
||||
}
|
||||
|
||||
/// Handle mouse wheel rotation (for zoom in/out, vertical and horizontal scrolling)
|
||||
void CellularPanel::HandleWheelRotation( TrackPanelMouseEvent &tpmEvent )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user