]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
Added (and documented) GetTraceMasks so userspace can probe the currently
[wxWidgets.git] / include / wx / defs.h
index f96214f092538fe41ac21e5e447f5105aaaeab1d..cf9dd6d06468abbf49602f7d5eefbc53e45a2074 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DEFS_H_
 #define _WX_DEFS_H_
 
 #ifndef _WX_DEFS_H_
 #define _WX_DEFS_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "defs.h"
 #endif
 
 #pragma interface "defs.h"
 #endif
 
@@ -251,7 +251,7 @@ typedef int wxWindowID;
 // ----------------------------------------------------------------------------
 
 // stdcall is used for all functions called by Windows under Windows
 // ----------------------------------------------------------------------------
 
 // 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
     #if defined(__GNUWIN32__)
         #define wxSTDCALL __attribute__((stdcall))
     #else