X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..880d76dfb12d4e8466df30d641bb25c6f71bd398:/include/wx/fontdlg.h diff --git a/include/wx/fontdlg.h b/include/wx/fontdlg.h index 5a2dca1195..c963c73364 100644 --- a/include/wx/fontdlg.h +++ b/include/wx/fontdlg.h @@ -17,7 +17,7 @@ #if wxUSE_FONTDLG #include "wx/dialog.h" // the base class -#include "wx/cmndata.h" // wxFontData +#include "wx/fontdata.h" // ---------------------------------------------------------------------------- // wxFontDialog interface @@ -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; } @@ -58,7 +56,7 @@ protected: wxFontData m_fontData; - DECLARE_NO_COPY_CLASS(wxFontDialogBase) + wxDECLARE_NO_COPY_CLASS(wxFontDialogBase); }; #if WXWIN_COMPATIBILITY_2_6