Rewrite bff30b6
delaying the effect...
... otherwise some stack overflows might happen in Refresh of TrackPanel or AdornedRulerPanel
This commit is contained in:
parent
7857769f96
commit
3dc4216dcc
|
@ -951,7 +951,7 @@ AdornedRulerPanel::~AdornedRulerPanel()
|
|||
void AdornedRulerPanel::Refresh( bool eraseBackground, const wxRect *rect )
|
||||
{
|
||||
CellularPanel::Refresh( eraseBackground, rect );
|
||||
CellularPanel::HandleCursorForPresentMouseState();
|
||||
CallAfter([this]{ CellularPanel::HandleCursorForPresentMouseState(); } );
|
||||
}
|
||||
|
||||
void AdornedRulerPanel::UpdatePrefs()
|
||||
|
|
|
@ -829,7 +829,7 @@ void TrackPanel::Refresh(bool eraseBackground /* = TRUE */,
|
|||
}
|
||||
wxWindow::Refresh(eraseBackground, rect);
|
||||
|
||||
this->CellularPanel::HandleCursorForPresentMouseState();
|
||||
CallAfter([this]{ CellularPanel::HandleCursorForPresentMouseState(); } );
|
||||
}
|
||||
|
||||
void TrackPanel::OnAudioIO(wxCommandEvent & evt)
|
||||
|
|
Loading…
Reference in New Issue