]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/taskbar.cpp
large files support for wxFFile (patch 1077980 from Mike Wetherell)
[wxWidgets.git] / src / gtk1 / taskbar.cpp
index 859a89f7cda0a75153d55d8dc02948bf158ab7f7..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>
-#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()
@@ -66,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported()
 }
 
 #endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)