More warning and error fixes (work in progress with Tinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -319,8 +319,8 @@ void ScriptTemplate::PrintScript( void* dataObj, ScriptStream& stm )
|
|||||||
|
|
||||||
int ScriptSection::mIdCounter = 0;
|
int ScriptSection::mIdCounter = 0;
|
||||||
|
|
||||||
ScriptSection::ScriptSection( const string& name,
|
ScriptSection::ScriptSection( const wxString& name,
|
||||||
const string& body,
|
const wxString& body,
|
||||||
ScriptTemplate* pSectionTemplate,
|
ScriptTemplate* pSectionTemplate,
|
||||||
ScriptTemplate* pReferenceTemplate,
|
ScriptTemplate* pReferenceTemplate,
|
||||||
bool autoHide,
|
bool autoHide,
|
||||||
@@ -342,8 +342,8 @@ ScriptSection::ScriptSection( const string& name,
|
|||||||
{
|
{
|
||||||
// generate GUID
|
// generate GUID
|
||||||
|
|
||||||
char buf[32];
|
wxChar buf[32];
|
||||||
sprintf( buf, "%d", ++mIdCounter );
|
wxSprintf( buf, _T("%d"), ++mIdCounter );
|
||||||
mId = buf;
|
mId = buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -262,8 +262,8 @@ public:
|
|||||||
// to other sections (e.g. could be usefull for autoamically
|
// to other sections (e.g. could be usefull for autoamically
|
||||||
// hiding empty index-sections).
|
// hiding empty index-sections).
|
||||||
|
|
||||||
ScriptSection( const string& name = "",
|
ScriptSection( const wxString& name = wxEmptyString,
|
||||||
const string& body = "",
|
const wxString& body = wxEmptyString,
|
||||||
ScriptTemplate* pSectionTemplate = NULL,
|
ScriptTemplate* pSectionTemplate = NULL,
|
||||||
ScriptTemplate* pReferenceTemplate = NULL,
|
ScriptTemplate* pReferenceTemplate = NULL,
|
||||||
bool autoHide = false,
|
bool autoHide = false,
|
||||||
|
Reference in New Issue
Block a user