Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Menu Icon Missing
(1/1)
Biplab:
Hi all,
There is a missing icon in dynamically created menu. Please look at the following screenshot for details.
It seems to be a stupid wx bug and is present in Windows only. This works fine in Linux.
After patching (I've not applied the patch in repo), you'll get the following screenshot which is the correct behaviour.
Can anyone confirm whether this is a known wx bug or not? :? I don't want to patch a properly working code.
According to me, the bug is in wxMenu::Remove function which is supposed to remove the menu without deleting associated object. But I'm not very sure.
BTW, please inform me if it has already been discussed previously. :)
Thanks & Regards,
Biplab
stahta01:
I don't see the icon with 2.8.3 and C::B with no patches on either one.
I am trying it with patches on C::B now, it still did not show the icon with my patches on C::B and wxW2.8.3.
Trying, 2.8 branch CVS and C::B with patches now,
Tim S
Biplab:
Many thanks Tim for your reply. :)
If you wish, please apply the attached patch. It will fix the issue.
The strange thing is, the icon is available in Linux without any patch, which points that this could be a wx bug.
Please feel free to ask any doubts regarding my patch.
Thanks & Regards,
Biplab
[attachment deleted by admin]
Navigation
[0] Message Index
Go to full version