Avoid generating two events on selection (when MSWCommand returns false,

the default window procedure is called in window.cpp and this generates
a further event)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-12-04 16:33:51 +00:00
parent cd8667eb80
commit 8cc5e8cff4

View File

@@ -364,7 +364,7 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD id)
// skip wxChoice version as it would generate its own events for
// CBN_SELENDOK
return wxControl::MSWCommand(param, id);
return true;
}
WXHWND wxComboBox::GetEditHWND() const