From: Vadim Zeitlin Date: Fri, 4 May 2012 20:35:48 +0000 (+0000) Subject: Fix precompiled headers use with MSVC in wxGTK sources. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e762ef8f531bd3c48761b39e4b6c96f9a7443020 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 --- diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 240c344f95..2ada7a726e 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -626,6 +626,8 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r wxprec_$(id) src/common/extended.c + src/gtk/eggtrayicon.c + src/gtk/treeentry_gtk.c diff --git a/src/gtk/assertdlg_gtk.cpp b/src/gtk/assertdlg_gtk.cpp index 2a80149a77..1ec690b733 100644 --- a/src/gtk/assertdlg_gtk.cpp +++ b/src/gtk/assertdlg_gtk.cpp @@ -7,6 +7,8 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////// */ +#include "wx/wxprec.h" + #include "wx/platform.h" #include #include "wx/gtk/assertdlg_gtk.h" diff --git a/src/gtk/win_gtk.cpp b/src/gtk/win_gtk.cpp index 256e94f60c..d5c4a35386 100644 --- a/src/gtk/win_gtk.cpp +++ b/src/gtk/win_gtk.cpp @@ -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"