aboutsummaryrefslogtreecommitdiff
path: root/test/form.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-08 16:32:27 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-08 16:32:27 +0100
commitc8b549abe1c85700c91e805e51b677a49ed5fd1d (patch)
treecd7c4053123335b3af203b6aaf6cdd99da5fa222 /test/form.cc
parent9e9dd0866570bcded7a26f0cbf1c0134c35e81d6 (diff)
parent4e93afcf54baaa4d2b689357ec47fd3ec585e44f (diff)
merge
Diffstat (limited to 'test/form.cc')
-rw-r--r--test/form.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/form.cc b/test/form.cc
index 5e8e0471..ab9994a9 100644
--- a/test/form.cc
+++ b/test/form.cc
@@ -60,7 +60,7 @@ Form::RadioButtonResourceDecorator::RadioButtonResourceDecorator
this->values = new const char*[n + 1];
for(int i = 0; i < n; i++)
this->values[i] = strdup (values[i]);
- values[n] = 0;
+ this->values[n] = 0;
}
Form::RadioButtonResourceDecorator::~RadioButtonResourceDecorator ()
@@ -165,9 +165,9 @@ Form::FormClickedReceiver::~FormClickedReceiver ()
}
void Form::FormClickedReceiver::clicked (ButtonResource *resource,
- int buttonNo, int x, int y)
+ dw::core::EventButton *event)
{
- form->send (name, value, x, y);
+ form->send (name, value, event->xCanvas, event->yCanvas);
}
Form::Form ()