transparent grow box for dialogs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2006-01-05 11:24:34 +00:00
parent 04c3457ae3
commit 5e02e8e870

View 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;
}