X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbe949828dbf266c7cc4adbdd5d40a5f795ccaea..cc985face55ed02c310860afefc8e6d656fb849d:/src/common/dcbase.cpp diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index da3b41768b..7eab6ec026 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 05/25/99 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) wxWindows team +// Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -17,11 +17,15 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif #ifndef WX_PRECOMP -#include "wx/defs.h" + #include "wx/window.h" +#endif + +#ifdef __WXMSW__ + #include "wx/msw/private.h" #endif #include "wx/dc.h" @@ -66,7 +70,7 @@ void wxDCBase::DrawPolygon(const wxList *list, } -#ifdef wxUSE_SPLINES +#if wxUSE_SPLINES // TODO: this API needs fixing (wxPointList, why (!const) "wxList *"?) void wxDCBase::DrawSpline(long x1, long y1, long x2, long y2, long x3, long y3) @@ -105,4 +109,4 @@ void wxDCBase::DrawSpline(int n, wxPoint points[]) DrawSpline(&list); } -#endif // wxUSE_SPLINES \ No newline at end of file +#endif // wxUSE_SPLINES