]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wx_cw_cm.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / wx_cw_cm.h
index 4143e251c9f263b77a8ee62a3a8fbd4b74ca0a4a..890b3c0a063af689828e69d588449bb78a4f2755 100644 (file)
 #elif defined( __WXMAC__)
          #define       USE_PRECOMPILED_MAC_HEADERS     0  /*Set to 0 if you don't want to use precompiled MacHeaders*/
          #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
 #elif defined( __WXMAC__)
          #define       USE_PRECOMPILED_MAC_HEADERS     0  /*Set to 0 if you don't want to use precompiled MacHeaders*/
          #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
+         #ifdef __WXDEBUG__
+         // otherwise the debugger looses all symbol information
+    #define OPAQUE_TOOLBOX_STRUCTS 0
+         #else
     #define OPAQUE_TOOLBOX_STRUCTS 1
     #define OPAQUE_TOOLBOX_STRUCTS 1
+    #endif
       #include <ansi_prefix.mac.h>
       /*
       #include <MacTypes.h>
       #include <ansi_prefix.mac.h>
       /*
       #include <MacTypes.h>