From 0458df5e6ae3ea9f69b296d1ae982280710d2c4b Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 23 Jul 2007 20:14:05 +0000 Subject: [PATCH] we now always have a transparent sizer grip git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toplevel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 34ab75e61c..704a45f062 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -1254,6 +1254,11 @@ void wxTopLevelWindowMac::MacCreateRealWindow( } #endif + HIViewRef growBoxRef = 0 ; + err = HIViewFindByID( HIViewGetRoot( (WindowRef)m_macWindow ), kHIViewWindowGrowBoxID, &growBoxRef ); + if ( err == noErr && growBoxRef != 0 ) + HIGrowBoxViewSetTransparent( growBoxRef, true ) ; + // the frame window event handler InstallStandardEventHandler( GetWindowEventTarget(MAC_WXHWND(m_macWindow)) ) ; MacInstallTopLevelWindowEventHandler() ;