mirror of
https://github.com/reactos/reactos.git
synced 2024-08-13 06:37:06 +00:00
fix some warnings in msvc build
svn path=/trunk/; revision=32304
This commit is contained in:
parent
f754465df3
commit
0497295d5f
|
@ -420,8 +420,8 @@ LRESULT NotifyArea::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
|
||||||
case WM_CONTEXTMENU: {
|
case WM_CONTEXTMENU: {
|
||||||
Point pt(lparam);
|
Point pt(lparam);
|
||||||
POINTS p;
|
POINTS p;
|
||||||
p.x = pt.x;
|
p.x = (SHORT) pt.x;
|
||||||
p.y = pt.y;
|
p.y = (SHORT) pt.y;
|
||||||
ScreenToClient(_hwnd, &pt);
|
ScreenToClient(_hwnd, &pt);
|
||||||
|
|
||||||
if (IconHitTest(pt) == _sorted_icons.end()) { // display menu only when no icon clicked
|
if (IconHitTest(pt) == _sorted_icons.end()) { // display menu only when no icon clicked
|
||||||
|
|
Loading…
Reference in a new issue