forked from AuroraMiddleware/gtk
Add potentially missing #defines for XBUTTON1, etc. Fixes the build that
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. svn path=/trunk/; revision=22297
This commit is contained in:
parent
03ef36c89e
commit
f1ed4f7347
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2009-02-09 Takao Fujiwara <takao.fujiwara@sun.com>
|
||||
|
||||
Bug 571015 – libprintbackend-cups has unlocalized strings
|
||||
|
@ -56,6 +56,25 @@ G_BEGIN_DECLS
|
||||
#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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user