]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/uri.h
Prevent seg fault for older GTK+
[wxWidgets.git] / include / wx / uri.h
index 435358eda7288a4067fdea550587e912665b5dbd..b273c37a129aecd453777fdd4cbbd5b0dbce6ae4 100644 (file)
@@ -116,9 +116,11 @@ protected:
 
     static void Normalize(wxChar* uri, bool bIgnoreLeads = false);
     static void UpTree(const wxChar* uristart, const wxChar*& uri);
+    static void UpTree(wxString::const_iterator uristart,
+                       wxString::const_iterator& uri);
 
-    static wxChar TranslateEscape(const wxChar* s);
-    static void Escape  (wxString& s, const wxChar& c);
+    static wxUniChar TranslateEscape(const wxString::const_iterator& s);
+    static void Escape(wxString& s, const wxChar& c);
     static bool IsEscape(const wxChar*& uri);
 
     static wxChar CharToHex(const wxChar& c);