#include </home/zeitlin/src/wx/github/interface/wx/persist/toplevel.h>
Persistence adapter for wxTopLevelWindow.
This adapter saves and restores the geometry (i.e. position and size) and the state (iconized, maximized or normal) of top level windows. It can be used with both wxFrame and wxDialog.
Note that it does not save nor restore the window visibility.
Public Member Functions | |
wxPersistentTLW (wxTopLevelWindow *book) | |
Constructor. | |
virtual void | Save () const |
Save the current window geometry. | |
virtual bool | Restore () |
Restore the window geometry. |
wxPersistentTLW::wxPersistentTLW | ( | wxTopLevelWindow * | book | ) |
Constructor.
book | The associated window. |
virtual bool wxPersistentTLW::Restore | ( | ) | [virtual] |
Restore the window geometry.
Implements wxPersistentObject.
virtual void wxPersistentTLW::Save | ( | ) | const [virtual] |
Save the current window geometry.
Implements wxPersistentObject.