d97c055514
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. |
||
---|---|---|
.. | ||
addremovectrl.h | ||
eventloopsourcesmanager.h | ||
extfield.h | ||
fd.h | ||
fdiodispatcher.h | ||
fdioeventloopsourcehandler.h | ||
fdiohandler.h | ||
fdiomanager.h | ||
fileback.h | ||
filename.h | ||
flagscheck.h | ||
fontmgr.h | ||
fswatcher.h | ||
graphics.h | ||
icondir.h | ||
jsscriptwrapper.h | ||
launchbrowser.h | ||
markupparser.h | ||
markupparserattr.h | ||
menuradio.h | ||
notifmsg.h | ||
overlay.h | ||
pipestream.h | ||
preferences.h | ||
richtooltip.h | ||
sckaddr.h | ||
secretstore.h | ||
selectdispatcher.h | ||
socket.h | ||
streamtempinput.h | ||
textmeasure.h | ||
threadinfo.h | ||
timer.h | ||
tlwgeom.h | ||
uiaction.h | ||
window.h | ||
wxprintf.h |