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:
@@ -65,10 +65,12 @@ bool wxDialog::Create( wxWindow *parent,
|
|||||||
if ( !wxTopLevelWindow::Create( parent, id, title, pos, size, style, name ) )
|
if ( !wxTopLevelWindow::Create( parent, id, title, pos, size, style, name ) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
#if TARGET_API_MAC_OSX
|
||||||
HIViewRef growBoxRef = 0 ;
|
HIViewRef growBoxRef = 0 ;
|
||||||
OSStatus err = HIViewFindByID( HIViewGetRoot( (WindowRef)m_macWindow ), kHIViewWindowGrowBoxID, &growBoxRef );
|
OSStatus err = HIViewFindByID( HIViewGetRoot( (WindowRef)m_macWindow ), kHIViewWindowGrowBoxID, &growBoxRef );
|
||||||
if ( err == noErr && growBoxRef != 0 )
|
if ( err == noErr && growBoxRef != 0 )
|
||||||
HIGrowBoxViewSetTransparent( growBoxRef, true ) ;
|
HIGrowBoxViewSetTransparent( growBoxRef, true ) ;
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -31,6 +31,7 @@
|
|||||||
#include <Quickdraw.h>
|
#include <Quickdraw.h>
|
||||||
#include <Video.h> // for VDSwitchInfoRec
|
#include <Video.h> // for VDSwitchInfoRec
|
||||||
#include <FixMath.h>
|
#include <FixMath.h>
|
||||||
|
#include <Debugging.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/display.h"
|
#include "wx/display.h"
|
||||||
|
@@ -27,8 +27,11 @@
|
|||||||
#include "wx/evtloop.h"
|
#include "wx/evtloop.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
|
|
||||||
#include <Carbon/Carbon.h>
|
#ifdef __DARWIN__
|
||||||
|
#include <Carbon/Carbon.h>
|
||||||
|
#else
|
||||||
|
#include <Carbon.h>
|
||||||
|
#endif
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// wxEventLoop implementation
|
// wxEventLoop implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
Reference in New Issue
Block a user