API change in CIconTextSuite to use string not cstring (rev sdagley, appr sdagley)

This commit is contained in:
pinkerton 1998-04-16 22:26:44 +00:00
parent 99203e92db
commit 51a29a7a82

View File

@ -329,7 +329,7 @@ CPersonalToolbarTable :: ClickCell(const STableCell &inCell, const SMouseDownEve
Rect bounds;
GetLocalCellRect ( inCell, bounds );
CUserButtonInfo* data = GetButtonInfo ( inCell.col );
cstring finalCaption = CURLDragHelper::MakeIconTextValid ( data->GetName().c_str() );
string finalCaption = CURLDragHelper::MakeIconTextValid ( data->GetName().c_str() );
HT_Resource node = HT_GetNthItem(CFrontApp::GetPersonalToolbarManager()->GetHTView(),
URDFUtilities::PPRowToHTRow(inCell.col));
CIconTextSuite suite ( this, bounds, kBOOKMARK_ICON, finalCaption, node );