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
a4251bbe
Commit
a4251bbe
authored
Oct 24, 2000
by
Susan Farley
Committed by
Alexandre Julliard
Oct 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not block CBN_EDITCHANGE for WM_PASTE or WM_CUT with the
NOEDITNOTIFY flag, as these msgs can come directly from the app to the combo wndproc.
parent
ff59c33d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
combo.c
controls/combo.c
+6
-3
No files found.
controls/combo.c
View file @
a4251bbe
...
@@ -1873,9 +1873,6 @@ static inline LRESULT WINAPI ComboWndProc_locked( WND* pWnd, UINT message,
...
@@ -1873,9 +1873,6 @@ static inline LRESULT WINAPI ComboWndProc_locked( WND* pWnd, UINT message,
case
WM_SETTEXT
:
case
WM_SETTEXT
:
case
WM_GETTEXTLENGTH
:
case
WM_GETTEXTLENGTH
:
case
WM_CLEAR
:
case
WM_CLEAR
:
case
WM_CUT
:
case
WM_PASTE
:
case
WM_COPY
:
if
((
message
==
WM_GETTEXTLENGTH
)
&&
!
ISWIN31
&&
!
(
lphc
->
wState
&
CBF_EDIT
))
if
((
message
==
WM_GETTEXTLENGTH
)
&&
!
ISWIN31
&&
!
(
lphc
->
wState
&
CBF_EDIT
))
{
{
int
j
=
SendMessageA
(
lphc
->
hWndLBox
,
LB_GETCURSEL
,
0
,
0
);
int
j
=
SendMessageA
(
lphc
->
hWndLBox
,
LB_GETCURSEL
,
0
,
0
);
...
@@ -1891,6 +1888,12 @@ static inline LRESULT WINAPI ComboWndProc_locked( WND* pWnd, UINT message,
...
@@ -1891,6 +1888,12 @@ static inline LRESULT WINAPI ComboWndProc_locked( WND* pWnd, UINT message,
return
ret
;
return
ret
;
}
}
else
return
CB_ERR
;
else
return
CB_ERR
;
case
WM_CUT
:
case
WM_PASTE
:
case
WM_COPY
:
if
(
lphc
->
wState
&
CBF_EDIT
)
return
SendMessageA
(
lphc
->
hWndEdit
,
message
,
wParam
,
lParam
);
else
return
CB_ERR
;
case
WM_DRAWITEM
:
case
WM_DRAWITEM
:
case
WM_DELETEITEM
:
case
WM_DELETEITEM
:
...
...
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