summary refs log tree commit diff stats
path: root/plugins/xtray/xtray.h
diff options
context:
space:
mode:
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