-// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
}
//***************************************
-void XGUI_ViewerProxy::createPresentations(const ResultPtr& theRes, const TopoDS_Shape& theIgnoreShape)
+void XGUI_ViewerProxy::createPresentations(const ResultPtr& theRes,
+ const TopoDS_Shape& theIgnoreShape)
{
Handle(AIS_InteractiveContext) aContext = AISContext();
XGUI_Displayer* aDisplayer = myWorkshop->displayer();
myWorkshop->salomeConnector()->viewer()->setColorScaleTitle(theText);
#else
Handle(AIS_ColorScale) aColorScale = myWorkshop->mainWindow()->viewer()->colorScale();
- aColorScale->SetTitle(theText.toStdString().c_str());
+ aColorScale->SetTitle(theText.toStdWString().c_str());
#endif
}