]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
Format strings fixes in test suite.
[wxWidgets.git] / src / generic / grid.cpp
index e4ff36d0a165ea3c5057c3fc08337924a2532cbd..887ba87cf0526fbf5597d17e8eefc7a7e10c1df8 100644 (file)
@@ -2100,8 +2100,7 @@ wxGrid::SetTable(wxGridTableBase *table,
             m_table = NULL;
         }
 
-        delete m_selection;
-        m_selection = NULL;
+        wxDELETE(m_selection);
 
         m_ownTable = false;
         m_numRows = 0;