]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/utils.cpp
fixed (didn't work at all)
[wxWidgets.git] / src / motif / utils.cpp
index 279ad20b331253193dcf8099cef6816d2f37fe4f..094a3e869901d2e55565652c89950ef378f57a2d 100644 (file)
@@ -1134,8 +1134,11 @@ void wxAllocNearestColor(Display *d,Colormap cmp,XColor *xc)
     xc -> green = color_defs[pixel].green;
     xc -> blue = color_defs[pixel].blue;
     xc -> flags = DoRed | DoGreen | DoBlue;
+    
+/*  FIXME, TODO
     if (!XAllocColor(d,cmp,xc))
         cout << "wxAllocNearestColor : Warning : Cannot find nearest color !\n";
+*/
 
     delete[] color_defs;
 }