mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -533,7 +533,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
wxRichTextObject(wxRichTextObject* parent = NULL);
|
||||
~wxRichTextObject();
|
||||
virtual ~wxRichTextObject();
|
||||
|
||||
// Overrideables
|
||||
|
||||
@@ -686,7 +686,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
wxRichTextCompositeObject(wxRichTextObject* parent = NULL);
|
||||
~wxRichTextCompositeObject();
|
||||
virtual ~wxRichTextCompositeObject();
|
||||
|
||||
// Overrideables
|
||||
|
||||
@@ -1110,7 +1110,7 @@ public:
|
||||
|
||||
wxRichTextParagraph(wxRichTextObject* parent = NULL, wxTextAttrEx* style = NULL);
|
||||
wxRichTextParagraph(const wxString& text, wxRichTextObject* parent = NULL, wxTextAttrEx* style = NULL);
|
||||
~wxRichTextParagraph();
|
||||
virtual ~wxRichTextParagraph();
|
||||
wxRichTextParagraph(const wxRichTextParagraph& obj):wxRichTextBox() { Copy(obj); }
|
||||
|
||||
// Overrideables
|
||||
@@ -1280,7 +1280,7 @@ class WXDLLIMPEXP_RICHTEXT wxRichTextImageBlock: public wxObject
|
||||
public:
|
||||
wxRichTextImageBlock();
|
||||
wxRichTextImageBlock(const wxRichTextImageBlock& block);
|
||||
~wxRichTextImageBlock();
|
||||
virtual ~wxRichTextImageBlock();
|
||||
|
||||
void Init();
|
||||
void Clear();
|
||||
@@ -1427,7 +1427,7 @@ public:
|
||||
|
||||
wxRichTextBuffer() { Init(); }
|
||||
wxRichTextBuffer(const wxRichTextBuffer& obj):wxRichTextParagraphLayoutBox() { Init(); Copy(obj); }
|
||||
~wxRichTextBuffer() ;
|
||||
virtual ~wxRichTextBuffer() ;
|
||||
|
||||
// Accessors
|
||||
|
||||
@@ -1728,7 +1728,7 @@ public:
|
||||
// Ctor for multiple actions
|
||||
wxRichTextCommand(const wxString& name);
|
||||
|
||||
~wxRichTextCommand();
|
||||
virtual ~wxRichTextCommand();
|
||||
|
||||
bool Do();
|
||||
bool Undo();
|
||||
@@ -1754,7 +1754,7 @@ public:
|
||||
wxRichTextAction(wxRichTextCommand* cmd, const wxString& name, wxRichTextCommandId id, wxRichTextBuffer* buffer,
|
||||
wxRichTextCtrl* ctrl, bool ignoreFirstTime = false);
|
||||
|
||||
~wxRichTextAction();
|
||||
virtual ~wxRichTextAction();
|
||||
|
||||
bool Do();
|
||||
bool Undo();
|
||||
|
@@ -100,7 +100,7 @@ public:
|
||||
wxRichTextCtrl( );
|
||||
wxRichTextCtrl( wxWindow* parent, wxWindowID id = -1, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||
long style = wxRE_MULTILINE );
|
||||
~wxRichTextCtrl( );
|
||||
virtual ~wxRichTextCtrl( );
|
||||
|
||||
// Operations
|
||||
|
||||
|
@@ -44,7 +44,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
wxRichTextStyleDefinition(const wxString& name = wxEmptyString) { Init(); m_name = name; }
|
||||
~wxRichTextStyleDefinition() {}
|
||||
virtual ~wxRichTextStyleDefinition() {}
|
||||
|
||||
void Init() {}
|
||||
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
|
||||
wxRichTextCharacterStyleDefinition(const wxString& name = wxEmptyString):
|
||||
wxRichTextStyleDefinition(name) {}
|
||||
~wxRichTextCharacterStyleDefinition() {}
|
||||
virtual ~wxRichTextCharacterStyleDefinition() {}
|
||||
|
||||
protected:
|
||||
};
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
|
||||
wxRichTextParagraphStyleDefinition(const wxString& name = wxEmptyString):
|
||||
wxRichTextStyleDefinition(name) {}
|
||||
~wxRichTextParagraphStyleDefinition() {}
|
||||
virtual ~wxRichTextParagraphStyleDefinition() {}
|
||||
|
||||
/// The next style.
|
||||
void SetNextStyle(const wxString& name) { m_nextStyle = name; }
|
||||
@@ -121,7 +121,7 @@ class WXDLLIMPEXP_RICHTEXT wxRichTextStyleSheet: public wxObject
|
||||
public:
|
||||
/// Constructors
|
||||
wxRichTextStyleSheet() { Init(); }
|
||||
~wxRichTextStyleSheet() { DeleteStyles(); }
|
||||
virtual ~wxRichTextStyleSheet() { DeleteStyles(); }
|
||||
|
||||
/// Initialisation
|
||||
void Init();
|
||||
@@ -190,7 +190,7 @@ class WXDLLIMPEXP_RICHTEXT wxRichTextStyleListBox: public wxHtmlListBox
|
||||
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;
|
||||
|
Reference in New Issue
Block a user