X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..f239a20092359e3c914adb79bd39f3f5d2b2e06f:/src/osx/carbon/mediactrl.cpp diff --git a/src/osx/carbon/mediactrl.cpp b/src/osx/carbon/mediactrl.cpp index 1c79b752e0..c3f3c4ec68 100644 --- a/src/osx/carbon/mediactrl.cpp +++ b/src/osx/carbon/mediactrl.cpp @@ -875,11 +875,7 @@ wxMediaState wxQTMediaBackend::GetState() void wxQTMediaBackend::Cleanup() { m_bPlaying = false; - if (m_timer) - { - delete m_timer; - m_timer = NULL; - } + wxDELETE(m_timer); // Stop the movie: // Apple samples with CreateMovieControl typically @@ -1162,7 +1158,7 @@ pascal void wxQTMediaBackend::PPRMProc( //--------------------------------------------------------------------------- // wxQTMediaBackend::MCFilterProc (static) // -// Callback for when the movie controller recieves a message +// Callback for when the movie controller receives a message //--------------------------------------------------------------------------- pascal Boolean wxQTMediaBackend::MCFilterProc( MovieController WXUNUSED(theController),