]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix precompiled headers use with MSVC in wxGTK sources.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 May 2012 20:35:48 +0000 (20:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 May 2012 20:35:48 +0000 (20:35 +0000)
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

build/bakefiles/common.bkl
src/gtk/assertdlg_gtk.cpp
src/gtk/win_gtk.cpp

index 240c344f955e147c7adc07a7a537b0ab9b7abfa6..2ada7a726ed7a1d4aa0148ef2ad07d1968fc8de9 100644 (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>
 
index 2a80149a77c61256091ab058745f02038e84976f..1ec690b733bc573fd4cc3e00e4fd170082c11e14 100644 (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"
index 256e94f60ca32fff7c8369b9c0488462643cd9f1..d5c4a353864015150d15147aa7429ee7d73fd908 100644 (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"