]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/eggtrayicon.c
compilation fix: only us-ascii is safe in sources
[wxWidgets.git] / src / gtk / eggtrayicon.c
index de2777a4fd95e71c89d3e30543f26326c41af2c7..4d244e04164439f7bd3c2ec3418d9cc8de1fb37d 100644 (file)
@@ -107,9 +107,10 @@ Anders
 #include "wx/platform.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 <string.h>
 #include "eggtrayicon.h"
@@ -436,4 +437,5 @@ egg_tray_icon_cancel_message (EggTrayIcon *icon,
                                      id, 0, 0);
 }
 
-#endif /* __WXGTK20__ */
+#endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)