logger->SetTimestamp( NULL );
// this will create a grid and, by default, an associated grid
- // table for string gs_dataBugsGrid
+ // table for strings
grid->CreateGrid( 100, 100 );
grid->SetRowSize( 0, 60 );
gd.severity = Sev_Normal;
}
}
+ break;
case Col_Summary:
gd.summary = value;
grid->SetColAttr(Col_Priority, attrRangeEditor);
grid->SetColAttr(Col_Severity, attrCombo);
- grid->AutoSizeColumns();
+ grid->AutoSize();
-#if defined __WXMOTIF__
- // MB: the grid isn't getting a sensible default size under wxMotif
- int cw, ch;
- GetClientSize( &cw, &ch );
- grid->SetSize( cw, ch );
-#endif
+ Fit();
}