native font dialog implementation for mac os x 10.2+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user