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
344389d6
Commit
344389d6
authored
Aug 03, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Fixed handling of window private data for Win64.
parent
6f15b54a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
editor.c
dlls/riched20/editor.c
+5
-5
No files found.
dlls/riched20/editor.c
View file @
344389d6
...
...
@@ -1461,7 +1461,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
CREATESTRUCTW
*
pcs
=
(
CREATESTRUCTW
*
)
lParam
;
TRACE
(
"WM_NCCREATE: style 0x%08lx
\n
"
,
pcs
->
style
);
editor
=
ME_MakeEditor
(
hWnd
);
SetWindowLong
W
(
hWnd
,
0
,
(
long
)
editor
);
SetWindowLong
PtrW
(
hWnd
,
0
,
(
LONG_PTR
)
editor
);
pcs
=
0
;
/* ignore */
return
TRUE
;
}
...
...
@@ -2234,7 +2234,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
return
0
;
case
WM_DESTROY
:
ME_DestroyEditor
(
editor
);
SetWindowLongW
(
hWnd
,
0
,
0
);
SetWindowLong
Ptr
W
(
hWnd
,
0
,
0
);
return
0
;
case
WM_LBUTTONDOWN
:
SetFocus
(
hWnd
);
...
...
@@ -2530,7 +2530,7 @@ LRESULT WINAPI RichEdit10ANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM
result
=
RichEditANSIWndProc
(
hWnd
,
msg
,
wParam
,
lParam
);
if
(
msg
==
WM_NCCREATE
)
{
ME_TextEditor
*
editor
=
(
ME_TextEditor
*
)
GetWindowLongW
(
hWnd
,
0
);
ME_TextEditor
*
editor
=
(
ME_TextEditor
*
)
GetWindowLong
Ptr
W
(
hWnd
,
0
);
editor
->
bEmulateVersion10
=
TRUE
;
editor
->
pBuffer
->
pLast
->
member
.
para
.
nCharOfs
=
2
;
...
...
@@ -2639,7 +2639,7 @@ void ME_RegisterEditorClass(HINSTANCE hInstance)
wcW
.
style
=
CS_DBLCLKS
|
CS_HREDRAW
|
CS_VREDRAW
|
CS_GLOBALCLASS
;
wcW
.
lpfnWndProc
=
RichEditANSIWndProc
;
wcW
.
cbClsExtra
=
0
;
wcW
.
cbWndExtra
=
4
;
wcW
.
cbWndExtra
=
sizeof
(
ME_TextEditor
*
)
;
wcW
.
hInstance
=
NULL
;
/* hInstance would register DLL-local class */
wcW
.
hIcon
=
NULL
;
wcW
.
hCursor
=
LoadCursorW
(
NULL
,
MAKEINTRESOURCEW
(
IDC_IBEAM
));
...
...
@@ -2655,7 +2655,7 @@ void ME_RegisterEditorClass(HINSTANCE hInstance)
wcA
.
style
=
CS_DBLCLKS
|
CS_HREDRAW
|
CS_VREDRAW
|
CS_GLOBALCLASS
;
wcA
.
lpfnWndProc
=
RichEditANSIWndProc
;
wcA
.
cbClsExtra
=
0
;
wcA
.
cbWndExtra
=
4
;
wcA
.
cbWndExtra
=
sizeof
(
ME_TextEditor
*
)
;
wcA
.
hInstance
=
NULL
;
/* hInstance would register DLL-local class */
wcA
.
hIcon
=
NULL
;
wcA
.
hCursor
=
LoadCursorW
(
NULL
,
MAKEINTRESOURCEW
(
IDC_IBEAM
));
...
...
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