]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/stdpaths.cpp
implement SetTimes() for directories too under MSW (#10250)
[wxWidgets.git] / src / unix / stdpaths.cpp
index 530d7fe918a1ed83a9d1bbf888cdef90f97403e1..3749968cc92c782923da954171b8ce2aa55053f9 100644 (file)
@@ -29,6 +29,7 @@
 #include "wx/stdpaths.h"
 
 #ifndef WX_PRECOMP
 #include "wx/stdpaths.h"
 
 #ifndef WX_PRECOMP
+    #include "wx/wxcrt.h"
     #include "wx/utils.h"
 #endif //WX_PRECOMP
 
     #include "wx/utils.h"
 #endif //WX_PRECOMP
 
@@ -65,7 +66,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
 {
     if ( m_prefix.empty() )
     {
 {
     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;
     }
 
     return m_prefix;
@@ -172,7 +173,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
 {
     if ( m_prefix.empty() )
     {
 {
     if ( m_prefix.empty() )
     {
-        wxStandardPaths *pathPtr = wx_const_cast(wxStandardPaths *, this);
+        wxStandardPaths *pathPtr = const_cast<wxStandardPaths *>(this);
         pathPtr->DetectPrefix();
     }
 
         pathPtr->DetectPrefix();
     }