use wxAboutBox() to make it evident a wxGrid refreshing bug under wxMSW (probably correlated to the window disabler used by the generic about box)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
20db5469a0
commit
7dfb6dc4a9
@ -30,6 +30,7 @@
|
||||
#include "wx/colordlg.h"
|
||||
#include "wx/fontdlg.h"
|
||||
#include "wx/numdlg.h"
|
||||
#include "wx/aboutdlg.h"
|
||||
|
||||
#include "wx/grid.h"
|
||||
#include "wx/generic/gridctrl.h"
|
||||
@ -1112,10 +1113,14 @@ void GridFrame::OnEditorHidden( wxGridEvent& ev )
|
||||
|
||||
void GridFrame::About( wxCommandEvent& WXUNUSED(ev) )
|
||||
{
|
||||
(void)wxMessageBox( _T("\n\nwxGrid demo \n\n")
|
||||
_T("Michael Bedward, Julian Smart, Vadim Zeitlin"),
|
||||
_T("About"),
|
||||
wxOK );
|
||||
wxAboutDialogInfo aboutInfo;
|
||||
aboutInfo.SetName(wxT("wxGrid demo"));
|
||||
aboutInfo.SetDescription(_("wxGrid sample program"));
|
||||
aboutInfo.AddDeveloper(wxT("Michael Bedward"));
|
||||
aboutInfo.AddDeveloper(wxT("Julian Smart"));
|
||||
aboutInfo.AddDeveloper(wxT("Vadim Zeitlin"));
|
||||
|
||||
wxAboutBox(aboutInfo);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user