wxWidgets/include/wx/persist
Vadim Zeitlin d97c055514 Introduce platform-dependent wxTLWGeometry class
Previously, TLW geometry was implicitly defined as just its position,
size and the maximized/iconized state by wxPersistentTLW code. This
already wasn't enough for wxGTK which added the decoration sizes to the
geometry being saved/restored, but this had to be done using conditional
compilation, which was not ideal. And it didn't allow using an entirely
different geometry representation as will be done for wxMSW soon.

Change the code to use wxTLWGeometry class defining the geometry, as
used by the current port, explicitly and move wxPersistentTLW logic into
it, as wxPersistentXXX classes are supposed to be very simple, which
wasn't really the case.

Also provide public SaveGeometry() and RestoreToGeometry() methods in
wxTopLevelWindow, which can be useful even to people not using
wxPersistentTLW for whatever reason.

There should be no changes in behaviour so far.
2018-04-29 19:51:10 +02:00
..
bookctrl.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
dataview.h Minor clean up of wxPersistentDataViewCtrl 2017-12-15 15:26:32 +01:00
splitter.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
toplevel.h Introduce platform-dependent wxTLWGeometry class 2018-04-29 19:51:10 +02:00
treebook.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
window.h Remove MSVC6 support. 2014-05-15 22:32:17 +00:00