浏览代码

Fixed moving window crash in Windows.

Taddeus Kroes 13 年之前
父节点
当前提交
3d940d14de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/testapp.py

+ 1 - 1
tests/testapp.py

@@ -95,7 +95,7 @@ def create_context_window(w, h, callback):
         root.set_position(*event.get_coords())
         root.set_size(event.width, event.height)
         overlay.set_size(event.width, event.height)
-        draw()
+        refresh()
 
     def handle_key(win, event):
         """Handle key event. 'f' toggles fullscreen, 'q' exits the program, 'b'