From 99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 31 Jan 2006 01:30:28 +0000 Subject: All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1. --- framework/Web/UI/WebControls/TImageButton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TImageButton.php') diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php index 72a7df61..8578ee83 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.php @@ -285,7 +285,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven * This method overrides the parent implementation and is invoked before render. * @param mixed event parameter */ - protected function onPreRender($param) + public function onPreRender($param) { parent::onPreRender($param); $this->getPage()->registerRequiresPostData($this); -- cgit v1.2.3