Window class

how can someone change the window class of a wxpython window/frame ?
I have a program that looks for specific window classes and it seams that every frame from wxpython apps is "wxWindowClass".

···

--
Peter Damoc
Hacker Wannabe
http://www.sigmacore.net/

Peter Damoc wrote:

how can someone change the window class of a wxpython window/frame ?
I have a program that looks for specific window classes and it seams that every frame from wxpython apps is "wxWindowClass".

You can't. (Not easily anyway.) The window class is how wxWidgets subclasses the platform window objects on MSW and enables it to receive the platform messages and turn them into wx events.

You might be able to use PyWin to subclass the wxWindowClass with your own, and provide a winproc that simply passes everything on to the previously set winproc, but that is the extent of my knowledge about it...

···

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