X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bb05bc139aea86e55a8c1bf807cf3ad649826d2..a0378c28b877a68d8ef9991ce4b1433b2560d928:/src/motif/utils.cpp diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index 279ad20b33..094a3e8699 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -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; }