From: Václav Slavík Date: Wed, 8 Aug 2001 23:18:39 +0000 (+0000) Subject: made some wxHtmlEntitiesParser's methods public -- turned out they are useful X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/61b50a43aaaf29fe9c2f848958adafc496439123?ds=inline made some wxHtmlEntitiesParser's methods public -- turned out they are useful git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/html/htmlpars.h b/include/wx/html/htmlpars.h index 25d9c5991e..aef73949fb 100644 --- a/include/wx/html/htmlpars.h +++ b/include/wx/html/htmlpars.h @@ -225,11 +225,14 @@ public: // Parses entities in input and replaces them with respective characters // (with respect to output encoding) wxString Parse(const wxString& input); - -protected: + + // Returns character for given entity wxChar GetEntityChar(const wxString& entity); + + // Returns character that represents given Unicode code wxChar GetCharForCode(unsigned code); +protected: #if wxUSE_WCHAR_T && !wxUSE_UNICODE wxMBConv *m_conv; wxFontEncoding m_encoding;