aardappel / treesheets

TreeSheets : Free Form Data Organizer (see strlen.com/treesheets)
zlib License
2.58k stars 193 forks source link

`wxSizeEvent` should not trigger a repaint of the document #593

Closed tobiolo closed 8 months ago

tobiolo commented 8 months ago

The document is rendered into a scrolled window. If the size of the scrolled window for the canvas is changed, the rendered document can stay the same as it can be navigated by the scrollbars.

This should avoid the expensive Document::Refresh() call.

aardappel commented 8 months ago

But if it gets bigger, what causes the new area to be rendered? I presume that still happens?