From: Francesco Montorsi Date: Sun, 1 Feb 2009 12:06:15 +0000 (+0000) Subject: fix a typo in comment X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/64894596ea0351499a68849cb17233d2f16f850d fix a typo in comment git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index f8dc54fc71..dd735d5f19 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2293,7 +2293,6 @@ void wxListMainWindow::OnRenameCancelled(size_t itemEdit) void wxListMainWindow::OnMouse( wxMouseEvent &event ) { - #ifdef __WXMAC__ // On wxMac we can't depend on the EVT_KILL_FOCUS event to properly // shutdown the edit control when the mouse is clicked elsewhere on the @@ -2312,7 +2311,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) if (event.GetEventType() == wxEVT_MOUSEWHEEL) { - // let the base handle mouse wheel events. + // let the base class handle mouse wheel events. event.Skip(); return; } @@ -2323,10 +2322,9 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) { SendNotify( (size_t)-1, wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, event.GetPosition() ); - wxContextMenuEvent evtCtx( - wxEVT_CONTEXT_MENU, - GetParent()->GetId(), - ClientToScreen(event.GetPosition())); + wxContextMenuEvent evtCtx(wxEVT_CONTEXT_MENU, + GetParent()->GetId(), + ClientToScreen(event.GetPosition())); evtCtx.SetEventObject(GetParent()); GetParent()->GetEventHandler()->ProcessEvent(evtCtx); }