X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..8946ede10c2702c7acbb194fe8bd2793d7fb8358:/src/palmos/metafile.cpp?ds=sidebyside diff --git a/src/palmos/metafile.cpp b/src/palmos/metafile.cpp index e2c4230e27..7626591e77 100644 --- a/src/palmos/metafile.cpp +++ b/src/palmos/metafile.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "metafile.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -28,10 +24,6 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/setup.h" -#endif - #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/app.h" @@ -127,7 +119,8 @@ wxMetafileDC::~wxMetafileDC() } void wxMetafileDC::GetTextExtent(const wxString& string, long *x, long *y, - long *descent, long *externalLeading, wxFont *theFont, bool WXUNUSED(use16bit)) const + long *descent, long *externalLeading, + const wxFont *theFont, bool WXUNUSED(use16bit)) const { } @@ -136,7 +129,7 @@ wxMetafile *wxMetafileDC::Close() return NULL; } -void wxMetafileDC::SetMapMode(int mode) +void wxMetafileDC::SetMapMode(wxMappingMode mode) { } @@ -194,4 +187,3 @@ bool wxMetafileDataObject::SetData(size_t WXUNUSED(len), const void *buf) #endif // wxUSE_DRAG_AND_DROP #endif // wxUSE_METAFILE -