]> git.saurik.com Git - wxWidgets.git/commitdiff
because gcc is dumb and can't tell the difference between a std::string and a wxString
authorRyan Norton <wxprojects@comcast.net>
Sun, 31 Oct 2004 18:26:03 +0000 (18:26 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sun, 31 Oct 2004 18:26:03 +0000 (18:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/uri.cpp

index b2e619adf9a022b87a0a62175754a8e223698752..0608b4c82f095d04f3977cec6a0cb2d297701429 100644 (file)
@@ -812,7 +812,7 @@ void wxURI::Resolve(const wxURI& base, int flags)
             }
 
             m_path = base.m_path.substr(0, bp - base.m_path.c_str()) + 
-                    m_path.Mid((op - m_path.c_str()), m_path.Length());
+                    m_path.substr((op - m_path.c_str()), m_path.Length());
         }
     }