]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/taskbar.cpp
Applied Kevin Hock's combobox patch for text update events
[wxWidgets.git] / src / gtk / taskbar.cpp
index fe4c00d4afb5edf284361a31aa97324c1d17bd75..85dd72c3e2a4df24e1f11c2a5189ca3da762dd73 100644 (file)
 #include "wx/log.h"
 #include "wx/frame.h"
 
+#include <gdk/gdkx.h>
+
 #ifdef __WXGTK20__
+#include <gtk/gtkversion.h>
+#if GTK_CHECK_VERSION(2, 1, 0)
 
 #include "wx/gtk/taskbarpriv.h"
 #include "eggtrayicon.h"
@@ -63,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported()
 }
 
 #endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)