2 * FILE : src/mac/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 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2))
102 static PyObject
*_wrap_new_wxHtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
103 PyObject
* _resultobj
;
104 wxHtmlBookRecord
* _result
;
108 PyObject
* _obj0
= 0;
109 PyObject
* _obj1
= 0;
110 PyObject
* _obj2
= 0;
111 char *_kwnames
[] = { "basepath","title","start", NULL
};
115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxHtmlBookRecord",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
118 #if PYTHON_API_VERSION >= 1009
119 char* tmpPtr
; int tmpSize
;
120 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
124 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
126 _arg0
= new wxString(tmpPtr
, tmpSize
);
128 if (!PyString_Check(_obj0
)) {
129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
132 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
136 #if PYTHON_API_VERSION >= 1009
137 char* tmpPtr
; int tmpSize
;
138 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
142 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
144 _arg1
= new wxString(tmpPtr
, tmpSize
);
146 if (!PyString_Check(_obj1
)) {
147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
150 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
154 #if PYTHON_API_VERSION >= 1009
155 char* tmpPtr
; int tmpSize
;
156 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
160 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
162 _arg2
= new wxString(tmpPtr
, tmpSize
);
164 if (!PyString_Check(_obj2
)) {
165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
168 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
172 wxPy_BEGIN_ALLOW_THREADS
;
173 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
);
175 wxPy_END_ALLOW_THREADS
;
177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
178 _resultobj
= Py_BuildValue("s",_ptemp
);
181 _resultobj
= Py_None
;
198 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
199 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
202 wxHtmlBookRecord
* _arg0
;
203 PyObject
* _argo0
= 0;
204 char *_kwnames
[] = { "self", NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
217 wxPy_BEGIN_ALLOW_THREADS
;
218 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
220 wxPy_END_ALLOW_THREADS
;
222 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
230 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
231 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
232 PyObject
* _resultobj
;
234 wxHtmlBookRecord
* _arg0
;
235 PyObject
* _argo0
= 0;
236 char *_kwnames
[] = { "self", NULL
};
239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
249 wxPy_BEGIN_ALLOW_THREADS
;
250 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
252 wxPy_END_ALLOW_THREADS
;
254 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
262 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
263 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
266 wxHtmlBookRecord
* _arg0
;
267 PyObject
* _argo0
= 0;
268 char *_kwnames
[] = { "self", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
281 wxPy_BEGIN_ALLOW_THREADS
;
282 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
284 wxPy_END_ALLOW_THREADS
;
286 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
294 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
295 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
297 wxHtmlBookRecord
* _arg0
;
300 PyObject
* _argo0
= 0;
301 char *_kwnames
[] = { "self","start","end", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
314 wxPy_BEGIN_ALLOW_THREADS
;
315 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
317 wxPy_END_ALLOW_THREADS
;
318 } Py_INCREF(Py_None
);
319 _resultobj
= Py_None
;
323 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
324 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
327 wxHtmlBookRecord
* _arg0
;
328 PyObject
* _argo0
= 0;
329 char *_kwnames
[] = { "self", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
342 wxPy_BEGIN_ALLOW_THREADS
;
343 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
345 wxPy_END_ALLOW_THREADS
;
346 } _resultobj
= Py_BuildValue("i",_result
);
350 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
351 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
352 PyObject
* _resultobj
;
354 wxHtmlBookRecord
* _arg0
;
355 PyObject
* _argo0
= 0;
356 char *_kwnames
[] = { "self", NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
369 wxPy_BEGIN_ALLOW_THREADS
;
370 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
372 wxPy_END_ALLOW_THREADS
;
373 } _resultobj
= Py_BuildValue("i",_result
);
377 #define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval)
378 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
381 wxHtmlContentsItem
* _arg0
;
383 PyObject
* _argo0
= 0;
384 char *_kwnames
[] = { "self","m_Level", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames
,&_argo0
,&_arg1
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p.");
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (short )wxHtmlContentsItem_m_Level_set(_arg0
,_arg1
);
400 wxPy_END_ALLOW_THREADS
;
401 } _resultobj
= Py_BuildValue("h",_result
);
405 #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
406 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 PyObject
* _resultobj
;
409 wxHtmlContentsItem
* _arg0
;
410 PyObject
* _argo0
= 0;
411 char *_kwnames
[] = { "self", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Level_get",_kwnames
,&_argo0
))
417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
424 wxPy_BEGIN_ALLOW_THREADS
;
425 _result
= (short )wxHtmlContentsItem_m_Level_get(_arg0
);
427 wxPy_END_ALLOW_THREADS
;
428 } _resultobj
= Py_BuildValue("h",_result
);
432 #define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval)
433 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
436 wxHtmlContentsItem
* _arg0
;
438 PyObject
* _argo0
= 0;
439 char *_kwnames
[] = { "self","m_ID", NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames
,&_argo0
,&_arg1
))
445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p.");
452 wxPy_BEGIN_ALLOW_THREADS
;
453 _result
= (int )wxHtmlContentsItem_m_ID_set(_arg0
,_arg1
);
455 wxPy_END_ALLOW_THREADS
;
456 } _resultobj
= Py_BuildValue("i",_result
);
460 #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
461 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
464 wxHtmlContentsItem
* _arg0
;
465 PyObject
* _argo0
= 0;
466 char *_kwnames
[] = { "self", NULL
};
469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_ID_get",_kwnames
,&_argo0
))
472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
479 wxPy_BEGIN_ALLOW_THREADS
;
480 _result
= (int )wxHtmlContentsItem_m_ID_get(_arg0
);
482 wxPy_END_ALLOW_THREADS
;
483 } _resultobj
= Py_BuildValue("i",_result
);
487 static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem
*obj
, char *val
) {
488 if (obj
->m_Name
) delete [] obj
->m_Name
;
489 obj
->m_Name
= new char[strlen(val
)+1];
490 strcpy((char *)obj
->m_Name
,val
);
493 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
496 wxHtmlContentsItem
* _arg0
;
498 PyObject
* _argo0
= 0;
499 char *_kwnames
[] = { "self","m_Name", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Name_set",_kwnames
,&_argo0
,&_arg1
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p.");
512 wxPy_BEGIN_ALLOW_THREADS
;
513 _result
= (char *)wxHtmlContentsItem_m_Name_set(_arg0
,_arg1
);
515 wxPy_END_ALLOW_THREADS
;
516 } _resultobj
= Py_BuildValue("s", _result
);
520 #define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name)
521 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
524 wxHtmlContentsItem
* _arg0
;
525 PyObject
* _argo0
= 0;
526 char *_kwnames
[] = { "self", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Name_get",_kwnames
,&_argo0
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
539 wxPy_BEGIN_ALLOW_THREADS
;
540 _result
= (char *)wxHtmlContentsItem_m_Name_get(_arg0
);
542 wxPy_END_ALLOW_THREADS
;
543 } _resultobj
= Py_BuildValue("s", _result
);
547 static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem
*obj
, char *val
) {
548 if (obj
->m_Page
) delete [] obj
->m_Page
;
549 obj
->m_Page
= new char[strlen(val
)+1];
550 strcpy((char *)obj
->m_Page
,val
);
553 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
556 wxHtmlContentsItem
* _arg0
;
558 PyObject
* _argo0
= 0;
559 char *_kwnames
[] = { "self","m_Page", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Page_set",_kwnames
,&_argo0
,&_arg1
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p.");
572 wxPy_BEGIN_ALLOW_THREADS
;
573 _result
= (char *)wxHtmlContentsItem_m_Page_set(_arg0
,_arg1
);
575 wxPy_END_ALLOW_THREADS
;
576 } _resultobj
= Py_BuildValue("s", _result
);
580 #define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page)
581 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
584 wxHtmlContentsItem
* _arg0
;
585 PyObject
* _argo0
= 0;
586 char *_kwnames
[] = { "self", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Page_get",_kwnames
,&_argo0
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
599 wxPy_BEGIN_ALLOW_THREADS
;
600 _result
= (char *)wxHtmlContentsItem_m_Page_get(_arg0
);
602 wxPy_END_ALLOW_THREADS
;
603 } _resultobj
= Py_BuildValue("s", _result
);
607 #define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval)
608 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
610 wxHtmlBookRecord
* _result
;
611 wxHtmlContentsItem
* _arg0
;
612 wxHtmlBookRecord
* _arg1
;
613 PyObject
* _argo0
= 0;
614 PyObject
* _argo1
= 0;
615 char *_kwnames
[] = { "self","m_Book", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContentsItem_m_Book_set",_kwnames
,&_argo0
,&_argo1
))
622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p.");
629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlBookRecord_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p.");
636 wxPy_BEGIN_ALLOW_THREADS
;
637 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_set(_arg0
,_arg1
);
639 wxPy_END_ALLOW_THREADS
;
641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
642 _resultobj
= Py_BuildValue("s",_ptemp
);
645 _resultobj
= Py_None
;
650 #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
651 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
653 wxHtmlBookRecord
* _result
;
654 wxHtmlContentsItem
* _arg0
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Book_get",_kwnames
,&_argo0
))
663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
670 wxPy_BEGIN_ALLOW_THREADS
;
671 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_get(_arg0
);
673 wxPy_END_ALLOW_THREADS
;
675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
676 _resultobj
= Py_BuildValue("s",_ptemp
);
679 _resultobj
= Py_None
;
684 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
685 static PyObject
*_wrap_wxHtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
688 wxHtmlSearchStatus
* _arg0
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_Search",_kwnames
,&_argo0
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
703 wxPy_BEGIN_ALLOW_THREADS
;
704 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
706 wxPy_END_ALLOW_THREADS
;
707 } _resultobj
= Py_BuildValue("i",_result
);
711 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
712 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
715 wxHtmlSearchStatus
* _arg0
;
716 PyObject
* _argo0
= 0;
717 char *_kwnames
[] = { "self", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
730 wxPy_BEGIN_ALLOW_THREADS
;
731 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
733 wxPy_END_ALLOW_THREADS
;
734 } _resultobj
= Py_BuildValue("i",_result
);
738 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
739 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
740 PyObject
* _resultobj
;
742 wxHtmlSearchStatus
* _arg0
;
743 PyObject
* _argo0
= 0;
744 char *_kwnames
[] = { "self", NULL
};
747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
757 wxPy_BEGIN_ALLOW_THREADS
;
758 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
760 wxPy_END_ALLOW_THREADS
;
761 } _resultobj
= Py_BuildValue("i",_result
);
765 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
766 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
769 wxHtmlSearchStatus
* _arg0
;
770 PyObject
* _argo0
= 0;
771 char *_kwnames
[] = { "self", NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
784 wxPy_BEGIN_ALLOW_THREADS
;
785 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
787 wxPy_END_ALLOW_THREADS
;
788 } _resultobj
= Py_BuildValue("i",_result
);
792 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
793 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
796 wxHtmlSearchStatus
* _arg0
;
797 PyObject
* _argo0
= 0;
798 char *_kwnames
[] = { "self", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
811 wxPy_BEGIN_ALLOW_THREADS
;
812 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
813 _result
= (wxString
*) &_result_ref
;
815 wxPy_END_ALLOW_THREADS
;
817 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
822 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
823 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
825 wxHtmlContentsItem
* _result
;
826 wxHtmlSearchStatus
* _arg0
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
845 wxPy_END_ALLOW_THREADS
;
847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
848 _resultobj
= Py_BuildValue("s",_ptemp
);
851 _resultobj
= Py_None
;
856 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
857 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
859 wxHtmlHelpData
* _result
;
860 char *_kwnames
[] = { NULL
};
864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
867 wxPy_BEGIN_ALLOW_THREADS
;
868 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
870 wxPy_END_ALLOW_THREADS
;
872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
873 _resultobj
= Py_BuildValue("s",_ptemp
);
876 _resultobj
= Py_None
;
881 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
882 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
884 wxHtmlHelpData
* _arg0
;
885 PyObject
* _argo0
= 0;
886 char *_kwnames
[] = { "self", NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
899 wxPy_BEGIN_ALLOW_THREADS
;
900 delete_wxHtmlHelpData(_arg0
);
902 wxPy_END_ALLOW_THREADS
;
903 } Py_INCREF(Py_None
);
904 _resultobj
= Py_None
;
908 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
909 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
911 wxHtmlHelpData
* _arg0
;
913 PyObject
* _argo0
= 0;
914 PyObject
* _obj1
= 0;
915 char *_kwnames
[] = { "self","path", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
928 #if PYTHON_API_VERSION >= 1009
929 char* tmpPtr
; int tmpSize
;
930 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
934 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
936 _arg1
= new wxString(tmpPtr
, tmpSize
);
938 if (!PyString_Check(_obj1
)) {
939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
942 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
946 wxPy_BEGIN_ALLOW_THREADS
;
947 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
949 wxPy_END_ALLOW_THREADS
;
950 } Py_INCREF(Py_None
);
951 _resultobj
= Py_None
;
959 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
960 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
963 wxHtmlHelpData
* _arg0
;
965 PyObject
* _argo0
= 0;
966 PyObject
* _obj1
= 0;
967 char *_kwnames
[] = { "self","book", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
980 #if PYTHON_API_VERSION >= 1009
981 char* tmpPtr
; int tmpSize
;
982 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
986 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
988 _arg1
= new wxString(tmpPtr
, tmpSize
);
990 if (!PyString_Check(_obj1
)) {
991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
994 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
998 wxPy_BEGIN_ALLOW_THREADS
;
999 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1001 wxPy_END_ALLOW_THREADS
;
1002 } _resultobj
= Py_BuildValue("i",_result
);
1010 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1011 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1014 wxHtmlHelpData
* _arg0
;
1016 PyObject
* _argo0
= 0;
1017 PyObject
* _obj1
= 0;
1018 char *_kwnames
[] = { "self","page", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1031 #if PYTHON_API_VERSION >= 1009
1032 char* tmpPtr
; int tmpSize
;
1033 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1037 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1039 _arg1
= new wxString(tmpPtr
, tmpSize
);
1041 if (!PyString_Check(_obj1
)) {
1042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1045 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1049 wxPy_BEGIN_ALLOW_THREADS
;
1050 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1052 wxPy_END_ALLOW_THREADS
;
1054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1066 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1067 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1070 wxHtmlHelpData
* _arg0
;
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self","id", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1089 wxPy_END_ALLOW_THREADS
;
1091 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1099 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1100 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1102 wxHtmlBookRecArray
* _result
;
1103 wxHtmlHelpData
* _arg0
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1121 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1123 wxPy_END_ALLOW_THREADS
;
1125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1126 _resultobj
= Py_BuildValue("s",_ptemp
);
1129 _resultobj
= Py_None
;
1134 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1135 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1137 wxHtmlContentsItem
* _result
;
1138 wxHtmlHelpData
* _arg0
;
1139 PyObject
* _argo0
= 0;
1140 char *_kwnames
[] = { "self", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1157 wxPy_END_ALLOW_THREADS
;
1159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1160 _resultobj
= Py_BuildValue("s",_ptemp
);
1163 _resultobj
= Py_None
;
1168 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1169 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
* _resultobj
;
1172 wxHtmlHelpData
* _arg0
;
1173 PyObject
* _argo0
= 0;
1174 char *_kwnames
[] = { "self", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1187 wxPy_BEGIN_ALLOW_THREADS
;
1188 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1190 wxPy_END_ALLOW_THREADS
;
1191 } _resultobj
= Py_BuildValue("i",_result
);
1195 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1196 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1198 wxHtmlContentsItem
* _result
;
1199 wxHtmlHelpData
* _arg0
;
1200 PyObject
* _argo0
= 0;
1201 char *_kwnames
[] = { "self", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1215 wxPy_BEGIN_ALLOW_THREADS
;
1216 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1218 wxPy_END_ALLOW_THREADS
;
1220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1221 _resultobj
= Py_BuildValue("s",_ptemp
);
1224 _resultobj
= Py_None
;
1229 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1230 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1233 wxHtmlHelpData
* _arg0
;
1234 PyObject
* _argo0
= 0;
1235 char *_kwnames
[] = { "self", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1251 wxPy_END_ALLOW_THREADS
;
1252 } _resultobj
= Py_BuildValue("i",_result
);
1256 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1257 wxHtmlHelpFrame
*src
;
1259 src
= (wxHtmlHelpFrame
*) ptr
;
1260 dest
= (wxFrame
*) src
;
1261 return (void *) dest
;
1264 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr
) {
1265 wxHtmlHelpFrame
*src
;
1266 wxTopLevelWindow
*dest
;
1267 src
= (wxHtmlHelpFrame
*) ptr
;
1268 dest
= (wxTopLevelWindow
*) src
;
1269 return (void *) dest
;
1272 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1273 wxHtmlHelpFrame
*src
;
1275 src
= (wxHtmlHelpFrame
*) ptr
;
1276 dest
= (wxWindow
*) src
;
1277 return (void *) dest
;
1280 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1281 wxHtmlHelpFrame
*src
;
1283 src
= (wxHtmlHelpFrame
*) ptr
;
1284 dest
= (wxEvtHandler
*) src
;
1285 return (void *) dest
;
1288 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1289 wxHtmlHelpFrame
*src
;
1291 src
= (wxHtmlHelpFrame
*) ptr
;
1292 dest
= (wxObject
*) src
;
1293 return (void *) dest
;
1296 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1297 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1299 wxHtmlHelpFrame
* _result
;
1302 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1303 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1304 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1305 PyObject
* _argo0
= 0;
1306 PyObject
* _obj2
= 0;
1307 PyObject
* _argo4
= 0;
1308 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1323 #if PYTHON_API_VERSION >= 1009
1324 char* tmpPtr
; int tmpSize
;
1325 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1329 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1331 _arg2
= new wxString(tmpPtr
, tmpSize
);
1333 if (!PyString_Check(_obj2
)) {
1334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1337 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1341 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1342 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1348 wxPy_BEGIN_ALLOW_THREADS
;
1349 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1351 wxPy_END_ALLOW_THREADS
;
1353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1354 _resultobj
= Py_BuildValue("s",_ptemp
);
1357 _resultobj
= Py_None
;
1366 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1367 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1369 wxHtmlHelpData
* _result
;
1370 wxHtmlHelpFrame
* _arg0
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1389 wxPy_END_ALLOW_THREADS
;
1391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1395 _resultobj
= Py_None
;
1400 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1401 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1403 wxHtmlHelpFrame
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 PyObject
* _obj1
= 0;
1407 char *_kwnames
[] = { "self","format", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1420 #if PYTHON_API_VERSION >= 1009
1421 char* tmpPtr
; int tmpSize
;
1422 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1426 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1428 _arg1
= new wxString(tmpPtr
, tmpSize
);
1430 if (!PyString_Check(_obj1
)) {
1431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1434 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1441 wxPy_END_ALLOW_THREADS
;
1442 } Py_INCREF(Py_None
);
1443 _resultobj
= Py_None
;
1451 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1452 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1454 wxHtmlHelpFrame
* _arg0
;
1456 PyObject
* _argo0
= 0;
1457 PyObject
* _obj1
= 0;
1458 char *_kwnames
[] = { "self","x", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1471 #if PYTHON_API_VERSION >= 1009
1472 char* tmpPtr
; int tmpSize
;
1473 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1477 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1479 _arg1
= new wxString(tmpPtr
, tmpSize
);
1481 if (!PyString_Check(_obj1
)) {
1482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1485 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1492 wxPy_END_ALLOW_THREADS
;
1493 } Py_INCREF(Py_None
);
1494 _resultobj
= Py_None
;
1502 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1503 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1505 wxHtmlHelpFrame
* _arg0
;
1507 PyObject
* _argo0
= 0;
1508 char *_kwnames
[] = { "self","id", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1521 wxPy_BEGIN_ALLOW_THREADS
;
1522 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1524 wxPy_END_ALLOW_THREADS
;
1525 } Py_INCREF(Py_None
);
1526 _resultobj
= Py_None
;
1530 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1531 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1533 wxHtmlHelpFrame
* _arg0
;
1534 PyObject
* _argo0
= 0;
1535 char *_kwnames
[] = { "self", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1548 wxPy_BEGIN_ALLOW_THREADS
;
1549 wxHtmlHelpFrame_DisplayContents(_arg0
);
1551 wxPy_END_ALLOW_THREADS
;
1552 } Py_INCREF(Py_None
);
1553 _resultobj
= Py_None
;
1557 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1558 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1560 wxHtmlHelpFrame
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 char *_kwnames
[] = { "self", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1578 wxPy_END_ALLOW_THREADS
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1585 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1588 wxHtmlHelpFrame
* _arg0
;
1590 PyObject
* _argo0
= 0;
1591 PyObject
* _obj1
= 0;
1592 char *_kwnames
[] = { "self","keyword", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1605 #if PYTHON_API_VERSION >= 1009
1606 char* tmpPtr
; int tmpSize
;
1607 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1608 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1611 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1613 _arg1
= new wxString(tmpPtr
, tmpSize
);
1615 if (!PyString_Check(_obj1
)) {
1616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1619 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1626 wxPy_END_ALLOW_THREADS
;
1627 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1636 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1638 wxHtmlHelpFrame
* _arg0
;
1639 wxConfigBase
* _arg1
;
1640 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1641 PyObject
* _argo0
= 0;
1642 PyObject
* _argo1
= 0;
1643 PyObject
* _obj2
= 0;
1644 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1665 #if PYTHON_API_VERSION >= 1009
1666 char* tmpPtr
; int tmpSize
;
1667 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1671 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1673 _arg2
= new wxString(tmpPtr
, tmpSize
);
1675 if (!PyString_Check(_obj2
)) {
1676 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1679 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1683 wxPy_BEGIN_ALLOW_THREADS
;
1684 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
1686 wxPy_END_ALLOW_THREADS
;
1687 } Py_INCREF(Py_None
);
1688 _resultobj
= Py_None
;
1696 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1697 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1699 wxHtmlHelpFrame
* _arg0
;
1700 wxConfigBase
* _arg1
;
1701 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1702 PyObject
* _argo0
= 0;
1703 PyObject
* _argo1
= 0;
1704 PyObject
* _obj2
= 0;
1705 char *_kwnames
[] = { "self","cfg","path", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1726 #if PYTHON_API_VERSION >= 1009
1727 char* tmpPtr
; int tmpSize
;
1728 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1732 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1734 _arg2
= new wxString(tmpPtr
, tmpSize
);
1736 if (!PyString_Check(_obj2
)) {
1737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1740 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1744 wxPy_BEGIN_ALLOW_THREADS
;
1745 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
1747 wxPy_END_ALLOW_THREADS
;
1748 } Py_INCREF(Py_None
);
1749 _resultobj
= Py_None
;
1757 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1758 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1760 wxHtmlHelpFrame
* _arg0
;
1761 wxConfigBase
* _arg1
;
1762 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1763 PyObject
* _argo0
= 0;
1764 PyObject
* _argo1
= 0;
1765 PyObject
* _obj2
= 0;
1766 char *_kwnames
[] = { "self","cfg","path", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1779 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1787 #if PYTHON_API_VERSION >= 1009
1788 char* tmpPtr
; int tmpSize
;
1789 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1793 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1795 _arg2
= new wxString(tmpPtr
, tmpSize
);
1797 if (!PyString_Check(_obj2
)) {
1798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1801 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
1808 wxPy_END_ALLOW_THREADS
;
1809 } Py_INCREF(Py_None
);
1810 _resultobj
= Py_None
;
1818 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
1819 wxHtmlHelpController
*src
;
1821 src
= (wxHtmlHelpController
*) ptr
;
1822 dest
= (wxEvtHandler
*) src
;
1823 return (void *) dest
;
1826 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
1827 wxHtmlHelpController
*src
;
1829 src
= (wxHtmlHelpController
*) ptr
;
1830 dest
= (wxObject
*) src
;
1831 return (void *) dest
;
1834 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1835 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxHtmlHelpController
* _result
;
1838 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
1839 char *_kwnames
[] = { "style", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
1846 wxPy_BEGIN_ALLOW_THREADS
;
1847 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
1849 wxPy_END_ALLOW_THREADS
;
1851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
1852 _resultobj
= Py_BuildValue("s",_ptemp
);
1855 _resultobj
= Py_None
;
1860 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1861 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1863 wxHtmlHelpController
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 delete_wxHtmlHelpController(_arg0
);
1881 wxPy_END_ALLOW_THREADS
;
1882 } Py_INCREF(Py_None
);
1883 _resultobj
= Py_None
;
1887 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1888 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 wxHtmlHelpController
* _arg0
;
1892 PyObject
* _argo0
= 0;
1893 PyObject
* _obj1
= 0;
1894 char *_kwnames
[] = { "self","format", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1907 #if PYTHON_API_VERSION >= 1009
1908 char* tmpPtr
; int tmpSize
;
1909 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1913 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1915 _arg1
= new wxString(tmpPtr
, tmpSize
);
1917 if (!PyString_Check(_obj1
)) {
1918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1921 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } Py_INCREF(Py_None
);
1930 _resultobj
= Py_None
;
1938 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1939 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1941 wxHtmlHelpController
* _arg0
;
1943 PyObject
* _argo0
= 0;
1944 PyObject
* _obj1
= 0;
1945 char *_kwnames
[] = { "self","path", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1958 #if PYTHON_API_VERSION >= 1009
1959 char* tmpPtr
; int tmpSize
;
1960 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1964 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1966 _arg1
= new wxString(tmpPtr
, tmpSize
);
1968 if (!PyString_Check(_obj1
)) {
1969 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1972 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1989 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
1990 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1993 wxHtmlHelpController
* _arg0
;
1995 int _arg2
= (int ) FALSE
;
1996 PyObject
* _argo0
= 0;
1997 PyObject
* _obj1
= 0;
1998 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
2011 #if PYTHON_API_VERSION >= 1009
2012 char* tmpPtr
; int tmpSize
;
2013 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2017 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2019 _arg1
= new wxString(tmpPtr
, tmpSize
);
2021 if (!PyString_Check(_obj1
)) {
2022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2025 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2029 wxPy_BEGIN_ALLOW_THREADS
;
2030 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
2032 wxPy_END_ALLOW_THREADS
;
2033 } _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2042 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2044 wxHtmlHelpController
* _arg0
;
2046 PyObject
* _argo0
= 0;
2047 PyObject
* _obj1
= 0;
2048 char *_kwnames
[] = { "self","x", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
2061 #if PYTHON_API_VERSION >= 1009
2062 char* tmpPtr
; int tmpSize
;
2063 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2067 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2069 _arg1
= new wxString(tmpPtr
, tmpSize
);
2071 if (!PyString_Check(_obj1
)) {
2072 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2075 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2079 wxPy_BEGIN_ALLOW_THREADS
;
2080 wxHtmlHelpController_Display(_arg0
,*_arg1
);
2082 wxPy_END_ALLOW_THREADS
;
2083 } Py_INCREF(Py_None
);
2084 _resultobj
= Py_None
;
2092 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2093 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2095 wxHtmlHelpController
* _arg0
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self","id", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2121 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2123 wxHtmlHelpController
* _arg0
;
2124 PyObject
* _argo0
= 0;
2125 char *_kwnames
[] = { "self", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 wxHtmlHelpController_DisplayContents(_arg0
);
2141 wxPy_END_ALLOW_THREADS
;
2142 } Py_INCREF(Py_None
);
2143 _resultobj
= Py_None
;
2147 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2148 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2150 wxHtmlHelpController
* _arg0
;
2151 PyObject
* _argo0
= 0;
2152 char *_kwnames
[] = { "self", NULL
};
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2165 wxPy_BEGIN_ALLOW_THREADS
;
2166 wxHtmlHelpController_DisplayIndex(_arg0
);
2168 wxPy_END_ALLOW_THREADS
;
2169 } Py_INCREF(Py_None
);
2170 _resultobj
= Py_None
;
2174 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2175 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
* _resultobj
;
2178 wxHtmlHelpController
* _arg0
;
2180 PyObject
* _argo0
= 0;
2181 PyObject
* _obj1
= 0;
2182 char *_kwnames
[] = { "self","keyword", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2195 #if PYTHON_API_VERSION >= 1009
2196 char* tmpPtr
; int tmpSize
;
2197 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2201 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2203 _arg1
= new wxString(tmpPtr
, tmpSize
);
2205 if (!PyString_Check(_obj1
)) {
2206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2209 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2216 wxPy_END_ALLOW_THREADS
;
2217 } _resultobj
= Py_BuildValue("i",_result
);
2225 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2226 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2228 wxHtmlHelpController
* _arg0
;
2229 wxConfigBase
* _arg1
;
2230 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2231 PyObject
* _argo0
= 0;
2232 PyObject
* _argo1
= 0;
2233 PyObject
* _obj2
= 0;
2234 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2255 #if PYTHON_API_VERSION >= 1009
2256 char* tmpPtr
; int tmpSize
;
2257 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2261 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2263 _arg2
= new wxString(tmpPtr
, tmpSize
);
2265 if (!PyString_Check(_obj2
)) {
2266 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2269 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2273 wxPy_BEGIN_ALLOW_THREADS
;
2274 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2276 wxPy_END_ALLOW_THREADS
;
2277 } Py_INCREF(Py_None
);
2278 _resultobj
= Py_None
;
2286 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2287 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2289 wxHtmlHelpController
* _arg0
;
2290 wxConfigBase
* _arg1
;
2291 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2292 PyObject
* _argo0
= 0;
2293 PyObject
* _argo1
= 0;
2294 PyObject
* _obj2
= 0;
2295 char *_kwnames
[] = { "self","cfg","path", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2316 #if PYTHON_API_VERSION >= 1009
2317 char* tmpPtr
; int tmpSize
;
2318 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2322 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2324 _arg2
= new wxString(tmpPtr
, tmpSize
);
2326 if (!PyString_Check(_obj2
)) {
2327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2330 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2334 wxPy_BEGIN_ALLOW_THREADS
;
2335 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2337 wxPy_END_ALLOW_THREADS
;
2338 } Py_INCREF(Py_None
);
2339 _resultobj
= Py_None
;
2347 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2348 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2350 wxHtmlHelpController
* _arg0
;
2351 wxConfigBase
* _arg1
;
2352 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2353 PyObject
* _argo0
= 0;
2354 PyObject
* _argo1
= 0;
2355 PyObject
* _obj2
= 0;
2356 char *_kwnames
[] = { "self","cfg","path", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2377 #if PYTHON_API_VERSION >= 1009
2378 char* tmpPtr
; int tmpSize
;
2379 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2383 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2385 _arg2
= new wxString(tmpPtr
, tmpSize
);
2387 if (!PyString_Check(_obj2
)) {
2388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2391 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2408 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2409 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2411 wxHtmlHelpFrame
* _result
;
2412 wxHtmlHelpController
* _arg0
;
2413 PyObject
* _argo0
= 0;
2414 char *_kwnames
[] = { "self", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2428 wxPy_BEGIN_ALLOW_THREADS
;
2429 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2431 wxPy_END_ALLOW_THREADS
;
2433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2434 _resultobj
= Py_BuildValue("s",_ptemp
);
2437 _resultobj
= Py_None
;
2442 static PyMethodDef htmlhelpcMethods
[] = {
2443 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2444 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2445 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2446 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2447 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2448 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2449 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2450 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2451 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2452 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2453 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2454 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2455 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2456 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2457 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2458 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2459 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2460 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2461 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2462 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2463 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2464 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2465 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2466 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2467 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2468 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2469 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2470 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2471 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2472 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2473 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2474 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2475 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2476 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2477 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2478 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2479 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2480 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2481 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2482 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2483 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2484 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2485 { "wxHtmlContentsItem_m_Book_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_get
, METH_VARARGS
| METH_KEYWORDS
},
2486 { "wxHtmlContentsItem_m_Book_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_set
, METH_VARARGS
| METH_KEYWORDS
},
2487 { "wxHtmlContentsItem_m_Page_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_get
, METH_VARARGS
| METH_KEYWORDS
},
2488 { "wxHtmlContentsItem_m_Page_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_set
, METH_VARARGS
| METH_KEYWORDS
},
2489 { "wxHtmlContentsItem_m_Name_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_get
, METH_VARARGS
| METH_KEYWORDS
},
2490 { "wxHtmlContentsItem_m_Name_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_set
, METH_VARARGS
| METH_KEYWORDS
},
2491 { "wxHtmlContentsItem_m_ID_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_get
, METH_VARARGS
| METH_KEYWORDS
},
2492 { "wxHtmlContentsItem_m_ID_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_set
, METH_VARARGS
| METH_KEYWORDS
},
2493 { "wxHtmlContentsItem_m_Level_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_get
, METH_VARARGS
| METH_KEYWORDS
},
2494 { "wxHtmlContentsItem_m_Level_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_set
, METH_VARARGS
| METH_KEYWORDS
},
2495 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2496 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2497 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2498 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2499 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2500 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2501 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2508 * This table is used by the pointer type-checker
2510 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2511 { "_signed_long","_long",0},
2512 { "_wxPrintQuality","_wxCoord",0},
2513 { "_wxPrintQuality","_int",0},
2514 { "_wxPrintQuality","_signed_int",0},
2515 { "_wxPrintQuality","_unsigned_int",0},
2516 { "_wxPrintQuality","_wxWindowID",0},
2517 { "_wxPrintQuality","_uint",0},
2518 { "_wxPrintQuality","_EBool",0},
2519 { "_wxPrintQuality","_size_t",0},
2520 { "_wxPrintQuality","_time_t",0},
2521 { "_byte","_unsigned_char",0},
2522 { "_long","_unsigned_long",0},
2523 { "_long","_signed_long",0},
2524 { "_size_t","_wxCoord",0},
2525 { "_size_t","_wxPrintQuality",0},
2526 { "_size_t","_time_t",0},
2527 { "_size_t","_unsigned_int",0},
2528 { "_size_t","_int",0},
2529 { "_size_t","_wxWindowID",0},
2530 { "_size_t","_uint",0},
2531 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2532 { "_uint","_wxCoord",0},
2533 { "_uint","_wxPrintQuality",0},
2534 { "_uint","_time_t",0},
2535 { "_uint","_size_t",0},
2536 { "_uint","_unsigned_int",0},
2537 { "_uint","_int",0},
2538 { "_uint","_wxWindowID",0},
2539 { "_wxChar","_char",0},
2540 { "_char","_wxChar",0},
2541 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2542 { "_EBool","_wxCoord",0},
2543 { "_EBool","_wxPrintQuality",0},
2544 { "_EBool","_signed_int",0},
2545 { "_EBool","_int",0},
2546 { "_EBool","_wxWindowID",0},
2547 { "_unsigned_long","_long",0},
2548 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2549 { "_signed_int","_wxCoord",0},
2550 { "_signed_int","_wxPrintQuality",0},
2551 { "_signed_int","_EBool",0},
2552 { "_signed_int","_wxWindowID",0},
2553 { "_signed_int","_int",0},
2554 { "_WXTYPE","_wxDateTime_t",0},
2555 { "_WXTYPE","_short",0},
2556 { "_WXTYPE","_signed_short",0},
2557 { "_WXTYPE","_unsigned_short",0},
2558 { "_unsigned_short","_wxDateTime_t",0},
2559 { "_unsigned_short","_WXTYPE",0},
2560 { "_unsigned_short","_short",0},
2561 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2562 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2563 { "_signed_short","_WXTYPE",0},
2564 { "_signed_short","_short",0},
2565 { "_unsigned_char","_byte",0},
2566 { "_unsigned_int","_wxCoord",0},
2567 { "_unsigned_int","_wxPrintQuality",0},
2568 { "_unsigned_int","_time_t",0},
2569 { "_unsigned_int","_size_t",0},
2570 { "_unsigned_int","_uint",0},
2571 { "_unsigned_int","_wxWindowID",0},
2572 { "_unsigned_int","_int",0},
2573 { "_short","_wxDateTime_t",0},
2574 { "_short","_WXTYPE",0},
2575 { "_short","_unsigned_short",0},
2576 { "_short","_signed_short",0},
2577 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2578 { "_wxWindowID","_wxCoord",0},
2579 { "_wxWindowID","_wxPrintQuality",0},
2580 { "_wxWindowID","_time_t",0},
2581 { "_wxWindowID","_size_t",0},
2582 { "_wxWindowID","_EBool",0},
2583 { "_wxWindowID","_uint",0},
2584 { "_wxWindowID","_int",0},
2585 { "_wxWindowID","_signed_int",0},
2586 { "_wxWindowID","_unsigned_int",0},
2587 { "_int","_wxCoord",0},
2588 { "_int","_wxPrintQuality",0},
2589 { "_int","_time_t",0},
2590 { "_int","_size_t",0},
2591 { "_int","_EBool",0},
2592 { "_int","_uint",0},
2593 { "_int","_wxWindowID",0},
2594 { "_int","_unsigned_int",0},
2595 { "_int","_signed_int",0},
2596 { "_wxDateTime_t","_unsigned_short",0},
2597 { "_wxDateTime_t","_short",0},
2598 { "_wxDateTime_t","_WXTYPE",0},
2599 { "_time_t","_wxCoord",0},
2600 { "_time_t","_wxPrintQuality",0},
2601 { "_time_t","_unsigned_int",0},
2602 { "_time_t","_int",0},
2603 { "_time_t","_wxWindowID",0},
2604 { "_time_t","_uint",0},
2605 { "_time_t","_size_t",0},
2606 { "_wxCoord","_int",0},
2607 { "_wxCoord","_signed_int",0},
2608 { "_wxCoord","_unsigned_int",0},
2609 { "_wxCoord","_wxWindowID",0},
2610 { "_wxCoord","_uint",0},
2611 { "_wxCoord","_EBool",0},
2612 { "_wxCoord","_size_t",0},
2613 { "_wxCoord","_time_t",0},
2614 { "_wxCoord","_wxPrintQuality",0},
2615 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2616 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2617 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2620 static PyObject
*SWIG_globals
;
2624 SWIGEXPORT(void) inithtmlhelpc() {
2626 SWIG_globals
= SWIG_newvarlink();
2627 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2628 d
= PyModule_GetDict(m
);
2629 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2630 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2631 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2632 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2633 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2634 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2635 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2636 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2637 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2640 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2641 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);