From cd17aeff896462de174b440edc58a3e34b69cfa9 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 10 Mar 2006 16:04:54 +0000 Subject: [PATCH] non mach-o fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dialog.cpp | 4 +++- src/mac/carbon/display.cpp | 1 + src/mac/carbon/evtloop.cpp | 7 +++++-- 3 files changed, 9 insertions(+), 3 deletions(-) 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; } diff --git a/src/mac/carbon/display.cpp b/src/mac/carbon/display.cpp index 9619dfcc2f..7b6eb4ef42 100644 --- a/src/mac/carbon/display.cpp +++ b/src/mac/carbon/display.cpp @@ -31,6 +31,7 @@ #include #include // for VDSwitchInfoRec #include + #include #endif #include "wx/display.h" diff --git a/src/mac/carbon/evtloop.cpp b/src/mac/carbon/evtloop.cpp index ab9e51700d..d5a9804e67 100644 --- a/src/mac/carbon/evtloop.cpp +++ b/src/mac/carbon/evtloop.cpp @@ -27,8 +27,11 @@ #include "wx/evtloop.h" #include "wx/app.h" -#include - +#ifdef __DARWIN__ + #include +#else + #include +#endif // ============================================================================ // wxEventLoop implementation // ============================================================================ -- 2.50.0