]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/masked/maskededit.py
added a test for wxRect::Union()
[wxWidgets.git] / wxPython / wx / lib / masked / maskededit.py
index 088ec62fc1c0ecc0ccc17411264423385c9d648d..0bd99c567f68332e10771aefe6c365450097778f 100644 (file)
@@ -5253,7 +5253,7 @@ class MaskedEditMixin:
                     if not valid:
 ##                        dbg('cannot convert string to valid time')
                         pass
-        if valid: dbg('valid date')
+##        if valid: dbg('valid date')
 ##        dbg(indent=0)
         return valid
 
@@ -5622,7 +5622,7 @@ class MaskedEditMixin:
                 and sel_to >= edit_end
                 and not self._GetValue()[edit_start:sel_start].strip() ):
                 # text won't fit within selection, but left of selection is empty;
-                # check to see if we can expand selection to accomodate the value:
+                # check to see if we can expand selection to accommodate the value:
                 empty_space = sel_start - edit_start
                 amount_needed = len(paste_text) - (sel_to - sel_start)
                 if amount_needed <= empty_space: