PythonWin / wxPython interaction -- errors?

Keith Farmer kfarmer at
Tue Dec 4 13:58:41 CET 2001

Imagine the following situation:

create wxFrame

use hWnd of wxFrame to create a PyCWnd object

set message hooks in both wxPython and PythonWin -- each set of hooks
intercepts a different set of messages.  the intention is that PythonWin
catches messages that wxPython cannot.

would this be the cause of receiving doubled message calls?  ie, if
PythonWin receives a particular message, would the presence of the wxFrame
with the same hWnd cause the OS to transmit the message in duplicate?

Keith J. Farmer
kfarmer at

More information about the Python-list mailing list