Use lpszClass parameter as "EDIT"
`widgets` sample works fine with this change.
This commit is contained in:
parent
7eb9e5b128
commit
f223e2a3b5
@ -395,7 +395,7 @@ WXHWND wxComboBox::GetEditHWNDIfAvailable() const
|
||||
}
|
||||
|
||||
// we assume that the only child of the combobox is the edit window
|
||||
return (WXHWND)::FindWindowEx(GetHwnd(), NULL, NULL, NULL);
|
||||
return (WXHWND)::FindWindowEx(GetHwnd(), NULL, wxT("EDIT"), NULL);
|
||||
}
|
||||
|
||||
WXHWND wxComboBox::GetEditHWND() const
|
||||
|
Loading…
Reference in New Issue
Block a user