// the fold panel area
- m_foldPanel = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL);
+ m_foldPanel = new wxPanel(this, wxID_ANY, position, size, wxNO_BORDER|wxTAB_TRAVERSAL);
// the extra area for some icons / context menu etc
int value = 0;
// assumed here that all the panels that are expanded
- // are positioned after eachother from 0,0 to end.
+ // are positioned after each other from 0,0 to end.
for(size_t j = 0; j < m_panels.GetCount(); j++)
{