X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..1a33ac8fb0f5e43c89bd698618d554c6f7b8b452:/include/wx/mac/fontdlg.h diff --git a/include/wx/mac/fontdlg.h b/include/wx/mac/fontdlg.h index 39da6fd967..3d654b56c8 100644 --- a/include/wx/mac/fontdlg.h +++ b/include/wx/mac/fontdlg.h @@ -2,18 +2,18 @@ // Name: fontdlg.h // Purpose: wxFontDialog class. Use generic version if no // platform-specific implementation. -// Author: AUTHOR +// Author: Stefan Csomor // Modified by: -// Created: ??/??/98 +// Created: 1998-01-01 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) Stefan Csomor +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_FONTDLG_H_ #define _WX_FONTDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontdlg.h" #endif @@ -29,9 +29,9 @@ class WXDLLEXPORT wxFontDialog: public wxDialog DECLARE_DYNAMIC_CLASS(wxFontDialog) public: wxFontDialog(); - wxFontDialog(wxWindow *parent, wxFontData *data = NULL); + wxFontDialog(wxWindow *parent, const wxFontData& data); - bool Create(wxWindow *parent, wxFontData *data = NULL); + bool Create(wxWindow *parent, const wxFontData& data); int ShowModal(); wxFontData& GetFontData() { return m_fontData; }