]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/taskbar.cpp
pretend that we support all encodings instead of not supporting any of them under...
[wxWidgets.git] / src / gtk / taskbar.cpp
index 859a89f7cda0a75153d55d8dc02948bf158ab7f7..85dd72c3e2a4df24e1f11c2a5189ca3da762dd73 100644 (file)
 #include "wx/frame.h"
 
 #include <gdk/gdkx.h>
-#include <gtk/gtkversion.h>
 
-#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 1, 0)
+#ifdef __WXGTK20__
+#include <gtk/gtkversion.h>
+#if GTK_CHECK_VERSION(2, 1, 0)
 
 #include "wx/gtk/taskbarpriv.h"
 #include "eggtrayicon.h"
@@ -66,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported()
 }
 
 #endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)