Adding button to Debug Toolbar

Discussion about CodeLite development process and patches
ndivner
CodeLite Enthusiast
Posts: 37
Joined: Sun Mar 16, 2008 12:49 pm
Contact:

Adding button to Debug Toolbar

Post by ndivner »

Hi Eran,

I am running on WinXP and developing with Version 3.5.5383

I am adding a new button to end of the Debug Toolbar just after the "Step out" button. The new button is to enable me to toggle between "C" stepping and "Assembly instruction" stepping.
I can add the button ok but it is not visible until I use the gripper to detach the Toolbar when it immediately springs to life. The button then works as expected but on the next launch
it is back to having the Toolbar truncated again.

I have tried overriding the wxDefaultSize and using wxSize(800, -1) with no success.
Is there a size limit or something else that I am missing.

Your help much appreciated.

Best regards,

Noel.

PS I have disassembly now working nicely. Should have something for review soon
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Adding button to Debug Toolbar

Post by eranif »

hi,
its probably aui perspective issue. to view your button you need to reset the layout from:
perspective -> restore default layout
Eran
Make sure you have read the HOW TO POST thread
ndivner
CodeLite Enthusiast
Posts: 37
Joined: Sun Mar 16, 2008 12:49 pm
Contact:

Re: Adding button to Debug Toolbar

Post by ndivner »

Hi Eran,

"perspective -> restore default" layout did the magic.

I am now back in business.

Thank you,

Noel
Post Reply