X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d7836c47de679f03b1b7e738c77164c11bd3689..cb8acbd632841a18c69ac6de9e44910e41a5293f:/include/wx/richtext/richtextstyles.h diff --git a/include/wx/richtext/richtextstyles.h b/include/wx/richtext/richtextstyles.h index 6993808ee6..067030083d 100644 --- a/include/wx/richtext/richtextstyles.h +++ b/include/wx/richtext/richtextstyles.h @@ -16,12 +16,10 @@ * Includes */ -#include "wx/defs.h" +#include "wx/richtext/richtextbuffer.h" #if wxUSE_RICHTEXT -#include "wx/richtext/richtextbuffer.h" - #if wxUSE_HTML #include "wx/htmllbox.h" #endif @@ -194,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; @@ -228,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;