* Forward declarations
*/
-class WXDLLIMPEXP_ADV wxRichTextCtrl;
-class WXDLLIMPEXP_ADV wxRichTextBuffer;
+class WXDLLIMPEXP_RICHTEXT wxRichTextCtrl;
+class WXDLLIMPEXP_RICHTEXT wxRichTextBuffer;
/*!
* wxRichTextStyleDefinition class declaration
* A base class for paragraph and character styles.
*/
-class WXDLLIMPEXP_ADV wxRichTextStyleDefinition: public wxObject
+class WXDLLIMPEXP_RICHTEXT wxRichTextStyleDefinition: public wxObject
{
DECLARE_CLASS(wxRichTextStyleDefinition)
public:
// Constructors
wxRichTextStyleDefinition(const wxString& name = wxEmptyString) { Init(); m_name = name; }
- ~wxRichTextStyleDefinition() {}
+ virtual ~wxRichTextStyleDefinition() {}
void Init() {}
* wxRichTextCharacterStyleDefinition class declaration
*/
-class WXDLLIMPEXP_ADV wxRichTextCharacterStyleDefinition: public wxRichTextStyleDefinition
+class WXDLLIMPEXP_RICHTEXT wxRichTextCharacterStyleDefinition: public wxRichTextStyleDefinition
{
DECLARE_DYNAMIC_CLASS(wxRichTextCharacterStyleDefinition)
public:
wxRichTextCharacterStyleDefinition(const wxString& name = wxEmptyString):
wxRichTextStyleDefinition(name) {}
- ~wxRichTextCharacterStyleDefinition() {}
+ virtual ~wxRichTextCharacterStyleDefinition() {}
protected:
};
* wxRichTextParagraphStyleDefinition class declaration
*/
-class WXDLLIMPEXP_ADV wxRichTextParagraphStyleDefinition: public wxRichTextStyleDefinition
+class WXDLLIMPEXP_RICHTEXT wxRichTextParagraphStyleDefinition: public wxRichTextStyleDefinition
{
DECLARE_DYNAMIC_CLASS(wxRichTextParagraphStyleDefinition)
public:
wxRichTextParagraphStyleDefinition(const wxString& name = wxEmptyString):
wxRichTextStyleDefinition(name) {}
- ~wxRichTextParagraphStyleDefinition() {}
+ virtual ~wxRichTextParagraphStyleDefinition() {}
/// The next style.
void SetNextStyle(const wxString& name) { m_nextStyle = name; }
* The style sheet
*/
-class WXDLLIMPEXP_ADV wxRichTextStyleSheet: public wxObject
+class WXDLLIMPEXP_RICHTEXT wxRichTextStyleSheet: public wxObject
{
DECLARE_CLASS( wxRichTextStyleSheet )
public:
/// Constructors
wxRichTextStyleSheet() { Init(); }
- ~wxRichTextStyleSheet() { DeleteStyles(); }
+ virtual ~wxRichTextStyleSheet() { DeleteStyles(); }
/// Initialisation
void Init();
* A listbox to display styles.
*/
-class WXDLLIMPEXP_ADV wxRichTextStyleListBox: public wxHtmlListBox
+class WXDLLIMPEXP_RICHTEXT wxRichTextStyleListBox: public wxHtmlListBox
{
DECLARE_CLASS(wxRichTextStyleListBox)
DECLARE_EVENT_TABLE()
public:
wxRichTextStyleListBox(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0);
- ~wxRichTextStyleListBox();
+ virtual ~wxRichTextStyleListBox();
/// Creates a suitable HTML fragment for a definition
wxString CreateHTML(wxRichTextStyleDefinition* def) const;