removed extra erroneous DeleteContents()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -141,7 +141,6 @@ bool wxXPMHandler::SaveFile(wxImage * image,
|
|||||||
|
|
||||||
// 3. create color symbols table:
|
// 3. create color symbols table:
|
||||||
wxHashTable table(wxKEY_INTEGER);
|
wxHashTable table(wxKEY_INTEGER);
|
||||||
table.DeleteContents(TRUE);
|
|
||||||
image->ComputeHistogram(table);
|
image->ComputeHistogram(table);
|
||||||
|
|
||||||
char *symbols_data = new char[cols * (chars_per_pixel+1)];
|
char *symbols_data = new char[cols * (chars_per_pixel+1)];
|
||||||
|
Reference in New Issue
Block a user