X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/401eb3dec29c09b9afcc843842cba48b33a5089b..31eefb998d894e3b566e13714fa53186101829a1:/include/wx/gtk1/notebook.h diff --git a/include/wx/gtk1/notebook.h b/include/wx/gtk1/notebook.h index d65e1a1479..2151aa93c5 100644 --- a/include/wx/gtk1/notebook.h +++ b/include/wx/gtk1/notebook.h @@ -5,13 +5,13 @@ // Modified by: // RCS-ID: $Id$ // Copyright: (c) Julian Smart and Robert Roebling -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __GTKNOTEBOOKH__ #define __GTKNOTEBOOKH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif @@ -122,11 +122,17 @@ 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) DECLARE_EVENT_TABLE() };