Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Biplab on April 02, 2007, 07:58:54 am
-
Hi all,
There is a missing icon in dynamically created menu. Please look at the following screenshot for details.
(http://img101.imageshack.us/img101/3850/cbmenunotpatchedlc8.png)
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.
(http://img403.imageshack.us/img403/3549/cbmenupatchedvz3.png)
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
-
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
-
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]