]> git.saurik.com Git - wxWidgets.git/commitdiff
use better background color
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 6 Oct 2009 05:18:47 +0000 (05:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 6 Oct 2009 05:18:47 +0000 (05:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/utilscocoa.mm

index 8a7a8d6a4665d27100a34bf4dcf2fca8ebfc4492..08e0a23bc04c55aaf48e7ade3a01c94db4bb6e23 100644 (file)
@@ -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];