1. deleting the last page sets selection to -1 2. deleting the selected page unselects it first 3. adding page calls Layout() on it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1. deleting the last page sets selection to -1 2. deleting the selected page unselects it first 3. adding page calls Layout() on it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775