From 7c5dc04fd2f93ec42543b64743ea65abd7769000 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 22 Feb 1999 09:32:50 +0000 Subject: [PATCH] Minor changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/msw/install.txt | 16 +++++++++++++++- docs/todo.txt | 4 +++- src/msw/ole/automtn.cpp | 3 ++- src/png/makefile.vc | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/docs/msw/install.txt b/docs/msw/install.txt index 279b02954e..6659a1680e 100644 --- a/docs/msw/install.txt +++ b/docs/msw/install.txt @@ -332,15 +332,29 @@ Here are the steps required: All targets have 'clean' targets to allow removal of object files and other intermediate compiler files. -Gotchas: +Notes: - libwx.a is 48 MB or more - but much less if compiled with no debug info (-g0) and level 4 optimization (-O4). + - install.exe doesn't have built-in decompression because lzexpand.lib isn't available with Cygwin. However, you can use it with external decompression utilities. + - Doesn't compile src/msw/ole files, so no drag and drop. +- There's a bug in the Mingw32 headers for some distributions. + + in include/windows32/defines.h, where it says: + + #define LPSTR_TEXTCALLBACKA (LPSTR)-1L) + + it should say: + + #define LPSTR_TEXTCALLBACKA ((LPSTR)-1L) + + (a missing bracket). + References: - The GNU-WIN32 site is at diff --git a/docs/todo.txt b/docs/todo.txt index 625f23e2fa..87bcd223f1 100644 --- a/docs/todo.txt +++ b/docs/todo.txt @@ -30,7 +30,8 @@ Please see also: - Add all makefiles/documentation for utils/serialize. -- Complete this ToDo list :-) +- Implement wxScrolledWindow::OnChar to scroll the window using + the keyboard. For 2.1: small changes not involving rewriting anything ------------------------------------------------------- @@ -48,3 +49,4 @@ For 2.2: major new additions - Unicode support (Win32 only probably) - DnD and OLE clipboard, uniform DnD/clipboard handling + diff --git a/src/msw/ole/automtn.cpp b/src/msw/ole/automtn.cpp index f72ecea359..108c2948b0 100644 --- a/src/msw/ole/automtn.cpp +++ b/src/msw/ole/automtn.cpp @@ -539,7 +539,8 @@ bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant) else if (type == "bool") { oleVariant.vt = VT_BOOL; -#ifdef __WATCOMC__ + // 'bool' required for VC++ 4 apparently +#if defined(__WATCOMC__) || (defined(_MSC_VER) && (_MSC_VER <= 1000)) oleVariant.bool = variant.GetBool(); #else oleVariant.boolVal = variant.GetBool(); diff --git a/src/png/makefile.vc b/src/png/makefile.vc index 6351a94e85..cd9345debc 100644 --- a/src/png/makefile.vc +++ b/src/png/makefile.vc @@ -47,7 +47,7 @@ OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \ all: $(WINPNGLIB) $(WINPNGLIB): $(OBJECTS) - erase $(WINPNGLIB) + -erase $(WINPNGLIB) lib @<< -out:$(WINPNGLIB) $(OBJECTS) -- 2.45.2