if the page changed due to pressing Ctrl-TAB was vetoed, the current tab was still changed (although the current page stayed the same!)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-11-10 00:56:40 +00:00
parent ee29e26938
commit 6d979490a5
2 changed files with 18 additions and 46 deletions

View File

@@ -133,10 +133,8 @@ protected:
// remove one page from the notebook, without deleting
virtual wxNotebookPage *DoRemovePage(int nPage);
// helper functions
void ChangePage(int nOldSel, int nSel); // change pages
int m_nSelection; // the current selection (-1 if none)
// the current selection (-1 if none)
int m_nSelection;
DECLARE_DYNAMIC_CLASS(wxNotebook)
DECLARE_EVENT_TABLE()