From a6eb4c8e646697fa6ff5c5445d2d45bb335f8983 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 27 Jan 2018 11:55:37 +0100 Subject: [PATCH] Fix Unix build when using precompiled headers In a twist on the usual theme, the previous commits broke the Unix build when _using_ PCH because wx/textcompleter.h was only included from inside "#ifndef WX_PRECOMP" check, but it needs to be always included as wx/wx.h doesn't include it. --- src/gtk/textentry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtk/textentry.cpp b/src/gtk/textentry.cpp index a65822ffea..84144d2289 100644 --- a/src/gtk/textentry.cpp +++ b/src/gtk/textentry.cpp @@ -28,10 +28,11 @@ #include "wx/event.h" #include "wx/textentry.h" #include "wx/textctrl.h" - #include "wx/textcompleter.h" #include "wx/window.h" #endif //WX_PRECOMP +#include "wx/textcompleter.h" + #include #include "wx/gtk/private.h" #include "wx/gtk/private/gtk2-compat.h"