- // mpLayout->AddBar( CreateTextCtrl(name),// bar window
- mpLayout->AddBar( new wxTextCtrl(this, -1, name),// bar window
- sizes, i % MAX_PANES,// alignment ( 0-top,1-bottom, etc)
- 0, // insert into 0th row (vert. position)
- 0, // offset from the start of row (in pixels)
- name // name to refere in customization pop-ups
+ // mpLayout->AddBar( CreateTextCtrl(name), // bar window
+ mpLayout->AddBar( new wxTextCtrl(this, wxID_ANY, name), // bar window
+ sizes, i % MAX_PANES, // alignment ( 0-top,1-bottom, etc)
+ 0, // insert into 0th row (vert. position)
+ 0, // offset from the start of row (in pixels)
+ name // name to refere in customization pop-ups