]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/layout/layout.cpp
added wxGridCellEditor::StartingClick(), used by BoolEditor
[wxWidgets.git] / samples / layout / layout.cpp
index 5b55468ada0da775a8d9bb893b0cdc56923220c2..1b5fa69511271f3ca0351a177d6e666419a77f45 100644 (file)
@@ -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);