A few weeks of Unicode fixes (my old win95 laptop compiles sloowly,

especially when through the nullmodem cable).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-06-14 14:39:11 +00:00
parent 5f8e1c164d
commit 837e57436a
67 changed files with 778 additions and 763 deletions

View File

@@ -98,7 +98,7 @@ wxRegConfig::wxRegConfig(const wxString& appName, const wxString& vendorName,
if ( appName.IsEmpty() )
{
wxCHECK_RET( wxTheApp, "No application name in wxRegConfig ctor!" );
wxCHECK_RET( wxTheApp, _T("No application name in wxRegConfig ctor!") );
strRoot << wxTheApp->GetAppName();
}
else
@@ -337,7 +337,7 @@ bool wxRegConfig::Read(const wxString& key, wxString *pStr) const
if ( IsImmutable(path.Name()) ) {
if ( TryGetValue(m_keyGlobal, path.Name(), *pStr) ) {
if ( m_keyLocal.HasValue(path.Name()) ) {
wxLogWarning("User value for immutable key '%s' ignored.",
wxLogWarning(_T("User value for immutable key '%s' ignored."),
path.Name().c_str());
}
*pStr = wxConfigBase::ExpandEnvVars(*pStr);
@@ -373,7 +373,7 @@ bool wxRegConfig::Read(const wxString& key, wxString *pStr,
if ( IsImmutable(path.Name()) ) {
if ( TryGetValue(m_keyGlobal, path.Name(), *pStr) ) {
if ( m_keyLocal.HasValue(path.Name()) ) {
wxLogWarning("User value for immutable key '%s' ignored.",
wxLogWarning(_T("User value for immutable key '%s' ignored."),
path.Name().c_str());
}
@@ -416,7 +416,7 @@ bool wxRegConfig::Read(const wxString& key, long *plResult) const
if ( IsImmutable(path.Name()) ) {
if ( TryGetValue(m_keyGlobal, path.Name(), plResult) ) {
if ( m_keyLocal.HasValue(path.Name()) ) {
wxLogWarning("User value for immutable key '%s' ignored.",
wxLogWarning(_T("User value for immutable key '%s' ignored."),
path.Name().c_str());
}
@@ -441,7 +441,7 @@ bool wxRegConfig::Write(const wxString& key, const wxString& szValue)
wxConfigPathChanger path(this, key);
if ( IsImmutable(path.Name()) ) {
wxLogError("Can't change immutable entry '%s'.", path.Name().c_str());
wxLogError(_T("Can't change immutable entry '%s'."), path.Name().c_str());
return FALSE;
}
@@ -453,7 +453,7 @@ bool wxRegConfig::Write(const wxString& key, long lValue)
wxConfigPathChanger path(this, key);
if ( IsImmutable(path.Name()) ) {
wxLogError("Can't change immutable entry '%s'.", path.Name().c_str());
wxLogError(_T("Can't change immutable entry '%s'."), path.Name().c_str());
return FALSE;
}
@@ -516,7 +516,7 @@ bool wxRegConfig::RenameGroup(const wxString& oldName, const wxString& newName)
// TODO there is no way to rename a registry key - we must do a deep copy
// ourselves
wxFAIL_MSG("Registry key renaming not implemented");
wxFAIL_MSG(_T("Registry key renaming not implemented"));
return FALSE;
}