Missing methods from wxXmlResource

wxXmlResource::FindResource and, more importantly,
wxXmlResource::UpdateResources aren't wrapped for wxPython. Is there a
reason, or can they be wrapped?

Chris Mellon wrote:

wxXmlResource::FindResource and, more importantly,
wxXmlResource::UpdateResources aren't wrapped for wxPython. Is there a
reason, or can they be wrapped?

They are C++ protected methods, so they can only be used from derived classes. Normally the Python wrappers can only access the public members of the C++ classes.

···

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

Chris Mellon wrote:

> wxXmlResource::FindResource and, more importantly,
> wxXmlResource::UpdateResources aren't wrapped for wxPython. Is there a
> reason, or can they be wrapped?

They are C++ protected methods, so they can only be used from derived
classes. Normally the Python wrappers can only access the public
members of the C++ classes.

Bleh. I wonder why UpdateResources is protected? Thanks for the reply.

···

On Mon, 15 Nov 2004 15:13:20 -0800, Robin Dunn <robin@alldunn.com> wrote:

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