Added Bil Simser to wxBook page; fixed bug in notebook when deleting pages

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-12-28 12:45:48 +00:00
parent 3f399a69cc
commit 9b6b575004
2 changed files with 9 additions and 0 deletions

View File

@@ -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:<P> So far, the following people are interested in taking part in this project:<P>
<ul> <ul>
<li><a href="mailto:bsimser@home.com">Bil Simser</a>. 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 <a href="http://lightning.prohosting.com/~wxbuild" target=_new>
wxBuilder</a>, an IDE for wxWindows.
<li><a href="mailto:tomr@scitechsoft.com">Tom Ryan</a>, SciTech Software. <li><a href="mailto:tomr@scitechsoft.com">Tom Ryan</a>, SciTech Software.
<li><a href="mailto:robin@alldunn.com">Robin Dunn</a>. <i>Chapter on wxPython.</i> <li><a href="mailto:robin@alldunn.com">Robin Dunn</a>. <i>Chapter on wxPython.</i>
<li><a href="mailto:mheck@www.surveyorcorp.com">Matt Heck</a>, SurveyorCorp Inc. <li><a href="mailto:mheck@www.surveyorcorp.com">Matt Heck</a>, SurveyorCorp Inc.

View File

@@ -314,6 +314,9 @@ bool wxNotebook::DeletePage(int nPage)
// no selection if the notebook became empty // no selection if the notebook became empty
m_nSelection = -1; m_nSelection = -1;
} }
else
m_nSelection = TabCtrl_GetCurSel(m_hwnd);
return TRUE; return TRUE;
} }
@@ -329,6 +332,8 @@ bool wxNotebook::RemovePage(int nPage)
if ( m_aPages.IsEmpty() ) if ( m_aPages.IsEmpty() )
m_nSelection = -1; m_nSelection = -1;
else
m_nSelection = TabCtrl_GetCurSel(m_hwnd);
return TRUE; return TRUE;
} }