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:
Vadim Zeitlin
2012-05-04 20:35:48 +00:00
parent 982a0fcd28
commit e762ef8f53
3 changed files with 6 additions and 0 deletions

View File

@@ -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-exclude>
src/common/extended.c
src/gtk/eggtrayicon.c
src/gtk/treeentry_gtk.c
</precomp-headers-exclude>
</if>

View File

@@ -7,6 +7,8 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////// */
#include "wx/wxprec.h"
#include "wx/platform.h"
#include <gtk/gtk.h>
#include "wx/gtk/assertdlg_gtk.h"

View File

@@ -7,6 +7,8 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#include "wx/defs.h"
#include "wx/gtk/private.h"
#include "wx/gtk/private/win_gtk.h"