-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxTreeCtrl doesn't SetItemImage #80
Comments
If I do not pass the index of the images to AddRoot() I am able to use SetItemImage()
Are the index image parameters to AddRoot() considered "default" values and should SetItemImage() take precedence and override the previously established image index values? It's easy enough to workaround however perhaps this is not the intended behavior? |
Am I using the AddRoot() method as intended? Thank you for your feedback. :-) |
More appropriate documentation about wxTreeCtrl::AddRoot from wxWidgets docs:
http://docs.wxwidgets.org/trunk/classwx_tree_ctrl.html#a1fa4eecee7fca8ea6d69903be8e6c285 I have to improve the reference generator to also extract the large description. I think I already did that on the new code generator, I just need to implement code generation of classes to start using it for wxPHP. Sorry for the delay on this response. |
Perhaps I am not calling SetItemImage() with expected parameters? Is there caching? The following code prints out to the console the expected information and bolds the item's text when expanded and removes the bold style when collapsed however the image doesn't change from open to closed when SetItemImage() is called.
Below is the output from the console:
The text was updated successfully, but these errors were encountered: