From 106f039552385de4d8b7c2e530a00057e9b78208 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 6 Nov 1999 19:43:45 +0000 Subject: [PATCH 1/1] Small changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/msw/install.txt | 3 +++ docs/readme.txt | 3 +++ include/wx/msw/setup0.h | 10 +++++++++- src/msw/dialup.cpp | 5 +++++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/msw/install.txt b/docs/msw/install.txt index 9df13cefdc..6feb6de607 100644 --- a/docs/msw/install.txt +++ b/docs/msw/install.txt @@ -149,6 +149,9 @@ strong optimization, so long as the application is not strongly optimized. For example, in wxWindows project, set to 'Minimum Size'. In Dialog Editor project, set to 'Customize: Favor Small Code' (and no others). This will then work. +Note also that a bug in the compiler, even without optimization, +causes dobjcmn.cpp to produce an internal error, so setup.h +switches off drag and drop for VC++ 5. Similarly, in VC++ 4, optimization can cause internal compiler errors, so edit src\makevc.env and change /O1 to /Od before diff --git a/docs/readme.txt b/docs/readme.txt index 6665ca3a1d..35b57e4e97 100644 --- a/docs/readme.txt +++ b/docs/readme.txt @@ -46,6 +46,9 @@ wxWindows 2.1.11 - Text alignment options in wxStaticText. - wxImage class extended to read PCX and GIF files. - Documentation improvements. +- Revised configure system for wxGTK and wxMotif; tmake-based + system for generating wxMSW makefiles. +- Installer for Windows as alternative to zip archives. Platforms supported ------------------- diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index a9e132d600..31e03b6432 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -32,7 +32,8 @@ #define wxUSE_CONFIG 1 // Use wxConfig, with CreateConfig in wxApp - +#define wxUSE_DIALUP_MANAGER 1 + // Use wxDialUpManager class #define wxUSE_POSTSCRIPT 0 // 0 for no PostScript device context #define wxUSE_AFM_FOR_POSTSCRIPT 0 @@ -451,5 +452,12 @@ #endif +// Problem with VC++ 5 and dobjcmn.cpp + +#if defined(_MSC_VER) && (_MSC_VER > 1020) && (_MSC_VER < 1200) +#undef wxUSE_DRAG_AND_DROP +#define wxUSE_DRAG_AND_DROP 0 +#endif + #endif // _WX_SETUP_H_ diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index fad3b9aac2..64542d048c 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -40,6 +40,9 @@ #include "wx/dialup.h" +// Doesn't yet compile under BC++: no wininet.h +#ifndef __BORLANDC__ + #include #include @@ -1273,4 +1276,6 @@ static void WINAPI wxRasDialFunc(UINT unMsg, rasconnstate, dwError); } +#endif + // __BORLANDC__ #endif // wxUSE_DIALUP_MANAGER -- 2.45.2