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
0e799c6d
Commit
0e799c6d
authored
Dec 19, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Set the edit text in a combobox only if combobox has strings.
parent
9e3ab87a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
combo.c
dlls/user32/combo.c
+3
-0
No files found.
dlls/user32/combo.c
View file @
0e799c6d
...
...
@@ -1030,9 +1030,12 @@ static void CBUpdateEdit( LPHEADCOMBO lphc , INT index )
}
}
if
(
CB_HASSTRINGS
(
lphc
)
)
{
lphc
->
wState
|=
(
CBF_NOEDITNOTIFY
|
CBF_NOLBSELECT
);
SendMessageW
(
lphc
->
hWndEdit
,
WM_SETTEXT
,
0
,
pText
?
(
LPARAM
)
pText
:
(
LPARAM
)
empty_stringW
);
lphc
->
wState
&=
~
(
CBF_NOEDITNOTIFY
|
CBF_NOLBSELECT
);
}
if
(
lphc
->
wState
&
CBF_FOCUSED
)
SendMessageW
(
lphc
->
hWndEdit
,
EM_SETSEL
,
0
,
(
LPARAM
)(
-
1
));
...
...
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