]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/stdpaths.cpp
miscellaneous small enhancements
[wxWidgets.git] / src / os2 / stdpaths.cpp
index bd715391252651d5e497925781747b1af11474dc..f7ba58488bb956b6a117a3908f8182f81738acda 100644 (file)
@@ -54,7 +54,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
 {
     if ( m_prefix.empty() )
     {
-        wxStandardPaths *self = wx_const_cast(wxStandardPaths *, this);
+        wxStandardPaths *self = const_cast<wxStandardPaths *>(this);
 
         self->m_prefix = _T("/usr/local");
     }
@@ -82,7 +82,7 @@ wxString wxStandardPaths::GetDataDir() const
 
 wxString wxStandardPaths::GetUserDataDir() const
 {
-    return AppendAppName(wxFileName::GetHomeDir() + _T("\\."));
+    return AppendAppInfo(wxFileName::GetHomeDir() + _T("\\."));
 }
 
 wxString wxStandardPaths::GetPluginsDir() const