- #ifdef __WXDEBUG__
- // otherwise the debugger looses all symbol information
- #define OPAQUE_TOOLBOX_STRUCTS 0
- // #else
- // enabling opaque toolbox structs under Classic will break access to contrlDefProc (control.cpp)
- // #define OPAQUE_TOOLBOX_STRUCTS 1
+ #define OPAQUE_TOOLBOX_STRUCTS 1
+ #ifdef __MACH__
+ #include <ansi_prefix.mach.h>
+ #include <msl_c_version.h>
+ #include <stdint.h>
+ #undef WCHAR_MAX
+ #include <machine/ansi.h>
+ #else
+ #include <ansi_prefix.mac.h>