~ubuntu-dev/wxwidgets2.6/upstream-debian

« back to all changes in this revision

Viewing changes to wxPython/src/_xmlsub.i

  • Committer: Daniel T Chen
  • Date: 2006-06-26 10:15:11 UTC
  • Revision ID: crimsun@ubuntu.com-20060626101511-a4436cec4c6d9b35
ImportĀ DebianĀ 2.6.3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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: _xmlsub.i,v 1.2 2004/12/23 20:43:48 RD Exp $
 
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
%{
 
22
class wxPyXmlSubclassFactory : public wxXmlSubclassFactory
 
23
{
 
24
public:
 
25
    wxPyXmlSubclassFactory() {}
 
26
    DEC_PYCALLBACK_OBJECT_STRING_pure(Create);
 
27
    PYPRIVATE;
 
28
};
 
29
 
 
30
IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory, wxXmlSubclassFactory, Create);
 
31
%}
 
32
 
 
33
 
 
34
 
 
35
%rename(XmlSubclassFactory) wxPyXmlSubclassFactory;
 
36
class wxPyXmlSubclassFactory {
 
37
public:
 
38
    %pythonAppend wxPyXmlSubclassFactory "self._setCallbackInfo(self, XmlSubclassFactory)"
 
39
    wxPyXmlSubclassFactory();
 
40
    void _setCallbackInfo(PyObject* self, PyObject* _class);
 
41
};
 
42
 
 
43
 
 
44
//---------------------------------------------------------------------------
 
45
//---------------------------------------------------------------------------