"Trey Keown" <[EMAIL PROTECTED]> wrote > What is the proper way to undo/redo changes in a text box? I read > somewhere that the default undo depth is 1. How could I change this > to, > say, about 35?
I dunno, its not in the book ;-) But just typing dir(TextCtrl) showed those two methods... Unfortunately there is no real help() info just tat they take *args and **kwargs... And trying it at the >>> prompt yields t.Redo(35) Traceback (most recent call last): File "<input>", line 1, in ? File "C:\Python24\Lib\site-packages\wx-2.8-msw-ansi\wx\_controls.py", line 1888, in Redo return _controls_.TextCtrl_Redo(*args, **kwargs) TypeError: TextCtrl_Redo() takes exactly one argument (2 given) So now you know where the code is and can go take a peek... Or it might be one for the wxPython mailing list? Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor