InterviewSolution
Saved Bookmarks
| 1. |
How Do I Remove A Component, Or All Components Of A Certain Type From A Wxframe/wxpanel? |
|
Answer» If your CONTAINER is using a SIZER, you can remove all its children with this function: Toggle line numbers
To only remove children of a particular kind (ie.wxStaticText), you COULD add a parameter to the method, and do an ISINSTANCE() test. If your container is using a sizer, you can remove all its children with this function: Toggle line numbers To only remove children of a particular kind (ie.wxStaticText), you could add a parameter to the method, and do an isinstance() test. |
|