+ SetExtraStyle( GetExtraStyle() | wxTOPLEVEL_EX_DIALOG );
+
+ // All dialogs should really have this style...
+ style |= wxTAB_TRAVERSAL;
+
+ // ...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