[wxPython] printing from wxTextCtrl

OK that brought in wxHtmlPrintout but I still get an error message.

printerPrint(parent, printout, prompt=FALSE)

Name Error: Global name 'parent' is not defined.

This one really was unexpected since I used 'parent' elsewhere in the
program.

···

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

Well, 'parent' is not defined in your function definition. If your
def is part of a wxPanel or wxFrame, you can simply use:

printerPrint(self, printout, prompt=FALSE)

where 'self' is the parent panel or frame.

···

--- DJ Webre <d_webre@yahoo.com> wrote:

OK that brought in wxHtmlPrintout but I still get an error
message.

printerPrint(parent, printout, prompt=FALSE)

Name Error: Global name 'parent' is not defined.

=====
Donnal Walter
Arkansas Children's Hospital

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/