From: Stefan Csomor Date: Sun, 10 Mar 2013 21:14:17 +0000 (+0000) Subject: support alpha in color dialog, see #14127 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/97e015d1fa8809c8f1cd62a59e55a3ec1da2e85f?ds=sidebyside support alpha in color dialog, see #14127 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/colordlgosx.mm b/src/osx/carbon/colordlgosx.mm index a8649d14c7..4f12861d3d 100644 --- a/src/osx/carbon/colordlgosx.mm +++ b/src/osx/carbon/colordlgosx.mm @@ -106,6 +106,7 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data) NSAutoreleasePool *thePool; thePool = [[NSAutoreleasePool alloc] init]; + [[NSColorPanel sharedColorPanel] setShowsAlpha:YES]; if(m_colourData.GetColour().IsOk()) [[NSColorPanel sharedColorPanel] setColor: [NSColor colorWithCalibratedRed:(CGFloat) (m_colourData.GetColour().Red() / 255.0)