X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b656febdf03cfa90ed14151cdf3d56a685f8af74..ada8f807758339fe6a80070fe0935d87496dbe57:/include/wx/gtk/notebook.h diff --git a/include/wx/gtk/notebook.h b/include/wx/gtk/notebook.h index 4b297ddf32..45d6eecfbf 100644 --- a/include/wx/gtk/notebook.h +++ b/include/wx/gtk/notebook.h @@ -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)