Size size;
if(window)
{
- stopwatching(window, text);
+ stopwatching(window, caption);
+ stopwatching(window, disabled);
delete window;
}
window = value;
{
if(window && (window == master || window == parent))
{
- stopwatching(window, text);
+ stopwatching(window, caption);
+ stopwatching(window, disabled);
delete window;
}
CommonControl::OnDestroy();
{
if(window)
{
- stopwatching(window, text);
+ stopwatching(window, caption);
+ stopwatching(window, disabled);
delete window;
}
}