From 0304adb195d7f41a54dcf35e4d440bf12201ab32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 23 Sep 2004 14:03:58 +0000 Subject: [PATCH] fixed unresolved references with GTK+ 2.0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/taskbarx11.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/unix/taskbarx11.cpp b/src/unix/taskbarx11.cpp index cf64c408a6..cf94b21583 100644 --- a/src/unix/taskbarx11.cpp +++ b/src/unix/taskbarx11.cpp @@ -48,8 +48,14 @@ // ---------------------------------------------------------------------------- #ifdef __WXGTK20__ - #include "wx/gtk/taskbarpriv.h" -#else + #include + #if GTK_CHECK_VERSION(2,1,0) + #include "wx/gtk/taskbarpriv.h" + #define TASKBAR_ICON_AREA_BASE_INCLUDED + #endif +#endif + +#ifndef TASKBAR_ICON_AREA_BASE_INCLUDED class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxFrame { public: -- 2.45.2