X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..a7689c49fe02c0c065facf736ab28b19f5997b7c:/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