X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a6ea041d96f19c89c0f68741502f08e5cee97ec..fd8734512097f8d12766074c464037d6441cbd27:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 8e387b61ed..11c305c7a3 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1751,7 +1751,8 @@ enum wxBackgroundStyle { wxBG_STYLE_SYSTEM, wxBG_STYLE_COLOUR, - wxBG_STYLE_CUSTOM + wxBG_STYLE_CUSTOM, + wxBG_STYLE_TRANSPARENT }; /* @@ -2551,7 +2552,7 @@ typedef void* WXDisplay; #endif -#ifdef __WXCOCOA__ +#if defined( __WXCOCOA__ ) || ( defined(__WXMAC__) && defined(__DARWIN__) ) /* Definitions of 32-bit/64-bit types * These are typedef'd exactly the same way in newer OS X headers so @@ -2646,8 +2647,14 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSTextStorage); DECLARE_WXCOCOA_OBJC_CLASS(NSThread); DECLARE_WXCOCOA_OBJC_CLASS(NSWindow); DECLARE_WXCOCOA_OBJC_CLASS(NSView); +#ifdef __WXMAC__ +// things added for __WXMAC__ +DECLARE_WXCOCOA_OBJC_CLASS(NSString); +#else +// things only for __WXCOCOA__ typedef WX_NSView WXWidget; /* wxWidgets BASE definition */ -#endif /* __WXCOCOA__ */ +#endif +#endif /* __WXCOCOA__ || ( __WXMAC__ &__DARWIN__)*/ #if defined(__WXPALMOS__)