Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: danselmi on April 25, 2013, 09:28:38 pm

Title: AuiToolbar in wxSmith without DefaultPane()
Post by: danselmi on April 25, 2013, 09:28:38 pm
Hi

Not sure if this is a bug in wxSmith.

To reproduce(C::B svn 2997 on winxp):

The resulting toolbar gets a caption when docked.
The relevant generated code is:
Code
uiManager1->AddPane(AuiToolBar1, wxAuiPaneInfo().Name(_T("PaneName")).ToolbarPane().DefaultPane().Caption(_("Pane caption")).Layer(10).Top().Gripper());
How can a make wxSmith to not generate the call of DefaultPane()?

Thanks for your help in advance.

regards, danselmi
Title: Re: AuiToolbar in wxSmith without DefaultPane()
Post by: danselmi on April 28, 2013, 06:32:28 pm
So it is really a bug in wxSmith. It came with rev. 8765.
Corrected in rev. 9009.