From d54e4256740c8d08f0bec44b54b18fd56bdad7d6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 15 May 1999 12:47:50 +0000 Subject: [PATCH] typo in dcclient.cpp corrected (wxUSE_SPLINE => wxUSE_SPLINES) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/dcclient.h | 2 ++ include/wx/gtk1/dcclient.h | 2 ++ src/gtk/dcclient.cpp | 2 +- src/gtk1/dcclient.cpp | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) 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, -- 2.45.2