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 » TreeCtrl » FIX - Single Click does not open/close items
Re: FIX - Single Click does not open/close items [message #13527 is a reply to message #13500] Sat, 12 January 2008 19:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
mrjt wrote on Fri, 11 January 2008 04:54

Nice one.

And you are correct, there was no check for withopen/canopen. I've attached a copy of TreeCtrl.cpp (modified from SVN revision 89) that includes both fixes.

My changes:
TreeCtrl::Clear() - Root node now has canopen = true by default.
TreeCtrl::Open() - Check for canopen added. Nodes can still be closed even with canopen = false.


Thanks, patch applied.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to turn of tool-tips please?
Next Topic: A [TreeCtrl] bug
Goto Forum:
  


Current Time: Sun May 12 10:27:50 CEST 2024

Total time taken to generate the page: 0.02150 seconds