Fix class method syntax that caused MSVC compiler errors.

This commit is contained in:
stambaughw 2009-08-06 18:10:10 +00:00
parent c718765268
commit 5f198fb0ee
1 changed files with 3 additions and 4 deletions

View File

@ -64,7 +64,7 @@ void PICKED_ITEMS_LIST::PushItem( ITEM_PICKER& aItem )
* @return the picker from the top of the list * @return the picker from the top of the list
* the picker is removed from 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; ITEM_PICKER item;
@ -80,7 +80,7 @@ ITEM_PICKER PICKED_ITEMS_LIST::PICKED_ITEMS_LIST::PopItem()
/** Function ClearItemsList /** Function ClearItemsList
* delete only the list of pickers, NOT the picked data itself * 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(); m_ItemsList.clear();
} }
@ -150,8 +150,7 @@ void PICKED_ITEMS_LIST::ClearListAndDeleteItems()
default: default:
{ {
wxString msg; wxString msg;
msg.Printf( wxT( msg.Printf( wxT( "ClearUndoORRedoList() error: unknown command type %d" ),
"ClearUndoORRedoList() error: unknown command type %d" ),
wrapper.m_UndoRedoStatus ); wrapper.m_UndoRedoStatus );
wxMessageBox( msg ); wxMessageBox( msg );
} }