Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5ac7b165
Commit
5ac7b165
authored
Apr 28, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Use LoadCursorW instead of -A version.
parent
16bd9d53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
ole2.c
dlls/ole32/ole2.c
+9
-5
No files found.
dlls/ole32/ole2.c
View file @
5ac7b165
...
...
@@ -2119,24 +2119,28 @@ static void OLEDD_TrackMouseMove(TrackerWindowInfo* trackerInfo)
* when that's the case, we must display the standard drag and drop
* cursors.
*/
if
(
hr
==
DRAGDROP_S_USEDEFAULTCURSORS
)
if
(
hr
==
DRAGDROP_S_USEDEFAULTCURSORS
)
{
HCURSOR
hCur
;
if
(
*
trackerInfo
->
pdwEffect
&
DROPEFFECT_MOVE
)
{
SetCursor
(
LoadCursorA
(
hProxyDll
,
MAKEINTRESOURCEA
(
1
)
));
hCur
=
LoadCursorW
(
hProxyDll
,
MAKEINTRESOURCEW
(
1
));
}
else
if
(
*
trackerInfo
->
pdwEffect
&
DROPEFFECT_COPY
)
{
SetCursor
(
LoadCursorA
(
hProxyDll
,
MAKEINTRESOURCEA
(
2
)
));
hCur
=
LoadCursorW
(
hProxyDll
,
MAKEINTRESOURCEW
(
2
));
}
else
if
(
*
trackerInfo
->
pdwEffect
&
DROPEFFECT_LINK
)
{
SetCursor
(
LoadCursorA
(
hProxyDll
,
MAKEINTRESOURCEA
(
3
)
));
hCur
=
LoadCursorW
(
hProxyDll
,
MAKEINTRESOURCEW
(
3
));
}
else
{
SetCursor
(
LoadCursorA
(
hProxyDll
,
MAKEINTRESOURCEA
(
0
)
));
hCur
=
LoadCursorW
(
hProxyDll
,
MAKEINTRESOURCEW
(
0
));
}
SetCursor
(
hCur
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment