2 * FILE : src/gtk/htmlhelp.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlhelpc
56 #define SWIG_name "htmlhelpc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/helpctrl.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
95 static void *SwigwxHtmlBookRecordTowxObject(void *ptr
) {
96 wxHtmlBookRecord
*src
;
98 src
= (wxHtmlBookRecord
*) ptr
;
99 dest
= (wxObject
*) src
;
100 return (void *) dest
;
103 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
104 static PyObject
*_wrap_new_wxHtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
105 PyObject
* _resultobj
;
106 wxHtmlBookRecord
* _result
;
111 PyObject
* _obj0
= 0;
112 PyObject
* _obj1
= 0;
113 PyObject
* _obj2
= 0;
114 PyObject
* _obj3
= 0;
115 char *_kwnames
[] = { "bookfile","basepath","title","start", NULL
};
119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxHtmlBookRecord",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
122 _arg0
= wxString_in_helper(_obj0
);
127 _arg1
= wxString_in_helper(_obj1
);
132 _arg2
= wxString_in_helper(_obj2
);
137 _arg3
= wxString_in_helper(_obj3
);
142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
143 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
145 wxPyEndAllowThreads(__tstate
);
146 if (PyErr_Occurred()) return NULL
;
148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
149 _resultobj
= Py_BuildValue("s",_ptemp
);
152 _resultobj
= Py_None
;
173 #define wxHtmlBookRecord_GetBookFile(_swigobj) (_swigobj->GetBookFile())
174 static PyObject
*_wrap_wxHtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
175 PyObject
* _resultobj
;
177 wxHtmlBookRecord
* _arg0
;
178 PyObject
* _argo0
= 0;
179 char *_kwnames
[] = { "self", NULL
};
182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBookFile",_kwnames
,&_argo0
))
185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBookFile. Expected _wxHtmlBookRecord_p.");
192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
193 _result
= new wxString (wxHtmlBookRecord_GetBookFile(_arg0
));
195 wxPyEndAllowThreads(__tstate
);
196 if (PyErr_Occurred()) return NULL
;
199 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
201 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
210 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
211 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
212 PyObject
* _resultobj
;
214 wxHtmlBookRecord
* _arg0
;
215 PyObject
* _argo0
= 0;
216 char *_kwnames
[] = { "self", NULL
};
219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
230 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
232 wxPyEndAllowThreads(__tstate
);
233 if (PyErr_Occurred()) return NULL
;
236 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
238 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
247 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
248 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
249 PyObject
* _resultobj
;
251 wxHtmlBookRecord
* _arg0
;
252 PyObject
* _argo0
= 0;
253 char *_kwnames
[] = { "self", NULL
};
256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
273 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
275 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
284 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
285 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
288 wxHtmlBookRecord
* _arg0
;
289 PyObject
* _argo0
= 0;
290 char *_kwnames
[] = { "self", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
304 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
306 wxPyEndAllowThreads(__tstate
);
307 if (PyErr_Occurred()) return NULL
;
310 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
312 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
321 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
322 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
324 wxHtmlBookRecord
* _arg0
;
327 PyObject
* _argo0
= 0;
328 char *_kwnames
[] = { "self","start","end", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
342 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
344 wxPyEndAllowThreads(__tstate
);
345 if (PyErr_Occurred()) return NULL
;
346 } Py_INCREF(Py_None
);
347 _resultobj
= Py_None
;
351 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
352 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
355 wxHtmlBookRecord
* _arg0
;
356 PyObject
* _argo0
= 0;
357 char *_kwnames
[] = { "self", NULL
};
360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
371 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
373 wxPyEndAllowThreads(__tstate
);
374 if (PyErr_Occurred()) return NULL
;
375 } _resultobj
= Py_BuildValue("i",_result
);
379 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
380 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
383 wxHtmlBookRecord
* _arg0
;
384 PyObject
* _argo0
= 0;
385 char *_kwnames
[] = { "self", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
399 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
401 wxPyEndAllowThreads(__tstate
);
402 if (PyErr_Occurred()) return NULL
;
403 } _resultobj
= Py_BuildValue("i",_result
);
407 #define wxHtmlBookRecord_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
408 static PyObject
*_wrap_wxHtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
410 wxHtmlBookRecord
* _arg0
;
412 PyObject
* _argo0
= 0;
413 PyObject
* _obj1
= 0;
414 char *_kwnames
[] = { "self","title", NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetTitle",_kwnames
,&_argo0
,&_obj1
))
420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetTitle. Expected _wxHtmlBookRecord_p.");
427 _arg1
= wxString_in_helper(_obj1
);
432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
433 wxHtmlBookRecord_SetTitle(_arg0
,*_arg1
);
435 wxPyEndAllowThreads(__tstate
);
436 if (PyErr_Occurred()) return NULL
;
437 } Py_INCREF(Py_None
);
438 _resultobj
= Py_None
;
446 #define wxHtmlBookRecord_SetBasePath(_swigobj,_swigarg0) (_swigobj->SetBasePath(_swigarg0))
447 static PyObject
*_wrap_wxHtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
449 wxHtmlBookRecord
* _arg0
;
451 PyObject
* _argo0
= 0;
452 PyObject
* _obj1
= 0;
453 char *_kwnames
[] = { "self","path", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetBasePath",_kwnames
,&_argo0
,&_obj1
))
459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetBasePath. Expected _wxHtmlBookRecord_p.");
466 _arg1
= wxString_in_helper(_obj1
);
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 wxHtmlBookRecord_SetBasePath(_arg0
,*_arg1
);
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
476 } Py_INCREF(Py_None
);
477 _resultobj
= Py_None
;
485 #define wxHtmlBookRecord_SetStart(_swigobj,_swigarg0) (_swigobj->SetStart(_swigarg0))
486 static PyObject
*_wrap_wxHtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
488 wxHtmlBookRecord
* _arg0
;
490 PyObject
* _argo0
= 0;
491 PyObject
* _obj1
= 0;
492 char *_kwnames
[] = { "self","start", NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetStart",_kwnames
,&_argo0
,&_obj1
))
498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetStart. Expected _wxHtmlBookRecord_p.");
505 _arg1
= wxString_in_helper(_obj1
);
510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
511 wxHtmlBookRecord_SetStart(_arg0
,*_arg1
);
513 wxPyEndAllowThreads(__tstate
);
514 if (PyErr_Occurred()) return NULL
;
515 } Py_INCREF(Py_None
);
516 _resultobj
= Py_None
;
524 #define wxHtmlBookRecord_GetFullPath(_swigobj,_swigarg0) (_swigobj->GetFullPath(_swigarg0))
525 static PyObject
*_wrap_wxHtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
526 PyObject
* _resultobj
;
528 wxHtmlBookRecord
* _arg0
;
530 PyObject
* _argo0
= 0;
531 PyObject
* _obj1
= 0;
532 char *_kwnames
[] = { "self","page", NULL
};
535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_GetFullPath",_kwnames
,&_argo0
,&_obj1
))
538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetFullPath. Expected _wxHtmlBookRecord_p.");
545 _arg1
= wxString_in_helper(_obj1
);
550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
551 _result
= new wxString (wxHtmlBookRecord_GetFullPath(_arg0
,*_arg1
));
553 wxPyEndAllowThreads(__tstate
);
554 if (PyErr_Occurred()) return NULL
;
557 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
559 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
572 #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
573 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
576 wxHtmlContentsItem
* _arg0
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Level_get",_kwnames
,&_argo0
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 _result
= (short )wxHtmlContentsItem_m_Level_get(_arg0
);
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
596 } _resultobj
= Py_BuildValue("h",_result
);
600 #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
601 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
604 wxHtmlContentsItem
* _arg0
;
605 PyObject
* _argo0
= 0;
606 char *_kwnames
[] = { "self", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_ID_get",_kwnames
,&_argo0
))
612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 _result
= (int )wxHtmlContentsItem_m_ID_get(_arg0
);
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
624 } _resultobj
= Py_BuildValue("i",_result
);
628 #define wxHtmlContentsItem_m_Name_get(_swigobj) ((wxChar *) _swigobj->m_Name)
629 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
632 wxHtmlContentsItem
* _arg0
;
633 PyObject
* _argo0
= 0;
634 char *_kwnames
[] = { "self", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Name_get",_kwnames
,&_argo0
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
648 _result
= (wxChar
*)wxHtmlContentsItem_m_Name_get(_arg0
);
650 wxPyEndAllowThreads(__tstate
);
651 if (PyErr_Occurred()) return NULL
;
652 } _resultobj
= Py_BuildValue("s", _result
);
656 #define wxHtmlContentsItem_m_Page_get(_swigobj) ((wxChar *) _swigobj->m_Page)
657 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
660 wxHtmlContentsItem
* _arg0
;
661 PyObject
* _argo0
= 0;
662 char *_kwnames
[] = { "self", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Page_get",_kwnames
,&_argo0
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
676 _result
= (wxChar
*)wxHtmlContentsItem_m_Page_get(_arg0
);
678 wxPyEndAllowThreads(__tstate
);
679 if (PyErr_Occurred()) return NULL
;
680 } _resultobj
= Py_BuildValue("s", _result
);
684 #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
685 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
687 wxHtmlBookRecord
* _result
;
688 wxHtmlContentsItem
* _arg0
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self", NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Book_get",_kwnames
,&_argo0
))
697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
705 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_get(_arg0
);
707 wxPyEndAllowThreads(__tstate
);
708 if (PyErr_Occurred()) return NULL
;
710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
711 _resultobj
= Py_BuildValue("s",_ptemp
);
714 _resultobj
= Py_None
;
719 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
720 static PyObject
*_wrap_wxHtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 wxHtmlSearchStatus
* _arg0
;
724 PyObject
* _argo0
= 0;
725 char *_kwnames
[] = { "self", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_Search",_kwnames
,&_argo0
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
739 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
741 wxPyEndAllowThreads(__tstate
);
742 if (PyErr_Occurred()) return NULL
;
743 } _resultobj
= Py_BuildValue("i",_result
);
747 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
748 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
751 wxHtmlSearchStatus
* _arg0
;
752 PyObject
* _argo0
= 0;
753 char *_kwnames
[] = { "self", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) return NULL
;
771 } _resultobj
= Py_BuildValue("i",_result
);
775 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
776 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
779 wxHtmlSearchStatus
* _arg0
;
780 PyObject
* _argo0
= 0;
781 char *_kwnames
[] = { "self", NULL
};
784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) return NULL
;
799 } _resultobj
= Py_BuildValue("i",_result
);
803 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
804 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
807 wxHtmlSearchStatus
* _arg0
;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self", NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } _resultobj
= Py_BuildValue("i",_result
);
831 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
832 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
835 wxHtmlSearchStatus
* _arg0
;
836 PyObject
* _argo0
= 0;
837 char *_kwnames
[] = { "self", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
852 _result
= (wxString
*) &_result_ref
;
854 wxPyEndAllowThreads(__tstate
);
855 if (PyErr_Occurred()) return NULL
;
858 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
866 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
867 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
869 wxHtmlContentsItem
* _result
;
870 wxHtmlSearchStatus
* _arg0
;
871 PyObject
* _argo0
= 0;
872 char *_kwnames
[] = { "self", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
887 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
889 wxPyEndAllowThreads(__tstate
);
890 if (PyErr_Occurred()) return NULL
;
892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
893 _resultobj
= Py_BuildValue("s",_ptemp
);
896 _resultobj
= Py_None
;
901 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
902 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
904 wxHtmlHelpData
* _result
;
905 char *_kwnames
[] = { NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
913 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
915 wxPyEndAllowThreads(__tstate
);
916 if (PyErr_Occurred()) return NULL
;
918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
919 _resultobj
= Py_BuildValue("s",_ptemp
);
922 _resultobj
= Py_None
;
927 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
928 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
929 PyObject
* _resultobj
;
930 wxHtmlHelpData
* _arg0
;
931 PyObject
* _argo0
= 0;
932 char *_kwnames
[] = { "self", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
946 delete_wxHtmlHelpData(_arg0
);
948 wxPyEndAllowThreads(__tstate
);
949 if (PyErr_Occurred()) return NULL
;
950 } Py_INCREF(Py_None
);
951 _resultobj
= Py_None
;
955 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
956 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
957 PyObject
* _resultobj
;
958 wxHtmlHelpData
* _arg0
;
960 PyObject
* _argo0
= 0;
961 PyObject
* _obj1
= 0;
962 char *_kwnames
[] = { "self","path", NULL
};
965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
975 _arg1
= wxString_in_helper(_obj1
);
980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
981 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
983 wxPyEndAllowThreads(__tstate
);
984 if (PyErr_Occurred()) return NULL
;
985 } Py_INCREF(Py_None
);
986 _resultobj
= Py_None
;
994 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
995 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
998 wxHtmlHelpData
* _arg0
;
1000 PyObject
* _argo0
= 0;
1001 PyObject
* _obj1
= 0;
1002 char *_kwnames
[] = { "self","book", NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
1008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1015 _arg1
= wxString_in_helper(_obj1
);
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) return NULL
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1033 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1034 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1037 wxHtmlHelpData
* _arg0
;
1039 PyObject
* _argo0
= 0;
1040 PyObject
* _obj1
= 0;
1041 char *_kwnames
[] = { "self","page", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1054 _arg1
= wxString_in_helper(_obj1
);
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) return NULL
;
1066 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1068 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1081 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1082 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1085 wxHtmlHelpData
* _arg0
;
1087 PyObject
* _argo0
= 0;
1088 char *_kwnames
[] = { "self","id", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) return NULL
;
1108 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1110 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1119 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1120 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1122 wxHtmlBookRecArray
* _result
;
1123 wxHtmlHelpData
* _arg0
;
1124 PyObject
* _argo0
= 0;
1125 char *_kwnames
[] = { "self", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1141 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) return NULL
;
1146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1147 _resultobj
= Py_BuildValue("s",_ptemp
);
1150 _resultobj
= Py_None
;
1155 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1156 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1158 wxHtmlContentsItem
* _result
;
1159 wxHtmlHelpData
* _arg0
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1176 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1178 wxPyEndAllowThreads(__tstate
);
1179 if (PyErr_Occurred()) return NULL
;
1181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1182 _resultobj
= Py_BuildValue("s",_ptemp
);
1185 _resultobj
= Py_None
;
1190 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1191 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1194 wxHtmlHelpData
* _arg0
;
1195 PyObject
* _argo0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) return NULL
;
1214 } _resultobj
= Py_BuildValue("i",_result
);
1218 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1219 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1221 wxHtmlContentsItem
* _result
;
1222 wxHtmlHelpData
* _arg0
;
1223 PyObject
* _argo0
= 0;
1224 char *_kwnames
[] = { "self", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) return NULL
;
1244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1245 _resultobj
= Py_BuildValue("s",_ptemp
);
1248 _resultobj
= Py_None
;
1253 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1254 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1257 wxHtmlHelpData
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 char *_kwnames
[] = { "self", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1273 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1275 wxPyEndAllowThreads(__tstate
);
1276 if (PyErr_Occurred()) return NULL
;
1277 } _resultobj
= Py_BuildValue("i",_result
);
1281 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1282 wxHtmlHelpFrame
*src
;
1284 src
= (wxHtmlHelpFrame
*) ptr
;
1285 dest
= (wxFrame
*) src
;
1286 return (void *) dest
;
1289 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr
) {
1290 wxHtmlHelpFrame
*src
;
1291 wxTopLevelWindow
*dest
;
1292 src
= (wxHtmlHelpFrame
*) ptr
;
1293 dest
= (wxTopLevelWindow
*) src
;
1294 return (void *) dest
;
1297 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1298 wxHtmlHelpFrame
*src
;
1300 src
= (wxHtmlHelpFrame
*) ptr
;
1301 dest
= (wxWindow
*) src
;
1302 return (void *) dest
;
1305 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1306 wxHtmlHelpFrame
*src
;
1308 src
= (wxHtmlHelpFrame
*) ptr
;
1309 dest
= (wxEvtHandler
*) src
;
1310 return (void *) dest
;
1313 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1314 wxHtmlHelpFrame
*src
;
1316 src
= (wxHtmlHelpFrame
*) ptr
;
1317 dest
= (wxObject
*) src
;
1318 return (void *) dest
;
1321 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1322 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1324 wxHtmlHelpFrame
* _result
;
1327 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1328 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1329 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1330 PyObject
* _argo0
= 0;
1331 PyObject
* _obj2
= 0;
1332 PyObject
* _argo4
= 0;
1333 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1348 _arg2
= wxString_in_helper(_obj2
);
1353 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) return NULL
;
1366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1367 _resultobj
= Py_BuildValue("s",_ptemp
);
1370 _resultobj
= Py_None
;
1379 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1380 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
* _resultobj
;
1382 wxHtmlHelpData
* _result
;
1383 wxHtmlHelpFrame
* _arg0
;
1384 PyObject
* _argo0
= 0;
1385 char *_kwnames
[] = { "self", NULL
};
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) return NULL
;
1405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1406 _resultobj
= Py_BuildValue("s",_ptemp
);
1409 _resultobj
= Py_None
;
1414 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1415 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
* _resultobj
;
1417 wxHtmlHelpFrame
* _arg0
;
1419 PyObject
* _argo0
= 0;
1420 PyObject
* _obj1
= 0;
1421 char *_kwnames
[] = { "self","format", NULL
};
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1434 _arg1
= wxString_in_helper(_obj1
);
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) return NULL
;
1444 } Py_INCREF(Py_None
);
1445 _resultobj
= Py_None
;
1453 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1454 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1456 wxHtmlHelpFrame
* _arg0
;
1458 PyObject
* _argo0
= 0;
1459 PyObject
* _obj1
= 0;
1460 char *_kwnames
[] = { "self","x", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1473 _arg1
= wxString_in_helper(_obj1
);
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) return NULL
;
1483 } Py_INCREF(Py_None
);
1484 _resultobj
= Py_None
;
1492 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1493 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxHtmlHelpFrame
* _arg0
;
1497 PyObject
* _argo0
= 0;
1498 char *_kwnames
[] = { "self","id", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) return NULL
;
1516 } Py_INCREF(Py_None
);
1517 _resultobj
= Py_None
;
1521 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1522 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1524 wxHtmlHelpFrame
* _arg0
;
1525 PyObject
* _argo0
= 0;
1526 char *_kwnames
[] = { "self", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 wxHtmlHelpFrame_DisplayContents(_arg0
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) return NULL
;
1544 } Py_INCREF(Py_None
);
1545 _resultobj
= Py_None
;
1549 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1550 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1552 wxHtmlHelpFrame
* _arg0
;
1553 PyObject
* _argo0
= 0;
1554 char *_kwnames
[] = { "self", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) return NULL
;
1572 } Py_INCREF(Py_None
);
1573 _resultobj
= Py_None
;
1577 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1578 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1581 wxHtmlHelpFrame
* _arg0
;
1583 PyObject
* _argo0
= 0;
1584 PyObject
* _obj1
= 0;
1585 char *_kwnames
[] = { "self","keyword", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1598 _arg1
= wxString_in_helper(_obj1
);
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) return NULL
;
1608 } _resultobj
= Py_BuildValue("i",_result
);
1616 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1617 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1619 wxHtmlHelpFrame
* _arg0
;
1620 wxConfigBase
* _arg1
;
1621 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1622 PyObject
* _argo0
= 0;
1623 PyObject
* _argo1
= 0;
1624 PyObject
* _obj2
= 0;
1625 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1646 _arg2
= wxString_in_helper(_obj2
);
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) return NULL
;
1656 } Py_INCREF(Py_None
);
1657 _resultobj
= Py_None
;
1665 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1666 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 wxHtmlHelpFrame
* _arg0
;
1669 wxConfigBase
* _arg1
;
1670 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1671 PyObject
* _argo0
= 0;
1672 PyObject
* _argo1
= 0;
1673 PyObject
* _obj2
= 0;
1674 char *_kwnames
[] = { "self","cfg","path", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1695 _arg2
= wxString_in_helper(_obj2
);
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) return NULL
;
1705 } Py_INCREF(Py_None
);
1706 _resultobj
= Py_None
;
1714 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1715 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1717 wxHtmlHelpFrame
* _arg0
;
1718 wxConfigBase
* _arg1
;
1719 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _argo1
= 0;
1722 PyObject
* _obj2
= 0;
1723 char *_kwnames
[] = { "self","cfg","path", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1744 _arg2
= wxString_in_helper(_obj2
);
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) return NULL
;
1754 } Py_INCREF(Py_None
);
1755 _resultobj
= Py_None
;
1763 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
1764 wxHtmlHelpController
*src
;
1766 src
= (wxHtmlHelpController
*) ptr
;
1767 dest
= (wxEvtHandler
*) src
;
1768 return (void *) dest
;
1771 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
1772 wxHtmlHelpController
*src
;
1774 src
= (wxHtmlHelpController
*) ptr
;
1775 dest
= (wxObject
*) src
;
1776 return (void *) dest
;
1779 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1780 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1782 wxHtmlHelpController
* _result
;
1783 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
1784 char *_kwnames
[] = { "style", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) return NULL
;
1797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
1798 _resultobj
= Py_BuildValue("s",_ptemp
);
1801 _resultobj
= Py_None
;
1806 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1807 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1809 wxHtmlHelpController
* _arg0
;
1810 PyObject
* _argo0
= 0;
1811 char *_kwnames
[] = { "self", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 delete_wxHtmlHelpController(_arg0
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) return NULL
;
1829 } Py_INCREF(Py_None
);
1830 _resultobj
= Py_None
;
1834 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1835 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxHtmlHelpController
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 PyObject
* _obj1
= 0;
1841 char *_kwnames
[] = { "self","format", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1854 _arg1
= wxString_in_helper(_obj1
);
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) return NULL
;
1864 } Py_INCREF(Py_None
);
1865 _resultobj
= Py_None
;
1873 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1874 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1876 wxHtmlHelpController
* _arg0
;
1878 PyObject
* _argo0
= 0;
1879 PyObject
* _obj1
= 0;
1880 char *_kwnames
[] = { "self","path", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1893 _arg1
= wxString_in_helper(_obj1
);
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } Py_INCREF(Py_None
);
1904 _resultobj
= Py_None
;
1912 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
1913 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1916 wxHtmlHelpController
* _arg0
;
1918 int _arg2
= (int ) FALSE
;
1919 PyObject
* _argo0
= 0;
1920 PyObject
* _obj1
= 0;
1921 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
1934 _arg1
= wxString_in_helper(_obj1
);
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) return NULL
;
1944 } _resultobj
= Py_BuildValue("i",_result
);
1952 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1953 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1955 wxHtmlHelpController
* _arg0
;
1957 PyObject
* _argo0
= 0;
1958 PyObject
* _obj1
= 0;
1959 char *_kwnames
[] = { "self","x", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
1972 _arg1
= wxString_in_helper(_obj1
);
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 wxHtmlHelpController_Display(_arg0
,*_arg1
);
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) return NULL
;
1982 } Py_INCREF(Py_None
);
1983 _resultobj
= Py_None
;
1991 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1992 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1994 wxHtmlHelpController
* _arg0
;
1996 PyObject
* _argo0
= 0;
1997 char *_kwnames
[] = { "self","id", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) return NULL
;
2015 } Py_INCREF(Py_None
);
2016 _resultobj
= Py_None
;
2020 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2021 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2023 wxHtmlHelpController
* _arg0
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 wxHtmlHelpController_DisplayContents(_arg0
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) return NULL
;
2043 } Py_INCREF(Py_None
);
2044 _resultobj
= Py_None
;
2048 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2049 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2051 wxHtmlHelpController
* _arg0
;
2052 PyObject
* _argo0
= 0;
2053 char *_kwnames
[] = { "self", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 wxHtmlHelpController_DisplayIndex(_arg0
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) return NULL
;
2071 } Py_INCREF(Py_None
);
2072 _resultobj
= Py_None
;
2076 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2077 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
* _resultobj
;
2080 wxHtmlHelpController
* _arg0
;
2082 PyObject
* _argo0
= 0;
2083 PyObject
* _obj1
= 0;
2084 char *_kwnames
[] = { "self","keyword", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2097 _arg1
= wxString_in_helper(_obj1
);
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2107 } _resultobj
= Py_BuildValue("i",_result
);
2115 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2116 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
* _resultobj
;
2118 wxHtmlHelpController
* _arg0
;
2119 wxConfigBase
* _arg1
;
2120 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2121 PyObject
* _argo0
= 0;
2122 PyObject
* _argo1
= 0;
2123 PyObject
* _obj2
= 0;
2124 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2137 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2145 _arg2
= wxString_in_helper(_obj2
);
2150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2153 wxPyEndAllowThreads(__tstate
);
2154 if (PyErr_Occurred()) return NULL
;
2155 } Py_INCREF(Py_None
);
2156 _resultobj
= Py_None
;
2164 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2165 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2167 wxHtmlHelpController
* _arg0
;
2168 wxConfigBase
* _arg1
;
2169 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2170 PyObject
* _argo0
= 0;
2171 PyObject
* _argo1
= 0;
2172 PyObject
* _obj2
= 0;
2173 char *_kwnames
[] = { "self","cfg","path", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2194 _arg2
= wxString_in_helper(_obj2
);
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) return NULL
;
2204 } Py_INCREF(Py_None
);
2205 _resultobj
= Py_None
;
2213 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2214 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2216 wxHtmlHelpController
* _arg0
;
2217 wxConfigBase
* _arg1
;
2218 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _argo1
= 0;
2221 PyObject
* _obj2
= 0;
2222 char *_kwnames
[] = { "self","cfg","path", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2243 _arg2
= wxString_in_helper(_obj2
);
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) return NULL
;
2253 } Py_INCREF(Py_None
);
2254 _resultobj
= Py_None
;
2262 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2263 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2265 wxHtmlHelpFrame
* _result
;
2266 wxHtmlHelpController
* _arg0
;
2267 PyObject
* _argo0
= 0;
2268 char *_kwnames
[] = { "self", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) return NULL
;
2288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2289 _resultobj
= Py_BuildValue("s",_ptemp
);
2292 _resultobj
= Py_None
;
2297 static PyMethodDef htmlhelpcMethods
[] = {
2298 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2299 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2300 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2301 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2302 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2303 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2304 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2305 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2306 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2307 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2308 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2309 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2310 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2311 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2312 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2313 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2314 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2315 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2316 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2317 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2318 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2319 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2320 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2321 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2322 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2323 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2324 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2325 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2326 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2327 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2328 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2329 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2330 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2331 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2332 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2333 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2334 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2335 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2336 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2337 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2338 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2339 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2340 { "wxHtmlContentsItem_m_Book_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_get
, METH_VARARGS
| METH_KEYWORDS
},
2341 { "wxHtmlContentsItem_m_Page_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_get
, METH_VARARGS
| METH_KEYWORDS
},
2342 { "wxHtmlContentsItem_m_Name_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_get
, METH_VARARGS
| METH_KEYWORDS
},
2343 { "wxHtmlContentsItem_m_ID_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_get
, METH_VARARGS
| METH_KEYWORDS
},
2344 { "wxHtmlContentsItem_m_Level_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_get
, METH_VARARGS
| METH_KEYWORDS
},
2345 { "wxHtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
2346 { "wxHtmlBookRecord_SetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
2347 { "wxHtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2348 { "wxHtmlBookRecord_SetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2349 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2350 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2351 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2352 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2353 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2354 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2355 { "wxHtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
2356 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2363 * This table is used by the pointer type-checker
2365 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2366 { "_signed_long","_long",0},
2367 { "_wxPrintQuality","_wxCoord",0},
2368 { "_wxPrintQuality","_int",0},
2369 { "_wxPrintQuality","_signed_int",0},
2370 { "_wxPrintQuality","_unsigned_int",0},
2371 { "_wxPrintQuality","_wxWindowID",0},
2372 { "_wxPrintQuality","_uint",0},
2373 { "_wxPrintQuality","_EBool",0},
2374 { "_wxPrintQuality","_size_t",0},
2375 { "_wxPrintQuality","_time_t",0},
2376 { "_byte","_unsigned_char",0},
2377 { "_long","_unsigned_long",0},
2378 { "_long","_signed_long",0},
2379 { "_size_t","_wxCoord",0},
2380 { "_size_t","_wxPrintQuality",0},
2381 { "_size_t","_time_t",0},
2382 { "_size_t","_unsigned_int",0},
2383 { "_size_t","_int",0},
2384 { "_size_t","_wxWindowID",0},
2385 { "_size_t","_uint",0},
2386 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2387 { "_uint","_wxCoord",0},
2388 { "_uint","_wxPrintQuality",0},
2389 { "_uint","_time_t",0},
2390 { "_uint","_size_t",0},
2391 { "_uint","_unsigned_int",0},
2392 { "_uint","_int",0},
2393 { "_uint","_wxWindowID",0},
2394 { "_wxChar","_char",0},
2395 { "_char","_wxChar",0},
2396 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2397 { "_EBool","_wxCoord",0},
2398 { "_EBool","_wxPrintQuality",0},
2399 { "_EBool","_signed_int",0},
2400 { "_EBool","_int",0},
2401 { "_EBool","_wxWindowID",0},
2402 { "_unsigned_long","_long",0},
2403 { "_struct_wxHtmlContentsItem","_wxHtmlContentsItem",0},
2404 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2405 { "_signed_int","_wxCoord",0},
2406 { "_signed_int","_wxPrintQuality",0},
2407 { "_signed_int","_EBool",0},
2408 { "_signed_int","_wxWindowID",0},
2409 { "_signed_int","_int",0},
2410 { "_WXTYPE","_wxDateTime_t",0},
2411 { "_WXTYPE","_short",0},
2412 { "_WXTYPE","_signed_short",0},
2413 { "_WXTYPE","_unsigned_short",0},
2414 { "_unsigned_short","_wxDateTime_t",0},
2415 { "_unsigned_short","_WXTYPE",0},
2416 { "_unsigned_short","_short",0},
2417 { "_wxHtmlContentsItem","_struct_wxHtmlContentsItem",0},
2418 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2419 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2420 { "_wxObject","_wxHtmlBookRecord",SwigwxHtmlBookRecordTowxObject
},
2421 { "_signed_short","_WXTYPE",0},
2422 { "_signed_short","_short",0},
2423 { "_unsigned_char","_byte",0},
2424 { "_unsigned_int","_wxCoord",0},
2425 { "_unsigned_int","_wxPrintQuality",0},
2426 { "_unsigned_int","_time_t",0},
2427 { "_unsigned_int","_size_t",0},
2428 { "_unsigned_int","_uint",0},
2429 { "_unsigned_int","_wxWindowID",0},
2430 { "_unsigned_int","_int",0},
2431 { "_short","_wxDateTime_t",0},
2432 { "_short","_WXTYPE",0},
2433 { "_short","_unsigned_short",0},
2434 { "_short","_signed_short",0},
2435 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2436 { "_wxWindowID","_wxCoord",0},
2437 { "_wxWindowID","_wxPrintQuality",0},
2438 { "_wxWindowID","_time_t",0},
2439 { "_wxWindowID","_size_t",0},
2440 { "_wxWindowID","_EBool",0},
2441 { "_wxWindowID","_uint",0},
2442 { "_wxWindowID","_int",0},
2443 { "_wxWindowID","_signed_int",0},
2444 { "_wxWindowID","_unsigned_int",0},
2445 { "_int","_wxCoord",0},
2446 { "_int","_wxPrintQuality",0},
2447 { "_int","_time_t",0},
2448 { "_int","_size_t",0},
2449 { "_int","_EBool",0},
2450 { "_int","_uint",0},
2451 { "_int","_wxWindowID",0},
2452 { "_int","_unsigned_int",0},
2453 { "_int","_signed_int",0},
2454 { "_wxDateTime_t","_unsigned_short",0},
2455 { "_wxDateTime_t","_short",0},
2456 { "_wxDateTime_t","_WXTYPE",0},
2457 { "_time_t","_wxCoord",0},
2458 { "_time_t","_wxPrintQuality",0},
2459 { "_time_t","_unsigned_int",0},
2460 { "_time_t","_int",0},
2461 { "_time_t","_wxWindowID",0},
2462 { "_time_t","_uint",0},
2463 { "_time_t","_size_t",0},
2464 { "_wxCoord","_int",0},
2465 { "_wxCoord","_signed_int",0},
2466 { "_wxCoord","_unsigned_int",0},
2467 { "_wxCoord","_wxWindowID",0},
2468 { "_wxCoord","_uint",0},
2469 { "_wxCoord","_EBool",0},
2470 { "_wxCoord","_size_t",0},
2471 { "_wxCoord","_time_t",0},
2472 { "_wxCoord","_wxPrintQuality",0},
2473 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2474 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2475 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2478 static PyObject
*SWIG_globals
;
2482 SWIGEXPORT(void) inithtmlhelpc() {
2484 SWIG_globals
= SWIG_newvarlink();
2485 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2486 d
= PyModule_GetDict(m
);
2487 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2488 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2489 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2490 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2491 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2492 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2493 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2494 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2495 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2498 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2499 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);