diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 4c7e2ff708..e9b2a518da 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -96,7 +96,9 @@ public: virtual void DestroyClippingRegion(); virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion ); +#if wxUSE_SPLINES virtual void DoDrawSpline( wxList *points ); +#endif // Resolution in pixels per logical inch virtual wxSize GetPPI() const; diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index 4c7e2ff708..e9b2a518da 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -96,7 +96,9 @@ public: virtual void DestroyClippingRegion(); virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion ); +#if wxUSE_SPLINES virtual void DoDrawSpline( wxList *points ); +#endif // Resolution in pixels per logical inch virtual wxSize GetPPI() const; diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 7735312440..af286ba08b 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -1159,7 +1159,7 @@ int wxWindowDC::GetDepth() const return -1; } -#if wxUSE_SPLINE +#if wxUSE_SPLINES // ----------------------------------- spline code ---------------------------------------- void wx_quadratic_spline(double a1, double b1, double a2, double b2, diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index 7735312440..af286ba08b 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -1159,7 +1159,7 @@ int wxWindowDC::GetDepth() const return -1; } -#if wxUSE_SPLINE +#if wxUSE_SPLINES // ----------------------------------- spline code ---------------------------------------- void wx_quadratic_spline(double a1, double b1, double a2, double b2,