Files
wxWidgets/demos
Paxipu 057160670d Fix redrawing in "life" demo for the platforms without wxClientDC
Clicking or dragging in the Life canvas updated the Life object but drew
the affected cells straight onto a wxClientDC. Where that does not work
the population counter went up while the grid stayed unchanged, and the
cells only appeared once something else forced a repaint -- resizing the
window, for instance.

Refresh the affected cell's rectangle instead and let the existing paint
handler draw it from the Life object, which is where every other update
to the grid already comes from.

Closes #26922.

Assisted-by: Claude
2026-08-26 17:26:48 +02:00
..
2026-08-26 00:37:58 -07:00
2026-07-09 15:08:08 +02:00
2026-07-09 15:08:08 +02:00
2026-07-09 15:08:08 +02:00
…