X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eaadb1b8c3963bd1e2a8abc9ecc67375081dd05..a2c9411060933aa5e92edf3e6251f9fc90090d20:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 7750a3af78..8f6545c3f4 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -68,14 +68,14 @@ using OS X libraries like Carbon or CoreServices. */ -#if defined(__WXMAC_OSX__) || (defined(__WXCOCOA__) && (!defined(wxUSE_BASE) || !wxUSE_BASE)) +#if defined(__WXMAC_OSX__) || (defined(__WXCOCOA__) && (!defined(wxUSE_BASE) || !wxUSE_BASE)) || defined(__WXASPEN__) # define __WXOSX__ #endif #ifdef __WXOSX__ # ifdef __WXMAC_XCODE__ # include -# include "wx/mac/carbon/config_xcode.h" +# include "wx/mac/config_xcode.h" # endif #endif /* @@ -211,7 +211,15 @@ Note that it must be included before defining hardware symbols below as they could be already defined by configure */ -#include "wx/setup.h" +#ifdef __GCCXML__ + /* + we're using gccxml to create an XML representation of the entire + wxWidgets interface; pass it a special setup.h file + */ + #include "wx/setup_gccxml.h" +#else + #include "wx/setup.h" +#endif /* Hardware platform detection. @@ -277,7 +285,7 @@ /* test for old versions of Borland C, normally need at least 5.82, Turbo - explorer, available for free at http://www.turboexplorer.com/downloads + explorer, available for free at http://www.turboexplorer.com/downloads */ #if defined(__BORLANDC__) && (__BORLANDC__ < 0x550) # error "wxWidgets requires a newer version of Borland, we recommend upgrading to 5.82 (Turbo Explorer). You may at your own risk remove this line and try building but be prepared to get build errors." @@ -609,6 +617,9 @@ # define wxHAVE_RAW_BITMAP # endif #endif +#if defined(__WXGTK20__) || defined(__WXMAC__) +# define wxHAVE_RAW_BITMAP +#endif /* Handle Darwin gcc universal compilation. Don't do this in an Apple-