]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/bmpmotif.cpp
Fix incorrect comparison
[wxWidgets.git] / src / motif / bmpmotif.cpp
index f79d04c32be5344674cc58df71d90d8a6214384e..d9317536b4f9cbe425035fdf05ed8c0b0f1506f8 100644 (file)
@@ -125,7 +125,7 @@ WXPixmap wxBitmapCache::GetPixmapFromCache(WXWidget w)
     while( XmIsGadget( widget ) )
         widget = XtParent( widget );
 
-    Pixel fg, bg;
+    WXPixel fg, bg;
     XtVaGetValues( widget,
                    XmNbackground, &bg,
                    XmNforeground, &fg,