X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54afeafe9ba4b3e4ed21d9f70744e36ffddad9a4..1de4baa31f17548b32a376a71ce50fee6a3e759c:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index f77634db5e..cf9dd6d064 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -12,7 +12,7 @@ #ifndef _WX_DEFS_H_ #define _WX_DEFS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "defs.h" #endif @@ -251,7 +251,7 @@ typedef int wxWindowID; // ---------------------------------------------------------------------------- // stdcall is used for all functions called by Windows under Windows -#ifdef __WINDOWS__ +#if defined(__WINDOWS__) && !defined(__WXWINE__) #if defined(__GNUWIN32__) #define wxSTDCALL __attribute__((stdcall)) #else @@ -1785,7 +1785,7 @@ enum wxPrintMode // ---------------------------------------------------------------------------- // define this macro if font handling is done using the X font names -#if defined(__WXGTK__) || defined(__X__) +#if (defined(__WXGTK__) && !defined(__WXGTK20__)) || defined(__X__) #define _WX_X_FONTLIKE #endif