diff --git a/docs/html/wxbook.htm b/docs/html/wxbook.htm
index c40507fe9a..f2f2fdde53 100644
--- a/docs/html/wxbook.htm
+++ b/docs/html/wxbook.htm
@@ -66,6 +66,10 @@ with a predefined number of points for chapters, indexing, editing, proof-readin
So far, the following people are interested in taking part in this project:
+- Bil Simser. Bil would like to coordinate
+the book. He's currently writing a book for WordWare Publishing (about his CDX library)
+and also has contacts at Sams and the Waite Group. Bil is writing
+wxBuilder, an IDE for wxWindows.
- Tom Ryan, SciTech Software.
- Robin Dunn. Chapter on wxPython.
- Matt Heck, SurveyorCorp Inc.
diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp
index 8f6ad71029..43b70d1dbb 100644
--- a/src/msw/notebook.cpp
+++ b/src/msw/notebook.cpp
@@ -314,6 +314,9 @@ bool wxNotebook::DeletePage(int nPage)
// no selection if the notebook became empty
m_nSelection = -1;
}
+ else
+ m_nSelection = TabCtrl_GetCurSel(m_hwnd);
+
return TRUE;
}
@@ -329,6 +332,8 @@ bool wxNotebook::RemovePage(int nPage)
if ( m_aPages.IsEmpty() )
m_nSelection = -1;
+ else
+ m_nSelection = TabCtrl_GetCurSel(m_hwnd);
return TRUE;
}