Version: 2.9.4
Public Member Functions
wxPersistentTreeBookCtrl Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/persist/treebook.h>

Inheritance diagram for wxPersistentTreeBookCtrl:

Detailed Description

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.

List of all members.


Constructor & Destructor Documentation

wxPersistentTreeBookCtrl::wxPersistentTreeBookCtrl ( wxTreebook book)

Constructor.

Parameters:
bookThe associated tree book control.

Member Function Documentation

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.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines