| 1 | ///////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: wx/palmos/fontdlg.h |
| 3 | // Purpose: wxFontDialog class |
| 4 | // Author: William Osborne - minimal working wxPalmOS port |
| 5 | // Modified by: |
| 6 | // Created: 10/13/04 |
| 7 | // RCS-ID: $Id$ |
| 8 | // Copyright: (c) William Osborne |
| 9 | // Licence: wxWindows licence |
| 10 | ///////////////////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | #ifndef _WX_PALMOS_FONTDLG_H_ |
| 13 | #define _WX_PALMOS_FONTDLG_H_ |
| 14 | |
| 15 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) |
| 16 | #pragma interface "fontdlg.h" |
| 17 | #endif |
| 18 | |
| 19 | // ---------------------------------------------------------------------------- |
| 20 | // wxFontDialog |
| 21 | // ---------------------------------------------------------------------------- |
| 22 | |
| 23 | class WXDLLEXPORT wxFontDialog : public wxFontDialogBase |
| 24 | { |
| 25 | public: |
| 26 | wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ } |
| 27 | wxFontDialog(wxWindow *parent) |
| 28 | : wxFontDialogBase(parent) { Create(parent); } |
| 29 | wxFontDialog(wxWindow *parent, const wxFontData& data) |
| 30 | : wxFontDialogBase(parent, data) { Create(parent, data); } |
| 31 | |
| 32 | virtual int ShowModal(); |
| 33 | |
| 34 | // deprecated interface, don't use |
| 35 | wxFontDialog(wxWindow *parent, const wxFontData *data) |
| 36 | : wxFontDialogBase(parent, data) { Create(parent, data); } |
| 37 | |
| 38 | protected: |
| 39 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog) |
| 40 | }; |
| 41 | |
| 42 | #endif |
| 43 | // _WX_PALMOS_FONTDLG_H_ |
| 44 | |