User forums > Using Code::Blocks

Script CB : CallMenu ?

<< < (3/3)

LETARTARE:
Hello @BlueHazzard,
thank you to worry about this problem.
For I do not know further, but I can do testing.
Good job.

BlueHazzard:
Hi.. I have looked into it. On linux this bug don't occur, so it possibly is a wxWidgets MSW bug.
The problem is definitely that it doesn't can find the event handler function for the Menu Entry with the given id.. I have tried to manually connect the event handler to the main window,  but it didn't helped. Also calling the event handler of the main window and hoping the event will propagate upwards to the menu event handler didn't worked. I'm not a wxWidgets expert, and debugging event things is a pain, because you don't know in which event handler you are if you step through the code.

So i can't find a solution for this at the moment. If i will find some time, i will look future, but this is really annoying...
Probably the best and most elegant way to fix this bug would be to export every menu call function as squirrel function (the underlying functions, not the event handler).

greetings...

LETARTARE:
@BlueHazzard
Thank you for your search and I hope that a solution will be found to Win.
Best regards

Navigation

[0] Message Index

[*] Previous page

Go to full version