From: Stefan Csomor Date: Tue, 6 Oct 2009 05:18:47 +0000 (+0000) Subject: use better background color X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ba16c23cea588bb60e54b0679a6edc2e0fd790b3 use better background color git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/utilscocoa.mm b/src/osx/carbon/utilscocoa.mm index 8a7a8d6a46..08e0a23bc0 100644 --- a/src/osx/carbon/utilscocoa.mm +++ b/src/osx/carbon/utilscocoa.mm @@ -323,7 +323,7 @@ CGImageRef wxOSXCreateCGImageFromNSImage( WX_NSImage nsimage ) NSGraphicsContext *nsGraphicsContext = [NSGraphicsContext graphicsContextWithGraphicsPort:context flipped:NO]; [NSGraphicsContext saveGraphicsState]; [NSGraphicsContext setCurrentContext:nsGraphicsContext]; - [[NSColor yellowColor] setFill]; + [[NSColor whiteColor] setFill]; NSRectFill(NSMakeRect(0.0, 0.0, imageSize.width, imageSize.height)); [nsimage drawAtPoint:NSZeroPoint fromRect:NSZeroRect operation:NSCompositeCopy fraction:1.0]; [NSGraphicsContext setCurrentContext:nsGraphicsContext];