Use the new wxSysErrorMsgStr() instead of wxSysErrorMsg()

This commit is contained in:
Lauri Nurmi
2016-11-21 18:37:25 +02:00
parent 343318d73e
commit 902130f64e
7 changed files with 13 additions and 13 deletions

View File

@@ -470,7 +470,7 @@ wxString wxDialUpManagerMSW::GetErrorString(DWORD error)
{
case ERROR_INVALID_PARAMETER:
// this was a standard Win32 error probably
return wxString(wxSysErrorMsg(error));
return wxSysErrorMsgStr(error);
default:
{
@@ -1258,7 +1258,7 @@ static DWORD wxRasMonitorThread(wxRasThreadData *data)
(
wxT("WaitForMultipleObjects(RasMonitor) failed: 0x%08lx (%s)"),
err,
wxSysErrorMsg(err)
wxSysErrorMsgStr(err)
);
// no sense in continuing, who knows if the handles we're