mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-11 15:16:27 +01:00
More uses of safenew
This commit is contained in:
@@ -556,8 +556,8 @@ protected:
|
||||
// (no GDK event behind it) and that it therefore isn't processed
|
||||
// within the YieldFor(..) of the clipboard operations (workaround
|
||||
// for Debian bug #765341).
|
||||
wxTimerEvent *event = new wxTimerEvent(*this);
|
||||
parent->GetEventHandler()->QueueEvent(event);
|
||||
// QueueEvent() will take ownership of the event
|
||||
parent->GetEventHandler()->QueueEvent(safenew wxTimerEvent(*this));
|
||||
}
|
||||
TrackPanel *parent;
|
||||
} mTimer;
|
||||
|
||||
Reference in New Issue
Block a user