]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Created the model in wxDataViewListCtrl::Create().
[wxWidgets.git] / src / common / utilscmn.cpp
index ecac6df4768aee8ff182f6b38d9347d7009901f2..53791d386fa6e305af67900bce54fa6b0bed6d38 100644 (file)
@@ -355,8 +355,7 @@ void wxPlatform::AddPlatform(int platform)
 
 void wxPlatform::ClearPlatforms()
 {
 
 void wxPlatform::ClearPlatforms()
 {
-    delete sm_customPlatforms;
-    sm_customPlatforms = NULL;
+    wxDELETE(sm_customPlatforms);
 }
 
 /// Function for testing current platform
 }
 
 /// Function for testing current platform
@@ -1343,7 +1342,7 @@ void wxInfoMessageBox(wxWindow* parent)
                             GTK_MICRO_VERSION);
 #endif // __WXGTK__
 
                             GTK_MICRO_VERSION);
 #endif // __WXGTK__
 
-    msg += wxS("\nCopyright (c) 1995-2009 wxWidgets team");
+    msg += wxS("\nCopyright (c) 1995-2010 wxWidgets team");
 
     wxMessageBox(msg, wxT("wxWidgets information"),
                  wxICON_INFORMATION | wxOK,
 
     wxMessageBox(msg, wxT("wxWidgets information"),
                  wxICON_INFORMATION | wxOK,