summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/THyperLink.php
diff options
context:
space:
mode:
authorxue <>2006-01-20 04:20:39 +0000
committerxue <>2006-01-20 04:20:39 +0000
commit138dbc23381a82eaf17a2685cc3bdb54ad8b7f51 (patch)
tree273ff3e0fa183830178d8f51dff4643010baccd3 /framework/Web/UI/WebControls/THyperLink.php
parent381d966198453626832c97447deb54f9cc4b06dd (diff)
Added TImage and THyperLink demos.
Diffstat (limited to 'framework/Web/UI/WebControls/THyperLink.php')
-rw-r--r--framework/Web/UI/WebControls/THyperLink.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php
index c47cc1c4..4992dfd3 100644
--- a/framework/Web/UI/WebControls/THyperLink.php
+++ b/framework/Web/UI/WebControls/THyperLink.php
@@ -72,7 +72,7 @@ class THyperLink extends TWebControl
}
else
{
- $image=new TImage;
+ $image=Prado::createComponent('System.Web.UI.WebControls.TImage');
$image->setImageUrl($imageUrl);
if(($toolTip=$this->getToolTip())!=='')
$image->setToolTip($toolTip);