X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbe949828dbf266c7cc4adbdd5d40a5f795ccaea..edccf4281bc8fbb9d8151240ba5b208339c9ac11:/src/common/dcbase.cpp diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index da3b41768b..755f2ccbb3 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -21,7 +21,10 @@ #endif #ifndef WX_PRECOMP -#include "wx/defs.h" + #include "wx/window.h" +#ifdef __WXMSW__ + #include "wx/msw/private.h" +#endif #endif #include "wx/dc.h" @@ -66,7 +69,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 +108,4 @@ void wxDCBase::DrawSpline(int n, wxPoint points[]) DrawSpline(&list); } -#endif // wxUSE_SPLINES \ No newline at end of file +#endif // wxUSE_SPLINES