Hi, quick question, I'm trying to remove all properties and categories from a wxPoropertyGridManager, but running Clear() on it results to nothing, am I missing something or is it not yet implemented?
Yes, it is implemented and should work. You can try calling manager->GetPage(x)->Clear() or manager->GetGrid()->Clear() to see if they work better. Anyway, I'm going to need more info if I'm going to look into this.
Hi, GetGrid()->Clear() worked well, thanks for that one.
Don't know why the just Clear() didn't work, and don't know what information you need too look into it, but what I tried to do was just clear all the properties and categories if any, to insert other ones.
Thanks for the help.
Difference with manager->Clear() is that it removes all pages, while grid->Clear() instead deletes all properties on the current page. There is probably some subtle bug here that I may need to look into.
Log in to post a comment.