]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/quantize.cpp
[ 1509599 ] 'Split pickers page in widgets sample' with more icons and rebaking.
[wxWidgets.git] / src / common / quantize.cpp
index c230b983d9d8d04aeca96563d0ed43c484611ad1..b5936f21fb74430668eda7f2d254548ee5d34910 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        quantize.cpp
+// Name:        src/common/quantize.cpp
 // Purpose:     wxQuantize implementation
 // Author:      Julian Smart
 // Modified by:
 
 /* modified by Vaclav Slavik for use as jpeglib-independent module */
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "quantize.h"
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
 #pragma hdrstop
 #endif
 
+#if wxUSE_IMAGE
+
+#include "wx/quantize.h"
+
 #ifndef WX_PRECOMP
     #include "wx/palette.h"
 #endif
 
-#if wxUSE_IMAGE
-
 #include "wx/image.h"
-#include "wx/quantize.h"
 
 #ifdef __WXMSW__
 #include "wx/msw/private.h"
@@ -77,7 +74,7 @@
 
 typedef unsigned short UINT16;
 typedef signed short INT16;
-#if !(defined(__WATCOMC__) && defined(__WXMSW__))
+#if !(defined(__WATCOMC__) && (defined(__WXMSW__) || defined(__WXMOTIF__)))
 typedef signed int INT32;
 #endif