X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e232b083f9b6cc60d02f3fd4364e37bbf25d9149..55410bb4f67febe1ca20654f078ea4fb9a6223ae:/src/gtk/taskbar.cpp 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: