U++ framework
Do not panic. Ask here before giving up.

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: 1431
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: Sun Apr 26 16:32:13 GMT+2 2026

Total time taken to generate the page: 0.00574 seconds