From ba16c23cea588bb60e54b0679a6edc2e0fd790b3 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 6 Oct 2009 05:18:47 +0000 Subject: [PATCH] use better background color git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/utilscocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/carbon/utilscocoa.mm b/src/osx/carbon/utilscocoa.mm index 8a7a8d6..08e0a23 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]; -- 2.7.4