]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxX11 compilation when using PCH.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Sep 2010 12:48:07 +0000 (12:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Sep 2010 12:48:07 +0000 (12:48 +0000)
wx/unix/utilsx11.h is not included by wx/wxprec.h so we need to include it
when using PCH too.

Closes #12517.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/window.cpp

index a04296c7f9fb9d3425e3901c3992e4c06683b35f..7c2e5ae15b16978a61923ae1049b863f8cca598d 100644 (file)
@@ -47,7 +47,6 @@
     #include "wx/layout.h"
     #include "wx/menuitem.h"
     #include "wx/module.h"
-    #include "wx/unix/utilsx11.h"
 #endif
 
 #include "wx/fontutil.h"
@@ -57,6 +56,8 @@
     #include "wx/dnd.h"
 #endif
 
+#include "wx/unix/utilsx11.h"
+
 #include "wx/x11/private.h"
 #include "X11/Xutil.h"