Re: [python-win32] Finding attached object?

2009-03-04 Thread Mark Hammond
On 4/03/2009 12:01 PM, Greg Ewing wrote: If you do happen to add this, another thing you might want to investigate is why PyCCmdUI isn't automatically doing this when you read the m_pMenu property, as seems to happen in most other places if you call a method that returns a wrapped MFC object.

Re: [python-win32] Finding attached object?

2009-03-04 Thread Greg Ewing
Mark Hammond wrote: Hrm - m_pMenu (and m_pSubMenu) is *supposed* to return a PyCMenu object - what are you seeing? They're returning a PyCMenu, but not the object that I have attached to the PyCMenu. This seems to happen automatically in some other places, e.g. ui.GetFocus(). If m_pMenu