From 5e02e8e8705c5f75a5269fc7759fda3a6b9f1200 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 5 Jan 2006 11:24:34 +0000 Subject: [PATCH] transparent grow box for dialogs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index 61d903a38e..3e812a6c94 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -59,6 +59,10 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style & ~(wxYES|wxOK|wxNO /*|wxCANCEL*/) , name) ) return false; + HIViewRef growBoxRef = 0 ; + OSStatus err = HIViewFindByID( HIViewGetRoot( (WindowRef) m_macWindow ) , kHIViewWindowGrowBoxID , &growBoxRef ); + if ( err == noErr && growBoxRef != 0 ) + HIGrowBoxViewSetTransparent( growBoxRef , true ) ; return true; }