From 52f57d8d03f0d1e3b244a3bb658595a5f85638f6 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 9 Mar 2011 13:14:18 -0600 Subject: [PATCH] Change SongGroup to Text in SetCommand, add Label param too. --- src/MusicWheelItem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MusicWheelItem.cpp b/src/MusicWheelItem.cpp index 39dccec214..d4f2daa58f 100644 --- a/src/MusicWheelItem.cpp +++ b/src/MusicWheelItem.cpp @@ -291,10 +291,11 @@ void MusicWheelItem::LoadFromWheelItemData( const WheelItemBaseData *pData, int msg.SetParam( "Course", pWID->m_pCourse ); msg.SetParam( "Index", iIndex ); msg.SetParam( "HasFocus", bHasFocus ); - msg.SetParam( "SongGroup", pWID->m_sText ); + msg.SetParam( "Text", pWID->m_sText ); msg.SetParam( "DrawIndex", iDrawIndex ); msg.SetParam( "Type", MusicWheelItemTypeToString(type) ); msg.SetParam( "Color", pWID->m_color ); + msg.SetParam( "Label", pWID->m_sLabel ); this->HandleMessage( msg ); }