non mach-o fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-03-10 16:04:54 +00:00
parent 7ea1c91776
commit cd17aeff89
3 changed files with 9 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -31,6 +31,7 @@
#include <Quickdraw.h>
#include <Video.h> // for VDSwitchInfoRec
#include <FixMath.h>
#include <Debugging.h>
#endif
#include "wx/display.h"

View File

@@ -27,8 +27,11 @@
#include "wx/evtloop.h"
#include "wx/app.h"
#include <Carbon/Carbon.h>
#ifdef __DARWIN__
#include <Carbon/Carbon.h>
#else
#include <Carbon.h>
#endif
// ============================================================================
// wxEventLoop implementation
// ============================================================================