Browse Source

Other half of the change to fix the python bindings.

Morgul 14 years ago
parent
commit
e7924ac0a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/Core/Python/EventListenerInstancer.cpp

+ 2 - 2
Source/Core/Python/EventListenerInstancer.cpp

@@ -34,9 +34,9 @@ namespace Core {
 namespace Python {
 
 // Instance and event listener object
-Rocket::Core::EventListener* EventListenerInstancer::InstanceEventListener(const Rocket::Core::String& value)
+Rocket::Core::EventListener* EventListenerInstancer::InstanceEventListener(const Rocket::Core::String& value, Element* element)
 {
-	return new EventListener(value);
+	return new EventListener(value, element);
 }
 
 // Releases this event listener instancer