News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Menu Icon Missing

Started by Biplab, April 02, 2007, 07:58:54 AM

Previous topic - Next topic

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
Be a part of the solution, not a part of the problem.

stahta01

#1
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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

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]
Be a part of the solution, not a part of the problem.