mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-24 07:24:31 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user