Remove unused TrackPanel::MakeParentModifyState

This commit is contained in:
Paul Licameli 2020-07-10 18:25:05 -04:00
parent cea658d9eb
commit 047fa18afd
2 changed files with 0 additions and 8 deletions

View File

@ -516,11 +516,6 @@ void TrackPanel::OnPaint(wxPaintEvent & /* event */)
#endif
}
void TrackPanel::MakeParentModifyState(bool bWantsAutoSave)
{
ProjectHistory::Get( *GetProject() ).ModifyState(bWantsAutoSave);
}
void TrackPanel::MakeParentRedrawScrollbars()
{
mListener->TP_RedrawScrollbars();

View File

@ -145,9 +145,6 @@ public:
wxRect FindTrackRect( const Track * target );
protected:
void MakeParentModifyState(bool bWantsAutoSave); // if true, writes auto-save file. Should set only if you really want the state change restored after
// a crash, as it can take many seconds for large (eg. 10 track-hours) projects
// Get the root object defining a recursive subdivision of the panel's
// area into cells
std::shared_ptr<TrackPanelNode> Root() override;