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:
@@ -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;
|
||||
}
|
||||
|
@@ -31,6 +31,7 @@
|
||||
#include <Quickdraw.h>
|
||||
#include <Video.h> // for VDSwitchInfoRec
|
||||
#include <FixMath.h>
|
||||
#include <Debugging.h>
|
||||
#endif
|
||||
|
||||
#include "wx/display.h"
|
||||
|
@@ -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
|
||||
// ============================================================================
|
||||
|
Reference in New Issue
Block a user