disown wxPyXmlResourceHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -142,7 +142,7 @@ class wxPyXmlResourceHandler : public wxObject {
|
|||||||
public:
|
public:
|
||||||
%pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
|
%pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
|
||||||
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
|
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
|
||||||
//~wxPyXmlResourceHandler();
|
~wxPyXmlResourceHandler();
|
||||||
|
|
||||||
void _setCallbackInfo(PyObject* self, PyObject* _class);
|
void _setCallbackInfo(PyObject* self, PyObject* _class);
|
||||||
|
|
||||||
|
@@ -102,6 +102,9 @@ public:
|
|||||||
// Initialize handlers for all supported controls/windows.
|
// Initialize handlers for all supported controls/windows.
|
||||||
void InitAllHandlers();
|
void InitAllHandlers();
|
||||||
|
|
||||||
|
|
||||||
|
%disownarg( wxPyXmlResourceHandler *handler );
|
||||||
|
|
||||||
// Initialize only specific handler (or custom handler). Convention says
|
// Initialize only specific handler (or custom handler). Convention says
|
||||||
// that handler name is equal to control's name plus 'XmlHandler', e.g.
|
// that handler name is equal to control's name plus 'XmlHandler', e.g.
|
||||||
// wxTextCtrlXmlHandler, wxHtmlWindowXmlHandler. XML resource compiler
|
// wxTextCtrlXmlHandler, wxHtmlWindowXmlHandler. XML resource compiler
|
||||||
@@ -112,6 +115,9 @@ public:
|
|||||||
// Add a new handler at the begining of the handler list
|
// Add a new handler at the begining of the handler list
|
||||||
void InsertHandler(wxPyXmlResourceHandler *handler);
|
void InsertHandler(wxPyXmlResourceHandler *handler);
|
||||||
|
|
||||||
|
%cleardisown( wxPyXmlResourceHandler *handler );
|
||||||
|
|
||||||
|
|
||||||
// Removes all handlers
|
// Removes all handlers
|
||||||
void ClearHandlers();
|
void ClearHandlers();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user