]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/grid/griddemo.cpp
adding protocol support for 10.6
[wxWidgets.git] / samples / grid / griddemo.cpp
index 34518418f6b25589ed151dbd14e0599d9e09a006..89b6030fefaa15f567d42f3d693fb9fb34ec0c9a 100644 (file)
@@ -456,6 +456,8 @@ GridFrame::GridFrame()
     grid->SetCellValue(0, 8, "17");
     grid->SetCellValue(1, 8, "0");
     grid->SetCellValue(2, 8, "-666");
+    grid->SetCellAlignment(2, 8, wxALIGN_CENTRE, wxALIGN_TOP);
+    grid->SetCellValue(2, 9, "<- This numeric cell should be centred");
 
     const wxString choices[] =
     {