From: Vadim Zeitlin Date: Mon, 9 Feb 2009 21:17:02 +0000 (+0000) Subject: compilation fix for GTK+ < 2.10 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e232b083f9b6cc60d02f3fd4364e37bbf25d9149 compilation fix for GTK+ < 2.10 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/taskbar.h b/include/wx/taskbar.h index fdc2ea0f3a..062c3c3306 100644 --- a/include/wx/taskbar.h +++ b/include/wx/taskbar.h @@ -65,7 +65,7 @@ private: #include "wx/palmos/taskbar.h" #elif defined(__WXMSW__) #include "wx/msw/taskbar.h" -#elif defined(__WXGTK20__) +#elif defined(__WXGTK210__) #include "wx/gtk/taskbar.h" #elif defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) #include "wx/unix/taskbarx11.h" diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index 87af558886..f3069bb79e 100644 --- a/src/gtk/taskbar.cpp +++ b/src/gtk/taskbar.cpp @@ -12,7 +12,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if wxUSE_TASKBARICON +#if wxUSE_TASKBARICON && defined(__WXGTK210__) #include "wx/taskbar.h"