#include "wx/stdpaths.h"
#ifndef WX_PRECOMP
+ #include "wx/wxcrt.h"
#include "wx/utils.h"
#endif //WX_PRECOMP
{
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;
{
if ( m_prefix.empty() )
{
- wxStandardPaths *pathPtr = wx_const_cast(wxStandardPaths *, this);
+ wxStandardPaths *pathPtr = const_cast<wxStandardPaths *>(this);
pathPtr->DetectPrefix();
}