Use lpszClass parameter as "EDIT"

`widgets` sample works fine with this change.
This commit is contained in:
Cătălin Răceanu 2016-02-22 22:42:16 +02:00
parent 7eb9e5b128
commit f223e2a3b5

View File

@ -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