#if wxUSE_FONTDLG
#include "wx/dialog.h" // the base class
-#include "wx/cmndata.h" // wxFontData
+#include "wx/fontdata.h"
// ----------------------------------------------------------------------------
// wxFontDialog interface
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; }
wxFontData m_fontData;
- DECLARE_NO_COPY_CLASS(wxFontDialogBase)
+ wxDECLARE_NO_COPY_CLASS(wxFontDialogBase);
};
#if WXWIN_COMPATIBILITY_2_6
// get the font from user and return it, returns wxNullFont if the dialog was
// cancelled
-WXDLLIMPEXP_CORE wxFont wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
+WXDLLIMPEXP_CORE wxFont wxGetFontFromUser(wxWindow *parent = NULL,
const wxFont& fontInit = wxNullFont,
const wxString& caption = wxEmptyString);