mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
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