]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tokenzr.h
1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
[wxWidgets.git] / include / wx / tokenzr.h
index 74b8e25d7fbb99216fecba69151b990fd58bbee7..1668cd47ba6d48ee0bdc262e89100f56dd572ce8 100644 (file)
@@ -29,7 +29,7 @@ public:
     wxStringTokenizer() { m_retdelims = FALSE;}
     virtual ~wxStringTokenizer();
 
-    int CountTokens() count;
+    int CountTokens() const;
     bool HasMoreTokens();
 
     wxString NextToken();
@@ -47,7 +47,7 @@ public:
     }
 
 protected:
-    off_t FindDelims(const wxString& str, const wxString& delims);
+    off_t FindDelims(const wxString& str, const wxString& delims) const;
     void EatLeadingDelims();
 
     wxString m_string, m_delims;