1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-10 14:46:24 +01:00

Iterators over TrackPanelCell give shared_ptr

This commit is contained in:
Paul Licameli
2017-06-26 16:53:12 -04:00
parent 58fea6d520
commit f8b74db76e
6 changed files with 33 additions and 27 deletions

View File

@@ -366,8 +366,8 @@ protected:
// Find track info by coordinate
struct FoundCell {
Track *pTrack;
TrackPanelCell *pCell;
std::shared_ptr<Track> pTrack;
std::shared_ptr<TrackPanelCell> pCell;
wxRect rect;
};
FoundCell FindCell(int mouseX, int mouseY);