summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-06-02 12:41:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-06-02 12:41:13 +0000
commit8f37e8dd7e03035be035e797e258d33b9b724887 (patch)
tree38b2a98a2a6c5c1e5b6f2c02f9f9d59268b3c174 /plugins/TooltipNotify/src
parente221f73e4a254a59f9c95460827dafb5b6b7e5df (diff)
projects cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TooltipNotify/src')
-rw-r--r--plugins/TooltipNotify/src/Tooltip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TooltipNotify/src/Tooltip.cpp b/plugins/TooltipNotify/src/Tooltip.cpp
index 5373e68f4c..37b861b1ee 100644
--- a/plugins/TooltipNotify/src/Tooltip.cpp
+++ b/plugins/TooltipNotify/src/Tooltip.cpp
@@ -25,7 +25,7 @@ CTooltip::CTooltip(CTooltipNotify *pTooltipNotify)
WS_POPUP|WS_BORDER, 100, 100, 50, 50, 0, 0,
m_pTooltipNotify->GetDllInstance(), NULL);
- SetWindowLong(m_hWnd, GWL_USERDATA, reinterpret_cast<LONG>(this));
+ SetWindowLong(m_hWnd, GWLP_USERDATA, reinterpret_cast<LONG>(this));
}
@@ -62,7 +62,7 @@ CTooltip::~CTooltip()
LRESULT CALLBACK CTooltip::WindowProcWrapper(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
- CTooltip* pThis = reinterpret_cast<CTooltip *>(GetWindowLong(hWnd, GWL_USERDATA));
+ CTooltip* pThis = reinterpret_cast<CTooltip *>(GetWindowLong(hWnd, GWLP_USERDATA));
return pThis->WindowProc(hWnd, message, wParam, lParam);
}