Minor changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-02-22 09:32:50 +00:00
parent e541d0bf0c
commit 7c5dc04fd2
4 changed files with 21 additions and 4 deletions

View File

@@ -332,15 +332,29 @@ Here are the steps required:
All targets have 'clean' targets to allow removal of object files All targets have 'clean' targets to allow removal of object files
and other intermediate compiler files. and other intermediate compiler files.
Gotchas: Notes:
- libwx.a is 48 MB or more - but much less if compiled with no - libwx.a is 48 MB or more - but much less if compiled with no
debug info (-g0) and level 4 optimization (-O4). debug info (-g0) and level 4 optimization (-O4).
- install.exe doesn't have built-in decompression because lzexpand.lib - install.exe doesn't have built-in decompression because lzexpand.lib
isn't available with Cygwin. However, you can use it with external isn't available with Cygwin. However, you can use it with external
decompression utilities. decompression utilities.
- Doesn't compile src/msw/ole files, so no drag and drop. - 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: References:
- The GNU-WIN32 site is at - The GNU-WIN32 site is at

View File

@@ -30,7 +30,8 @@ Please see also:
- Add all makefiles/documentation for utils/serialize. - 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 For 2.1: small changes not involving rewriting anything
------------------------------------------------------- -------------------------------------------------------
@@ -48,3 +49,4 @@ For 2.2: major new additions
- Unicode support (Win32 only probably) - Unicode support (Win32 only probably)
- DnD and OLE clipboard, uniform DnD/clipboard handling - DnD and OLE clipboard, uniform DnD/clipboard handling

View File

@@ -539,7 +539,8 @@ bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
else if (type == "bool") else if (type == "bool")
{ {
oleVariant.vt = VT_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(); oleVariant.bool = variant.GetBool();
#else #else
oleVariant.boolVal = variant.GetBool(); oleVariant.boolVal = variant.GetBool();

View File

@@ -47,7 +47,7 @@ OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \
all: $(WINPNGLIB) all: $(WINPNGLIB)
$(WINPNGLIB): $(OBJECTS) $(WINPNGLIB): $(OBJECTS)
erase $(WINPNGLIB) -erase $(WINPNGLIB)
lib @<< lib @<<
-out:$(WINPNGLIB) -out:$(WINPNGLIB)
$(OBJECTS) $(OBJECTS)