Make it build in Unicode mode again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -349,7 +349,7 @@ void wxMemStruct::PrintNode ()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxString msg("");
|
wxString msg(wxT(""));
|
||||||
|
|
||||||
if (m_fileName)
|
if (m_fileName)
|
||||||
msg.Printf(wxT("%s(%d): "), m_fileName, (int)m_lineNum);
|
msg.Printf(wxT("%s(%d): "), m_fileName, (int)m_lineNum);
|
||||||
@@ -387,7 +387,7 @@ void wxMemStruct::Dump ()
|
|||||||
else
|
else
|
||||||
msg += wxT("unknown object class");
|
msg += wxT("unknown object class");
|
||||||
|
|
||||||
wxString msg2("");
|
wxString msg2(wxT(""));
|
||||||
msg2.Printf(wxT(" at $%lX, size %d"), (long)GetActualData(), (int)RequestSize());
|
msg2.Printf(wxT(" at $%lX, size %d"), (long)GetActualData(), (int)RequestSize());
|
||||||
msg += msg2;
|
msg += msg2;
|
||||||
|
|
||||||
@@ -399,7 +399,7 @@ void wxMemStruct::Dump ()
|
|||||||
if (m_fileName)
|
if (m_fileName)
|
||||||
msg.Printf(wxT("%s(%d): "), m_fileName, (int)m_lineNum);
|
msg.Printf(wxT("%s(%d): "), m_fileName, (int)m_lineNum);
|
||||||
|
|
||||||
wxString msg2("");
|
wxString msg2(wxT(""));
|
||||||
msg2.Printf(wxT("non-object data at $%lX, size %d"), (long)GetActualData(), (int)RequestSize() );
|
msg2.Printf(wxT("non-object data at $%lX, size %d"), (long)GetActualData(), (int)RequestSize() );
|
||||||
msg += msg2;
|
msg += msg2;
|
||||||
wxLogMessage(msg);
|
wxLogMessage(msg);
|
||||||
@@ -607,7 +607,7 @@ bool wxDebugContext::Dump(void)
|
|||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
{
|
{
|
||||||
wxChar* appName = (wxChar*) wxT("application");
|
wxChar* appName = (wxChar*) wxT("application");
|
||||||
wxString appNameStr("");
|
wxString appNameStr(wxT(""));
|
||||||
if (wxTheApp)
|
if (wxTheApp)
|
||||||
{
|
{
|
||||||
appNameStr = wxTheApp->GetAppName();
|
appNameStr = wxTheApp->GetAppName();
|
||||||
|
Reference in New Issue
Block a user