X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..660296aa90ad5ecc98c585cc24567cee8130499a:/include/wx/mac/carbon/fontdlg.h diff --git a/include/wx/mac/carbon/fontdlg.h b/include/wx/mac/carbon/fontdlg.h index 3d654b56c8..f8aa3f9016 100644 --- a/include/wx/mac/carbon/fontdlg.h +++ b/include/wx/mac/carbon/fontdlg.h @@ -1,12 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// // Name: fontdlg.h -// Purpose: wxFontDialog class. Use generic version if no -// platform-specific implementation. -// Author: Stefan Csomor +// Purpose: wxFontDialog class using fonts window services (10.2+). +// Author: Ryan Norton // Modified by: -// Created: 1998-01-01 +// Created: 2004-09-25 // RCS-ID: $Id$ -// Copyright: (c) Stefan Csomor +// Copyright: (c) Ryan Norton // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -27,18 +26,24 @@ class WXDLLEXPORT wxFontDialog: public wxDialog { DECLARE_DYNAMIC_CLASS(wxFontDialog) + public: wxFontDialog(); wxFontDialog(wxWindow *parent, const wxFontData& data); + ~wxFontDialog(); bool Create(wxWindow *parent, const wxFontData& data); int ShowModal(); wxFontData& GetFontData() { return m_fontData; } + bool IsShown() const; + void OnPanelClose(); + void SetData(wxFontData& data); protected: wxWindow* m_dialogParent; wxFontData m_fontData; + void* m_pEventHandlerRef; }; #endif