]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/setup.h
all delete functions now send delete notification event
[wxWidgets.git] / include / wx / motif / setup.h
index b69937aca08891b354ef38e7f19854a49115c068..8be474306562ce1bcce22954f67b9074ddbe6b01 100644 (file)
@@ -76,7 +76,7 @@
                                   // NOW MANDATORY: don't change.
 #define wxUSE_MEMORY_TRACING      1
                                   // If 1, enables debugging versions of wxObject::new and
-                                  // wxObject::delete *IF* WXDEBUG is also defined.
+                                  // wxObject::delete *IF* __WXDEBUG__ is also defined.
                                   // WARNING: this code may not work with all architectures, especially
                                   // if alignment is an issue.
 #define wxUSE_DEBUG_CONTEXT       1
                                   // since you may well need to output
                                   // an error log in a production
                                   // version (or non-debugging beta)
-#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
+
+#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
                                   // In debug mode, cause new and delete to be redefined globally.
                                   // If this causes problems (e.g. link errors), set this to 0.
-                                  // In wxMotif, causes an 'all bets are off'
-                                  // memory error (generated by wxWindows)
+
+#define wxUSE_DEBUG_NEW_ALWAYS 1
+                                  // In debug mode, causes new to be defined to
+                                  // be WXDEBUG_NEW (see object.h).
+                                  // If this causes problems (e.g. link errors), set this to 0.
 
 #define REMOVE_UNUSED_ARG 1
                                   // Set this to 0 if your compiler can't cope
 #define wxUSE_GADGETS       0
                                   // Use gadgets where possible
 
+#define wxUSE_TIMEDATE      1
+                                  // Use time and date
 /*
  * Finer detail
  *