X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16a12a3d27d3d3e2557bcde15365245ef2675bb4..5d33ed2c6bc3065bf9dc77742da6c924b9e00fa5:/src/xpm/scan.c diff --git a/src/xpm/scan.c b/src/xpm/scan.c index 16c1d2e674..620657a346 100644 --- a/src/xpm/scan.c +++ b/src/xpm/scan.c @@ -411,7 +411,7 @@ ScanOtherColors(Display *display, XpmColor *colors, int ncolors, Pixel *pixels, xcolor->pixel = *pixels; } -#ifdef wx_msw +#if defined(wx_msw) || defined(wx_pm) XQueryColors(display, (Colormap *)colormap, xcolors, ncolors); #else XQueryColors(display, (Colormap)colormap, xcolors, ncolors);