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 » ArrayCtrl, HeaderCtrl & GridCtrl » BUG: HeaderCtrl::Serialize
BUG: HeaderCtrl::Serialize [message #27345] Tue, 13 July 2010 12:32 Go to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
A call is missing in HeaderCtrl::Serialize that prevents proper layout refreshing after Serializing (Loading).

A simple fix. Line 759 in HeaderCtrl.cpp needs a ReCompute() added:
if (s.IsLoading()) {
   ReCompute(); // New additon
   Refresh();
   WhenLayout()
}

The problem is only apparent if the HeaderCtrl is already visible to the user, which is presumably why it was never noticed before.
Re: BUG: HeaderCtrl::Serialize [message #27426 is a reply to message #27345] Sat, 17 July 2010 10:12 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks.

Mirek
Previous Topic: inconsistency causes crash
Next Topic: GridCtrl and diff Edit()'s per row, same column
Goto Forum:
  


Current Time: Thu Mar 28 16:34:04 CET 2024

Total time taken to generate the page: 0.01221 seconds