From 5f198fb0eee6e6c6c58669a15ac121c751cabcc9 Mon Sep 17 00:00:00 2001 From: stambaughw Date: Thu, 6 Aug 2009 18:10:10 +0000 Subject: [PATCH] Fix class method syntax that caused MSVC compiler errors. --- common/class_undoredo_container.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/class_undoredo_container.cpp b/common/class_undoredo_container.cpp index 4a15d9df65..911bfe7209 100644 --- a/common/class_undoredo_container.cpp +++ b/common/class_undoredo_container.cpp @@ -64,7 +64,7 @@ void PICKED_ITEMS_LIST::PushItem( ITEM_PICKER& aItem ) * @return the picker from the top of the list * the picker is removed from the list */ -ITEM_PICKER PICKED_ITEMS_LIST::PICKED_ITEMS_LIST::PopItem() +ITEM_PICKER PICKED_ITEMS_LIST::PopItem() { ITEM_PICKER item; @@ -80,7 +80,7 @@ ITEM_PICKER PICKED_ITEMS_LIST::PICKED_ITEMS_LIST::PopItem() /** Function ClearItemsList * delete only the list of pickers, NOT the picked data itself */ -void PICKED_ITEMS_LIST::PICKED_ITEMS_LIST::ClearItemsList() +void PICKED_ITEMS_LIST::ClearItemsList() { m_ItemsList.clear(); } @@ -150,8 +150,7 @@ void PICKED_ITEMS_LIST::ClearListAndDeleteItems() default: { wxString msg; - msg.Printf( wxT( - "ClearUndoORRedoList() error: unknown command type %d" ), + msg.Printf( wxT( "ClearUndoORRedoList() error: unknown command type %d" ), wrapper.m_UndoRedoStatus ); wxMessageBox( msg ); }