Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -103,7 +103,7 @@ void wxObject::Dump(ostream& str)
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
void *wxObject::operator new (size_t size, char * fileName, int lineNum)
|
||||
void *wxObject::operator new (size_t size, wxChar * fileName, int lineNum)
|
||||
{
|
||||
return wxDebugAlloc(size, fileName, lineNum, TRUE);
|
||||
}
|
||||
@@ -123,7 +123,7 @@ void wxObject::operator delete(void* pData, char* /* fileName */, int /* lineNum
|
||||
|
||||
// Cause problems for VC++ - crashes
|
||||
#if !defined(__VISUALC__) && wxUSE_ARRAY_MEMORY_OPERATORS
|
||||
void * wxObject::operator new[] (size_t size, char * fileName, int lineNum)
|
||||
void * wxObject::operator new[] (size_t size, wxChar * fileName, int lineNum)
|
||||
{
|
||||
return wxDebugAlloc(size, fileName, lineNum, TRUE, TRUE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user