Feature #3332 2007-04-10 12:13

byo

Add creation mode for wxToolBar

When resource is in source mode, wxToolBar may be created in following modes:

- Using wxFrame::CreateToolBar - using new wxToolBar and then calling wxFrame::SetToolBar - Create toolbar using new wxToolBar and don't associate it with frame (so it may be used in things like wxAUI)

The second mode is not required since default implementation of wxFrame::CreateToolBar just calls newwxToolBar and it's behavior may be changed by overriding virtual wxFrame::OnCreateToolBar member.

The third approach will require allowing more than one toolbars in one resource (but only one may be created in first or second mode to avoid memory leaks)

Category
RAD
Status
Open
Close date
 
Assigned to
byo