]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/grid/griddemo.cpp
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git] / samples / grid / griddemo.cpp
index 5472db618d646fb1b2d90ce37e42c75af210fad7..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);
 }
 
@@ -1877,7 +1884,7 @@ private:
     // fla for EVT_IDLE handler
     bool m_shouldUpdateOrder;
 
-    DECLARE_NO_COPY_CLASS(TabularGridFrame)
+    wxDECLARE_NO_COPY_CLASS(TabularGridFrame);
     DECLARE_EVENT_TABLE()
 };