]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xpm/scan.c
added wxHtmlLinkInfo::GetHtmlCell so that you know where it came from
[wxWidgets.git] / src / xpm / scan.c
index 16c1d2e674bf1bf87e0f17f37b5f81c4819f1256..620657a346e54a3dd5898f7718427227b71616cf 100644 (file)
@@ -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);