diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-04-04 04:06:25 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-04-04 04:06:25 +0200 |
commit | 3fab4f0d7dc92e70e5f0e6273d75df8c4d972a61 (patch) | |
tree | 2c19ff2f2f487567ea8a1718c9499930438636ca /plugins/xtray/xtray.h | |
parent | 5607488e9f64c0190da57e82ea26b85086446197 (diff) |
fix for x64 xtray
Diffstat (limited to 'plugins/xtray/xtray.h')
-rw-r--r-- | plugins/xtray/xtray.h | 9 |
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 |