first phase of transition to unified Unicode build:
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*) 2. added template type-safe wrappers for vararg functions 3. added wxUniChar class representing single Unicode character 4. changed wxString::operator[] and wxString::iterator to return wxUniChar git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,7 +95,7 @@ static inline bool IsInConsole()
|
||||
|
||||
#endif // __WINDOWS__
|
||||
|
||||
void wxMessageOutputBest::Printf(const wxChar* format, ...)
|
||||
void wxMessageOutputBest::DoPrintf(const wxChar* format, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
@@ -120,7 +120,7 @@ void wxMessageOutputBest::Printf(const wxChar* format, ...)
|
||||
// wxMessageOutputStderr
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxMessageOutputStderr::Printf(const wxChar* format, ...)
|
||||
void wxMessageOutputStderr::DoPrintf(const wxChar* format, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
@@ -136,7 +136,7 @@ void wxMessageOutputStderr::Printf(const wxChar* format, ...)
|
||||
// wxMessageOutputDebug
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxMessageOutputDebug::Printf(const wxChar* format, ...)
|
||||
void wxMessageOutputDebug::DoPrintf(const wxChar* format, ...)
|
||||
{
|
||||
wxString out;
|
||||
|
||||
@@ -175,7 +175,7 @@ void wxMessageOutputDebug::Printf(const wxChar* format, ...)
|
||||
// wxMessageOutputLog
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxMessageOutputLog::Printf(const wxChar* format, ...)
|
||||
void wxMessageOutputLog::DoPrintf(const wxChar* format, ...)
|
||||
{
|
||||
wxString out;
|
||||
|
||||
@@ -198,7 +198,7 @@ void wxMessageOutputLog::Printf(const wxChar* format, ...)
|
||||
|
||||
#if wxUSE_GUI
|
||||
|
||||
void wxMessageOutputMessageBox::Printf(const wxChar* format, ...)
|
||||
void wxMessageOutputMessageBox::DoPrintf(const wxChar* format, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
|
Reference in New Issue
Block a user