X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56ac3e75d4ee0af27a3801de43072923f3226843..e195a54c313772c474170818f74fe50c322e568c:/samples/layout/layout.cpp diff --git a/samples/layout/layout.cpp b/samples/layout/layout.cpp index 5b55468ada..1b5fa69511 100644 --- a/samples/layout/layout.cpp +++ b/samples/layout/layout.cpp @@ -275,7 +275,9 @@ void MyFrame::Draw(wxDC& dc, bool WXUNUSED(draw_bitmaps) ) dc.DrawRoundedRectangle(150, 150, 100, 50, 20); dc.DrawEllipse(250, 250, 100, 50); +#if wxUSE_SPLINES dc.DrawSpline(50, 200, 50, 100, 200, 10); +#endif // wxUSE_SPLINES dc.DrawLine(50, 230, 200, 230); dc.SetPen(* wxBLACK_PEN);