Use wxASCII_STR() on string literals
Fix the build with wxNO_IMPLICIT_WXSTRING_ENCODING.
This commit is contained in:
committed by
Vadim Zeitlin
parent
65cbf40b7e
commit
c86bcf962d
@@ -855,10 +855,10 @@ struct wxPrintfConvSpecParser
|
||||
wxFAIL_MSG
|
||||
(
|
||||
wxString::Format
|
||||
(
|
||||
(wxASCII_STR(
|
||||
"Format string \"%s\" uses both positional "
|
||||
"parameters and '*' but this is not currently "
|
||||
"supported by this implementation, sorry.",
|
||||
"supported by this implementation, sorry."),
|
||||
fmt
|
||||
)
|
||||
);
|
||||
@@ -929,11 +929,11 @@ struct wxPrintfConvSpecParser
|
||||
wxFAIL_MSG
|
||||
(
|
||||
wxString::Format
|
||||
(
|
||||
(wxASCII_STR(
|
||||
"wxVsnprintf() currently supports only %d arguments, "
|
||||
"but format string \"%s\" defines more of them.\n"
|
||||
"You need to change wxMAX_SVNPRINTF_ARGUMENTS and "
|
||||
"recompile if more are really needed.",
|
||||
"recompile if more are really needed."),
|
||||
fmt, wxMAX_SVNPRINTF_ARGUMENTS
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user