]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/sheet.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / wx / lib / sheet.py
index 43a2e61f08d5062725bff1782ad100dfb740c7d0..0ea303bc39f4c136371d04eb7a13567336dfba21 100644 (file)
@@ -64,6 +64,8 @@ class CCellEditor(wx.grid.PyGridCellEditor):
     def Show(self, show, attr):
         """ Show or hide the edit control.  Use the attr (if not None)
             to set colors or fonts for the control.
+            NOTE: There is no need to everride this if you don't need
+                  to do something out of the ordingary.
         """
         self.base_Show(show, attr)
 
@@ -71,6 +73,8 @@ class CCellEditor(wx.grid.PyGridCellEditor):
         """ Draws the part of the cell not occupied by the edit control.  The
             base class version just fills it with background colour from the
             attribute.
+            NOTE: There is no need to everride this if you don't need
+                  to do something out of the ordingary.
         """
         # Call base class method.
         self.base_PaintBackground(self, rect, attr)
@@ -146,7 +150,10 @@ class CCellEditor(wx.grid.PyGridCellEditor):
         pass
 
     def Destroy(self):
-        """ Final cleanup """
+        """ Final cleanup
+            NOTE: There is no need to everride this if you don't need
+                  to do something out of the ordingary.
+        """
         self.base_Destroy()
 
     def Clone(self):