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
This commit is contained in:
Vadim Zeitlin
2006-03-10 21:37:20 +00:00
parent 443e2f09a5
commit ef22edc309

View File

@@ -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()