// 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>
-#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"
wxTaskBarIconAreaBase::wxTaskBarIconAreaBase()
}
#endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)