#include "wx/aui/tabart.h"
#include "wx/aui/framemanager.h"
#include "wx/bookctrl.h"
+#include "wx/containr.h"
class wxAuiNotebook;
public:
wxWindow* window; // page's associated window
wxString caption; // caption displayed on the tab
+ wxString tooltip; // tooltip displayed when hovering over tab title
wxBitmap bitmap; // tab's bitmap
wxRect rect; // tab's hit rectangle
bool active; // true if the page is currently active
bool SetPageText(size_t page, const wxString& text);
wxString GetPageText(size_t pageIdx) const;
+ bool SetPageToolTip(size_t page, const wxString& text);
+ wxString GetPageToolTip(size_t pageIdx) const;
+
bool SetPageBitmap(size_t page, const wxBitmap& bitmap);
wxBitmap GetPageBitmap(size_t pageIdx) const;
// we don't want focus for ourselves
// virtual bool AcceptsFocus() const { return false; }
- // Redo sizing after thawing
- virtual void Thaw();
-
//wxBookCtrlBase functions
virtual void SetPageSize (const wxSize &size);
// choose the default border for this window
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+ // Redo sizing after thawing
+ virtual void DoThaw();
+
// these can be overridden
// update the height, return true if it was done or false if the new height