* 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
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;
// 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;