From: Gilles Depeyrot Date: Sat, 24 Aug 2002 06:55:46 +0000 (+0000) Subject: opaque toolbox structs under Classic break access to contrlDefProc X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0326d9689eb518ff3d8070cd83ea1d36a6f3324f?ds=sidebyside 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 --- diff --git a/include/wx/wx_cw_cm.h b/include/wx/wx_cw_cm.h index 760742f751..c5dd9aef7a 100644 --- a/include/wx/wx_cw_cm.h +++ b/include/wx/wx_cw_cm.h @@ -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 + #include /* #include #if UNIVERSAL_INTERFACES_VERSION < 0x0340