Change SongGroup to Text in SetCommand, add Label param too.

This commit is contained in:
AJ Kelly
2011-03-09 13:14:18 -06:00
parent ce22af3211
commit 52f57d8d03
+2 -1
View File
@@ -291,10 +291,11 @@ void MusicWheelItem::LoadFromWheelItemData( const WheelItemBaseData *pData, int
msg.SetParam( "Course", pWID->m_pCourse ); msg.SetParam( "Course", pWID->m_pCourse );
msg.SetParam( "Index", iIndex ); msg.SetParam( "Index", iIndex );
msg.SetParam( "HasFocus", bHasFocus ); msg.SetParam( "HasFocus", bHasFocus );
msg.SetParam( "SongGroup", pWID->m_sText ); msg.SetParam( "Text", pWID->m_sText );
msg.SetParam( "DrawIndex", iDrawIndex ); msg.SetParam( "DrawIndex", iDrawIndex );
msg.SetParam( "Type", MusicWheelItemTypeToString(type) ); msg.SetParam( "Type", MusicWheelItemTypeToString(type) );
msg.SetParam( "Color", pWID->m_color ); msg.SetParam( "Color", pWID->m_color );
msg.SetParam( "Label", pWID->m_sLabel );
this->HandleMessage( msg ); this->HandleMessage( msg );
} }