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:
@@ -54,7 +54,7 @@ class wxXFont : public wxObject
|
||||
{
|
||||
public:
|
||||
wxXFont();
|
||||
~wxXFont();
|
||||
virtual ~wxXFont();
|
||||
|
||||
#if !wxMOTIF_NEW_FONT_HANDLING
|
||||
WXFontStructPtr m_fontStruct; // XFontStruct
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
data.m_underlined, data.m_faceName, data.m_encoding);
|
||||
}
|
||||
|
||||
~wxFontRefData();
|
||||
virtual ~wxFontRefData();
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
|
||||
Reference in New Issue
Block a user