From 8cc5e8cff459a829ffd1bdea33ab25717b77bebd Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 4 Dec 2006 16:33:51 +0000 Subject: [PATCH] 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 --- 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 c85fcede27..2283515d56 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -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 -- 2.45.2