]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mediactrl_qt.cpp
Fixed wxscintilla compilation for wxDFB.
[wxWidgets.git] / src / msw / mediactrl_qt.cpp
index 694386903f6b012470db04f9743b2be0e1002367..f5c41dccd21234ce8d9454d98d67af6da91974bf 100644 (file)
@@ -1068,11 +1068,7 @@ void wxQTMediaBackend::Cleanup()
 {
     m_bPlaying = false;
 
-    if (m_timer)
-    {
-        delete m_timer;
-        m_timer = NULL;
-    }
+    wxDELETE(m_timer);
 
     m_lib.StopMovie(m_movie);