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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init inithtmlhelpc
54 #define SWIG_name "htmlhelpc"
57 #include <wx/html/htmlwin.h>
58 #include <wx/html/helpctrl.h>
60 #include <wx/fs_zip.h>
61 #include <wx/fs_inet.h>
62 #include <wx/wfstream.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 #if PYTHON_API_VERSION >= 1009
111 static char* wxStringErrorMsg
= "String or Unicode type required";
113 static char* wxStringErrorMsg
= "String type required";
118 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2))
119 static PyObject
*_wrap_new_wxHtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
120 PyObject
* _resultobj
;
121 wxHtmlBookRecord
* _result
;
125 PyObject
* _obj0
= 0;
126 PyObject
* _obj1
= 0;
127 PyObject
* _obj2
= 0;
128 char *_kwnames
[] = { "basepath","title","start", NULL
};
132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxHtmlBookRecord",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
135 #if PYTHON_API_VERSION >= 1009
136 char* tmpPtr
; int tmpSize
;
137 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
141 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
143 _arg0
= new wxString(tmpPtr
, tmpSize
);
145 if (!PyString_Check(_obj0
)) {
146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
149 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
153 #if PYTHON_API_VERSION >= 1009
154 char* tmpPtr
; int tmpSize
;
155 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
156 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
159 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
161 _arg1
= new wxString(tmpPtr
, tmpSize
);
163 if (!PyString_Check(_obj1
)) {
164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
167 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
171 #if PYTHON_API_VERSION >= 1009
172 char* tmpPtr
; int tmpSize
;
173 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
174 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
177 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
179 _arg2
= new wxString(tmpPtr
, tmpSize
);
181 if (!PyString_Check(_obj2
)) {
182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
185 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
189 wxPy_BEGIN_ALLOW_THREADS
;
190 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
);
192 wxPy_END_ALLOW_THREADS
;
194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
195 _resultobj
= Py_BuildValue("s",_ptemp
);
198 _resultobj
= Py_None
;
215 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
216 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
219 wxHtmlBookRecord
* _arg0
;
220 PyObject
* _argo0
= 0;
221 char *_kwnames
[] = { "self", NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
234 wxPy_BEGIN_ALLOW_THREADS
;
235 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
237 wxPy_END_ALLOW_THREADS
;
239 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
247 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
248 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
249 PyObject
* _resultobj
;
251 wxHtmlBookRecord
* _arg0
;
252 PyObject
* _argo0
= 0;
253 char *_kwnames
[] = { "self", NULL
};
256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
266 wxPy_BEGIN_ALLOW_THREADS
;
267 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
269 wxPy_END_ALLOW_THREADS
;
271 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
279 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
280 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
283 wxHtmlBookRecord
* _arg0
;
284 PyObject
* _argo0
= 0;
285 char *_kwnames
[] = { "self", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
298 wxPy_BEGIN_ALLOW_THREADS
;
299 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
301 wxPy_END_ALLOW_THREADS
;
303 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
311 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
312 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
314 wxHtmlBookRecord
* _arg0
;
317 PyObject
* _argo0
= 0;
318 char *_kwnames
[] = { "self","start","end", NULL
};
321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
331 wxPy_BEGIN_ALLOW_THREADS
;
332 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
334 wxPy_END_ALLOW_THREADS
;
335 } Py_INCREF(Py_None
);
336 _resultobj
= Py_None
;
340 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
341 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
342 PyObject
* _resultobj
;
344 wxHtmlBookRecord
* _arg0
;
345 PyObject
* _argo0
= 0;
346 char *_kwnames
[] = { "self", NULL
};
349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
359 wxPy_BEGIN_ALLOW_THREADS
;
360 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
362 wxPy_END_ALLOW_THREADS
;
363 } _resultobj
= Py_BuildValue("i",_result
);
367 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
368 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxHtmlBookRecord
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
389 wxPy_END_ALLOW_THREADS
;
390 } _resultobj
= Py_BuildValue("i",_result
);
394 #define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval)
395 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
398 wxHtmlContentsItem
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self","m_Level", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames
,&_argo0
,&_arg1
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p.");
414 wxPy_BEGIN_ALLOW_THREADS
;
415 _result
= (short )wxHtmlContentsItem_m_Level_set(_arg0
,_arg1
);
417 wxPy_END_ALLOW_THREADS
;
418 } _resultobj
= Py_BuildValue("h",_result
);
422 #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
423 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
426 wxHtmlContentsItem
* _arg0
;
427 PyObject
* _argo0
= 0;
428 char *_kwnames
[] = { "self", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Level_get",_kwnames
,&_argo0
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
441 wxPy_BEGIN_ALLOW_THREADS
;
442 _result
= (short )wxHtmlContentsItem_m_Level_get(_arg0
);
444 wxPy_END_ALLOW_THREADS
;
445 } _resultobj
= Py_BuildValue("h",_result
);
449 #define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval)
450 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
453 wxHtmlContentsItem
* _arg0
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self","m_ID", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames
,&_argo0
,&_arg1
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p.");
469 wxPy_BEGIN_ALLOW_THREADS
;
470 _result
= (int )wxHtmlContentsItem_m_ID_set(_arg0
,_arg1
);
472 wxPy_END_ALLOW_THREADS
;
473 } _resultobj
= Py_BuildValue("i",_result
);
477 #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
478 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
481 wxHtmlContentsItem
* _arg0
;
482 PyObject
* _argo0
= 0;
483 char *_kwnames
[] = { "self", NULL
};
486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_ID_get",_kwnames
,&_argo0
))
489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
496 wxPy_BEGIN_ALLOW_THREADS
;
497 _result
= (int )wxHtmlContentsItem_m_ID_get(_arg0
);
499 wxPy_END_ALLOW_THREADS
;
500 } _resultobj
= Py_BuildValue("i",_result
);
504 static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem
*obj
, char *val
) {
505 if (obj
->m_Name
) delete [] obj
->m_Name
;
506 obj
->m_Name
= new char[strlen(val
)+1];
507 strcpy((char *)obj
->m_Name
,val
);
510 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxHtmlContentsItem
* _arg0
;
515 PyObject
* _argo0
= 0;
516 char *_kwnames
[] = { "self","m_Name", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Name_set",_kwnames
,&_argo0
,&_arg1
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 _result
= (char *)wxHtmlContentsItem_m_Name_set(_arg0
,_arg1
);
532 wxPy_END_ALLOW_THREADS
;
533 } _resultobj
= Py_BuildValue("s", _result
);
537 #define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name)
538 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
541 wxHtmlContentsItem
* _arg0
;
542 PyObject
* _argo0
= 0;
543 char *_kwnames
[] = { "self", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Name_get",_kwnames
,&_argo0
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
556 wxPy_BEGIN_ALLOW_THREADS
;
557 _result
= (char *)wxHtmlContentsItem_m_Name_get(_arg0
);
559 wxPy_END_ALLOW_THREADS
;
560 } _resultobj
= Py_BuildValue("s", _result
);
564 static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem
*obj
, char *val
) {
565 if (obj
->m_Page
) delete [] obj
->m_Page
;
566 obj
->m_Page
= new char[strlen(val
)+1];
567 strcpy((char *)obj
->m_Page
,val
);
570 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
571 PyObject
* _resultobj
;
573 wxHtmlContentsItem
* _arg0
;
575 PyObject
* _argo0
= 0;
576 char *_kwnames
[] = { "self","m_Page", NULL
};
579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Page_set",_kwnames
,&_argo0
,&_arg1
))
582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p.");
589 wxPy_BEGIN_ALLOW_THREADS
;
590 _result
= (char *)wxHtmlContentsItem_m_Page_set(_arg0
,_arg1
);
592 wxPy_END_ALLOW_THREADS
;
593 } _resultobj
= Py_BuildValue("s", _result
);
597 #define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page)
598 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
601 wxHtmlContentsItem
* _arg0
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Page_get",_kwnames
,&_argo0
))
609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
616 wxPy_BEGIN_ALLOW_THREADS
;
617 _result
= (char *)wxHtmlContentsItem_m_Page_get(_arg0
);
619 wxPy_END_ALLOW_THREADS
;
620 } _resultobj
= Py_BuildValue("s", _result
);
624 #define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval)
625 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
627 wxHtmlBookRecord
* _result
;
628 wxHtmlContentsItem
* _arg0
;
629 wxHtmlBookRecord
* _arg1
;
630 PyObject
* _argo0
= 0;
631 PyObject
* _argo1
= 0;
632 char *_kwnames
[] = { "self","m_Book", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContentsItem_m_Book_set",_kwnames
,&_argo0
,&_argo1
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p.");
646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlBookRecord_p")) {
648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p.");
653 wxPy_BEGIN_ALLOW_THREADS
;
654 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_set(_arg0
,_arg1
);
656 wxPy_END_ALLOW_THREADS
;
658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
659 _resultobj
= Py_BuildValue("s",_ptemp
);
662 _resultobj
= Py_None
;
667 #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
668 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
670 wxHtmlBookRecord
* _result
;
671 wxHtmlContentsItem
* _arg0
;
672 PyObject
* _argo0
= 0;
673 char *_kwnames
[] = { "self", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Book_get",_kwnames
,&_argo0
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
687 wxPy_BEGIN_ALLOW_THREADS
;
688 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_get(_arg0
);
690 wxPy_END_ALLOW_THREADS
;
692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
693 _resultobj
= Py_BuildValue("s",_ptemp
);
696 _resultobj
= Py_None
;
701 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
702 static PyObject
*_wrap_wxHtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
705 wxHtmlSearchStatus
* _arg0
;
706 PyObject
* _argo0
= 0;
707 char *_kwnames
[] = { "self", NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_Search",_kwnames
,&_argo0
))
713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
720 wxPy_BEGIN_ALLOW_THREADS
;
721 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
723 wxPy_END_ALLOW_THREADS
;
724 } _resultobj
= Py_BuildValue("i",_result
);
728 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
729 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
732 wxHtmlSearchStatus
* _arg0
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
750 wxPy_END_ALLOW_THREADS
;
751 } _resultobj
= Py_BuildValue("i",_result
);
755 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
756 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
759 wxHtmlSearchStatus
* _arg0
;
760 PyObject
* _argo0
= 0;
761 char *_kwnames
[] = { "self", NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
774 wxPy_BEGIN_ALLOW_THREADS
;
775 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
777 wxPy_END_ALLOW_THREADS
;
778 } _resultobj
= Py_BuildValue("i",_result
);
782 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
783 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
784 PyObject
* _resultobj
;
786 wxHtmlSearchStatus
* _arg0
;
787 PyObject
* _argo0
= 0;
788 char *_kwnames
[] = { "self", NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
801 wxPy_BEGIN_ALLOW_THREADS
;
802 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
804 wxPy_END_ALLOW_THREADS
;
805 } _resultobj
= Py_BuildValue("i",_result
);
809 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
810 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
811 PyObject
* _resultobj
;
813 wxHtmlSearchStatus
* _arg0
;
814 PyObject
* _argo0
= 0;
815 char *_kwnames
[] = { "self", NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
830 _result
= (wxString
*) &_result_ref
;
832 wxPy_END_ALLOW_THREADS
;
834 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
839 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
840 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
842 wxHtmlContentsItem
* _result
;
843 wxHtmlSearchStatus
* _arg0
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self", NULL
};
849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
859 wxPy_BEGIN_ALLOW_THREADS
;
860 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
862 wxPy_END_ALLOW_THREADS
;
864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
865 _resultobj
= Py_BuildValue("s",_ptemp
);
868 _resultobj
= Py_None
;
873 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
874 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
876 wxHtmlHelpData
* _result
;
877 char *_kwnames
[] = { NULL
};
881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
884 wxPy_BEGIN_ALLOW_THREADS
;
885 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
887 wxPy_END_ALLOW_THREADS
;
889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
890 _resultobj
= Py_BuildValue("s",_ptemp
);
893 _resultobj
= Py_None
;
898 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
899 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 PyObject
* _resultobj
;
901 wxHtmlHelpData
* _arg0
;
902 PyObject
* _argo0
= 0;
903 char *_kwnames
[] = { "self", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
916 wxPy_BEGIN_ALLOW_THREADS
;
917 delete_wxHtmlHelpData(_arg0
);
919 wxPy_END_ALLOW_THREADS
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
926 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
928 wxHtmlHelpData
* _arg0
;
930 PyObject
* _argo0
= 0;
931 PyObject
* _obj1
= 0;
932 char *_kwnames
[] = { "self","path", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
945 #if PYTHON_API_VERSION >= 1009
946 char* tmpPtr
; int tmpSize
;
947 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
951 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
953 _arg1
= new wxString(tmpPtr
, tmpSize
);
955 if (!PyString_Check(_obj1
)) {
956 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
959 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
963 wxPy_BEGIN_ALLOW_THREADS
;
964 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
966 wxPy_END_ALLOW_THREADS
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
976 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
977 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
980 wxHtmlHelpData
* _arg0
;
982 PyObject
* _argo0
= 0;
983 PyObject
* _obj1
= 0;
984 char *_kwnames
[] = { "self","book", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
997 #if PYTHON_API_VERSION >= 1009
998 char* tmpPtr
; int tmpSize
;
999 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1000 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1003 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1005 _arg1
= new wxString(tmpPtr
, tmpSize
);
1007 if (!PyString_Check(_obj1
)) {
1008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1011 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1015 wxPy_BEGIN_ALLOW_THREADS
;
1016 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1018 wxPy_END_ALLOW_THREADS
;
1019 } _resultobj
= Py_BuildValue("i",_result
);
1027 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1028 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1031 wxHtmlHelpData
* _arg0
;
1033 PyObject
* _argo0
= 0;
1034 PyObject
* _obj1
= 0;
1035 char *_kwnames
[] = { "self","page", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1048 #if PYTHON_API_VERSION >= 1009
1049 char* tmpPtr
; int tmpSize
;
1050 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1054 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1056 _arg1
= new wxString(tmpPtr
, tmpSize
);
1058 if (!PyString_Check(_obj1
)) {
1059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1062 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1069 wxPy_END_ALLOW_THREADS
;
1071 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1083 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1084 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1087 wxHtmlHelpData
* _arg0
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","id", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1106 wxPy_END_ALLOW_THREADS
;
1108 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1116 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1117 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1119 wxHtmlBookRecArray
* _result
;
1120 wxHtmlHelpData
* _arg0
;
1121 PyObject
* _argo0
= 0;
1122 char *_kwnames
[] = { "self", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1136 wxPy_BEGIN_ALLOW_THREADS
;
1137 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1138 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1140 wxPy_END_ALLOW_THREADS
;
1142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1143 _resultobj
= Py_BuildValue("s",_ptemp
);
1146 _resultobj
= Py_None
;
1151 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1152 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1154 wxHtmlContentsItem
* _result
;
1155 wxHtmlHelpData
* _arg0
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1171 wxPy_BEGIN_ALLOW_THREADS
;
1172 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1174 wxPy_END_ALLOW_THREADS
;
1176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1177 _resultobj
= Py_BuildValue("s",_ptemp
);
1180 _resultobj
= Py_None
;
1185 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1186 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1189 wxHtmlHelpData
* _arg0
;
1190 PyObject
* _argo0
= 0;
1191 char *_kwnames
[] = { "self", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1204 wxPy_BEGIN_ALLOW_THREADS
;
1205 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1207 wxPy_END_ALLOW_THREADS
;
1208 } _resultobj
= Py_BuildValue("i",_result
);
1212 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1213 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1215 wxHtmlContentsItem
* _result
;
1216 wxHtmlHelpData
* _arg0
;
1217 PyObject
* _argo0
= 0;
1218 char *_kwnames
[] = { "self", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1232 wxPy_BEGIN_ALLOW_THREADS
;
1233 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1235 wxPy_END_ALLOW_THREADS
;
1237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1238 _resultobj
= Py_BuildValue("s",_ptemp
);
1241 _resultobj
= Py_None
;
1246 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1247 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1250 wxHtmlHelpData
* _arg0
;
1251 PyObject
* _argo0
= 0;
1252 char *_kwnames
[] = { "self", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1265 wxPy_BEGIN_ALLOW_THREADS
;
1266 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1268 wxPy_END_ALLOW_THREADS
;
1269 } _resultobj
= Py_BuildValue("i",_result
);
1273 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1274 wxHtmlHelpFrame
*src
;
1276 src
= (wxHtmlHelpFrame
*) ptr
;
1277 dest
= (wxFrame
*) src
;
1278 return (void *) dest
;
1281 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr
) {
1282 wxHtmlHelpFrame
*src
;
1283 wxTopLevelWindow
*dest
;
1284 src
= (wxHtmlHelpFrame
*) ptr
;
1285 dest
= (wxTopLevelWindow
*) src
;
1286 return (void *) dest
;
1289 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1290 wxHtmlHelpFrame
*src
;
1292 src
= (wxHtmlHelpFrame
*) ptr
;
1293 dest
= (wxWindow
*) src
;
1294 return (void *) dest
;
1297 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1298 wxHtmlHelpFrame
*src
;
1300 src
= (wxHtmlHelpFrame
*) ptr
;
1301 dest
= (wxEvtHandler
*) src
;
1302 return (void *) dest
;
1305 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1306 wxHtmlHelpFrame
*src
;
1308 src
= (wxHtmlHelpFrame
*) ptr
;
1309 dest
= (wxObject
*) src
;
1310 return (void *) dest
;
1313 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1314 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1316 wxHtmlHelpFrame
* _result
;
1319 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1320 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1321 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1322 PyObject
* _argo0
= 0;
1323 PyObject
* _obj2
= 0;
1324 PyObject
* _argo4
= 0;
1325 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1340 #if PYTHON_API_VERSION >= 1009
1341 char* tmpPtr
; int tmpSize
;
1342 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1346 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1348 _arg2
= new wxString(tmpPtr
, tmpSize
);
1350 if (!PyString_Check(_obj2
)) {
1351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1354 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1358 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1368 wxPy_END_ALLOW_THREADS
;
1370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1371 _resultobj
= Py_BuildValue("s",_ptemp
);
1374 _resultobj
= Py_None
;
1383 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1384 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1386 wxHtmlHelpData
* _result
;
1387 wxHtmlHelpFrame
* _arg0
;
1388 PyObject
* _argo0
= 0;
1389 char *_kwnames
[] = { "self", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1403 wxPy_BEGIN_ALLOW_THREADS
;
1404 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1406 wxPy_END_ALLOW_THREADS
;
1408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1409 _resultobj
= Py_BuildValue("s",_ptemp
);
1412 _resultobj
= Py_None
;
1417 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1418 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1420 wxHtmlHelpFrame
* _arg0
;
1422 PyObject
* _argo0
= 0;
1423 PyObject
* _obj1
= 0;
1424 char *_kwnames
[] = { "self","format", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1437 #if PYTHON_API_VERSION >= 1009
1438 char* tmpPtr
; int tmpSize
;
1439 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1443 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1445 _arg1
= new wxString(tmpPtr
, tmpSize
);
1447 if (!PyString_Check(_obj1
)) {
1448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1451 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1455 wxPy_BEGIN_ALLOW_THREADS
;
1456 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1458 wxPy_END_ALLOW_THREADS
;
1459 } Py_INCREF(Py_None
);
1460 _resultobj
= Py_None
;
1468 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1469 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1471 wxHtmlHelpFrame
* _arg0
;
1473 PyObject
* _argo0
= 0;
1474 PyObject
* _obj1
= 0;
1475 char *_kwnames
[] = { "self","x", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1488 #if PYTHON_API_VERSION >= 1009
1489 char* tmpPtr
; int tmpSize
;
1490 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1494 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1496 _arg1
= new wxString(tmpPtr
, tmpSize
);
1498 if (!PyString_Check(_obj1
)) {
1499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1502 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1509 wxPy_END_ALLOW_THREADS
;
1510 } Py_INCREF(Py_None
);
1511 _resultobj
= Py_None
;
1519 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1520 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1522 wxHtmlHelpFrame
* _arg0
;
1524 PyObject
* _argo0
= 0;
1525 char *_kwnames
[] = { "self","id", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1541 wxPy_END_ALLOW_THREADS
;
1542 } Py_INCREF(Py_None
);
1543 _resultobj
= Py_None
;
1547 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1548 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1550 wxHtmlHelpFrame
* _arg0
;
1551 PyObject
* _argo0
= 0;
1552 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 wxHtmlHelpFrame_DisplayContents(_arg0
);
1568 wxPy_END_ALLOW_THREADS
;
1569 } Py_INCREF(Py_None
);
1570 _resultobj
= Py_None
;
1574 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1575 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1577 wxHtmlHelpFrame
* _arg0
;
1578 PyObject
* _argo0
= 0;
1579 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1595 wxPy_END_ALLOW_THREADS
;
1596 } Py_INCREF(Py_None
);
1597 _resultobj
= Py_None
;
1601 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1602 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1605 wxHtmlHelpFrame
* _arg0
;
1607 PyObject
* _argo0
= 0;
1608 PyObject
* _obj1
= 0;
1609 char *_kwnames
[] = { "self","keyword", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1622 #if PYTHON_API_VERSION >= 1009
1623 char* tmpPtr
; int tmpSize
;
1624 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1628 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1630 _arg1
= new wxString(tmpPtr
, tmpSize
);
1632 if (!PyString_Check(_obj1
)) {
1633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1636 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1643 wxPy_END_ALLOW_THREADS
;
1644 } _resultobj
= Py_BuildValue("i",_result
);
1652 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1653 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1655 wxHtmlHelpFrame
* _arg0
;
1656 wxConfigBase
* _arg1
;
1657 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1658 PyObject
* _argo0
= 0;
1659 PyObject
* _argo1
= 0;
1660 PyObject
* _obj2
= 0;
1661 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1682 #if PYTHON_API_VERSION >= 1009
1683 char* tmpPtr
; int tmpSize
;
1684 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1688 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1690 _arg2
= new wxString(tmpPtr
, tmpSize
);
1692 if (!PyString_Check(_obj2
)) {
1693 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1696 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1700 wxPy_BEGIN_ALLOW_THREADS
;
1701 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
1703 wxPy_END_ALLOW_THREADS
;
1704 } Py_INCREF(Py_None
);
1705 _resultobj
= Py_None
;
1713 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1714 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1716 wxHtmlHelpFrame
* _arg0
;
1717 wxConfigBase
* _arg1
;
1718 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _argo1
= 0;
1721 PyObject
* _obj2
= 0;
1722 char *_kwnames
[] = { "self","cfg","path", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1743 #if PYTHON_API_VERSION >= 1009
1744 char* tmpPtr
; int tmpSize
;
1745 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1746 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1749 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1751 _arg2
= new wxString(tmpPtr
, tmpSize
);
1753 if (!PyString_Check(_obj2
)) {
1754 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1757 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1761 wxPy_BEGIN_ALLOW_THREADS
;
1762 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
1764 wxPy_END_ALLOW_THREADS
;
1765 } Py_INCREF(Py_None
);
1766 _resultobj
= Py_None
;
1774 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1775 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1777 wxHtmlHelpFrame
* _arg0
;
1778 wxConfigBase
* _arg1
;
1779 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1780 PyObject
* _argo0
= 0;
1781 PyObject
* _argo1
= 0;
1782 PyObject
* _obj2
= 0;
1783 char *_kwnames
[] = { "self","cfg","path", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1796 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1804 #if PYTHON_API_VERSION >= 1009
1805 char* tmpPtr
; int tmpSize
;
1806 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1810 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1812 _arg2
= new wxString(tmpPtr
, tmpSize
);
1814 if (!PyString_Check(_obj2
)) {
1815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1818 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
1825 wxPy_END_ALLOW_THREADS
;
1826 } Py_INCREF(Py_None
);
1827 _resultobj
= Py_None
;
1835 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
1836 wxHtmlHelpController
*src
;
1838 src
= (wxHtmlHelpController
*) ptr
;
1839 dest
= (wxEvtHandler
*) src
;
1840 return (void *) dest
;
1843 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
1844 wxHtmlHelpController
*src
;
1846 src
= (wxHtmlHelpController
*) ptr
;
1847 dest
= (wxObject
*) src
;
1848 return (void *) dest
;
1851 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1852 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1854 wxHtmlHelpController
* _result
;
1855 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
1856 char *_kwnames
[] = { "style", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
1863 wxPy_BEGIN_ALLOW_THREADS
;
1864 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
1866 wxPy_END_ALLOW_THREADS
;
1868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
1869 _resultobj
= Py_BuildValue("s",_ptemp
);
1872 _resultobj
= Py_None
;
1877 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1878 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxHtmlHelpController
* _arg0
;
1881 PyObject
* _argo0
= 0;
1882 char *_kwnames
[] = { "self", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1895 wxPy_BEGIN_ALLOW_THREADS
;
1896 delete_wxHtmlHelpController(_arg0
);
1898 wxPy_END_ALLOW_THREADS
;
1899 } Py_INCREF(Py_None
);
1900 _resultobj
= Py_None
;
1904 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1905 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1907 wxHtmlHelpController
* _arg0
;
1909 PyObject
* _argo0
= 0;
1910 PyObject
* _obj1
= 0;
1911 char *_kwnames
[] = { "self","format", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_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 wxPy_BEGIN_ALLOW_THREADS
;
1943 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
1945 wxPy_END_ALLOW_THREADS
;
1946 } Py_INCREF(Py_None
);
1947 _resultobj
= Py_None
;
1955 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1956 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1958 wxHtmlHelpController
* _arg0
;
1960 PyObject
* _argo0
= 0;
1961 PyObject
* _obj1
= 0;
1962 char *_kwnames
[] = { "self","path", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1975 #if PYTHON_API_VERSION >= 1009
1976 char* tmpPtr
; int tmpSize
;
1977 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1981 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1983 _arg1
= new wxString(tmpPtr
, tmpSize
);
1985 if (!PyString_Check(_obj1
)) {
1986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1989 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
1996 wxPy_END_ALLOW_THREADS
;
1997 } Py_INCREF(Py_None
);
1998 _resultobj
= Py_None
;
2006 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
2007 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2010 wxHtmlHelpController
* _arg0
;
2012 int _arg2
= (int ) FALSE
;
2013 PyObject
* _argo0
= 0;
2014 PyObject
* _obj1
= 0;
2015 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
2028 #if PYTHON_API_VERSION >= 1009
2029 char* tmpPtr
; int tmpSize
;
2030 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2034 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2036 _arg1
= new wxString(tmpPtr
, tmpSize
);
2038 if (!PyString_Check(_obj1
)) {
2039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2042 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2058 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2059 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2061 wxHtmlHelpController
* _arg0
;
2063 PyObject
* _argo0
= 0;
2064 PyObject
* _obj1
= 0;
2065 char *_kwnames
[] = { "self","x", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
2078 #if PYTHON_API_VERSION >= 1009
2079 char* tmpPtr
; int tmpSize
;
2080 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2084 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2086 _arg1
= new wxString(tmpPtr
, tmpSize
);
2088 if (!PyString_Check(_obj1
)) {
2089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2092 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 wxHtmlHelpController_Display(_arg0
,*_arg1
);
2099 wxPy_END_ALLOW_THREADS
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2109 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2110 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2112 wxHtmlHelpController
* _arg0
;
2114 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self","id", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2131 wxPy_END_ALLOW_THREADS
;
2132 } Py_INCREF(Py_None
);
2133 _resultobj
= Py_None
;
2137 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2138 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2140 wxHtmlHelpController
* _arg0
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 wxHtmlHelpController_DisplayContents(_arg0
);
2158 wxPy_END_ALLOW_THREADS
;
2159 } Py_INCREF(Py_None
);
2160 _resultobj
= Py_None
;
2164 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2165 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2167 wxHtmlHelpController
* _arg0
;
2168 PyObject
* _argo0
= 0;
2169 char *_kwnames
[] = { "self", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2182 wxPy_BEGIN_ALLOW_THREADS
;
2183 wxHtmlHelpController_DisplayIndex(_arg0
);
2185 wxPy_END_ALLOW_THREADS
;
2186 } Py_INCREF(Py_None
);
2187 _resultobj
= Py_None
;
2191 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2192 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2195 wxHtmlHelpController
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 PyObject
* _obj1
= 0;
2199 char *_kwnames
[] = { "self","keyword", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2212 #if PYTHON_API_VERSION >= 1009
2213 char* tmpPtr
; int tmpSize
;
2214 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2218 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2220 _arg1
= new wxString(tmpPtr
, tmpSize
);
2222 if (!PyString_Check(_obj1
)) {
2223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2226 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2230 wxPy_BEGIN_ALLOW_THREADS
;
2231 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2233 wxPy_END_ALLOW_THREADS
;
2234 } _resultobj
= Py_BuildValue("i",_result
);
2242 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2243 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2245 wxHtmlHelpController
* _arg0
;
2246 wxConfigBase
* _arg1
;
2247 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2248 PyObject
* _argo0
= 0;
2249 PyObject
* _argo1
= 0;
2250 PyObject
* _obj2
= 0;
2251 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2272 #if PYTHON_API_VERSION >= 1009
2273 char* tmpPtr
; int tmpSize
;
2274 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2278 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2280 _arg2
= new wxString(tmpPtr
, tmpSize
);
2282 if (!PyString_Check(_obj2
)) {
2283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2286 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2290 wxPy_BEGIN_ALLOW_THREADS
;
2291 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2293 wxPy_END_ALLOW_THREADS
;
2294 } Py_INCREF(Py_None
);
2295 _resultobj
= Py_None
;
2303 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2304 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2306 wxHtmlHelpController
* _arg0
;
2307 wxConfigBase
* _arg1
;
2308 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2309 PyObject
* _argo0
= 0;
2310 PyObject
* _argo1
= 0;
2311 PyObject
* _obj2
= 0;
2312 char *_kwnames
[] = { "self","cfg","path", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2333 #if PYTHON_API_VERSION >= 1009
2334 char* tmpPtr
; int tmpSize
;
2335 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2336 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2339 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2341 _arg2
= new wxString(tmpPtr
, tmpSize
);
2343 if (!PyString_Check(_obj2
)) {
2344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2347 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2351 wxPy_BEGIN_ALLOW_THREADS
;
2352 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2354 wxPy_END_ALLOW_THREADS
;
2355 } Py_INCREF(Py_None
);
2356 _resultobj
= Py_None
;
2364 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2365 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2367 wxHtmlHelpController
* _arg0
;
2368 wxConfigBase
* _arg1
;
2369 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2370 PyObject
* _argo0
= 0;
2371 PyObject
* _argo1
= 0;
2372 PyObject
* _obj2
= 0;
2373 char *_kwnames
[] = { "self","cfg","path", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2394 #if PYTHON_API_VERSION >= 1009
2395 char* tmpPtr
; int tmpSize
;
2396 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2400 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2402 _arg2
= new wxString(tmpPtr
, tmpSize
);
2404 if (!PyString_Check(_obj2
)) {
2405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2408 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2412 wxPy_BEGIN_ALLOW_THREADS
;
2413 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2415 wxPy_END_ALLOW_THREADS
;
2416 } Py_INCREF(Py_None
);
2417 _resultobj
= Py_None
;
2425 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2426 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2428 wxHtmlHelpFrame
* _result
;
2429 wxHtmlHelpController
* _arg0
;
2430 PyObject
* _argo0
= 0;
2431 char *_kwnames
[] = { "self", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2448 wxPy_END_ALLOW_THREADS
;
2450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2451 _resultobj
= Py_BuildValue("s",_ptemp
);
2454 _resultobj
= Py_None
;
2459 static PyMethodDef htmlhelpcMethods
[] = {
2460 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2461 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2462 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2463 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2464 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2465 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2466 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2467 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2468 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2469 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2470 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2471 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2472 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2473 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2474 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2475 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2476 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2477 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2478 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2479 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2480 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2481 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2482 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2483 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2484 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2485 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2486 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2487 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2488 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2489 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2490 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2491 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2492 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2493 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2494 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2495 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2496 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2497 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2498 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2499 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2500 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2501 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2502 { "wxHtmlContentsItem_m_Book_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_get
, METH_VARARGS
| METH_KEYWORDS
},
2503 { "wxHtmlContentsItem_m_Book_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_set
, METH_VARARGS
| METH_KEYWORDS
},
2504 { "wxHtmlContentsItem_m_Page_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_get
, METH_VARARGS
| METH_KEYWORDS
},
2505 { "wxHtmlContentsItem_m_Page_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_set
, METH_VARARGS
| METH_KEYWORDS
},
2506 { "wxHtmlContentsItem_m_Name_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_get
, METH_VARARGS
| METH_KEYWORDS
},
2507 { "wxHtmlContentsItem_m_Name_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_set
, METH_VARARGS
| METH_KEYWORDS
},
2508 { "wxHtmlContentsItem_m_ID_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_get
, METH_VARARGS
| METH_KEYWORDS
},
2509 { "wxHtmlContentsItem_m_ID_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_set
, METH_VARARGS
| METH_KEYWORDS
},
2510 { "wxHtmlContentsItem_m_Level_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_get
, METH_VARARGS
| METH_KEYWORDS
},
2511 { "wxHtmlContentsItem_m_Level_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_set
, METH_VARARGS
| METH_KEYWORDS
},
2512 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2513 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2514 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2515 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2516 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2517 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2518 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2525 * This table is used by the pointer type-checker
2527 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2528 { "_signed_long","_long",0},
2529 { "_wxPrintQuality","_wxCoord",0},
2530 { "_wxPrintQuality","_int",0},
2531 { "_wxPrintQuality","_signed_int",0},
2532 { "_wxPrintQuality","_unsigned_int",0},
2533 { "_wxPrintQuality","_wxWindowID",0},
2534 { "_wxPrintQuality","_uint",0},
2535 { "_wxPrintQuality","_EBool",0},
2536 { "_wxPrintQuality","_size_t",0},
2537 { "_wxPrintQuality","_time_t",0},
2538 { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2539 { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2540 { "_class_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2541 { "_class_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2542 { "_byte","_unsigned_char",0},
2543 { "_long","_unsigned_long",0},
2544 { "_long","_signed_long",0},
2545 { "_class_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2546 { "_class_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2547 { "_class_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2548 { "_class_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2549 { "_size_t","_wxCoord",0},
2550 { "_size_t","_wxPrintQuality",0},
2551 { "_size_t","_time_t",0},
2552 { "_size_t","_unsigned_int",0},
2553 { "_size_t","_int",0},
2554 { "_size_t","_wxWindowID",0},
2555 { "_size_t","_uint",0},
2556 { "_wxTopLevelWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2557 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2558 { "_uint","_wxCoord",0},
2559 { "_uint","_wxPrintQuality",0},
2560 { "_uint","_time_t",0},
2561 { "_uint","_size_t",0},
2562 { "_uint","_unsigned_int",0},
2563 { "_uint","_int",0},
2564 { "_uint","_wxWindowID",0},
2565 { "_wxChar","_char",0},
2566 { "_char","_wxChar",0},
2567 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2568 { "_EBool","_wxCoord",0},
2569 { "_EBool","_wxPrintQuality",0},
2570 { "_EBool","_signed_int",0},
2571 { "_EBool","_int",0},
2572 { "_EBool","_wxWindowID",0},
2573 { "_unsigned_long","_long",0},
2574 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2575 { "_signed_int","_wxCoord",0},
2576 { "_signed_int","_wxPrintQuality",0},
2577 { "_signed_int","_EBool",0},
2578 { "_signed_int","_wxWindowID",0},
2579 { "_signed_int","_int",0},
2580 { "_class_wxTopLevelWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2581 { "_class_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2582 { "_WXTYPE","_wxDateTime_t",0},
2583 { "_WXTYPE","_short",0},
2584 { "_WXTYPE","_signed_short",0},
2585 { "_WXTYPE","_unsigned_short",0},
2586 { "_unsigned_short","_wxDateTime_t",0},
2587 { "_unsigned_short","_WXTYPE",0},
2588 { "_unsigned_short","_short",0},
2589 { "_class_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2590 { "_class_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2591 { "_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2592 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2593 { "_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2594 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2595 { "_signed_short","_WXTYPE",0},
2596 { "_signed_short","_short",0},
2597 { "_unsigned_char","_byte",0},
2598 { "_unsigned_int","_wxCoord",0},
2599 { "_unsigned_int","_wxPrintQuality",0},
2600 { "_unsigned_int","_time_t",0},
2601 { "_unsigned_int","_size_t",0},
2602 { "_unsigned_int","_uint",0},
2603 { "_unsigned_int","_wxWindowID",0},
2604 { "_unsigned_int","_int",0},
2605 { "_short","_wxDateTime_t",0},
2606 { "_short","_WXTYPE",0},
2607 { "_short","_unsigned_short",0},
2608 { "_short","_signed_short",0},
2609 { "_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2610 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2611 { "_wxWindowID","_wxCoord",0},
2612 { "_wxWindowID","_wxPrintQuality",0},
2613 { "_wxWindowID","_time_t",0},
2614 { "_wxWindowID","_size_t",0},
2615 { "_wxWindowID","_EBool",0},
2616 { "_wxWindowID","_uint",0},
2617 { "_wxWindowID","_int",0},
2618 { "_wxWindowID","_signed_int",0},
2619 { "_wxWindowID","_unsigned_int",0},
2620 { "_int","_wxCoord",0},
2621 { "_int","_wxPrintQuality",0},
2622 { "_int","_time_t",0},
2623 { "_int","_size_t",0},
2624 { "_int","_EBool",0},
2625 { "_int","_uint",0},
2626 { "_int","_wxWindowID",0},
2627 { "_int","_unsigned_int",0},
2628 { "_int","_signed_int",0},
2629 { "_wxDateTime_t","_unsigned_short",0},
2630 { "_wxDateTime_t","_short",0},
2631 { "_wxDateTime_t","_WXTYPE",0},
2632 { "_time_t","_wxCoord",0},
2633 { "_time_t","_wxPrintQuality",0},
2634 { "_time_t","_unsigned_int",0},
2635 { "_time_t","_int",0},
2636 { "_time_t","_wxWindowID",0},
2637 { "_time_t","_uint",0},
2638 { "_time_t","_size_t",0},
2639 { "_wxCoord","_int",0},
2640 { "_wxCoord","_signed_int",0},
2641 { "_wxCoord","_unsigned_int",0},
2642 { "_wxCoord","_wxWindowID",0},
2643 { "_wxCoord","_uint",0},
2644 { "_wxCoord","_EBool",0},
2645 { "_wxCoord","_size_t",0},
2646 { "_wxCoord","_time_t",0},
2647 { "_wxCoord","_wxPrintQuality",0},
2648 { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2649 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2650 { "_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2651 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2652 { "_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2653 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2654 { "_class_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2655 { "_class_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2658 static PyObject
*SWIG_globals
;
2662 SWIGEXPORT(void) inithtmlhelpc() {
2664 SWIG_globals
= SWIG_newvarlink();
2665 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2666 d
= PyModule_GetDict(m
);
2667 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2668 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2669 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2670 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2671 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2672 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2673 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2674 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2675 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2678 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2679 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);