]> git.saurik.com Git - wxWidgets.git/commitdiff
opaque toolbox structs under Classic break access to contrlDefProc
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 24 Aug 2002 06:55:46 +0000 (06:55 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 24 Aug 2002 06:55:46 +0000 (06:55 +0000)
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

include/wx/wx_cw_cm.h

index 760742f7512ed3b1ece3a99b7e5554c7f58e551b..c5dd9aef7abb8b82ab7eb982fd05ef3ab395cf2c 100644 (file)
     #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