Use wxASCII_STR() on string literals

Fix the build with wxNO_IMPLICIT_WXSTRING_ENCODING.
This commit is contained in:
Arrigo Marchiori
2019-10-22 12:34:29 +02:00
committed by Vadim Zeitlin
parent 65cbf40b7e
commit c86bcf962d
351 changed files with 965 additions and 950 deletions

View File

@@ -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
)
);