X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62f864c32c53356b7228591c85b14abc491c46f0..b9eb3d9de670bdeb0b6c2500b43bb74bc3807bd9:/src/mac/classic/fontdlg.cpp?ds=inline 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; } -