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:
Vadim Zeitlin
2012-03-20 23:31:25 +00:00
parent a4087a4324
commit 996de8322b
2 changed files with 0 additions and 8 deletions

View File

@@ -37,8 +37,6 @@ public:
bool Create(wxWindow *parent, const wxFontData& data) bool Create(wxWindow *parent, const wxFontData& data)
{ InitFontData(&data); return Create(parent); } { InitFontData(&data); return Create(parent); }
virtual ~wxFontDialogBase();
// retrieve the font data // retrieve the font data
const wxFontData& GetFontData() const { return m_fontData; } const wxFontData& GetFontData() const { return m_fontData; }
wxFontData& GetFontData() { return m_fontData; } wxFontData& GetFontData() { return m_fontData; }

View File

@@ -518,10 +518,4 @@ bool wxFontMapper::IsEncodingAvailable(wxFontEncoding encoding,
return wxTestFontEncoding(info); return wxTestFontEncoding(info);
} }
#if wxUSE_FONTDLG
wxFontDialogBase::~wxFontDialogBase()
{
}
#endif
#endif // wxUSE_FONTMAP #endif // wxUSE_FONTMAP