]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/stdpaths.cpp
Fixed wxPropertyGridManager::CreatePropertyGrid(), corrected documentation about...
[wxWidgets.git] / src / unix / stdpaths.cpp
index 1c4bacc25e75342f785391091af39d93302732d3..3749968cc92c782923da954171b8ce2aa55053f9 100644 (file)
@@ -66,7 +66,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
 {
     if ( m_prefix.empty() )
     {
-        wx_const_cast(wxStandardPaths *, this)->m_prefix = wxT("/sys$system");
+        const_cast<wxStandardPaths *>(this)->m_prefix = wxT("/sys$system");
     }
 
     return m_prefix;
@@ -173,7 +173,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
 {
     if ( m_prefix.empty() )
     {
-        wxStandardPaths *pathPtr = wx_const_cast(wxStandardPaths *, this);
+        wxStandardPaths *pathPtr = const_cast<wxStandardPaths *>(this);
         pathPtr->DetectPrefix();
     }