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.
|
||||
*/
|
||||
|
||||
struct TrackListEvent : public wxEvent
|
||||
struct TrackListEvent : public wxCommandEvent
|
||||
{
|
||||
explicit
|
||||
TrackListEvent(
|
||||
wxEventType commandType,
|
||||
const std::weak_ptr<Track> &pTrack = {}, int code = -1)
|
||||
: wxEvent{ commandType }
|
||||
: wxCommandEvent{ commandType }
|
||||
, mpTrack{ pTrack }
|
||||
, mCode{ code }
|
||||
{}
|
||||
|
|
Loading…
Reference in New Issue