mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
CellularPanel passes AudacityProject* to DoContextMenu() of cell
This commit is contained in:
@@ -262,7 +262,7 @@ void TrackMenuTable::OnMoveTrack(wxCommandEvent &event)
|
||||
}
|
||||
|
||||
unsigned CommonTrackControls::DoContextMenu
|
||||
(const wxRect &rect, wxWindow *pParent, wxPoint *)
|
||||
(const wxRect &rect, wxWindow *pParent, wxPoint *, AudacityProject*)
|
||||
{
|
||||
wxRect buttonRect;
|
||||
TrackInfo::GetTitleBarRect(rect, buttonRect);
|
||||
|
||||
@@ -53,7 +53,8 @@ protected:
|
||||
const AudacityProject *) override = 0;
|
||||
|
||||
unsigned DoContextMenu
|
||||
(const wxRect &rect, wxWindow *pParent, wxPoint *pPosition) override;
|
||||
(const wxRect &rect, wxWindow *pParent, wxPoint *pPosition,
|
||||
AudacityProject *pProject) override;
|
||||
virtual PopupMenuTable *GetMenuExtension(Track *pTrack) = 0;
|
||||
|
||||
// TrackPanelDrawable implementation
|
||||
|
||||
Reference in New Issue
Block a user