Compilation fix for PNG saving code when wxUSE_PALETTE==0.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jan 2011 15:10:09 +0000 (15:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jan 2011 15:10:09 +0000 (15:10 +0000)
commit967956ddcf45090ff2c965d12b68ea0ef6bf9eae
treef178e5a91b01c94ce8875f9a6e7f6f99cacdc2d4
parent264b16122e27d5af28033b254a70823c73a0dc1b
Compilation fix for PNG saving code when wxUSE_PALETTE==0.

Don't handle wxPNG_TYPE_PALETTE and don't compile PaletteFind() in at all when
wxUSE_PALETTE is off.

Closes #12505.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/imagpng.cpp