Update wxPropertyGrid documentation

Mention that ChangePropertyValue() shouldn't be called from wxEVT_PG_CHANGED handler.

See #18502.
This commit is contained in:
Artur Wieczorek
2019-10-02 00:06:58 +02:00
parent 203e265d9b
commit 4489ddc13c
2 changed files with 10 additions and 4 deletions

View File

@@ -570,7 +570,10 @@ public:
/**
Changes value of a property, as if from an editor. Use this instead of
SetPropertyValue() if you need the value to run through validation
process, and also send the property change event.
process, and also send @c wxEVT_PG_CHANGED.
@remarks Since this function sends @c wxEVT_PG_CHANGED, it should not
be called from @c EVT_PG_CHANGED handler.
@return Returns @true if value was successfully changed.
*/