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
137f41d1
Commit
137f41d1
authored
Nov 03, 2003
by
Huw Davies
Committed by
Alexandre Julliard
Nov 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WM_LBUTTONDOWN calls SetFocus under Windows. Remove the SetFocus in
WM_MOUSEACTIVATE.
parent
f94159cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
edit.c
controls/edit.c
+1
-7
No files found.
controls/edit.c
View file @
137f41d1
...
@@ -890,13 +890,6 @@ static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
...
@@ -890,13 +890,6 @@ static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
break
;
break
;
case
WM_MOUSEACTIVATE
:
case
WM_MOUSEACTIVATE
:
/*
* FIXME: maybe DefWindowProc() screws up, but it seems that
* modeless dialog boxes need this. If we don't do this, the focus
* will _not_ be set by DefWindowProc() for edit controls in a
* modeless dialog box ???
*/
SetFocus
(
hwnd
);
result
=
MA_ACTIVATE
;
result
=
MA_ACTIVATE
;
break
;
break
;
...
@@ -4242,6 +4235,7 @@ static LRESULT EDIT_WM_LButtonDown(EDITSTATE *es, DWORD keys, INT x, INT y)
...
@@ -4242,6 +4235,7 @@ static LRESULT EDIT_WM_LButtonDown(EDITSTATE *es, DWORD keys, INT x, INT y)
INT
e
;
INT
e
;
BOOL
after_wrap
;
BOOL
after_wrap
;
SetFocus
(
es
->
hwndSelf
);
if
(
!
(
es
->
flags
&
EF_FOCUSED
))
if
(
!
(
es
->
flags
&
EF_FOCUSED
))
return
0
;
return
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