#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; protected: std::vector m_highlighted; DECLARE_EVENT_TABLE() void OnPageChanged(wxAuiNotebookEvent& event); void OnNavigationKey(wxNavigationKeyEvent& event); }; #endif //__AUI_NOTEBOOK_EX_H__