X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e232b083f9b6cc60d02f3fd4364e37bbf25d9149..703e3c42d11a74be69cc1dee560e2c0f359ac13f:/src/gtk/taskbar.cpp?ds=sidebyside diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index f3069bb79e..8a25c000fd 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 && defined(__WXGTK210__) +#if wxUSE_TASKBARICON #include "wx/taskbar.h" @@ -25,6 +25,10 @@ #include "eggtrayicon.h" #include +#if !GTK_CHECK_VERSION(2,10,0) + typedef struct _GtkStatusIcon GtkStatusIcon; +#endif + class wxTaskBarIcon::Private { public: