replace paths & windows apis, cleanup source tree
This commit is contained in:
@@ -348,7 +348,7 @@ wstring UIComponent_TutorialPopup::_SetImage(wstring &desc)
|
||||
{
|
||||
wstring id = desc.substr(imageStartPos, imageEndPos - imageStartPos);
|
||||
m_image.SetImagePath( id.c_str() );
|
||||
m_image.SetShow( TRUE );
|
||||
m_image.SetShow( true );
|
||||
|
||||
desc.replace(imageTagStartPos, imageEndPos - imageTagStartPos + closeTag.length(), L"");
|
||||
}
|
||||
@@ -356,7 +356,7 @@ wstring UIComponent_TutorialPopup::_SetImage(wstring &desc)
|
||||
else
|
||||
{
|
||||
// hide the icon slot
|
||||
m_image.SetShow( FALSE );
|
||||
m_image.SetShow( false );
|
||||
}
|
||||
|
||||
BOOL imageShowAtEnd = m_image.IsShown();
|
||||
|
||||
Reference in New Issue
Block a user