--- 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)