From f223e2a3b5608c0f8fda924be20e8d0701a3221e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20R=C4=83ceanu?= Date: Mon, 22 Feb 2016 22:42:16 +0200 Subject: [PATCH] Use lpszClass parameter as "EDIT" `widgets` sample works fine with this change. --- src/msw/combobox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 4cfef36eb6..9e88873b5e 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -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