opaque toolbox structs under Classic break access to contrlDefProc

the default value is fine for Classic & Carbon unless __WXDEBUG__ is defined


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2002-08-24 06:55:46 +00:00
parent 11ef82e90a
commit 0326d9689e

View File

@ -40,15 +40,16 @@
#endif
#endif
#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 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
// enabling opaque toolbox structs under Classic will break access to contrlDefProc (control.cpp)
// #define OPAQUE_TOOLBOX_STRUCTS 1
#endif
#include <ansi_prefix.mac.h>
#include <ansi_prefix.mac.h>
/*
#include <MacTypes.h>
#if UNIVERSAL_INTERFACES_VERSION < 0x0340