X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43b2d5e7c3b3e3d6b245e279dde73d96e0075911..3f7564f229450a9c036141878ee75cc09078a945:/utils/helpview/src/remhelp.cpp?ds=sidebyside diff --git a/utils/helpview/src/remhelp.cpp b/utils/helpview/src/remhelp.cpp index 0d8a521098..ee8da0e31b 100644 --- a/utils/helpview/src/remhelp.cpp +++ b/utils/helpview/src/remhelp.cpp @@ -31,7 +31,7 @@ //#include "ddesetup.h" //#define wxUSE_DDE_FOR_IPC 0 -#if defined(__WXGTK__) || defined(__WXMOTIF__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "mondrian.xpm" #endif @@ -252,7 +252,7 @@ bool wxRemoteHtmlHelpController::Quit() switch ( sig ) { default: - wxFAIL_MSG( _T("unexpected return value") ); + wxFAIL_MSG( wxT("unexpected return value") ); // fall through case -1: @@ -283,11 +283,11 @@ bool wxRemoteHtmlHelpController::Quit() { if ( wxProcess::Exists(m_pid) ) { - wxLogStatus(_T("Process %ld is running."), m_pid); + wxLogStatus(wxT("Process %ld is running."), m_pid); } else { - wxLogStatus(_T("No process with pid = %ld."), m_pid); + wxLogStatus(wxT("No process with pid = %ld."), m_pid); } } else // not SIGNONE @@ -295,23 +295,23 @@ bool wxRemoteHtmlHelpController::Quit() wxKillError rc = wxProcess::Kill(m_pid, (wxSignal)sig); if ( rc == wxKILL_OK ) { - wxLogStatus(_T("Process %ld killed with signal %d."), m_pid, sig); + wxLogStatus(wxT("Process %ld killed with signal %d."), m_pid, sig); } else { static const wxChar *errorText[] = { - _T(""), // no error - _T("signal not supported"), - _T("permission denied"), - _T("no such process"), - _T("unspecified error"), + wxT(""), // no error + wxT("signal not supported"), + wxT("permission denied"), + wxT("no such process"), + wxT("unspecified error"), }; // sig = 3, 6, 9 or 12 all kill server with no apparent problem // but give error message on MSW - timout? // - //wxLogError(_T("Failed to kill process %ld with signal %d: %s"), + //wxLogError(wxT("Failed to kill process %ld with signal %d: %s"), // m_pid, sig, errorText[rc]); } }