#include <ApplicationServices/ApplicationServices.h>
+#if wxOSX_USE_ATSU_TEXT
+ // we need theming and atsu
+ #include <Carbon/Carbon.h>
+#endif
+
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#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() ;
void SetFont( const wxFont & font , const wxColour& foreground , long windowStyle, bool ignoreBlack = true );
+ void InstallEventHandler( WXWidget control = NULL );
protected:
WXWidget m_osxView;
DECLARE_DYNAMIC_CLASS_NO_COPY(wxWidgetCocoaImpl)