]> git.saurik.com Git - wxWidgets.git/commitdiff
make sure dialogs can support alpha transparency sliders
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 10 Mar 2013 21:12:45 +0000 (21:12 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 10 Mar 2013 21:12:45 +0000 (21:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/utils.mm

index f4702bb185709205d8bbf845c25f1d62249cae30..66bf2fb6828e04ff0a8c0f6d0f8a9199a6507b10 100644 (file)
@@ -278,6 +278,7 @@ bool wxApp::DoInitGui()
 
         appcontroller = OSXCreateAppController();
         [NSApp setDelegate:appcontroller];
+        [NSColor setIgnoresAlpha:NO];
 
         // calling finishLaunching so early before running the loop seems to trigger some 'MenuManager compatibility' which leads
         // to the duplication of menus under 10.5 and a warning under 10.6