git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34420
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int ScriptSection::mIdCounter = 0;
int ScriptSection::mIdCounter = 0;
-ScriptSection::ScriptSection( const string& name,
- const string& body,
+ScriptSection::ScriptSection( const wxString& name,
+ const wxString& body,
ScriptTemplate* pSectionTemplate,
ScriptTemplate* pReferenceTemplate,
bool autoHide,
ScriptTemplate* pSectionTemplate,
ScriptTemplate* pReferenceTemplate,
bool autoHide,
- char buf[32];
- sprintf( buf, "%d", ++mIdCounter );
+ wxChar buf[32];
+ wxSprintf( buf, _T("%d"), ++mIdCounter );
// to other sections (e.g. could be usefull for autoamically
// hiding empty index-sections).
// to other sections (e.g. could be usefull for autoamically
// hiding empty index-sections).
- ScriptSection( const string& name = "",
- const string& body = "",
+ ScriptSection( const wxString& name = wxEmptyString,
+ const wxString& body = wxEmptyString,
ScriptTemplate* pSectionTemplate = NULL,
ScriptTemplate* pReferenceTemplate = NULL,
bool autoHide = false,
ScriptTemplate* pSectionTemplate = NULL,
ScriptTemplate* pReferenceTemplate = NULL,
bool autoHide = false,