- if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style & ~(wxYES|wxOK|wxNO|wxCANCEL) , name) )
- return FALSE;
+ // ...but not these styles
+ style &= ~(wxYES | wxOK | wxNO); // | wxCANCEL
+
+ if ( !wxTopLevelWindow::Create( parent, id, title, pos, size, style, name ) )
+ return false;
+
+#if TARGET_API_MAC_OSX
+ HIViewRef growBoxRef = 0 ;
+ OSStatus err = HIViewFindByID( HIViewGetRoot( (WindowRef)m_macWindow ), kHIViewWindowGrowBoxID, &growBoxRef );
+ if ( err == noErr && growBoxRef != 0 )
+ HIGrowBoxViewSetTransparent( growBoxRef, true ) ;
+#endif