X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..a90d7e684a686ac02d3b2453d62615511b04cc32:/include/wx/gtk1/notebook.h diff --git a/include/wx/gtk1/notebook.h b/include/wx/gtk1/notebook.h index 5d6abe9932..2151aa93c5 100644 --- a/include/wx/gtk1/notebook.h +++ b/include/wx/gtk1/notebook.h @@ -5,7 +5,7 @@ // Modified by: // RCS-ID: $Id$ // Copyright: (c) Julian Smart and Robert Roebling -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __GTKNOTEBOOKH__ @@ -122,12 +122,15 @@ public: // selection internally instead of querying the notebook for it int m_selection; + // flag set to TRUE while we're inside "switch_page" callback + bool m_inSwitchPage; + protected: // remove one page from the notebook but do not destroy it virtual wxNotebookPage *DoRemovePage(int nPage); private: - + // the padding set by SetPadding() int m_padding; DECLARE_DYNAMIC_CLASS(wxNotebook)