Fix precompiled headers use with MSVC in wxGTK sources.
Don't use PCH for C sources, do include wx/wxprec.h from all wxGTK C++ sources. Closes #14224. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -626,6 +626,8 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
|
|||||||
<precomp-headers-file>wxprec_$(id)</precomp-headers-file>
|
<precomp-headers-file>wxprec_$(id)</precomp-headers-file>
|
||||||
<precomp-headers-exclude>
|
<precomp-headers-exclude>
|
||||||
src/common/extended.c
|
src/common/extended.c
|
||||||
|
src/gtk/eggtrayicon.c
|
||||||
|
src/gtk/treeentry_gtk.c
|
||||||
</precomp-headers-exclude>
|
</precomp-headers-exclude>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
@@ -7,6 +7,8 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////// */
|
/////////////////////////////////////////////////////////////////////////// */
|
||||||
|
|
||||||
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#include "wx/platform.h"
|
#include "wx/platform.h"
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include "wx/gtk/assertdlg_gtk.h"
|
#include "wx/gtk/assertdlg_gtk.h"
|
||||||
|
@@ -7,6 +7,8 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
#include "wx/gtk/private.h"
|
#include "wx/gtk/private.h"
|
||||||
#include "wx/gtk/private/win_gtk.h"
|
#include "wx/gtk/private/win_gtk.h"
|
||||||
|
Reference in New Issue
Block a user