1999-01-01 11:05:26 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: fontdlg.h
|
|
|
|
// Purpose: wxFontDialog class. Use generic version if no
|
|
|
|
// platform-specific implementation.
|
2003-02-28 16:54:04 -05:00
|
|
|
// Author: Stefan Csomor
|
1999-01-01 11:05:26 -05:00
|
|
|
// Modified by:
|
2003-02-28 16:54:04 -05:00
|
|
|
// Created: 1998-01-01
|
1999-01-01 11:05:26 -05:00
|
|
|
// RCS-ID: $Id$
|
2003-02-28 16:54:04 -05:00
|
|
|
// Copyright: (c) Stefan Csomor
|
2003-02-28 18:36:37 -05:00
|
|
|
// Licence: wxWindows licence
|
1999-01-01 11:05:26 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_FONTDLG_H_
|
|
|
|
#define _WX_FONTDLG_H_
|
|
|
|
|
2003-08-09 08:38:21 -04:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
1999-01-01 11:05:26 -05:00
|
|
|
#pragma interface "fontdlg.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dialog.h"
|
|
|
|
#include "wx/cmndata.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Font dialog
|
|
|
|
*/
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxFontDialog: public wxDialog
|
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
|
|
|
public:
|
|
|
|
wxFontDialog();
|
2002-05-18 07:05:58 -04:00
|
|
|
wxFontDialog(wxWindow *parent, const wxFontData& data);
|
1999-01-01 11:05:26 -05:00
|
|
|
|
2002-05-18 07:05:58 -04:00
|
|
|
bool Create(wxWindow *parent, const wxFontData& data);
|
1999-01-01 11:05:26 -05:00
|
|
|
|
|
|
|
int ShowModal();
|
|
|
|
wxFontData& GetFontData() { return m_fontData; }
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxWindow* m_dialogParent;
|
|
|
|
wxFontData m_fontData;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_FONTDLG_H_
|
|
|
|
|