]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpext.cpp
Only use wxFORCE_LINK_MODULE() in mediaplayer sample in static build.
[wxWidgets.git] / src / generic / helpext.cpp
index 4f1f2543c4bc47f588aecb14966bec78a12a77cc..efd0df51167184d34e4c013d3fa39f76fd1f4037 100644 (file)
@@ -154,8 +154,7 @@ void wxExtHelpController::DeleteList()
             node = m_MapList->GetFirst();
         }
 
-        delete m_MapList;
-        m_MapList = NULL;
+        wxDELETE(m_MapList);
     }
 }