diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-12-08 16:32:27 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-12-08 16:32:27 +0100 |
commit | c8b549abe1c85700c91e805e51b677a49ed5fd1d (patch) | |
tree | cd7c4053123335b3af203b6aaf6cdd99da5fa222 /test/form.cc | |
parent | 9e9dd0866570bcded7a26f0cbf1c0134c35e81d6 (diff) | |
parent | 4e93afcf54baaa4d2b689357ec47fd3ec585e44f (diff) |
merge
Diffstat (limited to 'test/form.cc')
-rw-r--r-- | test/form.cc | 6 |
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 () |