Fix blank wxComboBox appearance broken by the changes of r75134.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxPy-3.0.0@75428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-12-24 22:17:40 +00:00
parent c30e31c3cf
commit 51f479bfb6
+1 -1
View File
@@ -683,7 +683,7 @@ wxWindow *wxComboBox::MSWFindItem(long id, WXHWND hWnd) const
// our own one. So we must explicitly check the HWND value too here and
// avoid eating the events from the listbox as otherwise it is rendered
// inoperative, see #15647.
if ( id == GetId() && hWnd != GetHWND() )
if ( id == GetId() && hWnd && hWnd != GetHWND() )
{
// Must be the case described above.
return NULL;