#ifndef __AUI_NOTEBOOK_EX_H__ #define __AUI_NOTEBOOK_EX_H__ #include class wxAuiTabArtEx; class wxAuiNotebookEx : public wxAuiNotebook { public: wxAuiNotebookEx(); virtual ~wxAuiNotebookEx(); void RemoveExtraBorders(); void SetExArtProvider(); // Basically identical to the AUI one, but not calling Update bool SetPageText(size_t page_idx, const wxString& text); void Highlight(size_t page, bool highlight = true); bool Highlighted(size_t page) const; void AdvanceTab(bool forward); bool AddPage(wxWindow *page, const wxString &text, bool select = false, int imageId = -1); protected: std::vector m_highlighted; DECLARE_EVENT_TABLE() void OnPageChanged(wxAuiNotebookEvent& event); }; #endif //__AUI_NOTEBOOK_EX_H__