Disabled memory tracing code for mingw32,

Added LIBTIFF support by default,
Added comment about itsy bitsy lib being useful for win3.1 only,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2000-03-06 16:19:39 +00:00
parent d2249417f8
commit 1ea670896b

View File

@@ -251,7 +251,10 @@
// 0 for no drag and drop // 0 for no drag and drop
#define wxUSE_XPM_IN_MSW 1 #define wxUSE_XPM_IN_MSW 1
// Define 1 to support the XPM package in wxBitmap. // 0 for no XPM support in wxBitmap.
// Default is 1, as XPM is now fully
// supported this makes easier the issue
// of portable icons and bitmaps.
#define wxUSE_IMAGE_LOADING_IN_MSW 1 #define wxUSE_IMAGE_LOADING_IN_MSW 1
// Use dynamic DIB loading/saving code in utils/dib under MSW. // Use dynamic DIB loading/saving code in utils/dib under MSW.
#define wxUSE_RESOURCE_LOADING_IN_MSW 1 #define wxUSE_RESOURCE_LOADING_IN_MSW 1
@@ -275,31 +278,35 @@
#define wxUSE_DYNAMIC_CLASSES 1 #define wxUSE_DYNAMIC_CLASSES 1
// If 1, enables provision of run-time type information. // If 1, enables provision of run-time type information.
// NOW MANDATORY: don't change. // 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.
// WARNING: this code may not work with all architectures, especially
// if alignment is an issue.
#define wxUSE_DEBUG_CONTEXT 1 #define wxUSE_DEBUG_CONTEXT 1
// If 1, enables wxDebugContext, for // If 1, enables wxDebugContext, for
// writing error messages to file, etc. // writing error messages to file, etc.
// If __WXDEBUG__ is not defined, will still use // If __WXDEBUG__ is not defined, will
// normal memory operators. // still use normal memory operators.
// It's recommended to set this to 1, // It's recommended to set this to 1,
// since you may well need to output // since you may well need to output
// an error log in a production // an error log in a production
// version (or non-debugging beta) // version (or non-debugging beta)
#define wxUSE_MEMORY_TRACING 1
// If 1, enables debugging versions of wxObject::new and
// wxObject::delete *IF* __WXDEBUG__ is also defined.
// WARNING: this code may not work with all architectures,
// especially if alignment is an issue.
// This switch is currently ignored for
// mingw / cygwin
#define wxUSE_GLOBAL_MEMORY_OPERATORS 1 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
// In debug mode, cause new and delete to be redefined globally. // In debug mode, cause new and delete to be redefined globally.
// If this causes problems (e.g. link errors), set this to 0. // If this causes problems (e.g. link errors), set this to 0.
// This switch is currently ignored for
// mingw / cygwin
#define wxUSE_DEBUG_NEW_ALWAYS 1 #define wxUSE_DEBUG_NEW_ALWAYS 1
// In debug mode, causes new to be defined to // In debug mode, causes new to be defined to
// be WXDEBUG_NEW (see object.h). // be WXDEBUG_NEW (see object.h).
// If this causes problems (e.g. link errors), set this to 0. // If this causes problems (e.g. link errors), set this to 0.
// You may need to set this to 0 if using templates (at least // You may need to set this to 0 if using templates (at least
// for VC++). // for VC++).
// This switch is currently ignored for
// mingw / cygwin
#define REMOVE_UNUSED_ARG 1 #define REMOVE_UNUSED_ARG 1
// Set this to 0 if your compiler can't cope // Set this to 0 if your compiler can't cope
// with omission of prototype parameters. // with omission of prototype parameters.
@@ -347,7 +354,7 @@
// Use PNG bitmap/image code // Use PNG bitmap/image code
#define wxUSE_LIBJPEG 1 #define wxUSE_LIBJPEG 1
// Use JPEG bitmap/image code // Use JPEG bitmap/image code
#define wxUSE_LIBTIFF 0 #define wxUSE_LIBTIFF 1
// Use TIFF bitmap/image code // Use TIFF bitmap/image code
#define wxUSE_GIF 1 #define wxUSE_GIF 1
// Use GIF bitmap/image code // Use GIF bitmap/image code
@@ -454,7 +461,10 @@
// wxPrinterDC. // wxPrinterDC.
#define wxUSE_ITSY_BITSY 1 #define wxUSE_ITSY_BITSY 1
// Define 1 to use Microsoft's ItsyBitsy // Define 1 to use Microsoft's ItsyBitsy
// small title bar library, for wxMiniFrame // small title bar library, for wxMiniFrame.
// This setting is only used for Win3.1;
// Win9x and NT use native miniframes
// support instead.
#define wxUSE_BITMAP_MESSAGE 1 #define wxUSE_BITMAP_MESSAGE 1
// Define 1 to use bitmap messages. // Define 1 to use bitmap messages.
#define wxUSE_PORTABLE_FONTS_IN_MSW 0 #define wxUSE_PORTABLE_FONTS_IN_MSW 0
@@ -494,6 +504,18 @@
#endif #endif
#endif #endif
// These don't work as expected for mingw32 and cygwin32
#if defined(__GNUWIN32__)
#undef wxUSE_MEMORY_TRACING
#define wxUSE_MEMORY_TRACING 0
#undef wxUSE_GLOBAL_MEMORY_OPERATORS
#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
#undef wxUSE_DEBUG_NEW_ALWAYS
#define wxUSE_DEBUG_NEW_ALWAYS 0
#endif
#if (!defined(WIN32) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) #if (!defined(WIN32) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS)
// Can't use OLE drag and drop in Windows 3.1 because we don't know how // Can't use OLE drag and drop in Windows 3.1 because we don't know how
// to implement UUIDs // to implement UUIDs