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 is required for parameter";
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 *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1265 wxHtmlHelpFrame
*src
;
1267 src
= (wxHtmlHelpFrame
*) ptr
;
1268 dest
= (wxWindow
*) src
;
1269 return (void *) dest
;
1272 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1273 wxHtmlHelpFrame
*src
;
1275 src
= (wxHtmlHelpFrame
*) ptr
;
1276 dest
= (wxEvtHandler
*) src
;
1277 return (void *) dest
;
1280 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1281 wxHtmlHelpFrame
*src
;
1283 src
= (wxHtmlHelpFrame
*) ptr
;
1284 dest
= (wxObject
*) src
;
1285 return (void *) dest
;
1288 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1289 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1291 wxHtmlHelpFrame
* _result
;
1294 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1295 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1296 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1297 PyObject
* _argo0
= 0;
1298 PyObject
* _obj2
= 0;
1299 PyObject
* _argo4
= 0;
1300 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1315 #if PYTHON_API_VERSION >= 1009
1316 char* tmpPtr
; int tmpSize
;
1317 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1321 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1323 _arg2
= new wxString(tmpPtr
, tmpSize
);
1325 if (!PyString_Check(_obj2
)) {
1326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1329 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1333 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1340 wxPy_BEGIN_ALLOW_THREADS
;
1341 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1343 wxPy_END_ALLOW_THREADS
;
1345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1346 _resultobj
= Py_BuildValue("s",_ptemp
);
1349 _resultobj
= Py_None
;
1358 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1359 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1361 wxHtmlHelpData
* _result
;
1362 wxHtmlHelpFrame
* _arg0
;
1363 PyObject
* _argo0
= 0;
1364 char *_kwnames
[] = { "self", NULL
};
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1378 wxPy_BEGIN_ALLOW_THREADS
;
1379 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1381 wxPy_END_ALLOW_THREADS
;
1383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1384 _resultobj
= Py_BuildValue("s",_ptemp
);
1387 _resultobj
= Py_None
;
1392 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1393 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1395 wxHtmlHelpFrame
* _arg0
;
1397 PyObject
* _argo0
= 0;
1398 PyObject
* _obj1
= 0;
1399 char *_kwnames
[] = { "self","format", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1412 #if PYTHON_API_VERSION >= 1009
1413 char* tmpPtr
; int tmpSize
;
1414 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1418 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1420 _arg1
= new wxString(tmpPtr
, tmpSize
);
1422 if (!PyString_Check(_obj1
)) {
1423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1426 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1433 wxPy_END_ALLOW_THREADS
;
1434 } Py_INCREF(Py_None
);
1435 _resultobj
= Py_None
;
1443 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1444 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1446 wxHtmlHelpFrame
* _arg0
;
1448 PyObject
* _argo0
= 0;
1449 PyObject
* _obj1
= 0;
1450 char *_kwnames
[] = { "self","x", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1463 #if PYTHON_API_VERSION >= 1009
1464 char* tmpPtr
; int tmpSize
;
1465 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1469 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1471 _arg1
= new wxString(tmpPtr
, tmpSize
);
1473 if (!PyString_Check(_obj1
)) {
1474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1477 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1481 wxPy_BEGIN_ALLOW_THREADS
;
1482 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1484 wxPy_END_ALLOW_THREADS
;
1485 } Py_INCREF(Py_None
);
1486 _resultobj
= Py_None
;
1494 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1495 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
* _resultobj
;
1497 wxHtmlHelpFrame
* _arg0
;
1499 PyObject
* _argo0
= 0;
1500 char *_kwnames
[] = { "self","id", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1513 wxPy_BEGIN_ALLOW_THREADS
;
1514 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1516 wxPy_END_ALLOW_THREADS
;
1517 } Py_INCREF(Py_None
);
1518 _resultobj
= Py_None
;
1522 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1523 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1525 wxHtmlHelpFrame
* _arg0
;
1526 PyObject
* _argo0
= 0;
1527 char *_kwnames
[] = { "self", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1540 wxPy_BEGIN_ALLOW_THREADS
;
1541 wxHtmlHelpFrame_DisplayContents(_arg0
);
1543 wxPy_END_ALLOW_THREADS
;
1544 } Py_INCREF(Py_None
);
1545 _resultobj
= Py_None
;
1549 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1550 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1552 wxHtmlHelpFrame
* _arg0
;
1553 PyObject
* _argo0
= 0;
1554 char *_kwnames
[] = { "self", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1567 wxPy_BEGIN_ALLOW_THREADS
;
1568 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1570 wxPy_END_ALLOW_THREADS
;
1571 } Py_INCREF(Py_None
);
1572 _resultobj
= Py_None
;
1576 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1577 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1580 wxHtmlHelpFrame
* _arg0
;
1582 PyObject
* _argo0
= 0;
1583 PyObject
* _obj1
= 0;
1584 char *_kwnames
[] = { "self","keyword", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1597 #if PYTHON_API_VERSION >= 1009
1598 char* tmpPtr
; int tmpSize
;
1599 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1603 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1605 _arg1
= new wxString(tmpPtr
, tmpSize
);
1607 if (!PyString_Check(_obj1
)) {
1608 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1611 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } _resultobj
= Py_BuildValue("i",_result
);
1627 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1628 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1630 wxHtmlHelpFrame
* _arg0
;
1631 wxConfigBase
* _arg1
;
1632 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1633 PyObject
* _argo0
= 0;
1634 PyObject
* _argo1
= 0;
1635 PyObject
* _obj2
= 0;
1636 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1657 #if PYTHON_API_VERSION >= 1009
1658 char* tmpPtr
; int tmpSize
;
1659 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1660 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1663 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1665 _arg2
= new wxString(tmpPtr
, tmpSize
);
1667 if (!PyString_Check(_obj2
)) {
1668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1671 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1675 wxPy_BEGIN_ALLOW_THREADS
;
1676 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
1678 wxPy_END_ALLOW_THREADS
;
1679 } Py_INCREF(Py_None
);
1680 _resultobj
= Py_None
;
1688 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1689 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1691 wxHtmlHelpFrame
* _arg0
;
1692 wxConfigBase
* _arg1
;
1693 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1694 PyObject
* _argo0
= 0;
1695 PyObject
* _argo1
= 0;
1696 PyObject
* _obj2
= 0;
1697 char *_kwnames
[] = { "self","cfg","path", NULL
};
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1718 #if PYTHON_API_VERSION >= 1009
1719 char* tmpPtr
; int tmpSize
;
1720 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1724 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1726 _arg2
= new wxString(tmpPtr
, tmpSize
);
1728 if (!PyString_Check(_obj2
)) {
1729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1732 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1736 wxPy_BEGIN_ALLOW_THREADS
;
1737 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
1739 wxPy_END_ALLOW_THREADS
;
1740 } Py_INCREF(Py_None
);
1741 _resultobj
= Py_None
;
1749 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1750 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1752 wxHtmlHelpFrame
* _arg0
;
1753 wxConfigBase
* _arg1
;
1754 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1755 PyObject
* _argo0
= 0;
1756 PyObject
* _argo1
= 0;
1757 PyObject
* _obj2
= 0;
1758 char *_kwnames
[] = { "self","cfg","path", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1779 #if PYTHON_API_VERSION >= 1009
1780 char* tmpPtr
; int tmpSize
;
1781 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1785 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1787 _arg2
= new wxString(tmpPtr
, tmpSize
);
1789 if (!PyString_Check(_obj2
)) {
1790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1793 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
1800 wxPy_END_ALLOW_THREADS
;
1801 } Py_INCREF(Py_None
);
1802 _resultobj
= Py_None
;
1810 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
1811 wxHtmlHelpController
*src
;
1813 src
= (wxHtmlHelpController
*) ptr
;
1814 dest
= (wxEvtHandler
*) src
;
1815 return (void *) dest
;
1818 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
1819 wxHtmlHelpController
*src
;
1821 src
= (wxHtmlHelpController
*) ptr
;
1822 dest
= (wxObject
*) src
;
1823 return (void *) dest
;
1826 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1827 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
* _resultobj
;
1829 wxHtmlHelpController
* _result
;
1830 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
1831 char *_kwnames
[] = { "style", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
1838 wxPy_BEGIN_ALLOW_THREADS
;
1839 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
1841 wxPy_END_ALLOW_THREADS
;
1843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
1844 _resultobj
= Py_BuildValue("s",_ptemp
);
1847 _resultobj
= Py_None
;
1852 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1853 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1855 wxHtmlHelpController
* _arg0
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 delete_wxHtmlHelpController(_arg0
);
1873 wxPy_END_ALLOW_THREADS
;
1874 } Py_INCREF(Py_None
);
1875 _resultobj
= Py_None
;
1879 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1880 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1882 wxHtmlHelpController
* _arg0
;
1884 PyObject
* _argo0
= 0;
1885 PyObject
* _obj1
= 0;
1886 char *_kwnames
[] = { "self","format", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1899 #if PYTHON_API_VERSION >= 1009
1900 char* tmpPtr
; int tmpSize
;
1901 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1905 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1907 _arg1
= new wxString(tmpPtr
, tmpSize
);
1909 if (!PyString_Check(_obj1
)) {
1910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1913 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
1920 wxPy_END_ALLOW_THREADS
;
1921 } Py_INCREF(Py_None
);
1922 _resultobj
= Py_None
;
1930 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1931 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1933 wxHtmlHelpController
* _arg0
;
1935 PyObject
* _argo0
= 0;
1936 PyObject
* _obj1
= 0;
1937 char *_kwnames
[] = { "self","path", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1950 #if PYTHON_API_VERSION >= 1009
1951 char* tmpPtr
; int tmpSize
;
1952 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1956 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1958 _arg1
= new wxString(tmpPtr
, tmpSize
);
1960 if (!PyString_Check(_obj1
)) {
1961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1964 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1968 wxPy_BEGIN_ALLOW_THREADS
;
1969 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
1971 wxPy_END_ALLOW_THREADS
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1981 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
1982 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1985 wxHtmlHelpController
* _arg0
;
1987 int _arg2
= (int ) FALSE
;
1988 PyObject
* _argo0
= 0;
1989 PyObject
* _obj1
= 0;
1990 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
2003 #if PYTHON_API_VERSION >= 1009
2004 char* tmpPtr
; int tmpSize
;
2005 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2009 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2011 _arg1
= new wxString(tmpPtr
, tmpSize
);
2013 if (!PyString_Check(_obj1
)) {
2014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2017 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2021 wxPy_BEGIN_ALLOW_THREADS
;
2022 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
2024 wxPy_END_ALLOW_THREADS
;
2025 } _resultobj
= Py_BuildValue("i",_result
);
2033 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2034 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2036 wxHtmlHelpController
* _arg0
;
2038 PyObject
* _argo0
= 0;
2039 PyObject
* _obj1
= 0;
2040 char *_kwnames
[] = { "self","x", NULL
};
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
2046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
2053 #if PYTHON_API_VERSION >= 1009
2054 char* tmpPtr
; int tmpSize
;
2055 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2056 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2059 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2061 _arg1
= new wxString(tmpPtr
, tmpSize
);
2063 if (!PyString_Check(_obj1
)) {
2064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2067 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 wxHtmlHelpController_Display(_arg0
,*_arg1
);
2074 wxPy_END_ALLOW_THREADS
;
2075 } Py_INCREF(Py_None
);
2076 _resultobj
= Py_None
;
2084 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2085 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2087 wxHtmlHelpController
* _arg0
;
2089 PyObject
* _argo0
= 0;
2090 char *_kwnames
[] = { "self","id", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2106 wxPy_END_ALLOW_THREADS
;
2107 } Py_INCREF(Py_None
);
2108 _resultobj
= Py_None
;
2112 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2113 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2115 wxHtmlHelpController
* _arg0
;
2116 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 wxHtmlHelpController_DisplayContents(_arg0
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2139 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2140 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2142 wxHtmlHelpController
* _arg0
;
2143 PyObject
* _argo0
= 0;
2144 char *_kwnames
[] = { "self", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 wxHtmlHelpController_DisplayIndex(_arg0
);
2160 wxPy_END_ALLOW_THREADS
;
2161 } Py_INCREF(Py_None
);
2162 _resultobj
= Py_None
;
2166 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2167 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2170 wxHtmlHelpController
* _arg0
;
2172 PyObject
* _argo0
= 0;
2173 PyObject
* _obj1
= 0;
2174 char *_kwnames
[] = { "self","keyword", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2187 #if PYTHON_API_VERSION >= 1009
2188 char* tmpPtr
; int tmpSize
;
2189 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2193 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2195 _arg1
= new wxString(tmpPtr
, tmpSize
);
2197 if (!PyString_Check(_obj1
)) {
2198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2201 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2208 wxPy_END_ALLOW_THREADS
;
2209 } _resultobj
= Py_BuildValue("i",_result
);
2217 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2218 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2220 wxHtmlHelpController
* _arg0
;
2221 wxConfigBase
* _arg1
;
2222 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2223 PyObject
* _argo0
= 0;
2224 PyObject
* _argo1
= 0;
2225 PyObject
* _obj2
= 0;
2226 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2239 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2240 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2247 #if PYTHON_API_VERSION >= 1009
2248 char* tmpPtr
; int tmpSize
;
2249 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2253 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2255 _arg2
= new wxString(tmpPtr
, tmpSize
);
2257 if (!PyString_Check(_obj2
)) {
2258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2261 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2268 wxPy_END_ALLOW_THREADS
;
2269 } Py_INCREF(Py_None
);
2270 _resultobj
= Py_None
;
2278 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2279 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2281 wxHtmlHelpController
* _arg0
;
2282 wxConfigBase
* _arg1
;
2283 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2284 PyObject
* _argo0
= 0;
2285 PyObject
* _argo1
= 0;
2286 PyObject
* _obj2
= 0;
2287 char *_kwnames
[] = { "self","cfg","path", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2308 #if PYTHON_API_VERSION >= 1009
2309 char* tmpPtr
; int tmpSize
;
2310 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2314 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2316 _arg2
= new wxString(tmpPtr
, tmpSize
);
2318 if (!PyString_Check(_obj2
)) {
2319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2322 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2339 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2340 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2342 wxHtmlHelpController
* _arg0
;
2343 wxConfigBase
* _arg1
;
2344 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2345 PyObject
* _argo0
= 0;
2346 PyObject
* _argo1
= 0;
2347 PyObject
* _obj2
= 0;
2348 char *_kwnames
[] = { "self","cfg","path", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2369 #if PYTHON_API_VERSION >= 1009
2370 char* tmpPtr
; int tmpSize
;
2371 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2375 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2377 _arg2
= new wxString(tmpPtr
, tmpSize
);
2379 if (!PyString_Check(_obj2
)) {
2380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2383 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2387 wxPy_BEGIN_ALLOW_THREADS
;
2388 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2390 wxPy_END_ALLOW_THREADS
;
2391 } Py_INCREF(Py_None
);
2392 _resultobj
= Py_None
;
2400 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2401 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2403 wxHtmlHelpFrame
* _result
;
2404 wxHtmlHelpController
* _arg0
;
2405 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2423 wxPy_END_ALLOW_THREADS
;
2425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2426 _resultobj
= Py_BuildValue("s",_ptemp
);
2429 _resultobj
= Py_None
;
2434 static PyMethodDef htmlhelpcMethods
[] = {
2435 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2436 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2437 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2438 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2439 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2440 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2441 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2442 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2443 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2444 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2445 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2446 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2447 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2448 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2449 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2450 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2451 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2452 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2453 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2454 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2455 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2456 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2457 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2458 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2459 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2460 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2461 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2462 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2463 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2464 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2465 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2466 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2467 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2468 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2469 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2470 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2471 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2472 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2473 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2474 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2475 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2476 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2477 { "wxHtmlContentsItem_m_Book_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_get
, METH_VARARGS
| METH_KEYWORDS
},
2478 { "wxHtmlContentsItem_m_Book_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_set
, METH_VARARGS
| METH_KEYWORDS
},
2479 { "wxHtmlContentsItem_m_Page_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_get
, METH_VARARGS
| METH_KEYWORDS
},
2480 { "wxHtmlContentsItem_m_Page_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_set
, METH_VARARGS
| METH_KEYWORDS
},
2481 { "wxHtmlContentsItem_m_Name_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_get
, METH_VARARGS
| METH_KEYWORDS
},
2482 { "wxHtmlContentsItem_m_Name_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_set
, METH_VARARGS
| METH_KEYWORDS
},
2483 { "wxHtmlContentsItem_m_ID_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_get
, METH_VARARGS
| METH_KEYWORDS
},
2484 { "wxHtmlContentsItem_m_ID_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_set
, METH_VARARGS
| METH_KEYWORDS
},
2485 { "wxHtmlContentsItem_m_Level_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_get
, METH_VARARGS
| METH_KEYWORDS
},
2486 { "wxHtmlContentsItem_m_Level_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_set
, METH_VARARGS
| METH_KEYWORDS
},
2487 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2488 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2489 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2490 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2491 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2492 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2493 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2500 * This table is used by the pointer type-checker
2502 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2503 { "_signed_long","_long",0},
2504 { "_wxPrintQuality","_wxCoord",0},
2505 { "_wxPrintQuality","_int",0},
2506 { "_wxPrintQuality","_signed_int",0},
2507 { "_wxPrintQuality","_unsigned_int",0},
2508 { "_wxPrintQuality","_wxWindowID",0},
2509 { "_wxPrintQuality","_uint",0},
2510 { "_wxPrintQuality","_EBool",0},
2511 { "_wxPrintQuality","_size_t",0},
2512 { "_wxPrintQuality","_time_t",0},
2513 { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2514 { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2515 { "_class_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2516 { "_class_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2517 { "_byte","_unsigned_char",0},
2518 { "_long","_unsigned_long",0},
2519 { "_long","_signed_long",0},
2520 { "_class_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2521 { "_class_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2522 { "_class_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2523 { "_class_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
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 { "_uint","_wxCoord",0},
2532 { "_uint","_wxPrintQuality",0},
2533 { "_uint","_time_t",0},
2534 { "_uint","_size_t",0},
2535 { "_uint","_unsigned_int",0},
2536 { "_uint","_int",0},
2537 { "_uint","_wxWindowID",0},
2538 { "_wxChar","_char",0},
2539 { "_char","_wxChar",0},
2540 { "_EBool","_wxCoord",0},
2541 { "_EBool","_wxPrintQuality",0},
2542 { "_EBool","_signed_int",0},
2543 { "_EBool","_int",0},
2544 { "_EBool","_wxWindowID",0},
2545 { "_unsigned_long","_long",0},
2546 { "_signed_int","_wxCoord",0},
2547 { "_signed_int","_wxPrintQuality",0},
2548 { "_signed_int","_EBool",0},
2549 { "_signed_int","_wxWindowID",0},
2550 { "_signed_int","_int",0},
2551 { "_WXTYPE","_wxDateTime_t",0},
2552 { "_WXTYPE","_short",0},
2553 { "_WXTYPE","_signed_short",0},
2554 { "_WXTYPE","_unsigned_short",0},
2555 { "_unsigned_short","_wxDateTime_t",0},
2556 { "_unsigned_short","_WXTYPE",0},
2557 { "_unsigned_short","_short",0},
2558 { "_class_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2559 { "_class_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2560 { "_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2561 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2562 { "_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2563 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2564 { "_signed_short","_WXTYPE",0},
2565 { "_signed_short","_short",0},
2566 { "_unsigned_char","_byte",0},
2567 { "_unsigned_int","_wxCoord",0},
2568 { "_unsigned_int","_wxPrintQuality",0},
2569 { "_unsigned_int","_time_t",0},
2570 { "_unsigned_int","_size_t",0},
2571 { "_unsigned_int","_uint",0},
2572 { "_unsigned_int","_wxWindowID",0},
2573 { "_unsigned_int","_int",0},
2574 { "_short","_wxDateTime_t",0},
2575 { "_short","_WXTYPE",0},
2576 { "_short","_unsigned_short",0},
2577 { "_short","_signed_short",0},
2578 { "_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2579 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2580 { "_wxWindowID","_wxCoord",0},
2581 { "_wxWindowID","_wxPrintQuality",0},
2582 { "_wxWindowID","_time_t",0},
2583 { "_wxWindowID","_size_t",0},
2584 { "_wxWindowID","_EBool",0},
2585 { "_wxWindowID","_uint",0},
2586 { "_wxWindowID","_int",0},
2587 { "_wxWindowID","_signed_int",0},
2588 { "_wxWindowID","_unsigned_int",0},
2589 { "_int","_wxCoord",0},
2590 { "_int","_wxPrintQuality",0},
2591 { "_int","_time_t",0},
2592 { "_int","_size_t",0},
2593 { "_int","_EBool",0},
2594 { "_int","_uint",0},
2595 { "_int","_wxWindowID",0},
2596 { "_int","_unsigned_int",0},
2597 { "_int","_signed_int",0},
2598 { "_wxDateTime_t","_unsigned_short",0},
2599 { "_wxDateTime_t","_short",0},
2600 { "_wxDateTime_t","_WXTYPE",0},
2601 { "_time_t","_wxCoord",0},
2602 { "_time_t","_wxPrintQuality",0},
2603 { "_time_t","_unsigned_int",0},
2604 { "_time_t","_int",0},
2605 { "_time_t","_wxWindowID",0},
2606 { "_time_t","_uint",0},
2607 { "_time_t","_size_t",0},
2608 { "_wxCoord","_int",0},
2609 { "_wxCoord","_signed_int",0},
2610 { "_wxCoord","_unsigned_int",0},
2611 { "_wxCoord","_wxWindowID",0},
2612 { "_wxCoord","_uint",0},
2613 { "_wxCoord","_EBool",0},
2614 { "_wxCoord","_size_t",0},
2615 { "_wxCoord","_time_t",0},
2616 { "_wxCoord","_wxPrintQuality",0},
2617 { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2618 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2619 { "_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2620 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2621 { "_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2622 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2623 { "_class_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2624 { "_class_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2627 static PyObject
*SWIG_globals
;
2631 SWIGEXPORT(void) inithtmlhelpc() {
2633 SWIG_globals
= SWIG_newvarlink();
2634 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2635 d
= PyModule_GetDict(m
);
2636 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2637 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2638 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2639 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2640 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2641 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2642 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2643 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2644 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2647 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2648 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);