X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..21e0a4d5f15ea1df40d29359fc1e84085936ef3f:/include/wx/mac/carbon/fontdlg.h diff --git a/include/wx/mac/carbon/fontdlg.h b/include/wx/mac/carbon/fontdlg.h index aefc2de26e..b69a9fe74c 100644 --- a/include/wx/mac/carbon/fontdlg.h +++ b/include/wx/mac/carbon/fontdlg.h @@ -1,22 +1,17 @@ ///////////////////////////////////////////////////////////////////////////// // 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 -// Licence: wxWidgets licence +// Copyright: (c) Ryan Norton +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_FONTDLG_H_ #define _WX_FONTDLG_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "fontdlg.h" -#endif - #include "wx/dialog.h" #include "wx/cmndata.h" @@ -27,18 +22,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(const wxFontData& data); protected: wxWindow* m_dialogParent; wxFontData m_fontData; + void* m_pEventHandlerRef; }; #endif