Update the width when items are expanded and collapsed and also take the expander width into account. Change m_ModelNotifier type to avoid casts when calling wxOSX-specific method on it. Closes #14939. Co-Authored-By: Vadim Zeitlin <vadim@wxwidgets.org>