]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/uri.cpp
Use system colours
[wxWidgets.git] / src / common / uri.cpp
index 52b11eb5afac2441341c8d9af59accdb6c7e1e58..c195d13729c3d93ea5b632d62f76f0b3b56adbf4 100644 (file)
@@ -882,8 +882,8 @@ void wxURI::Resolve(const wxURI& base, int flags)
                     op += 3;
             }
 
-            m_path = (wxString)base.m_path.substr(0, bp - base.m_path.c_str()) +
-                    (wxString)m_path.substr((op - m_path.c_str()), m_path.Length());
+            m_path = base.m_path.substr(0, bp - base.m_path.c_str()) +
+                    m_path.substr((op - m_path.c_str()), m_path.Length());
         }
     }