]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/quantize.cpp
When saving the editable state, use the real state (m_editable)
[wxWidgets.git] / src / common / quantize.cpp
index a29113876e5ab86dd6634c1ddfdab162b7ec388c..d3d894f41a5cc16b03c367ce663d836892e65b8b 100644 (file)
@@ -42,6 +42,7 @@
 #endif
 
 #ifndef WX_PRECOMP
+    #include "wx/palette.h"
 #endif
 
 #include "wx/image.h"
@@ -334,7 +335,7 @@ typedef my_cquantizer * my_cquantize_ptr;
 
 void
 prescan_quantize (j_decompress_ptr cinfo, JSAMPARRAY input_buf,
-          JSAMPARRAY output_buf, int num_rows)
+          JSAMPARRAY WXUNUSED(output_buf), int num_rows)
 {
   my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
   register JSAMPROW ptr;
@@ -1284,7 +1285,7 @@ finish_pass1 (j_decompress_ptr cinfo)
 
 
 void
-finish_pass2 (j_decompress_ptr cinfo)
+finish_pass2 (j_decompress_ptr WXUNUSED(cinfo))
 {
   /* no work */
 }