Protect the TNewChainDlg constructor in case the arguments p=0 and main=0. This happen when the default constructor is called from the documentation system.
Protect the TNewChainDlg constructor in case the arguments p=0 and main=0.
This happen when the default constructor is called from the documentation system.


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@12950 27541ba8-7e3a-0410-8455-c3a389f83636

dawehner/root,bbannier/ROOT,dawehner/root,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT