[Project64] Trying to get wx to compile

This commit is contained in:
zilmar 2015-11-22 22:36:51 +11:00
parent b5a4dc4eef
commit fa60e55f57
12 changed files with 37 additions and 41 deletions

View File

@ -103,6 +103,7 @@
#include <shlobj.h> // for CLSID_ShellLink #include <shlobj.h> // for CLSID_ShellLink
#include "wx/msw/missing.h" #include "wx/msw/missing.h"
#include "wx/msw/ole/oleutils.h" #include "wx/msw/ole/oleutils.h"
#include <Shellapi.h>
#endif #endif
#if defined(__WXMAC__) #if defined(__WXMAC__)

View File

@ -39,6 +39,10 @@
#include "wx/math.h" #include "wx/math.h"
#endif #endif
#ifdef __WXMSW__
#include <CdErr.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -55,6 +55,10 @@
#include <shellapi.h> #include <shellapi.h>
#endif #endif
#ifdef __WXMSW__
#include <shellapi.h>
#endif
#include "wx/file.h" #include "wx/file.h"
#include "wx/listimpl.cpp" #include "wx/listimpl.cpp"

View File

@ -15,6 +15,9 @@
#endif #endif
#include "wx/dc.h" #include "wx/dc.h"
#include <rpc.h>
#include <rpcndr.h>
#include <Unknwn.h>
#if wxUSE_GRAPHICS_CONTEXT #if wxUSE_GRAPHICS_CONTEXT

View File

@ -531,7 +531,7 @@ public:
#elif defined(_UNICODE) #elif defined(_UNICODE)
GetObjectW GetObjectW
#else #else
GetObjectA GetObject
#endif #endif
(LPOLESTR pszItem, DWORD, IBindCtx *, REFIID, void ** ppvObject) (LPOLESTR pszItem, DWORD, IBindCtx *, REFIID, void ** ppvObject)
{ {

View File

@ -49,6 +49,7 @@
#include <oleauto.h> #include <oleauto.h>
#include <shlobj.h> #include <shlobj.h>
#include <ShellAPI.h>
#include "wx/msw/ole/oleutils.h" #include "wx/msw/ole/oleutils.h"

View File

@ -41,6 +41,10 @@
#define UUID_DEFINED #define UUID_DEFINED
#endif #endif
#ifdef __WXMSW__
#include <Rpc.h>
#endif
// OLE // OLE
#ifndef __WXWINCE__ #ifndef __WXWINCE__
#include "wx/msw/ole/uuid.h" #include "wx/msw/ole/uuid.h"

View File

@ -34,6 +34,11 @@
#include "wx/cmndata.h" #include "wx/cmndata.h"
#endif #endif
#ifdef __WXMSW__
#include <WinSpool.h>
#include <CdErr.h>
#endif
#include "wx/printdlg.h" #include "wx/printdlg.h"
#include "wx/msw/printdlg.h" #include "wx/msw/printdlg.h"
#include "wx/msw/dcprint.h" #include "wx/msw/dcprint.h"

View File

@ -55,6 +55,7 @@
#include "wx/msw/private.h" #include "wx/msw/private.h"
#include "wx/msw/winundef.h" #include "wx/msw/winundef.h"
#include "wx/msw/mslu.h" #include "wx/msw/mslu.h"
#include <OleIdl.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -18,6 +18,7 @@
// For compilers that support precompilation, includes "wx.h". // For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h" #include "wx/wxprec.h"
#include <Winsock2.h>
#ifdef __BORLANDC__ #ifdef __BORLANDC__
#pragma hdrstop #pragma hdrstop

View File

@ -53,7 +53,7 @@
/> />
<Tool <Tool
Name="VCLibrarianTool" Name="VCLibrarianTool"
OutputFile="$(OutDir)\lib\wxbase28d.lib" OutputFile="$(OutDir)\lib\wxbase30d.lib"
/> />
<Tool <Tool
Name="VCALinkTool" Name="VCALinkTool"
@ -109,7 +109,7 @@
/> />
<Tool <Tool
Name="VCLibrarianTool" Name="VCLibrarianTool"
OutputFile="$(OutDir)\lib\wxbase28.lib" OutputFile="$(OutDir)\lib\wxbase30.lib"
/> />
<Tool <Tool
Name="VCALinkTool" Name="VCALinkTool"
@ -166,10 +166,6 @@
RelativePath="src\common\convauto.cpp" RelativePath="src\common\convauto.cpp"
> >
</File> </File>
<File
RelativePath=".\src\common\datacmn.cpp"
>
</File>
<File <File
RelativePath="src\common\datetime.cpp" RelativePath="src\common\datetime.cpp"
> >
@ -430,10 +426,6 @@
RelativePath="src\common\wfstream.cpp" RelativePath="src\common\wfstream.cpp"
> >
</File> </File>
<File
RelativePath=".\src\common\wxchar.cpp"
>
</File>
<File <File
RelativePath="src\common\xti.cpp" RelativePath="src\common\xti.cpp"
> >

View File

@ -54,7 +54,7 @@
<Tool <Tool
Name="VCLibrarianTool" Name="VCLibrarianTool"
AdditionalDependencies="Comctl32.lib Rpcrt4.lib" AdditionalDependencies="Comctl32.lib Rpcrt4.lib"
OutputFile="$(OutDir)\lib\wxmsw28d_core.lib" OutputFile="$(OutDir)\lib\wxmsw30d_core.lib"
/> />
<Tool <Tool
Name="VCALinkTool" Name="VCALinkTool"
@ -111,7 +111,7 @@
<Tool <Tool
Name="VCLibrarianTool" Name="VCLibrarianTool"
AdditionalDependencies="Comctl32.lib Rpcrt4.lib" AdditionalDependencies="Comctl32.lib Rpcrt4.lib"
OutputFile="$(OutDir)\lib\wxmsw28_core.lib" OutputFile="$(OutDir)\lib\wxmsw30_core.lib"
/> />
<Tool <Tool
Name="VCALinkTool" Name="VCALinkTool"
@ -788,10 +788,6 @@
/> />
</FileConfiguration> </FileConfiguration>
</File> </File>
<File
RelativePath=".\src\msw\gsockmsw.cpp"
>
</File>
<File <File
RelativePath="src\msw\helpchm.cpp" RelativePath="src\msw\helpchm.cpp"
> >
@ -944,10 +940,6 @@
RelativePath="src\msw\settings.cpp" RelativePath="src\msw\settings.cpp"
> >
</File> </File>
<File
RelativePath=".\src\msw\slider95.cpp"
>
</File>
<File <File
RelativePath="src\msw\spinbutt.cpp" RelativePath="src\msw\spinbutt.cpp"
> >
@ -964,10 +956,6 @@
RelativePath="src\msw\statbox.cpp" RelativePath="src\msw\statbox.cpp"
> >
</File> </File>
<File
RelativePath=".\src\msw\statbr95.cpp"
>
</File>
<File <File
RelativePath="src\msw\statline.cpp" RelativePath="src\msw\statline.cpp"
> >
@ -976,10 +964,6 @@
RelativePath="src\msw\stattext.cpp" RelativePath="src\msw\stattext.cpp"
> >
</File> </File>
<File
RelativePath=".\src\msw\tbar95.cpp"
>
</File>
<File <File
RelativePath="src\msw\textctrl.cpp" RelativePath="src\msw\textctrl.cpp"
> >
@ -1274,10 +1258,6 @@
RelativePath="src\generic\numdlgg.cpp" RelativePath="src\generic\numdlgg.cpp"
> >
</File> </File>
<File
RelativePath=".\src\generic\panelg.cpp"
>
</File>
<File <File
RelativePath="src\generic\printps.cpp" RelativePath="src\generic\printps.cpp"
> >
@ -3763,11 +3743,11 @@
> >
</File> </File>
<File <File
RelativePath="include\wx\persist\splitter.h" RelativePath="include\wx\splitter.h"
> >
</File> </File>
<File <File
RelativePath="include\wx\splitter.h" RelativePath="include\wx\persist\splitter.h"
> >
</File> </File>
<File <File
@ -3851,11 +3831,11 @@
> >
</File> </File>
<File <File
RelativePath="include\wx\ribbon\toolbar.h" RelativePath="include\wx\toolbar.h"
> >
</File> </File>
<File <File
RelativePath="include\wx\toolbar.h" RelativePath="include\wx\ribbon\toolbar.h"
> >
</File> </File>
<File <File
@ -3867,11 +3847,11 @@
> >
</File> </File>
<File <File
RelativePath="include\wx\persist\toplevel.h" RelativePath="include\wx\toplevel.h"
> >
</File> </File>
<File <File
RelativePath="include\wx\toplevel.h" RelativePath="include\wx\persist\toplevel.h"
> >
</File> </File>
<File <File
@ -3879,11 +3859,11 @@
> >
</File> </File>
<File <File
RelativePath="include\wx\persist\treebook.h" RelativePath="include\wx\treebook.h"
> >
</File> </File>
<File <File
RelativePath="include\wx\treebook.h" RelativePath="include\wx\persist\treebook.h"
> >
</File> </File>
<File <File