home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / include / wx / os2 / fontdlg.h < prev    next >
C/C++ Source or Header  |  2002-08-12  |  2KB  |  63 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name:        fontdlg.h
  3. // Purpose:     wxFontDialog class. Use generic version if no
  4. //              platform-specific implementation.
  5. // Author:      David Webster
  6. // Modified by:
  7. // Created:     10/06/99
  8. // RCS-ID:      $Id: FONTDLG.H,v 1.6 2002/08/11 23:47:00 DW Exp $
  9. // Copyright:   (c) David Webster
  10. // Licence:     wxWindows licence
  11. /////////////////////////////////////////////////////////////////////////////
  12.  
  13. #ifndef _WX_FONTDLG_H_
  14. #define _WX_FONTDLG_H_
  15.  
  16. #include "wx/dialog.h"
  17. #include "wx/cmndata.h"
  18.  
  19. /*
  20.  * Font dialog
  21.  */
  22.  
  23. class WXDLLEXPORT wxFontDialog: public wxFontDialogBase
  24. {
  25. public:
  26.     wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
  27.     wxFontDialog (wxWindow* pParent) : wxFontDialogBase(pParent) { Create(pParent); }
  28.     wxFontDialog( wxWindow*         pParent
  29.                  ,const wxFontData& rData
  30.                 )
  31.                 : wxFontDialogBase( pParent
  32.                                    ,rData
  33.                                   )
  34.     {
  35.         Create( pParent
  36.                ,rData
  37.               );
  38.     }
  39.  
  40.     virtual int ShowModal();
  41.  
  42.     //
  43.     // Deprecated interface, don't use
  44.     //
  45.     wxFontDialog( wxWindow*         pParent
  46.                  ,const wxFontData* pData
  47.                 )
  48.                 : wxFontDialogBase( pParent
  49.                                    ,pData
  50.                                   )
  51.     {
  52.         Create( pParent
  53.                ,pData
  54.               );
  55.     }
  56. protected:
  57.     DECLARE_DYNAMIC_CLASS(wxFontDialog)
  58. }; // end of CLASS wxFontDialog
  59.  
  60. #endif
  61.     // _WX_FONTDLG_H_
  62.  
  63.