gtk+ r22297 - in trunk: . gdk/win32
- From: bratsche svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22297 - in trunk: . gdk/win32
- Date: Mon, 9 Feb 2009 13:16:15 +0000 (UTC)
Author: bratsche
Date: Mon Feb 9 13:16:14 2009
New Revision: 22297
URL: http://svn.gnome.org/viewvc/gtk+?rev=22297&view=rev
Log:
2009-02-09 Cody Russell <bratsche gnome org>
* gdk/win32/gdkwin32.h: Add potentially missing #defines for
XBUTTON1, etc. Fixes the build that was broken in r21746.
Modified:
trunk/ChangeLog
trunk/gdk/win32/gdkwin32.h
Modified: trunk/gdk/win32/gdkwin32.h
==============================================================================
--- trunk/gdk/win32/gdkwin32.h (original)
+++ trunk/gdk/win32/gdkwin32.h Mon Feb 9 13:16:14 2009
@@ -56,6 +56,25 @@
#define GDK_ROOT_WINDOW() ((guint32) HWND_DESKTOP)
#define GDK_DISPLAY() NULL
+
+/* These need to be here so gtkstatusicon.c can pick them up if needed. */
+#ifndef WM_XBUTTONDOWN
+#define WM_XBUTTONDOWN 0x020B
+#endif
+#ifndef WM_XBUTTONUP
+#define WM_XBUTTONUP 0x020C
+#endif
+#ifndef GET_XBUTTON_WPARAM
+#define GET_XBUTTON_WPARAM(w) (HIWORD(w))
+#endif
+#ifndef XBUTTON1
+#define XBUTTON1 1
+#endif
+#ifndef XBUTTON2
+#define XBUTTON2 2
+#endif
+
+
/* Return the Gdk* for a particular HANDLE */
gpointer gdk_win32_handle_table_lookup (GdkNativeWindow handle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]