Clans Of Intrigue wrote:
> Thanks, that did the trick perfectly :)
>
> also got rid of the self._log member so the class is now just:
>
> class LogControl:
> """ Simple helper to redirect stdout to a panel in the GUI """
> def __init__( self, textCtrl ):
> self._ctrl = textCtrl
>
Hello Clans,
as a first suggestion, it is usually recommended that you post a small
*working* sample, in order to help others in understanding the problem and
also to give others the possibility to test your code. Noting that I am not
able to run your code as it is, I can just speculate one su
Thanks, that did the trick perfectly :)
also got rid of the self._log member so the class is now just:
class LogControl:
""" Simple helper to redirect stdout to a panel in the GUI """
def __init__( self, textCtrl ):
self._ctrl = textCtrl
self.write( "Application Started...
Someone who's probably not really called Clans Of Intrigue wrote:
> Hello, this is my first post here so apologies if it's in the wrong
> place, inappropriate or embarrassingly stupid - please let me know :)
No, that's ok. The wxpython mailing list might give better answers though.
> My problem s
Hello, this is my first post here so apologies if it's in the wrong
place, inappropriate or embarrassingly stupid - please let me know :)
My problem seems quite simple - I've redirected stdout to a wxTextCtrl,
so that any trace messages appear in a log window at the bottom of my
app. The problem