]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/contrib/xrc/_xmlsub.i
added wxStaticCast, moved wxConstCast from wx/object.h to wx/defs.h for consistency
[wxWidgets.git] / wxPython / contrib / xrc / _xmlsub.i
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: _xmlres.i
3// Purpose: SWIG interface for wxXmlSubclassFactory
4//
5// Author: Robin Dunn
6//
7// Created: 4-June-2001
8// RCS-ID: $Id$
9// Copyright: (c) 2003 by Total Control Software
10// Licence: wxWindows license
11/////////////////////////////////////////////////////////////////////////////
12
13// Not a %module
14
15
16//---------------------------------------------------------------------------
17%newgroup
18
19
20
21%{
22class wxPyXmlSubclassFactory : public wxXmlSubclassFactory
23{
24public:
25 wxPyXmlSubclassFactory() {}
26 DEC_PYCALLBACK_OBJECT_STRING_pure(Create);
27 PYPRIVATE;
28};
29
30IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory, wxXmlSubclassFactory, Create);
31%}
32
33
34
35%name(XmlSubclassFactory)class wxPyXmlSubclassFactory {
36public:
37 %pythonAppend wxPyXmlSubclassFactory "self._setCallbackInfo(self, XmlSubclassFactory)"
38 wxPyXmlSubclassFactory();
39 void _setCallbackInfo(PyObject* self, PyObject* _class);
40};
41
42
43//---------------------------------------------------------------------------
44//---------------------------------------------------------------------------