X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62f864c32c53356b7228591c85b14abc491c46f0..4ca64d4137439844a5e6c95b4da16f32cf7840ab:/src/mac/classic/fontdlg.cpp?ds=sidebyside diff --git a/src/mac/classic/fontdlg.cpp b/src/mac/classic/fontdlg.cpp index 946894667f..ac80e0ed51 100644 --- a/src/mac/classic/fontdlg.cpp +++ b/src/mac/classic/fontdlg.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: fontdlg.cpp +// Name: src/mac/classic/fontdlg.cpp // Purpose: wxFontDialog class. NOTE: you can use the generic class // if you wish, instead of implementing this. // Author: Stefan Csomor @@ -7,15 +7,16 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fontdlg.h" -#endif +#include "wx/wxprec.h" #include "wx/mac/fontdlg.h" -#include "wx/cmndata.h" + +#ifndef WX_PRECOMP + #include "wx/cmndata.h" +#endif IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) @@ -41,7 +42,7 @@ bool wxFontDialog::Create(wxWindow *parent, const wxFontData& data) // TODO: you may need to do dialog creation here, unless it's // done in ShowModal. - return TRUE; + return true; } int wxFontDialog::ShowModal() @@ -49,4 +50,3 @@ int wxFontDialog::ShowModal() // TODO: show (maybe create) the dialog return wxID_CANCEL; } -