X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7612febb93cca7fd8f89137906b7ed9eae381f6c..abd474ea63667f727940a009cc3e0b23ba9f418f:/src/generic/htmllbox.cpp diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 2bc89731c1..af7666efe3 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: generic/htmllbox.cpp +// Name: src/generic/htmllbox.cpp // Purpose: implementation of wxHtmlListBox // Author: Vadim Zeitlin // Modified by: @@ -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: @@ -599,6 +599,9 @@ void wxHtmlListBox::OnLeftDown(wxMouseEvent& event) // wxSimpleHtmlListBox // ---------------------------------------------------------------------------- +IMPLEMENT_ABSTRACT_CLASS(wxSimpleHtmlListBox, wxHtmlListBox) + + bool wxSimpleHtmlListBox::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,