-void GridFrame::About( wxCommandEvent& WXUNUSED(ev) )
-{
- (void)wxMessageBox( "\n\nwxGrid demo \n\n"
- "Michael Bedward \n"
- "mbedward@ozemail.com.au \n\n",
- "About",
- wxOK );
-}
-
-
-void GridFrame::OnSize( wxSizeEvent& WXUNUSED(ev) )
-{
- if ( grid && logWin )
- {
- int cw, ch;
- GetClientSize( &cw, &ch );
-
- int gridH = ch - 90;
- int logH = 80;
- if ( gridH < 0 )
- {
- gridH = ch;
- }
-
- grid->SetSize( 0, 0, cw, gridH );
- logWin->SetSize( 0, gridH + 10, cw, logH );
- }
-}
-
-void GridFrame::OnQuit( wxCommandEvent& WXUNUSED(ev) )
-{
- Close( TRUE );
-}
-
-