]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/setup0.h
Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal...
[wxWidgets.git] / include / wx / msw / setup0.h
index 33b42014d61333950ad95ebf377ee87247343419..34b10950d0b81f8fde9ce4766bca35f0a92f28bb 100644 (file)
 // This setting is for Win32 only and can only be enabled if your compiler
 // supports Win32 structured exception handling (currently only VC++ does)
 //
 // This setting is for Win32 only and can only be enabled if your compiler
 // supports Win32 structured exception handling (currently only VC++ does)
 //
-// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
+// Default is 1
 //
 // Recommended setting: 1 if your compiler supports it.
 //
 // Recommended setting: 1 if your compiler supports it.
-#define wxUSE_ON_FATAL_EXCEPTION 1
+#if defined(_MSC_VER) || \
+    (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550)
+    #define wxUSE_ON_FATAL_EXCEPTION 1
+#else
+    #define wxUSE_ON_FATAL_EXCEPTION 0
+#endif
 
 // Set this to 1 to be able to generate a human-readable (unlike
 // machine-readable minidumop created by wxCrashReport::Generate()) stack back
 // trace when your program crashes using wxStackWalker
 //
 
 // Set this to 1 to be able to generate a human-readable (unlike
 // machine-readable minidumop created by wxCrashReport::Generate()) stack back
 // trace when your program crashes using wxStackWalker
 //
-// Default is 1 if supported by the compiler (VC++ and recent BC++ only).
+// Default is 1 if supported by the compiler.
 //
 // Recommended setting: 1, set to 0 if your programs never crash
 #define wxUSE_STACKWALKER 1
 //
 // Recommended setting: 1, set to 0 if your programs never crash
 #define wxUSE_STACKWALKER 1
 // code will lead to undefined behaviour -- but the code itself will be
 // slightly smaller and faster.
 //
 // code will lead to undefined behaviour -- but the code itself will be
 // slightly smaller and faster.
 //
+// Note that like wxUSE_THREADS this option is automatically set to 0 if
+// wxNO_EXCEPTIONS is defined.
+//
 // Default is 1
 //
 // Recommended setting: depends on whether you intend to use C++ exceptions
 // Default is 1
 //
 // Recommended setting: depends on whether you intend to use C++ exceptions
 // library without it if you have no use for it - this will result in a
 // somewhat smaller and faster operation.
 //
 // library without it if you have no use for it - this will result in a
 // somewhat smaller and faster operation.
 //
-// This is ignored under Win16, threads are only supported under Win32.
+// Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
+// to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
+// build/msw/config.* file this value will have no effectNotice that if
+// wxNO_THREADS is defined, wxUSE_THREADS is automatically reset to 0 in
+// wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
+// build/msw/config.* file this value will have no effect.
 //
 // Default is 1
 //
 //
 // Default is 1
 //
 // Default is 1 for the platforms where native status bar is supported.
 //
 // Recommended setting: 1 (there is no advantage in using the generic one)
 // Default is 1 for the platforms where native status bar is supported.
 //
 // Recommended setting: 1 (there is no advantage in using the generic one)
-#if defined(__WXMSW__) || defined(__WXMAC__)
 #define wxUSE_NATIVE_STATUSBAR        1
 #define wxUSE_NATIVE_STATUSBAR        1
-#else
-#define wxUSE_NATIVE_STATUSBAR        0
-#endif
 
 // wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
 // classes at all. Otherwise, use the native toolbar class unless
 
 // wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar
 // classes at all. Otherwise, use the native toolbar class unless