X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efb064f747a2d56c3f705f305fb22a1448708e1c..f516d986371b7643efda569d64ae19e75d221411:/src/mac/carbon/dialog.cpp diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index 8d23d958eb..402b749e7c 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -64,11 +64,13 @@ bool wxDialog::Create( wxWindow *parent, 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 return true; }