From a9047d859db2f6b5dcaed663d382af935307a802 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 12 Sep 2007 16:48:41 +0000 Subject: [PATCH] add wxUSE_TASKBARICON wrapper git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/eggtrayicon.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gtk/eggtrayicon.c b/src/gtk/eggtrayicon.c index b9b0b23b6b..1e6fd9bf20 100644 --- a/src/gtk/eggtrayicon.c +++ b/src/gtk/eggtrayicon.c @@ -106,7 +106,8 @@ Anders #include "wx/platform.h" -#ifdef __WXGTK20__ +#if wxUSE_TASKBARICON + #include #if GTK_CHECK_VERSION(2, 1, 0) @@ -634,5 +635,5 @@ egg_tray_icon_get_orientation (EggTrayIcon *icon) -#endif /* __WXGTK20__ */ #endif /* GTK_CHECK_VERSION(2, 1, 0) */ +#endif /* wxUSE_TASKBARICON */