changes for command line builds of osx-cocoa

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2008-09-07 14:44:54 +00:00
parent c3485a4eef
commit 6da991dbf0
2 changed files with 3 additions and 3 deletions

View File

@ -82,12 +82,12 @@
#if wxUSE_GUI
typedef SInt16 ThemeBrush;
CGColorRef wxMacCreateCGColorFromHITheme( ThemeBrush brush ) ;
CGColorRef WXDLLIMPEXP_CORE wxMacCreateCGColorFromHITheme( ThemeBrush brush ) ;
OSStatus WXDLLIMPEXP_CORE wxMacDrawCGImage(
CGContextRef inContext,
const CGRect * inBounds,
CGImageRef inImage) ;
WX_NSImage wxOSXCreateNSImageFromCGImage( CGImageRef image );
WX_NSImage WXDLLIMPEXP_CORE wxOSXCreateNSImageFromCGImage( CGImageRef image );
#endif
long UMAGetSystemVersion() ;

View File

@ -956,7 +956,7 @@ void wxApp::CleanUp()
// misc initialization stuff
//----------------------------------------------------------------------
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
#if wxOSX_USE_CARBON && MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
bool wxMacConvertEventToRecord( EventRef event , EventRecord *rec)
{
OSStatus err = noErr ;