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
9782ad77
Commit
9782ad77
authored
May 03, 2013
by
Detlef Riekenberg
Committed by
Alexandre Julliard
May 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: The flag EF_APP_HAS_HANDLE is now obsolete.
parent
caf1bbba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
edit.c
dlls/user32/edit.c
+4
-8
No files found.
dlls/user32/edit.c
View file @
9782ad77
...
...
@@ -79,9 +79,7 @@ WINE_DECLARE_DEBUG_CHANNEL(relay);
#define EF_AFTER_WRAP 0x0080
/* the caret is displayed after the last character of a
wrapped line, instead of in front of the next character */
#define EF_USE_SOFTBRK 0x0100
/* Enable soft breaks in text. */
#define EF_APP_HAS_HANDLE 0x0200
/* Set when an app sends EM_[G|S]ETHANDLE. We are in sole control of
the text buffer if this is clear. */
#define EF_DIALOGMODE 0x0400
/* Indicates that we are inside a dialog window */
#define EF_DIALOGMODE 0x0200
/* Indicates that we are inside a dialog window */
typedef
enum
{
...
...
@@ -1296,7 +1294,6 @@ static void EDIT_LockBuffer(EDITSTATE *es)
}
else
es
->
text
=
LocalLock
(
es
->
hloc32W
);
}
if
(
es
->
flags
&
EF_APP_HAS_HANDLE
)
text_buffer_changed
(
es
);
es
->
lock_count
++
;
}
...
...
@@ -2493,8 +2490,7 @@ static HLOCAL EDIT_EM_GetHandle(EDITSTATE *es)
/* The text buffer handle belongs to the app */
es
->
hlocapp
=
hLocal
;
/* The app has knowledge of the text buffer handle */
es
->
flags
|=
EF_APP_HAS_HANDLE
;
TRACE
(
"Returning %p, LocalSize() = %ld
\n
"
,
hLocal
,
LocalSize
(
hLocal
));
return
hLocal
;
}
...
...
@@ -2837,9 +2833,9 @@ static void EDIT_EM_SetHandle(EDITSTATE *es, HLOCAL hloc)
/* The text buffer handle belongs to the control */
es
->
hlocapp
=
NULL
;
/* The app has knowledge of the text buffer handle */
es
->
flags
|=
EF_APP_HAS_HANDLE
;
EDIT_LockBuffer
(
es
);
text_buffer_changed
(
es
);
es
->
x_offset
=
es
->
y_offset
=
0
;
es
->
selection_start
=
es
->
selection_end
=
0
;
...
...
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