Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Close debugger toolbar programmatically
(1/1)
gringo:
I need to close the debugger toolbar when my plugin is activated, because it replaces the gdb's debug menu with an own debug menu, which activates an external debugger.
I tried to call wxMenuItem::Check(false) on the View->Toolbar->Debug menu item, but this didn't work.
Has anyone suggestions, how a can get rid of the debugger toolbar and why the calling of Check failed?
Best regards,
gringo
dmoore:
I don't think check propagates the wxCommandEvent that you will need to get the toolbar to hide.
try creating the event then calling:
::wxPostEvent(handler, event)
gringo:
Ok, this works, thank you.
Navigation
[0] Message Index
Go to full version