Side effects in wxPG if fixed IDs of wxPG subcontrols clash with menu item IDs
|Reported by:||frm||Owned by:||AW|
wxPropertyGrid subcontrols use some "magic" ID values (1, 2, etc) as defined in propgrid.h and in other functions (e.g. wxLongStringProperty::DisplayEditorDialog).
These fixed IDs may clash with user-defined IDs leading to strange bugs/behaviours. This is undocumented and in general, is not a good practice, so wxID_ANY or wxNewId() should be used instead.
Change History (3)
comment:1 Changed 11 months ago by awi
- Keywords fixed added
- Patch set
- Summary changed from dynamically-generated IDs in PropertyGrid subcontrols to Side effects in wxPG if fixed IDs of wxPG subcontrols clash with menu item IDs
- Version set to dev-latest