By this commit, I guess I'm announcing intent to add Unicode support to wxGTK.
"Somebody stop me!" - The Mask git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4ba47b4019
commit
9cc7a35d9c
@ -438,7 +438,7 @@ void wxApp::SetTopWindow( wxWindow *win )
|
||||
|
||||
bool wxApp::Initialize()
|
||||
{
|
||||
wxBuffer = new char[BUFSIZ + 512];
|
||||
wxBuffer = new wxChar[BUFSIZ + 512];
|
||||
|
||||
wxClassInfo::InitializeClasses();
|
||||
|
||||
@ -528,7 +528,7 @@ void wxApp::CleanUp()
|
||||
#if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT
|
||||
if (wxDebugContext::CountObjectsLeft() > 0)
|
||||
{
|
||||
wxLogDebug("There were memory leaks.\n");
|
||||
wxLogDebug(_T("There were memory leaks.\n"));
|
||||
wxDebugContext::Dump();
|
||||
wxDebugContext::PrintStatistics();
|
||||
}
|
||||
@ -563,7 +563,7 @@ int wxEntry( int argc, char *argv[] )
|
||||
if (!wxTheApp)
|
||||
{
|
||||
wxCHECK_MSG( wxApp::GetInitializerFunction(), -1,
|
||||
"wxWindows error: No initializer - use IMPLEMENT_APP macro.\n" );
|
||||
_T("wxWindows error: No initializer - use IMPLEMENT_APP macro.\n") );
|
||||
|
||||
wxAppInitializerFunction app_ini = wxApp::GetInitializerFunction();
|
||||
|
||||
@ -572,7 +572,7 @@ int wxEntry( int argc, char *argv[] )
|
||||
wxTheApp = (wxApp*) test_app;
|
||||
}
|
||||
|
||||
wxCHECK_MSG( wxTheApp, -1, "wxWindows error: no application object" );
|
||||
wxCHECK_MSG( wxTheApp, -1, _T("wxWindows error: no application object") );
|
||||
|
||||
wxTheApp->argc = argc;
|
||||
wxTheApp->argv = argv;
|
||||
|
@ -438,7 +438,7 @@ void wxApp::SetTopWindow( wxWindow *win )
|
||||
|
||||
bool wxApp::Initialize()
|
||||
{
|
||||
wxBuffer = new char[BUFSIZ + 512];
|
||||
wxBuffer = new wxChar[BUFSIZ + 512];
|
||||
|
||||
wxClassInfo::InitializeClasses();
|
||||
|
||||
@ -528,7 +528,7 @@ void wxApp::CleanUp()
|
||||
#if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT
|
||||
if (wxDebugContext::CountObjectsLeft() > 0)
|
||||
{
|
||||
wxLogDebug("There were memory leaks.\n");
|
||||
wxLogDebug(_T("There were memory leaks.\n"));
|
||||
wxDebugContext::Dump();
|
||||
wxDebugContext::PrintStatistics();
|
||||
}
|
||||
@ -563,7 +563,7 @@ int wxEntry( int argc, char *argv[] )
|
||||
if (!wxTheApp)
|
||||
{
|
||||
wxCHECK_MSG( wxApp::GetInitializerFunction(), -1,
|
||||
"wxWindows error: No initializer - use IMPLEMENT_APP macro.\n" );
|
||||
_T("wxWindows error: No initializer - use IMPLEMENT_APP macro.\n") );
|
||||
|
||||
wxAppInitializerFunction app_ini = wxApp::GetInitializerFunction();
|
||||
|
||||
@ -572,7 +572,7 @@ int wxEntry( int argc, char *argv[] )
|
||||
wxTheApp = (wxApp*) test_app;
|
||||
}
|
||||
|
||||
wxCHECK_MSG( wxTheApp, -1, "wxWindows error: no application object" );
|
||||
wxCHECK_MSG( wxTheApp, -1, _T("wxWindows error: no application object") );
|
||||
|
||||
wxTheApp->argc = argc;
|
||||
wxTheApp->argv = argv;
|
||||
|
Loading…
Reference in New Issue
Block a user