diff --git a/wxPython/wxPython/lib/scrolledpanel.py b/wxPython/wxPython/lib/scrolledpanel.py index 80e2121918..3fb7704bc3 100644 --- a/wxPython/wxPython/lib/scrolledpanel.py +++ b/wxPython/wxPython/lib/scrolledpanel.py @@ -73,7 +73,7 @@ as a proper class (and the demo is now converted to just use it.) # is it before the left edge? if cpos.x < 0 and sppu_x > 0: - new_vs_x = vs_x + (cpos.x / sppu_x) + new_vs_x = vs_x + (cpos.x / sppu_x) # is it above the top? if cpos.y < 0 and sppu_y > 0: