Changes in SVGUIControl
authorlbessard
Fri, 04 Apr 2008 17:54:05 +0200
changeset 140 e0072be41a04
parent 139 09923f7ee87e
child 141 3db23eda0e83
Changes in SVGUIControl
plugins/svgui/svgui.py
--- a/plugins/svgui/svgui.py	Fri Apr 04 15:42:03 2008 +0200
+++ b/plugins/svgui/svgui.py	Fri Apr 04 17:54:05 2008 +0200
@@ -420,7 +420,7 @@
   {
     wxString focusedId = container->GetFocusedElement();
     SVGUITextCtrl* text = (SVGUITextCtrl*)GetElementById(focusedId);
-    text->SendKeyEvent(event);
+    text->OnChar(event);
 """
         for element in elements:
             element_type = GetElementType(element)
@@ -446,7 +446,7 @@
   {
     wxString focusedId = container->GetFocusedElement();
     SVGUIScrollBar* scrollbar = (SVGUIScrollBar*)GetElementById(focusedId);
-    scrollbar->SendMouseEvent(event);
+    scrollbar->OnLeftDown(event);
 """
         for element in elements:
             element_type = GetElementType(element)