From ef22edc3096cb6ee150e78d31d95d2f25cb295e1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 10 Mar 2006 21:37:20 +0000 Subject: [PATCH] don't Connect() to wxEVT_RIGHT_DOWN twice (fixed problem introduced by last patch) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/listbox/lboxtest.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/samples/listbox/lboxtest.cpp b/samples/listbox/lboxtest.cpp index a5a9117fba..7917dabf4c 100644 --- a/samples/listbox/lboxtest.cpp +++ b/samples/listbox/lboxtest.cpp @@ -486,9 +486,6 @@ LboxTestFrame::LboxTestFrame(const wxString& title) m_logTarget = new LboxLogger(m_lboxLog, wxLog::GetActiveTarget()); wxLog::SetActiveTarget(m_logTarget); #endif // wxUSE_LOG - - m_lbox->Connect(wxEVT_RIGHT_DOWN, - wxMouseEventHandler(LboxTestFrame::OnListboxRDown), NULL, this); } LboxTestFrame::~LboxTestFrame() -- 2.50.0