wxListMainWindow::OnRenameCancelled(): itemEdit parameter is used
authorDavid Elliott <dfe@tgwbd.org>
Tue, 7 Oct 2003 13:20:30 +0000 (13:20 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Tue, 7 Oct 2003 13:20:30 +0000 (13:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index ef36a4b8370d4c27d3139848c4fe62322758e9af..b6985f9b15213e87ab6a49499fb3682a29c9a917 100644 (file)
@@ -2834,7 +2834,7 @@ bool wxListMainWindow::OnRenameAccept(size_t itemEdit, const wxString& value)
                 le.IsAllowed();
 }
 
-void wxListMainWindow::OnRenameCancelled(size_t WXUNUSED(itemEdit))
+void wxListMainWindow::OnRenameCancelled(size_t itemEdit)
 {
     // let owner know that the edit was cancelled
     wxListEvent le( wxEVT_COMMAND_LIST_END_LABEL_EDIT, GetParent()->GetId() );