diff --git a/scripts/demo1.py b/scripts/demo1.py index 93a7fe7..5a1c37e 100755 --- a/scripts/demo1.py +++ b/scripts/demo1.py @@ -48,12 +48,12 @@ def rubberband_line(x, y, down, up): hdc.rop2 = upiwin.R2_XORPEN if not down: hdc.move_to(origin_x, origin_y) - hdc_line_to(current_x, current_y) + hdc.line_to(current_x, current_y) current_x = x current_y = y if not up: hdc.move_to(origin_x, origin_y) - hdc_line_to(current_x, current_y) + hdc.line_to(current_x, current_y)