]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/setup0.h
Forgot to commit this one - changes for wxBase
[wxWidgets.git] / include / wx / msw / setup0.h
index 5c8d6d4fedf582af22f62deabdd1775618628af4..fca3f3295b8a3d8934866705960fb010d53f3da1 100644 (file)
 // Recommended setting: 1
 #define wxUSE_PLOT           1
 
+// OpenGL canvas
+#define wxUSE_GLCANVAS       0
+
+// wxTreeLayout class
+#define wxUSE_TREELAYOUT     1
+
 // ----------------------------------------------------------------------------
 // Postscript support settings
 // ----------------------------------------------------------------------------
                                 // 0 for no drag and drop
 
 #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
                                 // Use dynamic DIB loading/saving code in utils/dib under MSW.
 #define wxUSE_RESOURCE_LOADING_IN_MSW     1
 #define wxUSE_DYNAMIC_CLASSES     1
                                 // If 1, enables provision of run-time type information.
                                 // 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
                                 // If 1, enables wxDebugContext, for
                                 // writing error messages to file, etc.
-                                // If __WXDEBUG__ is not defined, will still use
-                                // normal memory operators.
+                                // If __WXDEBUG__ is not defined, will
+                                // still use normal memory operators.
                                 // It's recommended to set this to 1,
                                 // since you may well need to output
                                 // an error log in a production
                                 // 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
                                 // In debug mode, cause new and delete to be redefined globally.
                                 // 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
                                 // 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.
                                 // You may need to set this to 0 if using templates (at least
                                 // for VC++).
-
+                                // This switch is currently ignored for
+                                // mingw / cygwin
 #define REMOVE_UNUSED_ARG   1
                                 // Set this to 0 if your compiler can't cope
                                 // with omission of prototype parameters.
                                 // VC++ 4.2 and above allows <iostream> and <iostream.h>
                                 // but you can't mix them. Set to 1 for <iostream.h>,
                                 // 0 for <iostream>
-
 #define wxUSE_STREAMS       1
                                 // If enabled (1), compiles wxWindows streams classes
 
 #define wxUSE_STD_IOSTREAM  0
                                 // Use standard C++ streams if 1. If 0, use wxWin
                                 // streams implementation.
-
-#define wxUSE_WXCONFIG      1
-                                // if enabled, compiles built-in OS independent wxConfig
-                                // class and it's file (any platform) and registry (Win)
-                                // based implementations
 #define wxUSE_THREADS       1
                                 // support for multithreaded applications: if
                                 // 1, compile in thread classes (thread.h)
                                 // Use PNG bitmap/image code
 #define wxUSE_LIBJPEG       1
                                 // Use JPEG bitmap/image code
-#define wxUSE_LIBTIFF       0
+#define wxUSE_LIBTIFF       1
                                 // Use TIFF bitmap/image code
 #define wxUSE_GIF           1
                                 // Use GIF bitmap/image code
                                 // wxWindow::SetToolTip() method
 #define wxUSE_SOCKETS       1
                                 // Set to 1 to use socket classes
+#define wxUSE_FILESYSTEM    1   
+                                // Set to 1 to enable virtual file systems
+                                // (needed by wxHTML)
 #define wxUSE_FS_ZIP        1
-#define wxUSE_FS_INET       1   // Set to 1 to enable virtual file systems
+#define wxUSE_FS_INET       1   
+                                // Set to 1 to enable virtual file systems
 
 #define wxUSE_BUSYINFO      1
                                 // wxBusyInfo displays window with message
  *
  */
 
+// Make settings compatible with MFC
+#define wxUSE_MFC           0
+
 #define wxUSE_OLE           1
                                 // drag-and-drop, clipboard, OLE Automation
 
                                 // wxPrinterDC.
 #define wxUSE_ITSY_BITSY             1
                                 // 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 1 to use bitmap messages.
 #define wxUSE_PORTABLE_FONTS_IN_MSW  0
                                 // Define 1 for font size to be backward compatible
                                 // to 1.63 and earlier. 1.64 and later define point
                                 // sizes to be compatible with Windows.
-#define wxUSE_GENERIC_DIALOGS_IN_MSW 1
+#define wxUSE_GENERIC_DIALOGS_IN_MSW 0
                                 // Define 1 to use generic dialogs in Windows, even though
                                 // they duplicate native common dialog (e.g. wxColourDialog)
 #define wxUSE_PENWINDOWS 0
 #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
+
+// MFC duplicates these operators
+#if wxUSE_MFC
+#undef  wxUSE_GLOBAL_MEMORY_OPERATORS
+#define wxUSE_GLOBAL_MEMORY_OPERATORS   0
+
+#undef  wxUSE_DEBUG_NEW_ALWAYS
+#define wxUSE_DEBUG_NEW_ALWAYS          0
+
+#ifndef _MBCS
+// #define _MBCS
+#endif
+#endif
+
 #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
 // to implement UUIDs