wxWidgets/wxPython/contrib/xrc/_xmlsub.i
2003-11-12 21:34:20 +00:00

45 lines
1.2 KiB
OpenEdge ABL

/////////////////////////////////////////////////////////////////////////////
// Name: _xmlres.i
// Purpose: SWIG interface for wxXmlSubclassFactory
//
// Author: Robin Dunn
//
// Created: 4-June-2001
// RCS-ID: $Id$
// Copyright: (c) 2003 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
// Not a %module
//---------------------------------------------------------------------------
%newgroup
%{
class wxPyXmlSubclassFactory : public wxXmlSubclassFactory
{
public:
wxPyXmlSubclassFactory() {}
DEC_PYCALLBACK_OBJECT_STRING_pure(Create);
PYPRIVATE;
};
IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory, wxXmlSubclassFactory, Create);
%}
%name(XmlSubclassFactory)class wxPyXmlSubclassFactory {
public:
%addtofunc wxPyXmlSubclassFactory "self._setCallbackInfo(self, XmlSubclassFactory)"
wxPyXmlSubclassFactory();
void _setCallbackInfo(PyObject* self, PyObject* _class);
};
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------