Salome HOME
Support of wide string
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.h
index 2d1ad9227f50d12ab0d49e4da220256b374f5a77..6343bef978af8a9eda14905a6c590152d299c73a 100644 (file)
@@ -401,7 +401,7 @@ bool MODULEBASE_EXPORT isSameShape(const TopoDS_Shape& theShape1, const TopoDS_S
 /// \param theAttribute a model attribute
 /// \param theWorkshop a workshop class instance
 /// \return string value
-std::string MODULEBASE_EXPORT generateName(const AttributePtr& theAttribute,
+std::wstring MODULEBASE_EXPORT generateName(const AttributePtr& theAttribute,
   ModuleBase_IWorkshop* theWorkshop);
 
 /// Returns pixel ratio of a screen where main window is displayed