X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..0c9d7ace58512847c3aa4177c650723b6e971a28:/src/mac/classic/fontdlg.cpp diff --git a/src/mac/classic/fontdlg.cpp b/src/mac/classic/fontdlg.cpp index 4e09af901c..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: wxWidgets 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; } -