summary refs log tree commit diff stats
path: root/plugins/xtray/xtray.h
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-04-04 04:06:25 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-04-04 04:06:25 +0200
commit3fab4f0d7dc92e70e5f0e6273d75df8c4d972a61 (patch)
tree2c19ff2f2f487567ea8a1718c9499930438636ca /plugins/xtray/xtray.h
parent5607488e9f64c0190da57e82ea26b85086446197 (diff)
fix for x64 xtray
Diffstat (limited to 'plugins/xtray/xtray.h')
-rw-r--r--plugins/xtray/xtray.h9
1 files changed, 9 insertions, 0 deletions
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