X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07b8d7ecc39cfc6cce17156b91c6de1cfb56ce5b..e2b87f38d9092b56591728558f2cc13cac6a58af:/include/wx/gtk1/notebook.h?ds=sidebyside diff --git a/include/wx/gtk1/notebook.h b/include/wx/gtk1/notebook.h index b211142699..ec9ce37371 100644 --- a/include/wx/gtk1/notebook.h +++ b/include/wx/gtk1/notebook.h @@ -11,7 +11,7 @@ #ifndef __GTKNOTEBOOKH__ #define __GTKNOTEBOOKH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif @@ -39,14 +39,14 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "notebook"); + const wxString& name = wxT("notebook")); // Create() function bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "notebook"); + const wxString& name = wxT("notebook")); // dtor virtual ~wxNotebook(); @@ -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() };