Home » Developing U++ » UppHub » TabBar. Uninitialized member
TabBar. Uninitialized member [message #19877] |
Thu, 29 January 2009 05:39  |
Novo
Messages: 1430 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
|
|
|
Goto Forum:
Current Time: Fri May 02 22:35:47 CEST 2025
Total time taken to generate the page: 0.02538 seconds
|