]> git.saurik.com Git - wxWidgets.git/commitdiff
wxGetUserHome() returns a const value in Unicode mode.
authorOve Kaaven <ovek@arcticnet.no>
Fri, 16 Apr 1999 11:20:59 +0000 (11:20 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Fri, 16 Apr 1999 11:20:59 +0000 (11:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/utilsres.cpp
src/gtk1/utilsres.cpp

index 619a055713690a2132ab4da38cd9bcaa27af48ec..4dc2843925463d8201c97ad8e8eb9c59ea93c790 100644 (file)
@@ -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);
index 619a055713690a2132ab4da38cd9bcaa27af48ec..4dc2843925463d8201c97ad8e8eb9c59ea93c790 100644 (file)
@@ -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);