From: Paul Cornett Date: Sun, 11 Dec 2011 05:36:52 +0000 (+0000) Subject: don't include files which may not exist in source release for a specific platform... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/91614f1aa3ceb938cecc17878c67ec16c4c3282a?ds=sidebyside;hp=a4a06df3b4061e4ab4d273ceb19e1430f08bee66 don't include files which may not exist in source release for a specific platform, fixes #13746 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/webview.cpp b/src/common/webview.cpp index 63f5f2b343..bbd6f3168f 100644 --- a/src/common/webview.cpp +++ b/src/common/webview.cpp @@ -18,9 +18,13 @@ #include "wx/webview.h" +#if defined(__WXOSX_COCOA__) || defined(__WXOSX_CARBON__) #include "wx/osx/webview_webkit.h" +#elif defined(__WXGTK__) #include "wx/gtk/webview_webkit.h" +#elif defined(__WXMSW__) #include "wx/msw/webview_ie.h" +#endif // DLL options compatibility check: #include "wx/app.h"