]> git.saurik.com Git - wxWidgets.git/blobdiff - src/jpeg/jdinput.c
containers don't always accept focus (patch 718913)
[wxWidgets.git] / src / jpeg / jdinput.c
index 324d0ffe0cd18bb588623bd804b21d94c3959bf1..942a99c1417d8cfb95b5f81a430fefca298b4d56 100644 (file)
 #include "jinclude.h"
 #include "jpeglib.h"
 
-#if defined(__VISAGECPP__)
-/* Visual Age fixups for multiple declarations */
-#  define start_input_pass   start_input_pass2 /* already in jcmaint.c */
-#endif
-
 /* Private state */
 
 typedef struct {
@@ -260,7 +255,11 @@ start_input_pass (j_decompress_ptr cinfo)
   per_scan_setup(cinfo);
   latch_quant_tables(cinfo);
   (*cinfo->entropy->start_pass) (cinfo);
+#if defined(__VISAGECPP__)
+  (*cinfo->coef->start_input_pass2) (cinfo);
+#else
   (*cinfo->coef->start_input_pass) (cinfo);
+#endif
   cinfo->inputctl->consume_input = cinfo->coef->consume_data;
 }
 
@@ -384,8 +383,3 @@ jinit_input_controller (j_decompress_ptr cinfo)
   inputctl->inheaders = TRUE;
 }
 
-#if defined(__VISAGECPP__)
-#  ifdef start_input_pass2
-#   undef start_input_pass2
-#  endif
-#endif