Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
720634e
)
ecere/gui/ToolTips: Fixed modifying the CommonControl's toolTip property
author
Jerome St-Louis
<jerome@ecere.com>
Sun, 5 Feb 2012 06:27:04 +0000
(13:27 +0700)
committer
Jerome St-Louis
<jerome@ecere.com>
Sun, 5 Feb 2012 06:27:04 +0000
(13:27 +0700)
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
d8a1025
..
f282be7
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-9348,9
+9348,11
@@
public class CommonControl : Window
property_category "Appearance"
set
{
+ if(created) CommonControl::OnDestroy();
delete toolTip;
toolTip = value ? ToolTip { tip = value; } : null;
incref toolTip;
+ if(created) CommonControl::OnCreate();
}
get { return toolTip ? toolTip.tip : null; }
}