#include </home/zeitlin/src/wx/github/interface/wx/persist/treebook.h>
Persistence adapter for wxTreebook.
This adapter saves and restores the expanded branches of the wxTreeCtrl used by wxTreebook, in addition to saving and restoring the selection as implemented by the base wxPersistentBookCtrl class.
Public Member Functions | |
wxPersistentTreeBookCtrl (wxTreebook *book) | |
Constructor. | |
virtual void | Save () const |
Save the currently opened branches. | |
virtual bool | Restore () |
Restore the opened branches. |
wxPersistentTreeBookCtrl::wxPersistentTreeBookCtrl | ( | wxTreebook * | book | ) |
Constructor.
book | The associated tree book control. |
virtual bool wxPersistentTreeBookCtrl::Restore | ( | ) | [virtual] |
Restore the opened branches.
The book control must be initialized before calling this function, i.e. all of its pages should be already added to it.
Reimplemented from wxPersistentBookCtrl.
virtual void wxPersistentTreeBookCtrl::Save | ( | ) | const [virtual] |
Save the currently opened branches.
Reimplemented from wxPersistentBookCtrl.