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:
@@ -486,9 +486,6 @@ LboxTestFrame::LboxTestFrame(const wxString& title)
|
|||||||
m_logTarget = new LboxLogger(m_lboxLog, wxLog::GetActiveTarget());
|
m_logTarget = new LboxLogger(m_lboxLog, wxLog::GetActiveTarget());
|
||||||
wxLog::SetActiveTarget(m_logTarget);
|
wxLog::SetActiveTarget(m_logTarget);
|
||||||
#endif // wxUSE_LOG
|
#endif // wxUSE_LOG
|
||||||
|
|
||||||
m_lbox->Connect(wxEVT_RIGHT_DOWN,
|
|
||||||
wxMouseEventHandler(LboxTestFrame::OnListboxRDown), NULL, this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LboxTestFrame::~LboxTestFrame()
|
LboxTestFrame::~LboxTestFrame()
|
||||||
|
Reference in New Issue
Block a user