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:
@@ -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
|
||||
|
Reference in New Issue
Block a user