]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/taskbar.cpp
added (and documented) msw.xp-tab-ok option
[wxWidgets.git] / src / gtk1 / taskbar.cpp
index fe4c00d4afb5edf284361a31aa97324c1d17bd75..be0e53af49b5699de6dda17a9ed7452e297b2de8 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#include "wx/gtk/taskbarpriv.h"
 #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"
 
 wxTaskBarIconAreaBase::wxTaskBarIconAreaBase()
@@ -63,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported()
 }
 
 #endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)