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 » Developing U++ » UppHub » TabBar. Uninitialized member
TabBar. Uninitialized member [message #19877] Thu, 29 January 2009 05:39 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
In the code below, which is called indirectly from TabBar::TabBar(), sz is not initialized.

bool TabScrollBar::IsScrollable() const
{
	// Note: sz already 'fixed'
	return total > sz.cx && sz.cx > 0;
}


That can be reproduced using DockingExample1. As long as Size() is not initialized by design, it should be initialized explicitly in TabBar::TabBar().


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cairo
Next Topic: OfficeAutomation documented
Goto Forum:
  


Current Time: Sat Apr 27 07:56:35 CEST 2024

Total time taken to generate the page: 0.03103 seconds