]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmltag.cpp
Take into account icon mask in wxStaticBitmap
[wxWidgets.git] / src / html / htmltag.cpp
index 8848884e571a69eeee2934dca2c471008e1b12ce..33607f7adae6a8d6ff54554caa39b0af393d7b0c 100644 (file)
@@ -9,7 +9,7 @@
 
 
 #ifdef __GNUG__
-#pragma implementation
+#pragma implementation "htmltag.h"
 #endif
 
 #include "wx/wxprec.h"
@@ -78,9 +78,9 @@ wxHtmlTagsCache::wxHtmlTagsCache(const wxString& source)
             tg = m_CacheSize++;
             m_Cache[tg].Key = stpos = pos++;
 
-            size_t i;
+            int i;
             for ( i = 0;
-                  pos < lng && i < WXSIZEOF(tagBuffer) - 1 &&
+                  pos < lng && i < (int)WXSIZEOF(tagBuffer) - 1 &&
                   src[pos] != wxT('>') && !wxIsspace(src[pos]);
                   i++, pos++ )
             {