]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/quantize.cpp
replace m_nSelection by m_selection
[wxWidgets.git] / src / common / quantize.cpp
index cb30f645997a6f3917ddaaa9010c0c6062fd68e5..57b311ec3a93b5b18b9791cf7020d1327a1a6816 100644 (file)
@@ -1621,7 +1621,9 @@ bool wxQuantize::Quantize(const wxImage& src, wxImage& dest,
         delete[] g;
         delete[] b;
     }
-#endif // wxUSE_PALETTE
+#else // !wxUSE_PALETTE
+    wxUnusedVar(pPalette);
+#endif // wxUSE_PALETTE/!wxUSE_PALETTE
 
     return true;
 }