X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b01ca8b6a9b2828aa7fe6399d8920951c24661ce..74b720793f9d312566450461fac394e5e456ae5d:/include/wx/richtext/richtextstyles.h diff --git a/include/wx/richtext/richtextstyles.h b/include/wx/richtext/richtextstyles.h index 9c91a50830..067030083d 100644 --- a/include/wx/richtext/richtextstyles.h +++ b/include/wx/richtext/richtextstyles.h @@ -192,9 +192,6 @@ public: const wxSize& size = wxDefaultSize, long style = 0); ~wxRichTextStyleListBox(); - /// Returns the HTML for this item - virtual wxString OnGetItem(size_t n) const; - /// Creates a suitable HTML fragment for a definition wxString CreateHTML(wxRichTextStyleDefinition* def) const; @@ -226,6 +223,10 @@ public: // Convert units in tends of a millimetre to device units int ConvertTenthsMMToPixels(wxDC& dc, int units) const; +protected: + /// Returns the HTML for this item + virtual wxString OnGetItem(size_t n) const; + private: wxRichTextStyleSheet* m_styleSheet;