]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/stdpaths.cpp
close the handle returned by OpenProcessToken() (fixes #10129)
[wxWidgets.git] / src / os2 / stdpaths.cpp
index 98cf196f241f3a38be6c21fb88bd75aefe24cb92..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");
     }