/*
* File: grid.cpp
* Purpose: wxGrid test
+
+ PLEASE NOTE: this sample is deprecated. See
+ newgrid for a sample based on the newer wxGrid API.
+
* Author: Julian Smart
* Created: 1995
* Updated:
// Show the frame
frame->Show(TRUE);
+ wxMessageBox(wxT("Please note: this is an obsolete sample using the old wxGrid API.\nPlease compile newgrid instead."), wxT("wxGrid"), wxICON_INFORMATION|wxOK, frame);
+
SetTopWindow(frame);
return TRUE;
}
else
grid->SetDividerPen(wxNullPen);
-grid->Refresh();
+ grid->Refresh();
}
void MyFrame::LeftCell(wxCommandEvent& WXUNUSED(event))