]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/mediactrl.cpp
Explicitly set "C" locale for the tests using decimal point.
[wxWidgets.git] / src / osx / carbon / mediactrl.cpp
index 1c79b752e0e5eaaa8c50a8ac303fe4eb02974435..ba2e5831e587fc6864c7db386454264cb2253e55 100644 (file)
@@ -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