Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » ClearModifyDeep() error ??
ClearModifyDeep() error ?? [message #57013] Fri, 14 May 2021 12:19 Go to next message
Didier is currently offline  Didier
Messages: 681
Registered: November 2008
Location: France
Contributor
Hello,

While browsing through code I stumbled on Ctrl::ClearModifyDeep() code
and I think q->ClearModify() should be replaced by q->ClearModifyDeep() like following:
Otherwise the 'deep' stops at first level and does not go further

void Ctrl::ClearModifyDeep()
{
	GuiLock __;
	ClearModify();
	for(Ctrl *q = firstchild; q; q = q->next)
		q->ClearModifyDeep();    ----- CHANGE HERE -----
}

[Updated on: Fri, 14 May 2021 12:20]

Report message to a moderator

Re: ClearModifyDeep() error ?? [message #57019 is a reply to message #57013] Sat, 15 May 2021 09:29 Go to previous message
mirek is currently offline  mirek
Messages: 13990
Registered: November 2005
Ultimate Member
Thank you!
Previous Topic: TCP socket Listen port via VPN
Next Topic: Deprecating THISBACK
Goto Forum:
  


Current Time: Tue Jul 16 18:18:51 CEST 2024

Total time taken to generate the page: 0.01843 seconds