Remove empty and unnecessary wxFontDialogBase destructor.
This fixes build with wxUSE_FONTMAP==0 as this dtor was only defined inside "#if wxUSE_FONTMAP" section. Instead of fixing this, just get rid of this dtor entirely as it was unnecessary anyhow. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,8 +37,6 @@ public:
|
||||
bool Create(wxWindow *parent, const wxFontData& data)
|
||||
{ InitFontData(&data); return Create(parent); }
|
||||
|
||||
virtual ~wxFontDialogBase();
|
||||
|
||||
// retrieve the font data
|
||||
const wxFontData& GetFontData() const { return m_fontData; }
|
||||
wxFontData& GetFontData() { return m_fontData; }
|
||||
|
@@ -518,10 +518,4 @@ bool wxFontMapper::IsEncodingAvailable(wxFontEncoding encoding,
|
||||
return wxTestFontEncoding(info);
|
||||
}
|
||||
|
||||
#if wxUSE_FONTDLG
|
||||
wxFontDialogBase::~wxFontDialogBase()
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // wxUSE_FONTMAP
|
||||
|
Reference in New Issue
Block a user