mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-07 15:49:42 +02:00
Fix TrackList event propagation
This commit is contained in:
parent
70fff4b28b
commit
cda9715ce6
@ -1093,13 +1093,13 @@ template <
|
|||||||
* Clear, and Contains, plus serialization of the list of tracks.
|
* Clear, and Contains, plus serialization of the list of tracks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct TrackListEvent : public wxEvent
|
struct TrackListEvent : public wxCommandEvent
|
||||||
{
|
{
|
||||||
explicit
|
explicit
|
||||||
TrackListEvent(
|
TrackListEvent(
|
||||||
wxEventType commandType,
|
wxEventType commandType,
|
||||||
const std::weak_ptr<Track> &pTrack = {}, int code = -1)
|
const std::weak_ptr<Track> &pTrack = {}, int code = -1)
|
||||||
: wxEvent{ commandType }
|
: wxCommandEvent{ commandType }
|
||||||
, mpTrack{ pTrack }
|
, mpTrack{ pTrack }
|
||||||
, mCode{ code }
|
, mCode{ code }
|
||||||
{}
|
{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user