User forums > Using Code::Blocks

AuiToolbar in wxSmith without DefaultPane()

(1/1)

danselmi:
Hi

Not sure if this is a bug in wxSmith.

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

* Create new wxWidgets Project
* set wxSmith as preferred GUI builder
* FrameBased
* In wxSmith add a wxAuiManager to the frame
* add a wxAuiToolbar to the AuiManager
* add an item to the toolbarr
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());
--- End code ---
How can a make wxSmith to not generate the call of DefaultPane()?

Thanks for your help in advance.

regards, danselmi

danselmi:
So it is really a bug in wxSmith. It came with rev. 8765.
Corrected in rev. 9009.

Navigation

[0] Message Index

Go to full version