]> git.saurik.com Git - wxWidgets.git/commitdiff
transparent grow box for dialogs
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 5 Jan 2006 11:24:34 +0000 (11:24 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 5 Jan 2006 11:24:34 +0000 (11:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dialog.cpp

index 61d903a38e19b1d5ddce2e0e52fa4bb49bee0742..3e812a6c94a149878c6f438e5acd573b09026be3 100644 (file)
@@ -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;
 }