Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
First time UI improvements
oBFusCATed:
There are no too many changes between the two, so it won't require full recompile if you apply the change manually:)
MortenMacFly:
Well - for the Manager->Shutdown issue: This would work like this:
Instead of:
--- Code: ---void ToDoListView::DestroyControls(bool control)
{
Manager::Get()->GetAppWindow()->RemoveEventHandler(this);
if (control)
{
m_pPanel->Destroy();
m_pPanel = nullptr;
}
}
--- End code ---
...use:
--- Code: ---void ToDoListView::DestroyControls(bool control)
{
if ( !Manager::Get()->IsAppShuttingDown() )
{
Manager::Get()->GetAppWindow()->RemoveEventHandler(this);
if (control)
{
m_pPanel->Destroy();
m_pPanel = nullptr;
}
}
}
--- End code ---
This seems to fix the original error and avoid he assertions.
(Sorry - I didn't find the original post.)
As for the startup-thing:
The original patch works fine here on Windows and really is something to commit from my point of view...
oBFusCATed:
Here are the topics:
http://forums.codeblocks.org/index.php/topic,16269.0.html
http://forums.codeblocks.org/index.php/topic,16270.0.html
I'll commit the first-ui patch and will do some testing on the unloading patches...
oBFusCATed:
In svn...
Navigation
[0] Message Index
[*] Previous page
Go to full version