From fa60e55f57134f689f6038882f811191f17d9bc7 Mon Sep 17 00:00:00 2001 From: zilmar Date: Sun, 22 Nov 2015 22:36:51 +1100 Subject: [PATCH] [Project64] Trying to get wx to compile --- Source/3rd Party/wx/src/common/filename.cpp | 1 + Source/3rd Party/wx/src/msw/filedlg.cpp | 4 ++ Source/3rd Party/wx/src/msw/gdiimage.cpp | 4 ++ Source/3rd Party/wx/src/msw/graphics.cpp | 3 ++ Source/3rd Party/wx/src/msw/ole/activex.cpp | 2 +- Source/3rd Party/wx/src/msw/ole/dataobj.cpp | 1 + Source/3rd Party/wx/src/msw/ole/oleutils.cpp | 4 ++ Source/3rd Party/wx/src/msw/printdlg.cpp | 5 +++ Source/3rd Party/wx/src/msw/textctrl.cpp | 1 + Source/3rd Party/wx/src/msw/utils.cpp | 1 + Source/3rd Party/wx/wx_base.vcproj | 12 +----- Source/3rd Party/wx/wx_core.vcproj | 40 +++++--------------- 12 files changed, 37 insertions(+), 41 deletions(-) diff --git a/Source/3rd Party/wx/src/common/filename.cpp b/Source/3rd Party/wx/src/common/filename.cpp index fcbc0e720..2002da92e 100644 --- a/Source/3rd Party/wx/src/common/filename.cpp +++ b/Source/3rd Party/wx/src/common/filename.cpp @@ -103,6 +103,7 @@ #include // for CLSID_ShellLink #include "wx/msw/missing.h" #include "wx/msw/ole/oleutils.h" + #include #endif #if defined(__WXMAC__) diff --git a/Source/3rd Party/wx/src/msw/filedlg.cpp b/Source/3rd Party/wx/src/msw/filedlg.cpp index a0c0ace94..fcd68b62a 100644 --- a/Source/3rd Party/wx/src/msw/filedlg.cpp +++ b/Source/3rd Party/wx/src/msw/filedlg.cpp @@ -39,6 +39,10 @@ #include "wx/math.h" #endif +#ifdef __WXMSW__ +#include +#endif + #include #include diff --git a/Source/3rd Party/wx/src/msw/gdiimage.cpp b/Source/3rd Party/wx/src/msw/gdiimage.cpp index 7f86bf36b..f4615913b 100644 --- a/Source/3rd Party/wx/src/msw/gdiimage.cpp +++ b/Source/3rd Party/wx/src/msw/gdiimage.cpp @@ -55,6 +55,10 @@ #include #endif +#ifdef __WXMSW__ +#include +#endif + #include "wx/file.h" #include "wx/listimpl.cpp" diff --git a/Source/3rd Party/wx/src/msw/graphics.cpp b/Source/3rd Party/wx/src/msw/graphics.cpp index d0a19506d..b558de65e 100644 --- a/Source/3rd Party/wx/src/msw/graphics.cpp +++ b/Source/3rd Party/wx/src/msw/graphics.cpp @@ -15,6 +15,9 @@ #endif #include "wx/dc.h" +#include +#include +#include #if wxUSE_GRAPHICS_CONTEXT diff --git a/Source/3rd Party/wx/src/msw/ole/activex.cpp b/Source/3rd Party/wx/src/msw/ole/activex.cpp index 185acb6ab..949bfa854 100644 --- a/Source/3rd Party/wx/src/msw/ole/activex.cpp +++ b/Source/3rd Party/wx/src/msw/ole/activex.cpp @@ -531,7 +531,7 @@ public: #elif defined(_UNICODE) GetObjectW #else - GetObjectA + GetObject #endif (LPOLESTR pszItem, DWORD, IBindCtx *, REFIID, void ** ppvObject) { diff --git a/Source/3rd Party/wx/src/msw/ole/dataobj.cpp b/Source/3rd Party/wx/src/msw/ole/dataobj.cpp index b06e4b6e6..aa1675021 100644 --- a/Source/3rd Party/wx/src/msw/ole/dataobj.cpp +++ b/Source/3rd Party/wx/src/msw/ole/dataobj.cpp @@ -49,6 +49,7 @@ #include #include +#include #include "wx/msw/ole/oleutils.h" diff --git a/Source/3rd Party/wx/src/msw/ole/oleutils.cpp b/Source/3rd Party/wx/src/msw/ole/oleutils.cpp index e12b1760d..b2ba8a57a 100644 --- a/Source/3rd Party/wx/src/msw/ole/oleutils.cpp +++ b/Source/3rd Party/wx/src/msw/ole/oleutils.cpp @@ -41,6 +41,10 @@ #define UUID_DEFINED #endif +#ifdef __WXMSW__ +#include +#endif + // OLE #ifndef __WXWINCE__ #include "wx/msw/ole/uuid.h" diff --git a/Source/3rd Party/wx/src/msw/printdlg.cpp b/Source/3rd Party/wx/src/msw/printdlg.cpp index bdc2451f5..0196b3ce4 100644 --- a/Source/3rd Party/wx/src/msw/printdlg.cpp +++ b/Source/3rd Party/wx/src/msw/printdlg.cpp @@ -34,6 +34,11 @@ #include "wx/cmndata.h" #endif +#ifdef __WXMSW__ +#include +#include +#endif + #include "wx/printdlg.h" #include "wx/msw/printdlg.h" #include "wx/msw/dcprint.h" diff --git a/Source/3rd Party/wx/src/msw/textctrl.cpp b/Source/3rd Party/wx/src/msw/textctrl.cpp index 7195c1c28..343814aeb 100644 --- a/Source/3rd Party/wx/src/msw/textctrl.cpp +++ b/Source/3rd Party/wx/src/msw/textctrl.cpp @@ -55,6 +55,7 @@ #include "wx/msw/private.h" #include "wx/msw/winundef.h" #include "wx/msw/mslu.h" +#include #include #include diff --git a/Source/3rd Party/wx/src/msw/utils.cpp b/Source/3rd Party/wx/src/msw/utils.cpp index 9b59d1b69..17795b030 100644 --- a/Source/3rd Party/wx/src/msw/utils.cpp +++ b/Source/3rd Party/wx/src/msw/utils.cpp @@ -18,6 +18,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#include #ifdef __BORLANDC__ #pragma hdrstop diff --git a/Source/3rd Party/wx/wx_base.vcproj b/Source/3rd Party/wx/wx_base.vcproj index cb168334c..e9e391f35 100644 --- a/Source/3rd Party/wx/wx_base.vcproj +++ b/Source/3rd Party/wx/wx_base.vcproj @@ -53,7 +53,7 @@ /> - - @@ -430,10 +426,6 @@ RelativePath="src\common\wfstream.cpp" > - - diff --git a/Source/3rd Party/wx/wx_core.vcproj b/Source/3rd Party/wx/wx_core.vcproj index 3b185d741..3c7b16b9f 100644 --- a/Source/3rd Party/wx/wx_core.vcproj +++ b/Source/3rd Party/wx/wx_core.vcproj @@ -54,7 +54,7 @@ - - @@ -944,10 +940,6 @@ RelativePath="src\msw\settings.cpp" > - - @@ -964,10 +956,6 @@ RelativePath="src\msw\statbox.cpp" > - - @@ -976,10 +964,6 @@ RelativePath="src\msw\stattext.cpp" > - - @@ -1274,10 +1258,6 @@ RelativePath="src\generic\numdlgg.cpp" > - - @@ -3763,11 +3743,11 @@ >