]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/eggtrayicon.h
use text cursor only when control is enabled, #10347
[wxWidgets.git] / src / gtk / eggtrayicon.h
index df604dfeb92a018a0f2948b80367dad949f39baa..6c199b8599f393b3d7056fbb6bc273819a32934a 100644 (file)
@@ -1,3 +1,8 @@
+/*
+    Permission to use this file under wxWindows license granted by
+    the copyright holder, see eggtrayicon.c for details.
+ */
+
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /* eggtrayicon.h
  * Copyright (C) 2002 Anders Carlsson <andersca@gnu.org>
@@ -22,7 +27,9 @@
 #define __EGG_TRAY_ICON_H__
 
 #include <gtk/gtkplug.h>
+#ifdef GDK_WINDOWING_X11
 #include <gdk/gdkx.h>
+#endif
 
 G_BEGIN_DECLS
 
@@ -42,10 +49,14 @@ struct _EggTrayIcon
 
   guint stamp;
   
+#ifdef GDK_WINDOWING_X11
   Atom selection_atom;
   Atom manager_atom;
   Atom system_tray_opcode_atom;
+  Atom orientation_atom;
   Window manager_window;
+#endif
+  GtkOrientation orientation;
 };
 
 struct _EggTrayIconClass
@@ -67,7 +78,7 @@ guint        egg_tray_icon_send_message   (EggTrayIcon *icon,
 void         egg_tray_icon_cancel_message (EggTrayIcon *icon,
                                           guint        id);
 
-
+GtkOrientation egg_tray_icon_get_orientation (EggTrayIcon *icon);
                                            
 G_END_DECLS