2 * FILE : src/gtk/htmlhelp.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlhelpc
56 #define SWIG_name "htmlhelpc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/helpctrl.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "String type required";
101 #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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
173 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
);
175 wxPyEndAllowThreads(__tstate
);
176 if (PyErr_Occurred()) return NULL
;
178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
179 _resultobj
= Py_BuildValue("s",_ptemp
);
182 _resultobj
= Py_None
;
199 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
200 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
203 wxHtmlBookRecord
* _arg0
;
204 PyObject
* _argo0
= 0;
205 char *_kwnames
[] = { "self", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
219 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
221 wxPyEndAllowThreads(__tstate
);
222 if (PyErr_Occurred()) return NULL
;
224 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
232 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
233 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
236 wxHtmlBookRecord
* _arg0
;
237 PyObject
* _argo0
= 0;
238 char *_kwnames
[] = { "self", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
252 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
254 wxPyEndAllowThreads(__tstate
);
255 if (PyErr_Occurred()) return NULL
;
257 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
265 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
266 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
267 PyObject
* _resultobj
;
269 wxHtmlBookRecord
* _arg0
;
270 PyObject
* _argo0
= 0;
271 char *_kwnames
[] = { "self", NULL
};
274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
285 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
287 wxPyEndAllowThreads(__tstate
);
288 if (PyErr_Occurred()) return NULL
;
290 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
298 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
299 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
301 wxHtmlBookRecord
* _arg0
;
304 PyObject
* _argo0
= 0;
305 char *_kwnames
[] = { "self","start","end", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
323 } Py_INCREF(Py_None
);
324 _resultobj
= Py_None
;
328 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
329 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
332 wxHtmlBookRecord
* _arg0
;
333 PyObject
* _argo0
= 0;
334 char *_kwnames
[] = { "self", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
348 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
350 wxPyEndAllowThreads(__tstate
);
351 if (PyErr_Occurred()) return NULL
;
352 } _resultobj
= Py_BuildValue("i",_result
);
356 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
357 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
360 wxHtmlBookRecord
* _arg0
;
361 PyObject
* _argo0
= 0;
362 char *_kwnames
[] = { "self", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
376 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
378 wxPyEndAllowThreads(__tstate
);
379 if (PyErr_Occurred()) return NULL
;
380 } _resultobj
= Py_BuildValue("i",_result
);
384 #define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval)
385 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
388 wxHtmlContentsItem
* _arg0
;
390 PyObject
* _argo0
= 0;
391 char *_kwnames
[] = { "self","m_Level", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames
,&_argo0
,&_arg1
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p.");
404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
405 _result
= (short )wxHtmlContentsItem_m_Level_set(_arg0
,_arg1
);
407 wxPyEndAllowThreads(__tstate
);
408 if (PyErr_Occurred()) return NULL
;
409 } _resultobj
= Py_BuildValue("h",_result
);
413 #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
414 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
417 wxHtmlContentsItem
* _arg0
;
418 PyObject
* _argo0
= 0;
419 char *_kwnames
[] = { "self", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Level_get",_kwnames
,&_argo0
))
425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
433 _result
= (short )wxHtmlContentsItem_m_Level_get(_arg0
);
435 wxPyEndAllowThreads(__tstate
);
436 if (PyErr_Occurred()) return NULL
;
437 } _resultobj
= Py_BuildValue("h",_result
);
441 #define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval)
442 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
445 wxHtmlContentsItem
* _arg0
;
447 PyObject
* _argo0
= 0;
448 char *_kwnames
[] = { "self","m_ID", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames
,&_argo0
,&_arg1
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p.");
461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
462 _result
= (int )wxHtmlContentsItem_m_ID_set(_arg0
,_arg1
);
464 wxPyEndAllowThreads(__tstate
);
465 if (PyErr_Occurred()) return NULL
;
466 } _resultobj
= Py_BuildValue("i",_result
);
470 #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
471 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
472 PyObject
* _resultobj
;
474 wxHtmlContentsItem
* _arg0
;
475 PyObject
* _argo0
= 0;
476 char *_kwnames
[] = { "self", NULL
};
479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_ID_get",_kwnames
,&_argo0
))
482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
490 _result
= (int )wxHtmlContentsItem_m_ID_get(_arg0
);
492 wxPyEndAllowThreads(__tstate
);
493 if (PyErr_Occurred()) return NULL
;
494 } _resultobj
= Py_BuildValue("i",_result
);
498 static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem
*obj
, char *val
) {
499 if (obj
->m_Name
) delete [] obj
->m_Name
;
500 obj
->m_Name
= new char[strlen(val
)+1];
501 strcpy((char *)obj
->m_Name
,val
);
504 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
507 wxHtmlContentsItem
* _arg0
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self","m_Name", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Name_set",_kwnames
,&_argo0
,&_arg1
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p.");
523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
524 _result
= (char *)wxHtmlContentsItem_m_Name_set(_arg0
,_arg1
);
526 wxPyEndAllowThreads(__tstate
);
527 if (PyErr_Occurred()) return NULL
;
528 } _resultobj
= Py_BuildValue("s", _result
);
532 #define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name)
533 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
534 PyObject
* _resultobj
;
536 wxHtmlContentsItem
* _arg0
;
537 PyObject
* _argo0
= 0;
538 char *_kwnames
[] = { "self", NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Name_get",_kwnames
,&_argo0
))
544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
552 _result
= (char *)wxHtmlContentsItem_m_Name_get(_arg0
);
554 wxPyEndAllowThreads(__tstate
);
555 if (PyErr_Occurred()) return NULL
;
556 } _resultobj
= Py_BuildValue("s", _result
);
560 static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem
*obj
, char *val
) {
561 if (obj
->m_Page
) delete [] obj
->m_Page
;
562 obj
->m_Page
= new char[strlen(val
)+1];
563 strcpy((char *)obj
->m_Page
,val
);
566 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 PyObject
* _resultobj
;
569 wxHtmlContentsItem
* _arg0
;
571 PyObject
* _argo0
= 0;
572 char *_kwnames
[] = { "self","m_Page", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Page_set",_kwnames
,&_argo0
,&_arg1
))
578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p.");
585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
586 _result
= (char *)wxHtmlContentsItem_m_Page_set(_arg0
,_arg1
);
588 wxPyEndAllowThreads(__tstate
);
589 if (PyErr_Occurred()) return NULL
;
590 } _resultobj
= Py_BuildValue("s", _result
);
594 #define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page)
595 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
598 wxHtmlContentsItem
* _arg0
;
599 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Page_get",_kwnames
,&_argo0
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
614 _result
= (char *)wxHtmlContentsItem_m_Page_get(_arg0
);
616 wxPyEndAllowThreads(__tstate
);
617 if (PyErr_Occurred()) return NULL
;
618 } _resultobj
= Py_BuildValue("s", _result
);
622 #define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval)
623 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
625 wxHtmlBookRecord
* _result
;
626 wxHtmlContentsItem
* _arg0
;
627 wxHtmlBookRecord
* _arg1
;
628 PyObject
* _argo0
= 0;
629 PyObject
* _argo1
= 0;
630 char *_kwnames
[] = { "self","m_Book", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContentsItem_m_Book_set",_kwnames
,&_argo0
,&_argo1
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p.");
644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlBookRecord_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p.");
651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
652 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_set(_arg0
,_arg1
);
654 wxPyEndAllowThreads(__tstate
);
655 if (PyErr_Occurred()) return NULL
;
657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
658 _resultobj
= Py_BuildValue("s",_ptemp
);
661 _resultobj
= Py_None
;
666 #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
667 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
669 wxHtmlBookRecord
* _result
;
670 wxHtmlContentsItem
* _arg0
;
671 PyObject
* _argo0
= 0;
672 char *_kwnames
[] = { "self", NULL
};
676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Book_get",_kwnames
,&_argo0
))
679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
687 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_get(_arg0
);
689 wxPyEndAllowThreads(__tstate
);
690 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
721 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
723 wxPyEndAllowThreads(__tstate
);
724 if (PyErr_Occurred()) return NULL
;
725 } _resultobj
= Py_BuildValue("i",_result
);
729 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
730 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
733 wxHtmlSearchStatus
* _arg0
;
734 PyObject
* _argo0
= 0;
735 char *_kwnames
[] = { "self", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
749 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
751 wxPyEndAllowThreads(__tstate
);
752 if (PyErr_Occurred()) return NULL
;
753 } _resultobj
= Py_BuildValue("i",_result
);
757 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
758 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
761 wxHtmlSearchStatus
* _arg0
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
777 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
779 wxPyEndAllowThreads(__tstate
);
780 if (PyErr_Occurred()) return NULL
;
781 } _resultobj
= Py_BuildValue("i",_result
);
785 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
786 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
789 wxHtmlSearchStatus
* _arg0
;
790 PyObject
* _argo0
= 0;
791 char *_kwnames
[] = { "self", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
805 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
807 wxPyEndAllowThreads(__tstate
);
808 if (PyErr_Occurred()) return NULL
;
809 } _resultobj
= Py_BuildValue("i",_result
);
813 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
814 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 PyObject
* _resultobj
;
817 wxHtmlSearchStatus
* _arg0
;
818 PyObject
* _argo0
= 0;
819 char *_kwnames
[] = { "self", NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
833 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
834 _result
= (wxString
*) &_result_ref
;
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) return NULL
;
839 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
844 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
845 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
847 wxHtmlContentsItem
* _result
;
848 wxHtmlSearchStatus
* _arg0
;
849 PyObject
* _argo0
= 0;
850 char *_kwnames
[] = { "self", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
865 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) return NULL
;
870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
871 _resultobj
= Py_BuildValue("s",_ptemp
);
874 _resultobj
= Py_None
;
879 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
880 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
882 wxHtmlHelpData
* _result
;
883 char *_kwnames
[] = { NULL
};
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) return NULL
;
896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
897 _resultobj
= Py_BuildValue("s",_ptemp
);
900 _resultobj
= Py_None
;
905 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
906 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxHtmlHelpData
* _arg0
;
909 PyObject
* _argo0
= 0;
910 char *_kwnames
[] = { "self", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
924 delete_wxHtmlHelpData(_arg0
);
926 wxPyEndAllowThreads(__tstate
);
927 if (PyErr_Occurred()) return NULL
;
928 } Py_INCREF(Py_None
);
929 _resultobj
= Py_None
;
933 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
934 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
935 PyObject
* _resultobj
;
936 wxHtmlHelpData
* _arg0
;
938 PyObject
* _argo0
= 0;
939 PyObject
* _obj1
= 0;
940 char *_kwnames
[] = { "self","path", NULL
};
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
953 #if PYTHON_API_VERSION >= 1009
954 char* tmpPtr
; int tmpSize
;
955 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
956 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
959 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
961 _arg1
= new wxString(tmpPtr
, tmpSize
);
963 if (!PyString_Check(_obj1
)) {
964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
967 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
972 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
974 wxPyEndAllowThreads(__tstate
);
975 if (PyErr_Occurred()) return NULL
;
976 } Py_INCREF(Py_None
);
977 _resultobj
= Py_None
;
985 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
986 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
989 wxHtmlHelpData
* _arg0
;
991 PyObject
* _argo0
= 0;
992 PyObject
* _obj1
= 0;
993 char *_kwnames
[] = { "self","book", NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1006 #if PYTHON_API_VERSION >= 1009
1007 char* tmpPtr
; int tmpSize
;
1008 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1012 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1014 _arg1
= new wxString(tmpPtr
, tmpSize
);
1016 if (!PyString_Check(_obj1
)) {
1017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1020 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) return NULL
;
1029 } _resultobj
= Py_BuildValue("i",_result
);
1037 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1038 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1041 wxHtmlHelpData
* _arg0
;
1043 PyObject
* _argo0
= 0;
1044 PyObject
* _obj1
= 0;
1045 char *_kwnames
[] = { "self","page", NULL
};
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1058 #if PYTHON_API_VERSION >= 1009
1059 char* tmpPtr
; int tmpSize
;
1060 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1061 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1064 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1066 _arg1
= new wxString(tmpPtr
, tmpSize
);
1068 if (!PyString_Check(_obj1
)) {
1069 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1072 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1077 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1079 wxPyEndAllowThreads(__tstate
);
1080 if (PyErr_Occurred()) return NULL
;
1082 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1094 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1095 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1098 wxHtmlHelpData
* _arg0
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self","id", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1120 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1128 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1129 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1131 wxHtmlBookRecArray
* _result
;
1132 wxHtmlHelpData
* _arg0
;
1133 PyObject
* _argo0
= 0;
1134 char *_kwnames
[] = { "self", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1150 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1152 wxPyEndAllowThreads(__tstate
);
1153 if (PyErr_Occurred()) return NULL
;
1155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1156 _resultobj
= Py_BuildValue("s",_ptemp
);
1159 _resultobj
= Py_None
;
1164 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1165 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1167 wxHtmlContentsItem
* _result
;
1168 wxHtmlHelpData
* _arg0
;
1169 PyObject
* _argo0
= 0;
1170 char *_kwnames
[] = { "self", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) return NULL
;
1190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1191 _resultobj
= Py_BuildValue("s",_ptemp
);
1194 _resultobj
= Py_None
;
1199 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1200 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1203 wxHtmlHelpData
* _arg0
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 } _resultobj
= Py_BuildValue("i",_result
);
1227 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1228 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1230 wxHtmlContentsItem
* _result
;
1231 wxHtmlHelpData
* _arg0
;
1232 PyObject
* _argo0
= 0;
1233 char *_kwnames
[] = { "self", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1254 _resultobj
= Py_BuildValue("s",_ptemp
);
1257 _resultobj
= Py_None
;
1262 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1263 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1266 wxHtmlHelpData
* _arg0
;
1267 PyObject
* _argo0
= 0;
1268 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) return NULL
;
1286 } _resultobj
= Py_BuildValue("i",_result
);
1290 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1291 wxHtmlHelpFrame
*src
;
1293 src
= (wxHtmlHelpFrame
*) ptr
;
1294 dest
= (wxFrame
*) src
;
1295 return (void *) dest
;
1298 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr
) {
1299 wxHtmlHelpFrame
*src
;
1300 wxTopLevelWindow
*dest
;
1301 src
= (wxHtmlHelpFrame
*) ptr
;
1302 dest
= (wxTopLevelWindow
*) src
;
1303 return (void *) dest
;
1306 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1307 wxHtmlHelpFrame
*src
;
1309 src
= (wxHtmlHelpFrame
*) ptr
;
1310 dest
= (wxWindow
*) src
;
1311 return (void *) dest
;
1314 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1315 wxHtmlHelpFrame
*src
;
1317 src
= (wxHtmlHelpFrame
*) ptr
;
1318 dest
= (wxEvtHandler
*) src
;
1319 return (void *) dest
;
1322 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1323 wxHtmlHelpFrame
*src
;
1325 src
= (wxHtmlHelpFrame
*) ptr
;
1326 dest
= (wxObject
*) src
;
1327 return (void *) dest
;
1330 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1331 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1333 wxHtmlHelpFrame
* _result
;
1336 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1337 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1338 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1339 PyObject
* _argo0
= 0;
1340 PyObject
* _obj2
= 0;
1341 PyObject
* _argo4
= 0;
1342 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1357 #if PYTHON_API_VERSION >= 1009
1358 char* tmpPtr
; int tmpSize
;
1359 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1360 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1363 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1365 _arg2
= new wxString(tmpPtr
, tmpSize
);
1367 if (!PyString_Check(_obj2
)) {
1368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1371 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1375 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1383 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1385 wxPyEndAllowThreads(__tstate
);
1386 if (PyErr_Occurred()) return NULL
;
1388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1389 _resultobj
= Py_BuildValue("s",_ptemp
);
1392 _resultobj
= Py_None
;
1401 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1402 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1404 wxHtmlHelpData
* _result
;
1405 wxHtmlHelpFrame
* _arg0
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1428 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 _resultobj
= Py_None
;
1436 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1437 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1439 wxHtmlHelpFrame
* _arg0
;
1441 PyObject
* _argo0
= 0;
1442 PyObject
* _obj1
= 0;
1443 char *_kwnames
[] = { "self","format", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1456 #if PYTHON_API_VERSION >= 1009
1457 char* tmpPtr
; int tmpSize
;
1458 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1462 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1464 _arg1
= new wxString(tmpPtr
, tmpSize
);
1466 if (!PyString_Check(_obj1
)) {
1467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1470 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1488 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1489 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1491 wxHtmlHelpFrame
* _arg0
;
1493 PyObject
* _argo0
= 0;
1494 PyObject
* _obj1
= 0;
1495 char *_kwnames
[] = { "self","x", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1508 #if PYTHON_API_VERSION >= 1009
1509 char* tmpPtr
; int tmpSize
;
1510 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1514 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1516 _arg1
= new wxString(tmpPtr
, tmpSize
);
1518 if (!PyString_Check(_obj1
)) {
1519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1522 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } Py_INCREF(Py_None
);
1532 _resultobj
= Py_None
;
1540 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1541 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxHtmlHelpFrame
* _arg0
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "self","id", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) return NULL
;
1564 } Py_INCREF(Py_None
);
1565 _resultobj
= Py_None
;
1569 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1570 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1572 wxHtmlHelpFrame
* _arg0
;
1573 PyObject
* _argo0
= 0;
1574 char *_kwnames
[] = { "self", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1588 wxHtmlHelpFrame_DisplayContents(_arg0
);
1590 wxPyEndAllowThreads(__tstate
);
1591 if (PyErr_Occurred()) return NULL
;
1592 } Py_INCREF(Py_None
);
1593 _resultobj
= Py_None
;
1597 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1598 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1600 wxHtmlHelpFrame
* _arg0
;
1601 PyObject
* _argo0
= 0;
1602 char *_kwnames
[] = { "self", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1620 } Py_INCREF(Py_None
);
1621 _resultobj
= Py_None
;
1625 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1626 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1629 wxHtmlHelpFrame
* _arg0
;
1631 PyObject
* _argo0
= 0;
1632 PyObject
* _obj1
= 0;
1633 char *_kwnames
[] = { "self","keyword", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1646 #if PYTHON_API_VERSION >= 1009
1647 char* tmpPtr
; int tmpSize
;
1648 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1652 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1654 _arg1
= new wxString(tmpPtr
, tmpSize
);
1656 if (!PyString_Check(_obj1
)) {
1657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1660 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) return NULL
;
1669 } _resultobj
= Py_BuildValue("i",_result
);
1677 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1678 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1680 wxHtmlHelpFrame
* _arg0
;
1681 wxConfigBase
* _arg1
;
1682 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1683 PyObject
* _argo0
= 0;
1684 PyObject
* _argo1
= 0;
1685 PyObject
* _obj2
= 0;
1686 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1707 #if PYTHON_API_VERSION >= 1009
1708 char* tmpPtr
; int tmpSize
;
1709 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1710 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1713 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1715 _arg2
= new wxString(tmpPtr
, tmpSize
);
1717 if (!PyString_Check(_obj2
)) {
1718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1721 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1730 } Py_INCREF(Py_None
);
1731 _resultobj
= Py_None
;
1739 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1740 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1742 wxHtmlHelpFrame
* _arg0
;
1743 wxConfigBase
* _arg1
;
1744 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1745 PyObject
* _argo0
= 0;
1746 PyObject
* _argo1
= 0;
1747 PyObject
* _obj2
= 0;
1748 char *_kwnames
[] = { "self","cfg","path", NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1769 #if PYTHON_API_VERSION >= 1009
1770 char* tmpPtr
; int tmpSize
;
1771 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1775 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1777 _arg2
= new wxString(tmpPtr
, tmpSize
);
1779 if (!PyString_Check(_obj2
)) {
1780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1783 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1801 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1802 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1804 wxHtmlHelpFrame
* _arg0
;
1805 wxConfigBase
* _arg1
;
1806 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1807 PyObject
* _argo0
= 0;
1808 PyObject
* _argo1
= 0;
1809 PyObject
* _obj2
= 0;
1810 char *_kwnames
[] = { "self","cfg","path", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1831 #if PYTHON_API_VERSION >= 1009
1832 char* tmpPtr
; int tmpSize
;
1833 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1834 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1837 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1839 _arg2
= new wxString(tmpPtr
, tmpSize
);
1841 if (!PyString_Check(_obj2
)) {
1842 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1845 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1854 } Py_INCREF(Py_None
);
1855 _resultobj
= Py_None
;
1863 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
1864 wxHtmlHelpController
*src
;
1866 src
= (wxHtmlHelpController
*) ptr
;
1867 dest
= (wxEvtHandler
*) src
;
1868 return (void *) dest
;
1871 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
1872 wxHtmlHelpController
*src
;
1874 src
= (wxHtmlHelpController
*) ptr
;
1875 dest
= (wxObject
*) src
;
1876 return (void *) dest
;
1879 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1880 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1882 wxHtmlHelpController
* _result
;
1883 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
1884 char *_kwnames
[] = { "style", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
1898 _resultobj
= Py_BuildValue("s",_ptemp
);
1901 _resultobj
= Py_None
;
1906 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1907 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1909 wxHtmlHelpController
* _arg0
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
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 delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 delete_wxHtmlHelpController(_arg0
);
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) return NULL
;
1929 } Py_INCREF(Py_None
);
1930 _resultobj
= Py_None
;
1934 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1935 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1937 wxHtmlHelpController
* _arg0
;
1939 PyObject
* _argo0
= 0;
1940 PyObject
* _obj1
= 0;
1941 char *_kwnames
[] = { "self","format", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1954 #if PYTHON_API_VERSION >= 1009
1955 char* tmpPtr
; int tmpSize
;
1956 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1960 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1962 _arg1
= new wxString(tmpPtr
, tmpSize
);
1964 if (!PyString_Check(_obj1
)) {
1965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1968 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) return NULL
;
1977 } Py_INCREF(Py_None
);
1978 _resultobj
= Py_None
;
1986 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1987 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1989 wxHtmlHelpController
* _arg0
;
1991 PyObject
* _argo0
= 0;
1992 PyObject
* _obj1
= 0;
1993 char *_kwnames
[] = { "self","path", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
2006 #if PYTHON_API_VERSION >= 1009
2007 char* tmpPtr
; int tmpSize
;
2008 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2012 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2014 _arg1
= new wxString(tmpPtr
, tmpSize
);
2016 if (!PyString_Check(_obj1
)) {
2017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2020 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) return NULL
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2038 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
2039 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2042 wxHtmlHelpController
* _arg0
;
2044 int _arg2
= (int ) FALSE
;
2045 PyObject
* _argo0
= 0;
2046 PyObject
* _obj1
= 0;
2047 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
2060 #if PYTHON_API_VERSION >= 1009
2061 char* tmpPtr
; int tmpSize
;
2062 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2063 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2066 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2068 _arg1
= new wxString(tmpPtr
, tmpSize
);
2070 if (!PyString_Check(_obj1
)) {
2071 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2074 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) return NULL
;
2083 } _resultobj
= Py_BuildValue("i",_result
);
2091 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2092 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2094 wxHtmlHelpController
* _arg0
;
2096 PyObject
* _argo0
= 0;
2097 PyObject
* _obj1
= 0;
2098 char *_kwnames
[] = { "self","x", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
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_Display. Expected _wxHtmlHelpController_p.");
2111 #if PYTHON_API_VERSION >= 1009
2112 char* tmpPtr
; int tmpSize
;
2113 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2114 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2117 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2119 _arg1
= new wxString(tmpPtr
, tmpSize
);
2121 if (!PyString_Check(_obj1
)) {
2122 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2125 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 wxHtmlHelpController_Display(_arg0
,*_arg1
);
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) return NULL
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2143 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2144 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2146 wxHtmlHelpController
* _arg0
;
2148 PyObject
* _argo0
= 0;
2149 char *_kwnames
[] = { "self","id", NULL
};
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) return NULL
;
2167 } Py_INCREF(Py_None
);
2168 _resultobj
= Py_None
;
2172 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2173 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
* _resultobj
;
2175 wxHtmlHelpController
* _arg0
;
2176 PyObject
* _argo0
= 0;
2177 char *_kwnames
[] = { "self", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxHtmlHelpController_DisplayContents(_arg0
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2200 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2201 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2203 wxHtmlHelpController
* _arg0
;
2204 PyObject
* _argo0
= 0;
2205 char *_kwnames
[] = { "self", NULL
};
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 wxHtmlHelpController_DisplayIndex(_arg0
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) return NULL
;
2223 } Py_INCREF(Py_None
);
2224 _resultobj
= Py_None
;
2228 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2229 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2232 wxHtmlHelpController
* _arg0
;
2234 PyObject
* _argo0
= 0;
2235 PyObject
* _obj1
= 0;
2236 char *_kwnames
[] = { "self","keyword", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2249 #if PYTHON_API_VERSION >= 1009
2250 char* tmpPtr
; int tmpSize
;
2251 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2255 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2257 _arg1
= new wxString(tmpPtr
, tmpSize
);
2259 if (!PyString_Check(_obj1
)) {
2260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2263 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) return NULL
;
2272 } _resultobj
= Py_BuildValue("i",_result
);
2280 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2281 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2283 wxHtmlHelpController
* _arg0
;
2284 wxConfigBase
* _arg1
;
2285 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2286 PyObject
* _argo0
= 0;
2287 PyObject
* _argo1
= 0;
2288 PyObject
* _obj2
= 0;
2289 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2310 #if PYTHON_API_VERSION >= 1009
2311 char* tmpPtr
; int tmpSize
;
2312 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2316 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2318 _arg2
= new wxString(tmpPtr
, tmpSize
);
2320 if (!PyString_Check(_obj2
)) {
2321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2324 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) return NULL
;
2333 } Py_INCREF(Py_None
);
2334 _resultobj
= Py_None
;
2342 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2343 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2345 wxHtmlHelpController
* _arg0
;
2346 wxConfigBase
* _arg1
;
2347 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2348 PyObject
* _argo0
= 0;
2349 PyObject
* _argo1
= 0;
2350 PyObject
* _obj2
= 0;
2351 char *_kwnames
[] = { "self","cfg","path", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2364 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2372 #if PYTHON_API_VERSION >= 1009
2373 char* tmpPtr
; int tmpSize
;
2374 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2378 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2380 _arg2
= new wxString(tmpPtr
, tmpSize
);
2382 if (!PyString_Check(_obj2
)) {
2383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2386 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) return NULL
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2404 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2405 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2407 wxHtmlHelpController
* _arg0
;
2408 wxConfigBase
* _arg1
;
2409 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2410 PyObject
* _argo0
= 0;
2411 PyObject
* _argo1
= 0;
2412 PyObject
* _obj2
= 0;
2413 char *_kwnames
[] = { "self","cfg","path", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2426 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2427 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2434 #if PYTHON_API_VERSION >= 1009
2435 char* tmpPtr
; int tmpSize
;
2436 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2440 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2442 _arg2
= new wxString(tmpPtr
, tmpSize
);
2444 if (!PyString_Check(_obj2
)) {
2445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2448 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) return NULL
;
2457 } Py_INCREF(Py_None
);
2458 _resultobj
= Py_None
;
2466 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2467 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2469 wxHtmlHelpFrame
* _result
;
2470 wxHtmlHelpController
* _arg0
;
2471 PyObject
* _argo0
= 0;
2472 char *_kwnames
[] = { "self", NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) return NULL
;
2492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2493 _resultobj
= Py_BuildValue("s",_ptemp
);
2496 _resultobj
= Py_None
;
2501 static PyMethodDef htmlhelpcMethods
[] = {
2502 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2503 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2504 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2505 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2506 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2507 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2508 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2509 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2510 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2511 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2512 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2513 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2514 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2515 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2516 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2517 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2518 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2519 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2520 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2521 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2522 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2523 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2524 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2525 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2526 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2527 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2528 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2529 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2530 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2531 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2532 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2533 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2534 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2535 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2536 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2537 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2538 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2539 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2540 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2541 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2542 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2543 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2544 { "wxHtmlContentsItem_m_Book_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_get
, METH_VARARGS
| METH_KEYWORDS
},
2545 { "wxHtmlContentsItem_m_Book_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_set
, METH_VARARGS
| METH_KEYWORDS
},
2546 { "wxHtmlContentsItem_m_Page_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_get
, METH_VARARGS
| METH_KEYWORDS
},
2547 { "wxHtmlContentsItem_m_Page_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_set
, METH_VARARGS
| METH_KEYWORDS
},
2548 { "wxHtmlContentsItem_m_Name_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_get
, METH_VARARGS
| METH_KEYWORDS
},
2549 { "wxHtmlContentsItem_m_Name_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_set
, METH_VARARGS
| METH_KEYWORDS
},
2550 { "wxHtmlContentsItem_m_ID_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_get
, METH_VARARGS
| METH_KEYWORDS
},
2551 { "wxHtmlContentsItem_m_ID_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_set
, METH_VARARGS
| METH_KEYWORDS
},
2552 { "wxHtmlContentsItem_m_Level_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_get
, METH_VARARGS
| METH_KEYWORDS
},
2553 { "wxHtmlContentsItem_m_Level_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_set
, METH_VARARGS
| METH_KEYWORDS
},
2554 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2555 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2556 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2557 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2558 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2559 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2560 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2567 * This table is used by the pointer type-checker
2569 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2570 { "_signed_long","_long",0},
2571 { "_wxPrintQuality","_wxCoord",0},
2572 { "_wxPrintQuality","_int",0},
2573 { "_wxPrintQuality","_signed_int",0},
2574 { "_wxPrintQuality","_unsigned_int",0},
2575 { "_wxPrintQuality","_wxWindowID",0},
2576 { "_wxPrintQuality","_uint",0},
2577 { "_wxPrintQuality","_EBool",0},
2578 { "_wxPrintQuality","_size_t",0},
2579 { "_wxPrintQuality","_time_t",0},
2580 { "_byte","_unsigned_char",0},
2581 { "_long","_unsigned_long",0},
2582 { "_long","_signed_long",0},
2583 { "_size_t","_wxCoord",0},
2584 { "_size_t","_wxPrintQuality",0},
2585 { "_size_t","_time_t",0},
2586 { "_size_t","_unsigned_int",0},
2587 { "_size_t","_int",0},
2588 { "_size_t","_wxWindowID",0},
2589 { "_size_t","_uint",0},
2590 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2591 { "_uint","_wxCoord",0},
2592 { "_uint","_wxPrintQuality",0},
2593 { "_uint","_time_t",0},
2594 { "_uint","_size_t",0},
2595 { "_uint","_unsigned_int",0},
2596 { "_uint","_int",0},
2597 { "_uint","_wxWindowID",0},
2598 { "_wxChar","_char",0},
2599 { "_char","_wxChar",0},
2600 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2601 { "_EBool","_wxCoord",0},
2602 { "_EBool","_wxPrintQuality",0},
2603 { "_EBool","_signed_int",0},
2604 { "_EBool","_int",0},
2605 { "_EBool","_wxWindowID",0},
2606 { "_unsigned_long","_long",0},
2607 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2608 { "_signed_int","_wxCoord",0},
2609 { "_signed_int","_wxPrintQuality",0},
2610 { "_signed_int","_EBool",0},
2611 { "_signed_int","_wxWindowID",0},
2612 { "_signed_int","_int",0},
2613 { "_WXTYPE","_wxDateTime_t",0},
2614 { "_WXTYPE","_short",0},
2615 { "_WXTYPE","_signed_short",0},
2616 { "_WXTYPE","_unsigned_short",0},
2617 { "_unsigned_short","_wxDateTime_t",0},
2618 { "_unsigned_short","_WXTYPE",0},
2619 { "_unsigned_short","_short",0},
2620 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2621 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2622 { "_signed_short","_WXTYPE",0},
2623 { "_signed_short","_short",0},
2624 { "_unsigned_char","_byte",0},
2625 { "_unsigned_int","_wxCoord",0},
2626 { "_unsigned_int","_wxPrintQuality",0},
2627 { "_unsigned_int","_time_t",0},
2628 { "_unsigned_int","_size_t",0},
2629 { "_unsigned_int","_uint",0},
2630 { "_unsigned_int","_wxWindowID",0},
2631 { "_unsigned_int","_int",0},
2632 { "_short","_wxDateTime_t",0},
2633 { "_short","_WXTYPE",0},
2634 { "_short","_unsigned_short",0},
2635 { "_short","_signed_short",0},
2636 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2637 { "_wxWindowID","_wxCoord",0},
2638 { "_wxWindowID","_wxPrintQuality",0},
2639 { "_wxWindowID","_time_t",0},
2640 { "_wxWindowID","_size_t",0},
2641 { "_wxWindowID","_EBool",0},
2642 { "_wxWindowID","_uint",0},
2643 { "_wxWindowID","_int",0},
2644 { "_wxWindowID","_signed_int",0},
2645 { "_wxWindowID","_unsigned_int",0},
2646 { "_int","_wxCoord",0},
2647 { "_int","_wxPrintQuality",0},
2648 { "_int","_time_t",0},
2649 { "_int","_size_t",0},
2650 { "_int","_EBool",0},
2651 { "_int","_uint",0},
2652 { "_int","_wxWindowID",0},
2653 { "_int","_unsigned_int",0},
2654 { "_int","_signed_int",0},
2655 { "_wxDateTime_t","_unsigned_short",0},
2656 { "_wxDateTime_t","_short",0},
2657 { "_wxDateTime_t","_WXTYPE",0},
2658 { "_time_t","_wxCoord",0},
2659 { "_time_t","_wxPrintQuality",0},
2660 { "_time_t","_unsigned_int",0},
2661 { "_time_t","_int",0},
2662 { "_time_t","_wxWindowID",0},
2663 { "_time_t","_uint",0},
2664 { "_time_t","_size_t",0},
2665 { "_wxCoord","_int",0},
2666 { "_wxCoord","_signed_int",0},
2667 { "_wxCoord","_unsigned_int",0},
2668 { "_wxCoord","_wxWindowID",0},
2669 { "_wxCoord","_uint",0},
2670 { "_wxCoord","_EBool",0},
2671 { "_wxCoord","_size_t",0},
2672 { "_wxCoord","_time_t",0},
2673 { "_wxCoord","_wxPrintQuality",0},
2674 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2675 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2676 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2679 static PyObject
*SWIG_globals
;
2683 SWIGEXPORT(void) inithtmlhelpc() {
2685 SWIG_globals
= SWIG_newvarlink();
2686 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2687 d
= PyModule_GetDict(m
);
2688 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2689 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2690 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2691 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2692 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2693 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2694 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2695 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2696 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2699 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2700 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);