From 2aaf2049c07f432175e95e7b30f5c36dc78a6ddd Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Fri, 16 Apr 1999 11:20:59 +0000 Subject: [PATCH] wxGetUserHome() returns a const value in Unicode mode. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/utilsres.cpp | 2 +- src/gtk1/utilsres.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/utilsres.cpp b/src/gtk/utilsres.cpp index 619a055713..4dc2843925 100644 --- a/src/gtk/utilsres.cpp +++ b/src/gtk/utilsres.cpp @@ -85,7 +85,7 @@ static wxChar *GetResourcePath(wxChar *buf, wxChar *name, bool create) // the Real User, then determine the Real home dir. static wxChar *GetIniFile(wxChar *dest, const wxChar *filename) { - wxChar *home = (wxChar *) NULL; + const wxChar *home = (const wxChar *) NULL; if (filename && wxIsAbsolutePath(filename)) { wxStrcpy(dest, filename); diff --git a/src/gtk1/utilsres.cpp b/src/gtk1/utilsres.cpp index 619a055713..4dc2843925 100644 --- a/src/gtk1/utilsres.cpp +++ b/src/gtk1/utilsres.cpp @@ -85,7 +85,7 @@ static wxChar *GetResourcePath(wxChar *buf, wxChar *name, bool create) // the Real User, then determine the Real home dir. static wxChar *GetIniFile(wxChar *dest, const wxChar *filename) { - wxChar *home = (wxChar *) NULL; + const wxChar *home = (const wxChar *) NULL; if (filename && wxIsAbsolutePath(filename)) { wxStrcpy(dest, filename); -- 2.45.2