+
+ // Our transparent children should use our background if we have it,
+ // otherwise try to restore m_inheritBgCol to some reasonable value: true
+ // if we also have non-default background colour or false otherwise.
+ m_inheritBgCol = bmp.IsOk() || UseBgCol();