]> git.saurik.com Git - wxWidgets.git/commitdiff
force use of generic about dialog as to test unfocused-repainting of wxGrid
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 1 Mar 2009 15:53:42 +0000 (15:53 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 1 Mar 2009 15:53:42 +0000 (15:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/grid/griddemo.cpp

index f796fbd2f4447dffeb502b0112b537ba0db72eaa..c485fdfe4d15e8706a50474d1d5b0319875552f9 100644 (file)
@@ -1152,6 +1152,13 @@ void GridFrame::About(  wxCommandEvent& WXUNUSED(ev) )
     aboutInfo.AddDeveloper(wxT("Julian Smart"));
     aboutInfo.AddDeveloper(wxT("Vadim Zeitlin"));
 
+    // this is just to force the generic version of the about
+    // dialog under wxMSW so that it's easy to test if the grid
+    // repaints correctly when it has lost focus and a dialog
+    // (different from the Windows standard message box -- it doesn't
+    // work with it for some reason) is moved over it.
+    aboutInfo.SetWebSite(wxT("http://www.wxwidgets.org"));
+
     wxAboutBox(aboutInfo);
 }