From: Václav Slavík Date: Mon, 7 Mar 2011 12:07:58 +0000 (+0000) Subject: gtk/gtkunixprint.h only exists since GTK+ 2.14. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ca9e521481afee5f7eae6887e40ffbd7b2b7f3b6?ds=inline gtk/gtkunixprint.h only exists since GTK+ 2.14. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/print.cpp b/src/gtk/print.cpp index aefd2c2073..8771ac7a9b 100644 --- a/src/gtk/print.cpp +++ b/src/gtk/print.cpp @@ -36,7 +36,13 @@ #include "wx/paper.h" #include + +#if GTK_CHECK_VERSION(2,14,0) #include +#else +#include +#endif + #if wxUSE_GRAPHICS_CONTEXT #include "wx/graphics.h"