[wxPython] SetTimestamp for wxLog

Hi,

How to set the timestamp format for the wxLog class

I tried below, but not working as i expect.

       # Set the wxWindows log target to be this textctrl
        wxlog = wxLog_SetActiveTarget(wxLogTextCtrl(self.log))
        
        wxlog.SetTimestamp("")

Maharajan

How to set the timestamp format for the wxLog class

I tried below, but not working as i expect.

       # Set the wxWindows log target to be this textctrl
        wxlog = wxLog_SetActiveTarget(wxLogTextCtrl(self.log))

        wxlog.SetTimestamp("")

All the methods of wxLog are static in C++ so they are accessed as
wxLog_SetTimestamp in Python but I see there is a problem with how this one
is wrapped... It would probably be better to just use your own wxLog class
as shown in the demo instead.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!