disown wxPyXmlResourceHandler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-21 22:45:15 +00:00
parent 70d374acb3
commit 14cb220a29
2 changed files with 7 additions and 1 deletions

View File

@@ -142,7 +142,7 @@ class wxPyXmlResourceHandler : public wxObject {
public:
%pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
//~wxPyXmlResourceHandler();
~wxPyXmlResourceHandler();
void _setCallbackInfo(PyObject* self, PyObject* _class);

View File

@@ -102,6 +102,9 @@ public:
// Initialize handlers for all supported controls/windows.
void InitAllHandlers();
%disownarg( wxPyXmlResourceHandler *handler );
// Initialize only specific handler (or custom handler). Convention says
// that handler name is equal to control's name plus 'XmlHandler', e.g.
// wxTextCtrlXmlHandler, wxHtmlWindowXmlHandler. XML resource compiler
@@ -112,6 +115,9 @@ public:
// Add a new handler at the begining of the handler list
void InsertHandler(wxPyXmlResourceHandler *handler);
%cleardisown( wxPyXmlResourceHandler *handler );
// Removes all handlers
void ClearHandlers();