ecere:Window: Fixed nulling out the 'activeChild' member of parent when destroying...
authorJerome St-Louis <jerome@ecere.com>
Mon, 17 Oct 2011 06:12:21 +0000 (02:12 -0400)
committerJerome St-Louis <jerome@ecere.com>
Mon, 17 Oct 2011 06:12:21 +0000 (02:12 -0400)
commitec95f80772a29a91882105344bab2183fbda4e05
treea389b1409ab39a1efd38067b87877a1b3871ca71
parent7068fb3ee8c1a0b2f190312b0543e4069da8cb5e
ecere:Window: Fixed nulling out the 'activeChild' member of parent when destroying a child window that has not yet been created
It seems the parent's active child can still get modified if all windows are not yet created
Window::ActivateEx checks for '!destroyed', but does not check for 'created'
(Adding && !created to that ActivateEx check was an alternative fix, but this fix seemed safer)
ecere/src/gui/Window.ec