From 3fab4f0d7dc92e70e5f0e6273d75df8c4d972a61 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sun, 4 Apr 2010 04:06:25 +0200 Subject: fix for x64 xtray --- plugins/xtray/xtray.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/xtray/xtray.h') diff --git a/plugins/xtray/xtray.h b/plugins/xtray/xtray.h index 2f964860..21ec67a2 100644 --- a/plugins/xtray/xtray.h +++ b/plugins/xtray/xtray.h @@ -63,3 +63,12 @@ extern struct _xchat_plugin *ph; #define PREF_DNSIT 20 // Do not show in taskbar /******************************************************/ #endif + +#ifdef _WIN64 +/* use replacement with the same value, and use SetWindowLongPtr instead + of SetWindowLong. more info: + + http://msdn.microsoft.com/en-us/library/ms633591.aspx + http://msdn.microsoft.com/en-us/library/ms644898.aspx */ +#define GWL_HWNDPARENT GWLP_HWNDPARENT +#endif -- cgit 1.4.1