Indicated in the source and on initialisation that this is an obsolete sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* File: grid.cpp
|
* File: grid.cpp
|
||||||
* Purpose: wxGrid test
|
* Purpose: wxGrid test
|
||||||
|
|
||||||
|
PLEASE NOTE: this sample is deprecated. See
|
||||||
|
newgrid for a sample based on the newer wxGrid API.
|
||||||
|
|
||||||
* Author: Julian Smart
|
* Author: Julian Smart
|
||||||
* Created: 1995
|
* Created: 1995
|
||||||
* Updated:
|
* Updated:
|
||||||
@@ -152,6 +156,8 @@ bool MyApp::OnInit(void)
|
|||||||
// Show the frame
|
// Show the frame
|
||||||
frame->Show(TRUE);
|
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);
|
SetTopWindow(frame);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user