From 3bb0b01c290489c73816dfaccf16568757c1a731 Mon Sep 17 00:00:00 2001 From: Harco de Hilster Date: Sat, 17 Jul 1999 16:27:26 +0000 Subject: [PATCH] Minor fixes mainly to get stuff compiled using the mingw32 (cross) compiler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fs_inet.cpp | 2 +- src/common/zstream.cpp | 2 +- src/generic/tipdlg.cpp | 2 +- src/msw/Makefile.am | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/common/fs_inet.cpp b/src/common/fs_inet.cpp index b9f2bed175..3745300208 100644 --- a/src/common/fs_inet.cpp +++ b/src/common/fs_inet.cpp @@ -78,7 +78,7 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri info = (wxInetCacheNode*) m_Cache.Get(right); // Add item into cache: - if (!info == NULL) + if (info != NULL) { wxURL url(right); s = url.GetInputStream(); diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index 1ae27ad74c..8e444b4b5f 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -30,7 +30,7 @@ // When using configure, the path must be "zlib.h" I don't know // what other ports (wxMac, wxMotif without configure) need here. -#ifdef __WXMSW__ +#if defined(__WXMSW__) && !defined(USING_CONFIGURE) #include "..\zlib\zlib.h" #else #include "zlib.h" diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 1b04b10df8..3ae7cd8462 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -34,13 +34,13 @@ #include "wx/button.h" #include "wx/checkbox.h" #include "wx/statbox.h" - #include "wx/statbmp.h" #include "wx/dialog.h" #include "wx/icon.h" #include "wx/intl.h" #include "wx/layout.h" #include "wx/settings.h" #include "wx/textctrl.h" + #include "wx/statbmp.h" #endif // WX_PRECOMP #include "wx/statline.h" diff --git a/src/msw/Makefile.am b/src/msw/Makefile.am index 31294a6914..ef5ce9996e 100644 --- a/src/msw/Makefile.am +++ b/src/msw/Makefile.am @@ -56,6 +56,7 @@ libwx_msw_la_SOURCES = \ docview.cpp \ dynlib.cpp \ event.cpp \ + ffile.cpp \ file.cpp \ fileconf.cpp \ framecmn.cpp \ @@ -91,6 +92,7 @@ libwx_msw_la_SOURCES = \ stream.cpp \ tbarbase.cpp \ tbarsmpl.cpp \ + textcmn.cpp \ textfile.cpp \ time.cpp \ url.cpp \ -- 2.45.2