Document change to wxGrid::ProcessTableMessage() signature

Update the documentation after the change in the previous commit and
improve it to make it more clear what this function does and when it
should be called.
This commit is contained in:
Vadim Zeitlin 2022-08-28 20:44:34 +02:00
parent 5b24439b56
commit 2dafdbbed0

View file

@ -3111,9 +3111,12 @@ public:
wxGridSelectionModes selmode = wxGridSelectCells);
/**
Receive and handle a message from the table.
Reacts to a message notifying about a change to the grid shape.
This function should be called by the wxGridTableBase-derived class to
notify the grid about any changes to its rows or columns.
*/
bool ProcessTableMessage(wxGridTableMessage& msg);
bool ProcessTableMessage(const wxGridTableMessage& msg);
///@}