]> git.saurik.com Git - wxWidgets.git/commitdiff
removed extra erroneous DeleteContents()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 6 Jan 2002 22:46:12 +0000 (22:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 6 Jan 2002 22:46:12 +0000 (22:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/imagxpm.cpp

index d46b11898a431bf3f502008e4f574d7675aa7631..22584d6655df0bf8828430ca7d03c7e4837a02e7 100644 (file)
@@ -141,7 +141,6 @@ bool wxXPMHandler::SaveFile(wxImage * image,
 
     // 3. create color symbols table:
     wxHashTable table(wxKEY_INTEGER);
-    table.DeleteContents(TRUE);    
     image->ComputeHistogram(table);
 
     char *symbols_data = new char[cols * (chars_per_pixel+1)];