X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e89a51a25ead1a837cd7a551d1366fc44e1b7b1..d0f063020e6fb1b1a660952d0844071e0df24324:/include/wx/html/htmltag.h diff --git a/include/wx/html/htmltag.h b/include/wx/html/htmltag.h index 0ed5d2a8e6..46f724cc78 100644 --- a/include/wx/html/htmltag.h +++ b/include/wx/html/htmltag.h @@ -47,7 +47,7 @@ public: wxString::const_iterator *end2, bool *hasEnding); - DECLARE_NO_COPY_CLASS(wxHtmlTagsCache) + wxDECLARE_NO_COPY_CLASS(wxHtmlTagsCache); }; @@ -94,8 +94,8 @@ public: // enclosed with " // Example :

GetParam("ALIGN") returns (RIGHT) //

GetParam("SRC") returns (WhaT.jpg) - // (or ("WhaT.jpg") if with_commas == true) - wxString GetParam(const wxString& par, bool with_commas = false) const; + // (or ("WhaT.jpg") if with_quotes == true) + wxString GetParam(const wxString& par, bool with_quotes = false) const; // Convenience functions: bool GetParamAsColour(const wxString& par, wxColour *clr) const; @@ -103,7 +103,7 @@ public: // Scans param like scanf() functions family does. // Example : ScanParam("COLOR", "\"#%X\"", &clr); - // This is always with with_commas=false + // This is always with with_quotes=false // Returns number of scanned values // (like sscanf() does) // NOTE: unlike scanf family, this function only accepts @@ -126,13 +126,11 @@ public: // returns ending position of _internal_ block of text as iterator // into parser's source string (see wxHtmlParser::GetSource()): // bla bla bla bla bla intenal text* bla bla - wxString::const_iterator GetEndIter1() const - { wxASSERT(m_hasEnding); return m_End1; } + wxString::const_iterator GetEndIter1() const { return m_End1; } // returns end position 2 as iterator // into parser's source string (see wxHtmlParser::GetSource()): // bla bla bla bla bla internal text* bla bla - wxString::const_iterator GetEndIter2() const - { wxASSERT(m_hasEnding); return m_End2; } + wxString::const_iterator GetEndIter2() const { return m_End2; } #if WXWIN_COMPATIBILITY_2_8 // use GetBeginIter(), GetEndIter1() and GetEndIter2() instead @@ -156,7 +154,7 @@ private: wxHtmlTag *m_FirstChild, *m_LastChild; wxHtmlTag *m_Parent; - DECLARE_NO_COPY_CLASS(wxHtmlTag) + wxDECLARE_NO_COPY_CLASS(wxHtmlTag); };