]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/url.h
return name and extension by const ref, not by value, to prevent bugs as the one...
[wxWidgets.git] / include / wx / url.h
index 61c22330373753c00b52f89356fb63e3f8d46c8f..18143b786c8f46da7eedf7608e0b09a9954eb40a 100644 (file)
@@ -71,9 +71,9 @@ public:
 
 #if WXWIN_COMPATIBILITY_2_4
     //Use the proper wxURI accessors instead
-    wxString GetProtocolName() const { return m_scheme; }
-    wxString GetHostName() const     { return m_server; }
-    wxString GetPath() const         { return m_path; }
+    wxDEPRECATED( wxString GetProtocolName() const );
+    wxDEPRECATED( wxString GetHostName() const );
+    wxDEPRECATED( wxString GetPath() const );
 
     //Use wxURI instead - this does not work that well
     wxDEPRECATED( static wxString ConvertToValidURI(