From: Vadim Zeitlin Date: Fri, 10 Mar 2006 21:37:20 +0000 (+0000) Subject: don't Connect() to wxEVT_RIGHT_DOWN twice (fixed problem introduced by last patch) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ef22edc3096cb6ee150e78d31d95d2f25cb295e1 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 --- 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()