Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
71cb0692
Commit
71cb0692
authored
Aug 10, 2009
by
Dylan Smith
Committed by
Alexandre Julliard
Aug 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Use richedit class string macros from public headers.
parent
832ffe10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
editor.c
dlls/riched20/editor.c
+6
-8
No files found.
dlls/riched20/editor.c
View file @
71cb0692
...
...
@@ -243,8 +243,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit);
static
BOOL
ME_RegisterEditorClass
(
HINSTANCE
);
static
BOOL
ME_UpdateLinkAttribute
(
ME_TextEditor
*
editor
,
int
sel_min
,
int
sel_max
);
static
const
WCHAR
RichEdit20W
[]
=
{
'R'
,
'i'
,
'c'
,
'h'
,
'E'
,
'd'
,
'i'
,
't'
,
'2'
,
'0'
,
'W'
,
0
};
static
const
WCHAR
RichEdit50W
[]
=
{
'R'
,
'i'
,
'c'
,
'h'
,
'E'
,
'd'
,
'i'
,
't'
,
'5'
,
'0'
,
'W'
,
0
};
static
const
WCHAR
REListBox20W
[]
=
{
'R'
,
'E'
,
'L'
,
'i'
,
's'
,
't'
,
'B'
,
'o'
,
'x'
,
'2'
,
'0'
,
'W'
,
0
};
static
const
WCHAR
REComboBox20W
[]
=
{
'R'
,
'E'
,
'C'
,
'o'
,
'm'
,
'b'
,
'o'
,
'B'
,
'o'
,
'x'
,
'2'
,
'0'
,
'W'
,
0
};
static
HCURSOR
hLeft
;
...
...
@@ -2751,9 +2749,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
break
;
case
DLL_PROCESS_DETACH
:
UnregisterClassW
(
R
ichEdit
20W
,
0
);
UnregisterClassW
(
RichEdit50W
,
0
);
UnregisterClassA
(
"RichEdit20A"
,
0
);
UnregisterClassW
(
R
ICHEDIT_CLASS
20W
,
0
);
UnregisterClassW
(
MSFTEDIT_CLASS
,
0
);
UnregisterClassA
(
RICHEDIT_CLASS20A
,
0
);
UnregisterClassA
(
"RichEdit50A"
,
0
);
if
(
ME_ListBoxRegistered
)
UnregisterClassW
(
REListBox20W
,
0
);
...
...
@@ -4566,9 +4564,9 @@ static BOOL ME_RegisterEditorClass(HINSTANCE hInstance)
if
(
is_version_nt
())
{
wcW
.
lpszClassName
=
R
ichEdit
20W
;
wcW
.
lpszClassName
=
R
ICHEDIT_CLASS
20W
;
if
(
!
RegisterClassW
(
&
wcW
))
return
FALSE
;
wcW
.
lpszClassName
=
RichEdit50W
;
wcW
.
lpszClassName
=
MSFTEDIT_CLASS
;
if
(
!
RegisterClassW
(
&
wcW
))
return
FALSE
;
}
else
...
...
@@ -4589,7 +4587,7 @@ static BOOL ME_RegisterEditorClass(HINSTANCE hInstance)
wcA
.
hCursor
=
LoadCursorW
(
NULL
,
MAKEINTRESOURCEW
(
IDC_IBEAM
));
wcA
.
hbrBackground
=
GetStockObject
(
NULL_BRUSH
);
wcA
.
lpszMenuName
=
NULL
;
wcA
.
lpszClassName
=
"RichEdit20A"
;
wcA
.
lpszClassName
=
RICHEDIT_CLASS20A
;
if
(
!
RegisterClassA
(
&
wcA
))
return
FALSE
;
wcA
.
lpszClassName
=
"RichEdit50A"
;
if
(
!
RegisterClassA
(
&
wcA
))
return
FALSE
;
...
...
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