]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Add wxDataViewCtrl::GTKPathToItem() function and use it.
[wxWidgets.git] / src / common / utilscmn.cpp
index c77972ce109b0e0100046324e94e0195faefd181..53791d386fa6e305af67900bce54fa6b0bed6d38 100644 (file)
@@ -355,8 +355,7 @@ void wxPlatform::AddPlatform(int platform)
 
 void wxPlatform::ClearPlatforms()
 {
-    delete sm_customPlatforms;
-    sm_customPlatforms = NULL;
+    wxDELETE(sm_customPlatforms);
 }
 
 /// Function for testing current platform