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:
parent
04c3457ae3
commit
5e02e8e870
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user