]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tokenzr.cpp
Crude hack to enable PageUp/DownKeys when controlbar is enabled.
[wxWidgets.git] / src / common / tokenzr.cpp
index c4f4bfb899ba68b87ed7f5afea0a2ebd082c1e0b..837243cac6c575a1534e733a9147adc77295761f 100644 (file)
@@ -37,11 +37,11 @@ wxStringTokenizer::~wxStringTokenizer()
 
 off_t wxStringTokenizer::FindDelims(const wxString& str, const wxString& delims) const
 {
-    for ( int i = 0; i < str.Length(); i++ )
+    for ( size_t i = 0; i < str.Length(); i++ )
     {
-        char c = str[i];
+        wxChar c = str[i];
 
-        for ( int j = 0; j < delims.Length() ; j++ )
+        for ( size_t j = 0; j < delims.Length() ; j++ )
         {
             if ( delims[j] == c )
                 return i;