X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..317121eac556b34b3ca4ba87ab6b6c747ab7a0df:/src/palmos/dc.cpp diff --git a/src/palmos/dc.cpp b/src/palmos/dc.cpp index 46471e3ee6..fc359b5568 100644 --- a/src/palmos/dc.cpp +++ b/src/palmos/dc.cpp @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dc.cpp +// Name: src/palmos/dc.cpp // Purpose: wxDC class -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "dc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -38,10 +34,10 @@ #include "wx/dcmemory.h" #include "wx/log.h" #include "wx/icon.h" + #include "wx/dcprint.h" #endif #include "wx/sysopt.h" -#include "wx/dcprint.h" #include "wx/module.h" #include "wx/dynload.h" @@ -50,7 +46,6 @@ #endif #include -#include #ifndef AC_SRC_ALPHA #define AC_SRC_ALPHA 1 @@ -72,11 +67,6 @@ static const int VIEWPORT_EXTENT = 1000; static const int MM_POINTS = 9; static const int MM_METRIC = 10; -// usually this is defined in math.h -#ifndef M_PI - static const double M_PI = 3.14159265358979323846; -#endif // M_PI - #define DSTCOPY 0x00AA0029 // --------------------------------------------------------------------------- @@ -507,4 +497,3 @@ private: IMPLEMENT_DYNAMIC_CLASS(wxDCModule, wxModule) #endif // wxUSE_DC_CACHEING -