News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[CB + wxSmith] delete functions when I delete graphical objects

Started by claudio, October 31, 2009, 11:52:52 AM

Previous topic - Next topic

claudio

Is it possibile to delete all the functions related to a specific object when I delete if from wxSmith?

Example:
I have a button with the related function for the onclick event. If I delete on wxSmith the button I'd like the function automatically deleted, so I can't mess up with nosense event from nonexisting objects.

Thank you.

MortenMacFly

Quote from: claudio on October 31, 2009, 11:52:52 AM
Is it possibile to delete all the functions related to a specific object when I delete if from wxSmith?
No. This would be dangerous as you would probably loose important code fragments (imagine you've modified a handler function to be used from other code, too etc). This is not supported therefore.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

claudio

Thanks for the answer.

Maybe it can ask, or maybe just comment those lines.