]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridSimple.py
removed code (not necessary anymore)
[wxWidgets.git] / wxPython / demo / GridSimple.py
index 782f0d8944c58b19105b0dffe05c16027118815d..9857e22ae09847bc4bc99be011979192d5a46dc2 100644 (file)
@@ -32,6 +32,7 @@ class SimpleGrid(wxGrid): ##, wxGridAutoEditMixin):
         self.SetCellValue(5, 0, "123")
         self.SetCellEditor(6, 0, wxGridCellFloatEditor())
         self.SetCellValue(6, 0, "123.34")
         self.SetCellValue(5, 0, "123")
         self.SetCellEditor(6, 0, wxGridCellFloatEditor())
         self.SetCellValue(6, 0, "123.34")
+        self.SetCellEditor(7, 0, wxGridCellNumberEditor())
 
         self.SetCellValue(6, 3, "You can veto editing this cell")
 
 
         self.SetCellValue(6, 3, "You can veto editing this cell")