fix for discrepancies between wxNotebookEvent and wxNotebook GetSelection() results

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-05-22 14:01:02 +00:00
parent f139dfe8e3
commit 36202885d4
5 changed files with 130 additions and 52 deletions

View File

@@ -160,7 +160,10 @@ public:
wxImageList* m_imageList;
bool m_ownsImageList;
wxList m_pages;
int m_lastSelection; /* hack */
// for reasons explained in gtk/notebook.cpp we store the current
// selection internally instead of querying the notebook for it
int m_selection;
private:
DECLARE_DYNAMIC_CLASS(wxNotebook)