From cb06ecb9eb641fe07d1ed65e249db33a02d16c81 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 12 Feb 2015 22:48:25 +0000 Subject: [PATCH] PCH-less build fixes after r78480. Must include wx/log.h to use wxLogSysError() when not using PCH. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/filedlg.cpp | 1 + src/gtk/filepicker.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/gtk/filedlg.cpp b/src/gtk/filedlg.cpp index 95842c7743..57a9e6455a 100644 --- a/src/gtk/filedlg.cpp +++ b/src/gtk/filedlg.cpp @@ -15,6 +15,7 @@ #ifndef WX_PRECOMP #include "wx/intl.h" + #include "wx/log.h" #include "wx/msgdlg.h" #endif diff --git a/src/gtk/filepicker.cpp b/src/gtk/filepicker.cpp index b3d777da3e..58a5824f3c 100644 --- a/src/gtk/filepicker.cpp +++ b/src/gtk/filepicker.cpp @@ -18,6 +18,10 @@ #if wxUSE_FILEPICKERCTRL +#ifndef WX_PRECOMP + #include "wx/log.h" +#endif + #include "wx/filepicker.h" #include "wx/tooltip.h"