X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2646f485163f410baaad5bcf49028c604a352d19..2cf3a6d7bef6f20bea35062dd3d4dbf0aec9efb5:/src/mac/classic/fontdlg.cpp diff --git a/src/mac/classic/fontdlg.cpp b/src/mac/classic/fontdlg.cpp index 03c894c553..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,20 +7,19 @@ // 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" -#if !USE_SHARED_LIBRARY -IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) +#ifndef WX_PRECOMP + #include "wx/cmndata.h" #endif +IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) + /* * wxFontDialog */ @@ -43,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() @@ -51,4 +50,3 @@ int wxFontDialog::ShowModal() // TODO: show (maybe create) the dialog return wxID_CANCEL; } -