From: Vadim Zeitlin Date: Wed, 15 Dec 2010 12:04:02 +0000 (+0000) Subject: Compilation fix for wxMotif PCH build. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/10c49955ad14cebca9e16405ef7f61672f24053a Compilation fix for wxMotif PCH build. We need to include wx/unix/utilsx11.h even when using PCH to get wxCharCodeXToWX() declaration. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/window.cpp b/src/motif/window.cpp index c539b36fba..257d9ce953 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -35,10 +35,10 @@ #include "wx/layout.h" #include "wx/menuitem.h" #include "wx/module.h" - #include "wx/unix/utilsx11.h" #endif #include "wx/evtloop.h" +#include "wx/unix/utilsx11.h" #if wxUSE_DRAG_AND_DROP #include "wx/dnd.h"