]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/htmllbox.cpp
Fix typo in last commit
[wxWidgets.git] / src / generic / htmllbox.cpp
index ccae40819faa20984f2e938991a7969777c1f44a..af7666efe346d206657944cdbee1959f80f2e32a 100644 (file)
@@ -308,7 +308,7 @@ void wxHtmlListBox::CacheItem(size_t n) const
             m_htmlParser->SetDC(new wxClientDC(self));
             m_htmlParser->SetFS(&self->m_filesystem);
 #if !wxUSE_UNICODE
-            if (GetFont().Ok())
+            if (GetFont().IsOk())
                 m_htmlParser->SetInputEncoding(GetFont().GetEncoding());
 #endif
             // use system's default GUI font by default: