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
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "String type required";
101 static void *SwigwxHtmlBookRecordTowxObject(void *ptr
) {
102 wxHtmlBookRecord
*src
;
104 src
= (wxHtmlBookRecord
*) ptr
;
105 dest
= (wxObject
*) src
;
106 return (void *) dest
;
109 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
110 static PyObject
*_wrap_new_wxHtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
111 PyObject
* _resultobj
;
112 wxHtmlBookRecord
* _result
;
117 PyObject
* _obj0
= 0;
118 PyObject
* _obj1
= 0;
119 PyObject
* _obj2
= 0;
120 PyObject
* _obj3
= 0;
121 char *_kwnames
[] = { "bookfile","basepath","title","start", NULL
};
125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxHtmlBookRecord",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
128 #if PYTHON_API_VERSION >= 1009
129 char* tmpPtr
; int tmpSize
;
130 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
134 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
136 _arg0
= new wxString(tmpPtr
, tmpSize
);
138 if (!PyString_Check(_obj0
)) {
139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
142 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
146 #if PYTHON_API_VERSION >= 1009
147 char* tmpPtr
; int tmpSize
;
148 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
149 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
152 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
154 _arg1
= new wxString(tmpPtr
, tmpSize
);
156 if (!PyString_Check(_obj1
)) {
157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
160 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
164 #if PYTHON_API_VERSION >= 1009
165 char* tmpPtr
; int tmpSize
;
166 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
170 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
172 _arg2
= new wxString(tmpPtr
, tmpSize
);
174 if (!PyString_Check(_obj2
)) {
175 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
178 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
182 #if PYTHON_API_VERSION >= 1009
183 char* tmpPtr
; int tmpSize
;
184 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
188 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
190 _arg3
= new wxString(tmpPtr
, tmpSize
);
192 if (!PyString_Check(_obj3
)) {
193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
196 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
203 wxPyEndAllowThreads(__tstate
);
204 if (PyErr_Occurred()) return NULL
;
206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
210 _resultobj
= Py_None
;
231 #define wxHtmlBookRecord_GetBookFile(_swigobj) (_swigobj->GetBookFile())
232 static PyObject
*_wrap_wxHtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
233 PyObject
* _resultobj
;
235 wxHtmlBookRecord
* _arg0
;
236 PyObject
* _argo0
= 0;
237 char *_kwnames
[] = { "self", NULL
};
240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBookFile",_kwnames
,&_argo0
))
243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBookFile. Expected _wxHtmlBookRecord_p.");
250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
251 _result
= new wxString (wxHtmlBookRecord_GetBookFile(_arg0
));
253 wxPyEndAllowThreads(__tstate
);
254 if (PyErr_Occurred()) return NULL
;
256 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
264 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
265 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
266 PyObject
* _resultobj
;
268 wxHtmlBookRecord
* _arg0
;
269 PyObject
* _argo0
= 0;
270 char *_kwnames
[] = { "self", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
284 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
286 wxPyEndAllowThreads(__tstate
);
287 if (PyErr_Occurred()) return NULL
;
289 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
297 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
298 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
301 wxHtmlBookRecord
* _arg0
;
302 PyObject
* _argo0
= 0;
303 char *_kwnames
[] = { "self", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
317 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
319 wxPyEndAllowThreads(__tstate
);
320 if (PyErr_Occurred()) return NULL
;
322 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
330 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
331 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
334 wxHtmlBookRecord
* _arg0
;
335 PyObject
* _argo0
= 0;
336 char *_kwnames
[] = { "self", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
350 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
352 wxPyEndAllowThreads(__tstate
);
353 if (PyErr_Occurred()) return NULL
;
355 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
363 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
364 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
366 wxHtmlBookRecord
* _arg0
;
369 PyObject
* _argo0
= 0;
370 char *_kwnames
[] = { "self","start","end", NULL
};
373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
388 } Py_INCREF(Py_None
);
389 _resultobj
= Py_None
;
393 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
394 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
397 wxHtmlBookRecord
* _arg0
;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
413 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
415 wxPyEndAllowThreads(__tstate
);
416 if (PyErr_Occurred()) return NULL
;
417 } _resultobj
= Py_BuildValue("i",_result
);
421 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
422 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
425 wxHtmlBookRecord
* _arg0
;
426 PyObject
* _argo0
= 0;
427 char *_kwnames
[] = { "self", NULL
};
430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
441 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
443 wxPyEndAllowThreads(__tstate
);
444 if (PyErr_Occurred()) return NULL
;
445 } _resultobj
= Py_BuildValue("i",_result
);
449 #define wxHtmlBookRecord_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
450 static PyObject
*_wrap_wxHtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
452 wxHtmlBookRecord
* _arg0
;
454 PyObject
* _argo0
= 0;
455 PyObject
* _obj1
= 0;
456 char *_kwnames
[] = { "self","title", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetTitle",_kwnames
,&_argo0
,&_obj1
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetTitle. Expected _wxHtmlBookRecord_p.");
469 #if PYTHON_API_VERSION >= 1009
470 char* tmpPtr
; int tmpSize
;
471 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
475 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
477 _arg1
= new wxString(tmpPtr
, tmpSize
);
479 if (!PyString_Check(_obj1
)) {
480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
483 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
488 wxHtmlBookRecord_SetTitle(_arg0
,*_arg1
);
490 wxPyEndAllowThreads(__tstate
);
491 if (PyErr_Occurred()) return NULL
;
492 } Py_INCREF(Py_None
);
493 _resultobj
= Py_None
;
501 #define wxHtmlBookRecord_SetBasePath(_swigobj,_swigarg0) (_swigobj->SetBasePath(_swigarg0))
502 static PyObject
*_wrap_wxHtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
504 wxHtmlBookRecord
* _arg0
;
506 PyObject
* _argo0
= 0;
507 PyObject
* _obj1
= 0;
508 char *_kwnames
[] = { "self","path", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetBasePath",_kwnames
,&_argo0
,&_obj1
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetBasePath. Expected _wxHtmlBookRecord_p.");
521 #if PYTHON_API_VERSION >= 1009
522 char* tmpPtr
; int tmpSize
;
523 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
527 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
529 _arg1
= new wxString(tmpPtr
, tmpSize
);
531 if (!PyString_Check(_obj1
)) {
532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
535 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 wxHtmlBookRecord_SetBasePath(_arg0
,*_arg1
);
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
544 } Py_INCREF(Py_None
);
545 _resultobj
= Py_None
;
553 #define wxHtmlBookRecord_SetStart(_swigobj,_swigarg0) (_swigobj->SetStart(_swigarg0))
554 static PyObject
*_wrap_wxHtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxHtmlBookRecord
* _arg0
;
558 PyObject
* _argo0
= 0;
559 PyObject
* _obj1
= 0;
560 char *_kwnames
[] = { "self","start", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetStart",_kwnames
,&_argo0
,&_obj1
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetStart. Expected _wxHtmlBookRecord_p.");
573 #if PYTHON_API_VERSION >= 1009
574 char* tmpPtr
; int tmpSize
;
575 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
576 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
579 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
581 _arg1
= new wxString(tmpPtr
, tmpSize
);
583 if (!PyString_Check(_obj1
)) {
584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
587 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 wxHtmlBookRecord_SetStart(_arg0
,*_arg1
);
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
596 } Py_INCREF(Py_None
);
597 _resultobj
= Py_None
;
605 #define wxHtmlBookRecord_GetFullPath(_swigobj,_swigarg0) (_swigobj->GetFullPath(_swigarg0))
606 static PyObject
*_wrap_wxHtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
609 wxHtmlBookRecord
* _arg0
;
611 PyObject
* _argo0
= 0;
612 PyObject
* _obj1
= 0;
613 char *_kwnames
[] = { "self","page", NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_GetFullPath",_kwnames
,&_argo0
,&_obj1
))
619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetFullPath. Expected _wxHtmlBookRecord_p.");
626 #if PYTHON_API_VERSION >= 1009
627 char* tmpPtr
; int tmpSize
;
628 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
632 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
634 _arg1
= new wxString(tmpPtr
, tmpSize
);
636 if (!PyString_Check(_obj1
)) {
637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
640 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 _result
= new wxString (wxHtmlBookRecord_GetFullPath(_arg0
,*_arg1
));
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
650 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
662 #define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval)
663 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
664 PyObject
* _resultobj
;
666 wxHtmlContentsItem
* _arg0
;
668 PyObject
* _argo0
= 0;
669 char *_kwnames
[] = { "self","m_Level", NULL
};
672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames
,&_argo0
,&_arg1
))
675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p.");
682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
683 _result
= (short )wxHtmlContentsItem_m_Level_set(_arg0
,_arg1
);
685 wxPyEndAllowThreads(__tstate
);
686 if (PyErr_Occurred()) return NULL
;
687 } _resultobj
= Py_BuildValue("h",_result
);
691 #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
692 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
695 wxHtmlContentsItem
* _arg0
;
696 PyObject
* _argo0
= 0;
697 char *_kwnames
[] = { "self", NULL
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Level_get",_kwnames
,&_argo0
))
703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
711 _result
= (short )wxHtmlContentsItem_m_Level_get(_arg0
);
713 wxPyEndAllowThreads(__tstate
);
714 if (PyErr_Occurred()) return NULL
;
715 } _resultobj
= Py_BuildValue("h",_result
);
719 #define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval)
720 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 wxHtmlContentsItem
* _arg0
;
725 PyObject
* _argo0
= 0;
726 char *_kwnames
[] = { "self","m_ID", NULL
};
729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames
,&_argo0
,&_arg1
))
732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p.");
739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 _result
= (int )wxHtmlContentsItem_m_ID_set(_arg0
,_arg1
);
742 wxPyEndAllowThreads(__tstate
);
743 if (PyErr_Occurred()) return NULL
;
744 } _resultobj
= Py_BuildValue("i",_result
);
748 #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
749 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
752 wxHtmlContentsItem
* _arg0
;
753 PyObject
* _argo0
= 0;
754 char *_kwnames
[] = { "self", NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_ID_get",_kwnames
,&_argo0
))
760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
768 _result
= (int )wxHtmlContentsItem_m_ID_get(_arg0
);
770 wxPyEndAllowThreads(__tstate
);
771 if (PyErr_Occurred()) return NULL
;
772 } _resultobj
= Py_BuildValue("i",_result
);
776 static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem
*obj
, char *val
) {
777 if (obj
->m_Name
) delete [] obj
->m_Name
;
778 obj
->m_Name
= new char[strlen(val
)+1];
779 strcpy((char *)obj
->m_Name
,val
);
782 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
785 wxHtmlContentsItem
* _arg0
;
787 PyObject
* _argo0
= 0;
788 char *_kwnames
[] = { "self","m_Name", NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Name_set",_kwnames
,&_argo0
,&_arg1
))
794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p.");
801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
802 _result
= (char *)wxHtmlContentsItem_m_Name_set(_arg0
,_arg1
);
804 wxPyEndAllowThreads(__tstate
);
805 if (PyErr_Occurred()) return NULL
;
806 } _resultobj
= Py_BuildValue("s", _result
);
810 #define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name)
811 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
814 wxHtmlContentsItem
* _arg0
;
815 PyObject
* _argo0
= 0;
816 char *_kwnames
[] = { "self", NULL
};
819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Name_get",_kwnames
,&_argo0
))
822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
830 _result
= (char *)wxHtmlContentsItem_m_Name_get(_arg0
);
832 wxPyEndAllowThreads(__tstate
);
833 if (PyErr_Occurred()) return NULL
;
834 } _resultobj
= Py_BuildValue("s", _result
);
838 static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem
*obj
, char *val
) {
839 if (obj
->m_Page
) delete [] obj
->m_Page
;
840 obj
->m_Page
= new char[strlen(val
)+1];
841 strcpy((char *)obj
->m_Page
,val
);
844 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
847 wxHtmlContentsItem
* _arg0
;
849 PyObject
* _argo0
= 0;
850 char *_kwnames
[] = { "self","m_Page", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Page_set",_kwnames
,&_argo0
,&_arg1
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p.");
863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
864 _result
= (char *)wxHtmlContentsItem_m_Page_set(_arg0
,_arg1
);
866 wxPyEndAllowThreads(__tstate
);
867 if (PyErr_Occurred()) return NULL
;
868 } _resultobj
= Py_BuildValue("s", _result
);
872 #define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page)
873 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
876 wxHtmlContentsItem
* _arg0
;
877 PyObject
* _argo0
= 0;
878 char *_kwnames
[] = { "self", NULL
};
881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Page_get",_kwnames
,&_argo0
))
884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
892 _result
= (char *)wxHtmlContentsItem_m_Page_get(_arg0
);
894 wxPyEndAllowThreads(__tstate
);
895 if (PyErr_Occurred()) return NULL
;
896 } _resultobj
= Py_BuildValue("s", _result
);
900 #define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval)
901 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 PyObject
* _resultobj
;
903 wxHtmlBookRecord
* _result
;
904 wxHtmlContentsItem
* _arg0
;
905 wxHtmlBookRecord
* _arg1
;
906 PyObject
* _argo0
= 0;
907 PyObject
* _argo1
= 0;
908 char *_kwnames
[] = { "self","m_Book", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContentsItem_m_Book_set",_kwnames
,&_argo0
,&_argo1
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p.");
922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlBookRecord_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p.");
929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
930 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_set(_arg0
,_arg1
);
932 wxPyEndAllowThreads(__tstate
);
933 if (PyErr_Occurred()) return NULL
;
935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
936 _resultobj
= Py_BuildValue("s",_ptemp
);
939 _resultobj
= Py_None
;
944 #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
945 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
947 wxHtmlBookRecord
* _result
;
948 wxHtmlContentsItem
* _arg0
;
949 PyObject
* _argo0
= 0;
950 char *_kwnames
[] = { "self", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Book_get",_kwnames
,&_argo0
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
965 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_get(_arg0
);
967 wxPyEndAllowThreads(__tstate
);
968 if (PyErr_Occurred()) return NULL
;
970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
971 _resultobj
= Py_BuildValue("s",_ptemp
);
974 _resultobj
= Py_None
;
979 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
980 static PyObject
*_wrap_wxHtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
983 wxHtmlSearchStatus
* _arg0
;
984 PyObject
* _argo0
= 0;
985 char *_kwnames
[] = { "self", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_Search",_kwnames
,&_argo0
))
991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
999 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
1001 wxPyEndAllowThreads(__tstate
);
1002 if (PyErr_Occurred()) return NULL
;
1003 } _resultobj
= Py_BuildValue("i",_result
);
1007 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
1008 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1011 wxHtmlSearchStatus
* _arg0
;
1012 PyObject
* _argo0
= 0;
1013 char *_kwnames
[] = { "self", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
1026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1027 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
1029 wxPyEndAllowThreads(__tstate
);
1030 if (PyErr_Occurred()) return NULL
;
1031 } _resultobj
= Py_BuildValue("i",_result
);
1035 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
1036 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1039 wxHtmlSearchStatus
* _arg0
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1059 } _resultobj
= Py_BuildValue("i",_result
);
1063 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
1064 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 wxHtmlSearchStatus
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 char *_kwnames
[] = { "self", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) return NULL
;
1087 } _resultobj
= Py_BuildValue("i",_result
);
1091 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
1092 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
* _resultobj
;
1095 wxHtmlSearchStatus
* _arg0
;
1096 PyObject
* _argo0
= 0;
1097 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
1112 _result
= (wxString
*) &_result_ref
;
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) return NULL
;
1117 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1122 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
1123 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1125 wxHtmlContentsItem
* _result
;
1126 wxHtmlSearchStatus
* _arg0
;
1127 PyObject
* _argo0
= 0;
1128 char *_kwnames
[] = { "self", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1149 _resultobj
= Py_BuildValue("s",_ptemp
);
1152 _resultobj
= Py_None
;
1157 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
1158 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1160 wxHtmlHelpData
* _result
;
1161 char *_kwnames
[] = { NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) return NULL
;
1174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1175 _resultobj
= Py_BuildValue("s",_ptemp
);
1178 _resultobj
= Py_None
;
1183 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
1184 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1186 wxHtmlHelpData
* _arg0
;
1187 PyObject
* _argo0
= 0;
1188 char *_kwnames
[] = { "self", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
1194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
1201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1202 delete_wxHtmlHelpData(_arg0
);
1204 wxPyEndAllowThreads(__tstate
);
1205 if (PyErr_Occurred()) return NULL
;
1206 } Py_INCREF(Py_None
);
1207 _resultobj
= Py_None
;
1211 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1212 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1214 wxHtmlHelpData
* _arg0
;
1216 PyObject
* _argo0
= 0;
1217 PyObject
* _obj1
= 0;
1218 char *_kwnames
[] = { "self","path", NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
1231 #if PYTHON_API_VERSION >= 1009
1232 char* tmpPtr
; int tmpSize
;
1233 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1237 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1239 _arg1
= new wxString(tmpPtr
, tmpSize
);
1241 if (!PyString_Check(_obj1
)) {
1242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1245 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) return NULL
;
1254 } Py_INCREF(Py_None
);
1255 _resultobj
= Py_None
;
1263 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
1264 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1267 wxHtmlHelpData
* _arg0
;
1269 PyObject
* _argo0
= 0;
1270 PyObject
* _obj1
= 0;
1271 char *_kwnames
[] = { "self","book", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1284 #if PYTHON_API_VERSION >= 1009
1285 char* tmpPtr
; int tmpSize
;
1286 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1287 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1290 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1292 _arg1
= new wxString(tmpPtr
, tmpSize
);
1294 if (!PyString_Check(_obj1
)) {
1295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1298 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) return NULL
;
1307 } _resultobj
= Py_BuildValue("i",_result
);
1315 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1316 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1319 wxHtmlHelpData
* _arg0
;
1321 PyObject
* _argo0
= 0;
1322 PyObject
* _obj1
= 0;
1323 char *_kwnames
[] = { "self","page", NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1336 #if PYTHON_API_VERSION >= 1009
1337 char* tmpPtr
; int tmpSize
;
1338 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1342 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1344 _arg1
= new wxString(tmpPtr
, tmpSize
);
1346 if (!PyString_Check(_obj1
)) {
1347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1350 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) return NULL
;
1360 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1372 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1373 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1376 wxHtmlHelpData
* _arg0
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self","id", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) return NULL
;
1398 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1406 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1407 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1409 wxHtmlBookRecArray
* _result
;
1410 wxHtmlHelpData
* _arg0
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1428 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1434 _resultobj
= Py_BuildValue("s",_ptemp
);
1437 _resultobj
= Py_None
;
1442 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1443 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1445 wxHtmlContentsItem
* _result
;
1446 wxHtmlHelpData
* _arg0
;
1447 PyObject
* _argo0
= 0;
1448 char *_kwnames
[] = { "self", NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) return NULL
;
1468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1469 _resultobj
= Py_BuildValue("s",_ptemp
);
1472 _resultobj
= Py_None
;
1477 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1478 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1481 wxHtmlHelpData
* _arg0
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) return NULL
;
1501 } _resultobj
= Py_BuildValue("i",_result
);
1505 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1506 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1508 wxHtmlContentsItem
* _result
;
1509 wxHtmlHelpData
* _arg0
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1532 _resultobj
= Py_BuildValue("s",_ptemp
);
1535 _resultobj
= Py_None
;
1540 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1541 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1544 wxHtmlHelpData
* _arg0
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "self", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) return NULL
;
1564 } _resultobj
= Py_BuildValue("i",_result
);
1568 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1569 wxHtmlHelpFrame
*src
;
1571 src
= (wxHtmlHelpFrame
*) ptr
;
1572 dest
= (wxFrame
*) src
;
1573 return (void *) dest
;
1576 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr
) {
1577 wxHtmlHelpFrame
*src
;
1578 wxTopLevelWindow
*dest
;
1579 src
= (wxHtmlHelpFrame
*) ptr
;
1580 dest
= (wxTopLevelWindow
*) src
;
1581 return (void *) dest
;
1584 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1585 wxHtmlHelpFrame
*src
;
1587 src
= (wxHtmlHelpFrame
*) ptr
;
1588 dest
= (wxWindow
*) src
;
1589 return (void *) dest
;
1592 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1593 wxHtmlHelpFrame
*src
;
1595 src
= (wxHtmlHelpFrame
*) ptr
;
1596 dest
= (wxEvtHandler
*) src
;
1597 return (void *) dest
;
1600 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1601 wxHtmlHelpFrame
*src
;
1603 src
= (wxHtmlHelpFrame
*) ptr
;
1604 dest
= (wxObject
*) src
;
1605 return (void *) dest
;
1608 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1609 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1611 wxHtmlHelpFrame
* _result
;
1614 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1615 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1616 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1617 PyObject
* _argo0
= 0;
1618 PyObject
* _obj2
= 0;
1619 PyObject
* _argo4
= 0;
1620 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1635 #if PYTHON_API_VERSION >= 1009
1636 char* tmpPtr
; int tmpSize
;
1637 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1641 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1643 _arg2
= new wxString(tmpPtr
, tmpSize
);
1645 if (!PyString_Check(_obj2
)) {
1646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1649 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1653 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) return NULL
;
1666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1667 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 _resultobj
= Py_None
;
1679 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1680 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1682 wxHtmlHelpData
* _result
;
1683 wxHtmlHelpFrame
* _arg0
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) return NULL
;
1705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1706 _resultobj
= Py_BuildValue("s",_ptemp
);
1709 _resultobj
= Py_None
;
1714 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1715 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1717 wxHtmlHelpFrame
* _arg0
;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _obj1
= 0;
1721 char *_kwnames
[] = { "self","format", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1734 #if PYTHON_API_VERSION >= 1009
1735 char* tmpPtr
; int tmpSize
;
1736 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1740 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1742 _arg1
= new wxString(tmpPtr
, tmpSize
);
1744 if (!PyString_Check(_obj1
)) {
1745 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1748 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) return NULL
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1766 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1767 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1769 wxHtmlHelpFrame
* _arg0
;
1771 PyObject
* _argo0
= 0;
1772 PyObject
* _obj1
= 0;
1773 char *_kwnames
[] = { "self","x", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1786 #if PYTHON_API_VERSION >= 1009
1787 char* tmpPtr
; int tmpSize
;
1788 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1792 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1794 _arg1
= new wxString(tmpPtr
, tmpSize
);
1796 if (!PyString_Check(_obj1
)) {
1797 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1800 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) return NULL
;
1809 } Py_INCREF(Py_None
);
1810 _resultobj
= Py_None
;
1818 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1819 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1821 wxHtmlHelpFrame
* _arg0
;
1823 PyObject
* _argo0
= 0;
1824 char *_kwnames
[] = { "self","id", NULL
};
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1842 } Py_INCREF(Py_None
);
1843 _resultobj
= Py_None
;
1847 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1848 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1850 wxHtmlHelpFrame
* _arg0
;
1851 PyObject
* _argo0
= 0;
1852 char *_kwnames
[] = { "self", NULL
};
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 wxHtmlHelpFrame_DisplayContents(_arg0
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) return NULL
;
1870 } Py_INCREF(Py_None
);
1871 _resultobj
= Py_None
;
1875 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1876 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1878 wxHtmlHelpFrame
* _arg0
;
1879 PyObject
* _argo0
= 0;
1880 char *_kwnames
[] = { "self", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) return NULL
;
1898 } Py_INCREF(Py_None
);
1899 _resultobj
= Py_None
;
1903 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1904 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1907 wxHtmlHelpFrame
* _arg0
;
1909 PyObject
* _argo0
= 0;
1910 PyObject
* _obj1
= 0;
1911 char *_kwnames
[] = { "self","keyword", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1924 #if PYTHON_API_VERSION >= 1009
1925 char* tmpPtr
; int tmpSize
;
1926 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1930 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1932 _arg1
= new wxString(tmpPtr
, tmpSize
);
1934 if (!PyString_Check(_obj1
)) {
1935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1938 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) return NULL
;
1947 } _resultobj
= Py_BuildValue("i",_result
);
1955 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1956 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1958 wxHtmlHelpFrame
* _arg0
;
1959 wxConfigBase
* _arg1
;
1960 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1961 PyObject
* _argo0
= 0;
1962 PyObject
* _argo1
= 0;
1963 PyObject
* _obj2
= 0;
1964 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1977 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1978 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1985 #if PYTHON_API_VERSION >= 1009
1986 char* tmpPtr
; int tmpSize
;
1987 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1988 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1991 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1993 _arg2
= new wxString(tmpPtr
, tmpSize
);
1995 if (!PyString_Check(_obj2
)) {
1996 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1999 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) return NULL
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2017 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2018 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2020 wxHtmlHelpFrame
* _arg0
;
2021 wxConfigBase
* _arg1
;
2022 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _argo1
= 0;
2025 PyObject
* _obj2
= 0;
2026 char *_kwnames
[] = { "self","cfg","path", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
2039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
2047 #if PYTHON_API_VERSION >= 1009
2048 char* tmpPtr
; int tmpSize
;
2049 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2050 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2053 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2055 _arg2
= new wxString(tmpPtr
, tmpSize
);
2057 if (!PyString_Check(_obj2
)) {
2058 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2061 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) return NULL
;
2070 } Py_INCREF(Py_None
);
2071 _resultobj
= Py_None
;
2079 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2080 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2082 wxHtmlHelpFrame
* _arg0
;
2083 wxConfigBase
* _arg1
;
2084 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2085 PyObject
* _argo0
= 0;
2086 PyObject
* _argo1
= 0;
2087 PyObject
* _obj2
= 0;
2088 char *_kwnames
[] = { "self","cfg","path", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
2101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
2109 #if PYTHON_API_VERSION >= 1009
2110 char* tmpPtr
; int tmpSize
;
2111 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2115 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2117 _arg2
= new wxString(tmpPtr
, tmpSize
);
2119 if (!PyString_Check(_obj2
)) {
2120 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2123 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) return NULL
;
2132 } Py_INCREF(Py_None
);
2133 _resultobj
= Py_None
;
2141 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
2142 wxHtmlHelpController
*src
;
2144 src
= (wxHtmlHelpController
*) ptr
;
2145 dest
= (wxEvtHandler
*) src
;
2146 return (void *) dest
;
2149 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
2150 wxHtmlHelpController
*src
;
2152 src
= (wxHtmlHelpController
*) ptr
;
2153 dest
= (wxObject
*) src
;
2154 return (void *) dest
;
2157 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
2158 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2160 wxHtmlHelpController
* _result
;
2161 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
2162 char *_kwnames
[] = { "style", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) return NULL
;
2175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
2176 _resultobj
= Py_BuildValue("s",_ptemp
);
2179 _resultobj
= Py_None
;
2184 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
2185 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2187 wxHtmlHelpController
* _arg0
;
2188 PyObject
* _argo0
= 0;
2189 char *_kwnames
[] = { "self", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
2195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 delete_wxHtmlHelpController(_arg0
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) return NULL
;
2207 } Py_INCREF(Py_None
);
2208 _resultobj
= Py_None
;
2212 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
2213 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2215 wxHtmlHelpController
* _arg0
;
2217 PyObject
* _argo0
= 0;
2218 PyObject
* _obj1
= 0;
2219 char *_kwnames
[] = { "self","format", NULL
};
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
2225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
2232 #if PYTHON_API_VERSION >= 1009
2233 char* tmpPtr
; int tmpSize
;
2234 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2238 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2240 _arg1
= new wxString(tmpPtr
, tmpSize
);
2242 if (!PyString_Check(_obj1
)) {
2243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2246 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2264 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
2265 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2267 wxHtmlHelpController
* _arg0
;
2269 PyObject
* _argo0
= 0;
2270 PyObject
* _obj1
= 0;
2271 char *_kwnames
[] = { "self","path", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
2277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
2284 #if PYTHON_API_VERSION >= 1009
2285 char* tmpPtr
; int tmpSize
;
2286 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2287 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2290 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2292 _arg1
= new wxString(tmpPtr
, tmpSize
);
2294 if (!PyString_Check(_obj1
)) {
2295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2298 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2307 } Py_INCREF(Py_None
);
2308 _resultobj
= Py_None
;
2316 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
2317 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
* _resultobj
;
2320 wxHtmlHelpController
* _arg0
;
2322 int _arg2
= (int ) FALSE
;
2323 PyObject
* _argo0
= 0;
2324 PyObject
* _obj1
= 0;
2325 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
2338 #if PYTHON_API_VERSION >= 1009
2339 char* tmpPtr
; int tmpSize
;
2340 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2344 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2346 _arg1
= new wxString(tmpPtr
, tmpSize
);
2348 if (!PyString_Check(_obj1
)) {
2349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2352 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) return NULL
;
2361 } _resultobj
= Py_BuildValue("i",_result
);
2369 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2370 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2372 wxHtmlHelpController
* _arg0
;
2374 PyObject
* _argo0
= 0;
2375 PyObject
* _obj1
= 0;
2376 char *_kwnames
[] = { "self","x", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
2389 #if PYTHON_API_VERSION >= 1009
2390 char* tmpPtr
; int tmpSize
;
2391 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2395 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2397 _arg1
= new wxString(tmpPtr
, tmpSize
);
2399 if (!PyString_Check(_obj1
)) {
2400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2403 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 wxHtmlHelpController_Display(_arg0
,*_arg1
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2412 } Py_INCREF(Py_None
);
2413 _resultobj
= Py_None
;
2421 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2422 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2424 wxHtmlHelpController
* _arg0
;
2426 PyObject
* _argo0
= 0;
2427 char *_kwnames
[] = { "self","id", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) return NULL
;
2445 } Py_INCREF(Py_None
);
2446 _resultobj
= Py_None
;
2450 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2451 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2453 wxHtmlHelpController
* _arg0
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 wxHtmlHelpController_DisplayContents(_arg0
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2473 } Py_INCREF(Py_None
);
2474 _resultobj
= Py_None
;
2478 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2479 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2481 wxHtmlHelpController
* _arg0
;
2482 PyObject
* _argo0
= 0;
2483 char *_kwnames
[] = { "self", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 wxHtmlHelpController_DisplayIndex(_arg0
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) return NULL
;
2501 } Py_INCREF(Py_None
);
2502 _resultobj
= Py_None
;
2506 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2507 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2510 wxHtmlHelpController
* _arg0
;
2512 PyObject
* _argo0
= 0;
2513 PyObject
* _obj1
= 0;
2514 char *_kwnames
[] = { "self","keyword", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2527 #if PYTHON_API_VERSION >= 1009
2528 char* tmpPtr
; int tmpSize
;
2529 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2530 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2533 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2535 _arg1
= new wxString(tmpPtr
, tmpSize
);
2537 if (!PyString_Check(_obj1
)) {
2538 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2541 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) return NULL
;
2550 } _resultobj
= Py_BuildValue("i",_result
);
2558 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2559 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2561 wxHtmlHelpController
* _arg0
;
2562 wxConfigBase
* _arg1
;
2563 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2564 PyObject
* _argo0
= 0;
2565 PyObject
* _argo1
= 0;
2566 PyObject
* _obj2
= 0;
2567 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2580 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2588 #if PYTHON_API_VERSION >= 1009
2589 char* tmpPtr
; int tmpSize
;
2590 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2594 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2596 _arg2
= new wxString(tmpPtr
, tmpSize
);
2598 if (!PyString_Check(_obj2
)) {
2599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2602 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) return NULL
;
2611 } Py_INCREF(Py_None
);
2612 _resultobj
= Py_None
;
2620 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2621 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2623 wxHtmlHelpController
* _arg0
;
2624 wxConfigBase
* _arg1
;
2625 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2626 PyObject
* _argo0
= 0;
2627 PyObject
* _argo1
= 0;
2628 PyObject
* _obj2
= 0;
2629 char *_kwnames
[] = { "self","cfg","path", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2650 #if PYTHON_API_VERSION >= 1009
2651 char* tmpPtr
; int tmpSize
;
2652 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2656 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2658 _arg2
= new wxString(tmpPtr
, tmpSize
);
2660 if (!PyString_Check(_obj2
)) {
2661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2664 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) return NULL
;
2673 } Py_INCREF(Py_None
);
2674 _resultobj
= Py_None
;
2682 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2683 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
* _resultobj
;
2685 wxHtmlHelpController
* _arg0
;
2686 wxConfigBase
* _arg1
;
2687 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2688 PyObject
* _argo0
= 0;
2689 PyObject
* _argo1
= 0;
2690 PyObject
* _obj2
= 0;
2691 char *_kwnames
[] = { "self","cfg","path", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2712 #if PYTHON_API_VERSION >= 1009
2713 char* tmpPtr
; int tmpSize
;
2714 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2718 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2720 _arg2
= new wxString(tmpPtr
, tmpSize
);
2722 if (!PyString_Check(_obj2
)) {
2723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2726 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) return NULL
;
2735 } Py_INCREF(Py_None
);
2736 _resultobj
= Py_None
;
2744 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2745 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2747 wxHtmlHelpFrame
* _result
;
2748 wxHtmlHelpController
* _arg0
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) return NULL
;
2770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2771 _resultobj
= Py_BuildValue("s",_ptemp
);
2774 _resultobj
= Py_None
;
2779 static PyMethodDef htmlhelpcMethods
[] = {
2780 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2781 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2782 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2783 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2784 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2785 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2786 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2787 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2788 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2789 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2790 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2791 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2792 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2793 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2794 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2795 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2796 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2797 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2798 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2799 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2800 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2801 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2802 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2803 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2804 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2805 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2806 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2807 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2808 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2809 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2810 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2811 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2812 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2813 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2814 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2815 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2816 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2817 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2818 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2819 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2820 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2821 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2822 { "wxHtmlContentsItem_m_Book_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_get
, METH_VARARGS
| METH_KEYWORDS
},
2823 { "wxHtmlContentsItem_m_Book_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_set
, METH_VARARGS
| METH_KEYWORDS
},
2824 { "wxHtmlContentsItem_m_Page_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_get
, METH_VARARGS
| METH_KEYWORDS
},
2825 { "wxHtmlContentsItem_m_Page_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_set
, METH_VARARGS
| METH_KEYWORDS
},
2826 { "wxHtmlContentsItem_m_Name_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_get
, METH_VARARGS
| METH_KEYWORDS
},
2827 { "wxHtmlContentsItem_m_Name_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_set
, METH_VARARGS
| METH_KEYWORDS
},
2828 { "wxHtmlContentsItem_m_ID_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_get
, METH_VARARGS
| METH_KEYWORDS
},
2829 { "wxHtmlContentsItem_m_ID_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_set
, METH_VARARGS
| METH_KEYWORDS
},
2830 { "wxHtmlContentsItem_m_Level_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_get
, METH_VARARGS
| METH_KEYWORDS
},
2831 { "wxHtmlContentsItem_m_Level_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_set
, METH_VARARGS
| METH_KEYWORDS
},
2832 { "wxHtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
2833 { "wxHtmlBookRecord_SetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
2834 { "wxHtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2835 { "wxHtmlBookRecord_SetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2836 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2837 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2838 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2839 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2840 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2841 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2842 { "wxHtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
2843 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2850 * This table is used by the pointer type-checker
2852 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2853 { "_signed_long","_long",0},
2854 { "_wxPrintQuality","_wxCoord",0},
2855 { "_wxPrintQuality","_int",0},
2856 { "_wxPrintQuality","_signed_int",0},
2857 { "_wxPrintQuality","_unsigned_int",0},
2858 { "_wxPrintQuality","_wxWindowID",0},
2859 { "_wxPrintQuality","_uint",0},
2860 { "_wxPrintQuality","_EBool",0},
2861 { "_wxPrintQuality","_size_t",0},
2862 { "_wxPrintQuality","_time_t",0},
2863 { "_byte","_unsigned_char",0},
2864 { "_long","_unsigned_long",0},
2865 { "_long","_signed_long",0},
2866 { "_size_t","_wxCoord",0},
2867 { "_size_t","_wxPrintQuality",0},
2868 { "_size_t","_time_t",0},
2869 { "_size_t","_unsigned_int",0},
2870 { "_size_t","_int",0},
2871 { "_size_t","_wxWindowID",0},
2872 { "_size_t","_uint",0},
2873 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2874 { "_uint","_wxCoord",0},
2875 { "_uint","_wxPrintQuality",0},
2876 { "_uint","_time_t",0},
2877 { "_uint","_size_t",0},
2878 { "_uint","_unsigned_int",0},
2879 { "_uint","_int",0},
2880 { "_uint","_wxWindowID",0},
2881 { "_wxChar","_char",0},
2882 { "_char","_wxChar",0},
2883 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2884 { "_EBool","_wxCoord",0},
2885 { "_EBool","_wxPrintQuality",0},
2886 { "_EBool","_signed_int",0},
2887 { "_EBool","_int",0},
2888 { "_EBool","_wxWindowID",0},
2889 { "_unsigned_long","_long",0},
2890 { "_struct_wxHtmlContentsItem","_wxHtmlContentsItem",0},
2891 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2892 { "_signed_int","_wxCoord",0},
2893 { "_signed_int","_wxPrintQuality",0},
2894 { "_signed_int","_EBool",0},
2895 { "_signed_int","_wxWindowID",0},
2896 { "_signed_int","_int",0},
2897 { "_WXTYPE","_wxDateTime_t",0},
2898 { "_WXTYPE","_short",0},
2899 { "_WXTYPE","_signed_short",0},
2900 { "_WXTYPE","_unsigned_short",0},
2901 { "_unsigned_short","_wxDateTime_t",0},
2902 { "_unsigned_short","_WXTYPE",0},
2903 { "_unsigned_short","_short",0},
2904 { "_wxHtmlContentsItem","_struct_wxHtmlContentsItem",0},
2905 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2906 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2907 { "_wxObject","_wxHtmlBookRecord",SwigwxHtmlBookRecordTowxObject
},
2908 { "_signed_short","_WXTYPE",0},
2909 { "_signed_short","_short",0},
2910 { "_unsigned_char","_byte",0},
2911 { "_unsigned_int","_wxCoord",0},
2912 { "_unsigned_int","_wxPrintQuality",0},
2913 { "_unsigned_int","_time_t",0},
2914 { "_unsigned_int","_size_t",0},
2915 { "_unsigned_int","_uint",0},
2916 { "_unsigned_int","_wxWindowID",0},
2917 { "_unsigned_int","_int",0},
2918 { "_short","_wxDateTime_t",0},
2919 { "_short","_WXTYPE",0},
2920 { "_short","_unsigned_short",0},
2921 { "_short","_signed_short",0},
2922 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2923 { "_wxWindowID","_wxCoord",0},
2924 { "_wxWindowID","_wxPrintQuality",0},
2925 { "_wxWindowID","_time_t",0},
2926 { "_wxWindowID","_size_t",0},
2927 { "_wxWindowID","_EBool",0},
2928 { "_wxWindowID","_uint",0},
2929 { "_wxWindowID","_int",0},
2930 { "_wxWindowID","_signed_int",0},
2931 { "_wxWindowID","_unsigned_int",0},
2932 { "_int","_wxCoord",0},
2933 { "_int","_wxPrintQuality",0},
2934 { "_int","_time_t",0},
2935 { "_int","_size_t",0},
2936 { "_int","_EBool",0},
2937 { "_int","_uint",0},
2938 { "_int","_wxWindowID",0},
2939 { "_int","_unsigned_int",0},
2940 { "_int","_signed_int",0},
2941 { "_wxDateTime_t","_unsigned_short",0},
2942 { "_wxDateTime_t","_short",0},
2943 { "_wxDateTime_t","_WXTYPE",0},
2944 { "_time_t","_wxCoord",0},
2945 { "_time_t","_wxPrintQuality",0},
2946 { "_time_t","_unsigned_int",0},
2947 { "_time_t","_int",0},
2948 { "_time_t","_wxWindowID",0},
2949 { "_time_t","_uint",0},
2950 { "_time_t","_size_t",0},
2951 { "_wxCoord","_int",0},
2952 { "_wxCoord","_signed_int",0},
2953 { "_wxCoord","_unsigned_int",0},
2954 { "_wxCoord","_wxWindowID",0},
2955 { "_wxCoord","_uint",0},
2956 { "_wxCoord","_EBool",0},
2957 { "_wxCoord","_size_t",0},
2958 { "_wxCoord","_time_t",0},
2959 { "_wxCoord","_wxPrintQuality",0},
2960 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2961 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2962 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2965 static PyObject
*SWIG_globals
;
2969 SWIGEXPORT(void) inithtmlhelpc() {
2971 SWIG_globals
= SWIG_newvarlink();
2972 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2973 d
= PyModule_GetDict(m
);
2974 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2975 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2976 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2977 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2978 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2979 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2980 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2981 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2982 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2985 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2986 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);