]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/htmlhelp.cpp
wxITEM_FOO instead of wxItem_Foo, for the sake of consistency
[wxWidgets.git] / wxPython / src / mac / htmlhelp.cpp
1 /*
2 * FILE : src/mac/htmlhelp.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
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);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init inithtmlhelpc
55
56 #define SWIG_name "htmlhelpc"
57
58 #include "export.h"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/helpctrl.h>
61 #include <wx/image.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
65
66 // Put some wx default wxChar* values into wxStrings.
67 static const wxString wxPyEmptyString(wxT(""));
68
69
70 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
71 PyObject* o2;
72 PyObject* o3;
73
74 if (!target) {
75 target = o;
76 } else if (target == Py_None) {
77 Py_DECREF(Py_None);
78 target = o;
79 } else {
80 if (!PyTuple_Check(target)) {
81 o2 = target;
82 target = PyTuple_New(1);
83 PyTuple_SetItem(target, 0, o2);
84 }
85 o3 = PyTuple_New(1);
86 PyTuple_SetItem(o3, 0, o);
87
88 o2 = target;
89 target = PySequence_Concat(o2, o3);
90 Py_DECREF(o2);
91 Py_DECREF(o3);
92 }
93 return target;
94 }
95 #ifdef __cplusplus
96 extern "C" {
97 #endif
98 static void *SwigwxHtmlBookRecordTowxObject(void *ptr) {
99 wxHtmlBookRecord *src;
100 wxObject *dest;
101 src = (wxHtmlBookRecord *) ptr;
102 dest = (wxObject *) src;
103 return (void *) dest;
104 }
105
106 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107 static PyObject *_wrap_new_wxHtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
108 PyObject * _resultobj;
109 wxHtmlBookRecord * _result;
110 wxString * _arg0;
111 wxString * _arg1;
112 wxString * _arg2;
113 wxString * _arg3;
114 PyObject * _obj0 = 0;
115 PyObject * _obj1 = 0;
116 PyObject * _obj2 = 0;
117 PyObject * _obj3 = 0;
118 char *_kwnames[] = { "bookfile","basepath","title","start", NULL };
119 char _ptemp[128];
120
121 self = self;
122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:new_wxHtmlBookRecord",_kwnames,&_obj0,&_obj1,&_obj2,&_obj3))
123 return NULL;
124 {
125 _arg0 = wxString_in_helper(_obj0);
126 if (_arg0 == NULL)
127 return NULL;
128 }
129 {
130 _arg1 = wxString_in_helper(_obj1);
131 if (_arg1 == NULL)
132 return NULL;
133 }
134 {
135 _arg2 = wxString_in_helper(_obj2);
136 if (_arg2 == NULL)
137 return NULL;
138 }
139 {
140 _arg3 = wxString_in_helper(_obj3);
141 if (_arg3 == NULL)
142 return NULL;
143 }
144 {
145 PyThreadState* __tstate = wxPyBeginAllowThreads();
146 _result = (wxHtmlBookRecord *)new_wxHtmlBookRecord(*_arg0,*_arg1,*_arg2,*_arg3);
147
148 wxPyEndAllowThreads(__tstate);
149 if (PyErr_Occurred()) return NULL;
150 } if (_result) {
151 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
152 _resultobj = Py_BuildValue("s",_ptemp);
153 } else {
154 Py_INCREF(Py_None);
155 _resultobj = Py_None;
156 }
157 {
158 if (_obj0)
159 delete _arg0;
160 }
161 {
162 if (_obj1)
163 delete _arg1;
164 }
165 {
166 if (_obj2)
167 delete _arg2;
168 }
169 {
170 if (_obj3)
171 delete _arg3;
172 }
173 return _resultobj;
174 }
175
176 #define wxHtmlBookRecord_GetBookFile(_swigobj) (_swigobj->GetBookFile())
177 static PyObject *_wrap_wxHtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) {
178 PyObject * _resultobj;
179 wxString * _result;
180 wxHtmlBookRecord * _arg0;
181 PyObject * _argo0 = 0;
182 char *_kwnames[] = { "self", NULL };
183
184 self = self;
185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetBookFile",_kwnames,&_argo0))
186 return NULL;
187 if (_argo0) {
188 if (_argo0 == Py_None) { _arg0 = NULL; }
189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetBookFile. Expected _wxHtmlBookRecord_p.");
191 return NULL;
192 }
193 }
194 {
195 PyThreadState* __tstate = wxPyBeginAllowThreads();
196 _result = new wxString (wxHtmlBookRecord_GetBookFile(_arg0));
197
198 wxPyEndAllowThreads(__tstate);
199 if (PyErr_Occurred()) return NULL;
200 }{
201 #if wxUSE_UNICODE
202 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
203 #else
204 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
205 #endif
206 }
207 {
208 delete _result;
209 }
210 return _resultobj;
211 }
212
213 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
214 static PyObject *_wrap_wxHtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
215 PyObject * _resultobj;
216 wxString * _result;
217 wxHtmlBookRecord * _arg0;
218 PyObject * _argo0 = 0;
219 char *_kwnames[] = { "self", NULL };
220
221 self = self;
222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetTitle",_kwnames,&_argo0))
223 return NULL;
224 if (_argo0) {
225 if (_argo0 == Py_None) { _arg0 = NULL; }
226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
228 return NULL;
229 }
230 }
231 {
232 PyThreadState* __tstate = wxPyBeginAllowThreads();
233 _result = new wxString (wxHtmlBookRecord_GetTitle(_arg0));
234
235 wxPyEndAllowThreads(__tstate);
236 if (PyErr_Occurred()) return NULL;
237 }{
238 #if wxUSE_UNICODE
239 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
240 #else
241 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
242 #endif
243 }
244 {
245 delete _result;
246 }
247 return _resultobj;
248 }
249
250 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
251 static PyObject *_wrap_wxHtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
252 PyObject * _resultobj;
253 wxString * _result;
254 wxHtmlBookRecord * _arg0;
255 PyObject * _argo0 = 0;
256 char *_kwnames[] = { "self", NULL };
257
258 self = self;
259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetStart",_kwnames,&_argo0))
260 return NULL;
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
265 return NULL;
266 }
267 }
268 {
269 PyThreadState* __tstate = wxPyBeginAllowThreads();
270 _result = new wxString (wxHtmlBookRecord_GetStart(_arg0));
271
272 wxPyEndAllowThreads(__tstate);
273 if (PyErr_Occurred()) return NULL;
274 }{
275 #if wxUSE_UNICODE
276 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
277 #else
278 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
279 #endif
280 }
281 {
282 delete _result;
283 }
284 return _resultobj;
285 }
286
287 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
288 static PyObject *_wrap_wxHtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
289 PyObject * _resultobj;
290 wxString * _result;
291 wxHtmlBookRecord * _arg0;
292 PyObject * _argo0 = 0;
293 char *_kwnames[] = { "self", NULL };
294
295 self = self;
296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetBasePath",_kwnames,&_argo0))
297 return NULL;
298 if (_argo0) {
299 if (_argo0 == Py_None) { _arg0 = NULL; }
300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
302 return NULL;
303 }
304 }
305 {
306 PyThreadState* __tstate = wxPyBeginAllowThreads();
307 _result = new wxString (wxHtmlBookRecord_GetBasePath(_arg0));
308
309 wxPyEndAllowThreads(__tstate);
310 if (PyErr_Occurred()) return NULL;
311 }{
312 #if wxUSE_UNICODE
313 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
314 #else
315 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
316 #endif
317 }
318 {
319 delete _result;
320 }
321 return _resultobj;
322 }
323
324 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
325 static PyObject *_wrap_wxHtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
326 PyObject * _resultobj;
327 wxHtmlBookRecord * _arg0;
328 int _arg1;
329 int _arg2;
330 PyObject * _argo0 = 0;
331 char *_kwnames[] = { "self","start","end", NULL };
332
333 self = self;
334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames,&_argo0,&_arg1,&_arg2))
335 return NULL;
336 if (_argo0) {
337 if (_argo0 == Py_None) { _arg0 = NULL; }
338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
340 return NULL;
341 }
342 }
343 {
344 PyThreadState* __tstate = wxPyBeginAllowThreads();
345 wxHtmlBookRecord_SetContentsRange(_arg0,_arg1,_arg2);
346
347 wxPyEndAllowThreads(__tstate);
348 if (PyErr_Occurred()) return NULL;
349 } Py_INCREF(Py_None);
350 _resultobj = Py_None;
351 return _resultobj;
352 }
353
354 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
355 static PyObject *_wrap_wxHtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
356 PyObject * _resultobj;
357 int _result;
358 wxHtmlBookRecord * _arg0;
359 PyObject * _argo0 = 0;
360 char *_kwnames[] = { "self", NULL };
361
362 self = self;
363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsStart",_kwnames,&_argo0))
364 return NULL;
365 if (_argo0) {
366 if (_argo0 == Py_None) { _arg0 = NULL; }
367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
369 return NULL;
370 }
371 }
372 {
373 PyThreadState* __tstate = wxPyBeginAllowThreads();
374 _result = (int )wxHtmlBookRecord_GetContentsStart(_arg0);
375
376 wxPyEndAllowThreads(__tstate);
377 if (PyErr_Occurred()) return NULL;
378 } _resultobj = Py_BuildValue("i",_result);
379 return _resultobj;
380 }
381
382 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
383 static PyObject *_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 int _result;
386 wxHtmlBookRecord * _arg0;
387 PyObject * _argo0 = 0;
388 char *_kwnames[] = { "self", NULL };
389
390 self = self;
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames,&_argo0))
392 return NULL;
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
397 return NULL;
398 }
399 }
400 {
401 PyThreadState* __tstate = wxPyBeginAllowThreads();
402 _result = (int )wxHtmlBookRecord_GetContentsEnd(_arg0);
403
404 wxPyEndAllowThreads(__tstate);
405 if (PyErr_Occurred()) return NULL;
406 } _resultobj = Py_BuildValue("i",_result);
407 return _resultobj;
408 }
409
410 #define wxHtmlBookRecord_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
411 static PyObject *_wrap_wxHtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
412 PyObject * _resultobj;
413 wxHtmlBookRecord * _arg0;
414 wxString * _arg1;
415 PyObject * _argo0 = 0;
416 PyObject * _obj1 = 0;
417 char *_kwnames[] = { "self","title", NULL };
418
419 self = self;
420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlBookRecord_SetTitle",_kwnames,&_argo0,&_obj1))
421 return NULL;
422 if (_argo0) {
423 if (_argo0 == Py_None) { _arg0 = NULL; }
424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_SetTitle. Expected _wxHtmlBookRecord_p.");
426 return NULL;
427 }
428 }
429 {
430 _arg1 = wxString_in_helper(_obj1);
431 if (_arg1 == NULL)
432 return NULL;
433 }
434 {
435 PyThreadState* __tstate = wxPyBeginAllowThreads();
436 wxHtmlBookRecord_SetTitle(_arg0,*_arg1);
437
438 wxPyEndAllowThreads(__tstate);
439 if (PyErr_Occurred()) return NULL;
440 } Py_INCREF(Py_None);
441 _resultobj = Py_None;
442 {
443 if (_obj1)
444 delete _arg1;
445 }
446 return _resultobj;
447 }
448
449 #define wxHtmlBookRecord_SetBasePath(_swigobj,_swigarg0) (_swigobj->SetBasePath(_swigarg0))
450 static PyObject *_wrap_wxHtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
451 PyObject * _resultobj;
452 wxHtmlBookRecord * _arg0;
453 wxString * _arg1;
454 PyObject * _argo0 = 0;
455 PyObject * _obj1 = 0;
456 char *_kwnames[] = { "self","path", NULL };
457
458 self = self;
459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlBookRecord_SetBasePath",_kwnames,&_argo0,&_obj1))
460 return NULL;
461 if (_argo0) {
462 if (_argo0 == Py_None) { _arg0 = NULL; }
463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_SetBasePath. Expected _wxHtmlBookRecord_p.");
465 return NULL;
466 }
467 }
468 {
469 _arg1 = wxString_in_helper(_obj1);
470 if (_arg1 == NULL)
471 return NULL;
472 }
473 {
474 PyThreadState* __tstate = wxPyBeginAllowThreads();
475 wxHtmlBookRecord_SetBasePath(_arg0,*_arg1);
476
477 wxPyEndAllowThreads(__tstate);
478 if (PyErr_Occurred()) return NULL;
479 } Py_INCREF(Py_None);
480 _resultobj = Py_None;
481 {
482 if (_obj1)
483 delete _arg1;
484 }
485 return _resultobj;
486 }
487
488 #define wxHtmlBookRecord_SetStart(_swigobj,_swigarg0) (_swigobj->SetStart(_swigarg0))
489 static PyObject *_wrap_wxHtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
490 PyObject * _resultobj;
491 wxHtmlBookRecord * _arg0;
492 wxString * _arg1;
493 PyObject * _argo0 = 0;
494 PyObject * _obj1 = 0;
495 char *_kwnames[] = { "self","start", NULL };
496
497 self = self;
498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlBookRecord_SetStart",_kwnames,&_argo0,&_obj1))
499 return NULL;
500 if (_argo0) {
501 if (_argo0 == Py_None) { _arg0 = NULL; }
502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_SetStart. Expected _wxHtmlBookRecord_p.");
504 return NULL;
505 }
506 }
507 {
508 _arg1 = wxString_in_helper(_obj1);
509 if (_arg1 == NULL)
510 return NULL;
511 }
512 {
513 PyThreadState* __tstate = wxPyBeginAllowThreads();
514 wxHtmlBookRecord_SetStart(_arg0,*_arg1);
515
516 wxPyEndAllowThreads(__tstate);
517 if (PyErr_Occurred()) return NULL;
518 } Py_INCREF(Py_None);
519 _resultobj = Py_None;
520 {
521 if (_obj1)
522 delete _arg1;
523 }
524 return _resultobj;
525 }
526
527 #define wxHtmlBookRecord_GetFullPath(_swigobj,_swigarg0) (_swigobj->GetFullPath(_swigarg0))
528 static PyObject *_wrap_wxHtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
529 PyObject * _resultobj;
530 wxString * _result;
531 wxHtmlBookRecord * _arg0;
532 wxString * _arg1;
533 PyObject * _argo0 = 0;
534 PyObject * _obj1 = 0;
535 char *_kwnames[] = { "self","page", NULL };
536
537 self = self;
538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlBookRecord_GetFullPath",_kwnames,&_argo0,&_obj1))
539 return NULL;
540 if (_argo0) {
541 if (_argo0 == Py_None) { _arg0 = NULL; }
542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetFullPath. Expected _wxHtmlBookRecord_p.");
544 return NULL;
545 }
546 }
547 {
548 _arg1 = wxString_in_helper(_obj1);
549 if (_arg1 == NULL)
550 return NULL;
551 }
552 {
553 PyThreadState* __tstate = wxPyBeginAllowThreads();
554 _result = new wxString (wxHtmlBookRecord_GetFullPath(_arg0,*_arg1));
555
556 wxPyEndAllowThreads(__tstate);
557 if (PyErr_Occurred()) return NULL;
558 }{
559 #if wxUSE_UNICODE
560 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
561 #else
562 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
563 #endif
564 }
565 {
566 if (_obj1)
567 delete _arg1;
568 }
569 {
570 delete _result;
571 }
572 return _resultobj;
573 }
574
575 static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self) { return self->m_Level; }
576 static PyObject *_wrap_wxHtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
577 PyObject * _resultobj;
578 int _result;
579 wxHtmlContentsItem * _arg0;
580 PyObject * _argo0 = 0;
581 char *_kwnames[] = { "self", NULL };
582
583 self = self;
584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_GetLevel",_kwnames,&_argo0))
585 return NULL;
586 if (_argo0) {
587 if (_argo0 == Py_None) { _arg0 = NULL; }
588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_GetLevel. Expected _wxHtmlContentsItem_p.");
590 return NULL;
591 }
592 }
593 {
594 PyThreadState* __tstate = wxPyBeginAllowThreads();
595 _result = (int )wxHtmlContentsItem_GetLevel(_arg0);
596
597 wxPyEndAllowThreads(__tstate);
598 if (PyErr_Occurred()) return NULL;
599 } _resultobj = Py_BuildValue("i",_result);
600 return _resultobj;
601 }
602
603 static int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self) { return self->m_ID; }
604 static PyObject *_wrap_wxHtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
605 PyObject * _resultobj;
606 int _result;
607 wxHtmlContentsItem * _arg0;
608 PyObject * _argo0 = 0;
609 char *_kwnames[] = { "self", NULL };
610
611 self = self;
612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_GetID",_kwnames,&_argo0))
613 return NULL;
614 if (_argo0) {
615 if (_argo0 == Py_None) { _arg0 = NULL; }
616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_GetID. Expected _wxHtmlContentsItem_p.");
618 return NULL;
619 }
620 }
621 {
622 PyThreadState* __tstate = wxPyBeginAllowThreads();
623 _result = (int )wxHtmlContentsItem_GetID(_arg0);
624
625 wxPyEndAllowThreads(__tstate);
626 if (PyErr_Occurred()) return NULL;
627 } _resultobj = Py_BuildValue("i",_result);
628 return _resultobj;
629 }
630
631 static wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self) { return self->m_Name; }
632 static PyObject *_wrap_wxHtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
633 PyObject * _resultobj;
634 wxString * _result;
635 wxHtmlContentsItem * _arg0;
636 PyObject * _argo0 = 0;
637 char *_kwnames[] = { "self", NULL };
638
639 self = self;
640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_GetName",_kwnames,&_argo0))
641 return NULL;
642 if (_argo0) {
643 if (_argo0 == Py_None) { _arg0 = NULL; }
644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_GetName. Expected _wxHtmlContentsItem_p.");
646 return NULL;
647 }
648 }
649 {
650 PyThreadState* __tstate = wxPyBeginAllowThreads();
651 _result = new wxString (wxHtmlContentsItem_GetName(_arg0));
652
653 wxPyEndAllowThreads(__tstate);
654 if (PyErr_Occurred()) return NULL;
655 }{
656 #if wxUSE_UNICODE
657 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
658 #else
659 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
660 #endif
661 }
662 {
663 delete _result;
664 }
665 return _resultobj;
666 }
667
668 static wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self) { return self->m_Page; }
669 static PyObject *_wrap_wxHtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
670 PyObject * _resultobj;
671 wxString * _result;
672 wxHtmlContentsItem * _arg0;
673 PyObject * _argo0 = 0;
674 char *_kwnames[] = { "self", NULL };
675
676 self = self;
677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_GetPage",_kwnames,&_argo0))
678 return NULL;
679 if (_argo0) {
680 if (_argo0 == Py_None) { _arg0 = NULL; }
681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_GetPage. Expected _wxHtmlContentsItem_p.");
683 return NULL;
684 }
685 }
686 {
687 PyThreadState* __tstate = wxPyBeginAllowThreads();
688 _result = new wxString (wxHtmlContentsItem_GetPage(_arg0));
689
690 wxPyEndAllowThreads(__tstate);
691 if (PyErr_Occurred()) return NULL;
692 }{
693 #if wxUSE_UNICODE
694 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
695 #else
696 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
697 #endif
698 }
699 {
700 delete _result;
701 }
702 return _resultobj;
703 }
704
705 static wxHtmlBookRecord * wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self) { return self->m_Book; }
706 static PyObject *_wrap_wxHtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
707 PyObject * _resultobj;
708 wxHtmlBookRecord * _result;
709 wxHtmlContentsItem * _arg0;
710 PyObject * _argo0 = 0;
711 char *_kwnames[] = { "self", NULL };
712 char _ptemp[128];
713
714 self = self;
715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_GetBook",_kwnames,&_argo0))
716 return NULL;
717 if (_argo0) {
718 if (_argo0 == Py_None) { _arg0 = NULL; }
719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_GetBook. Expected _wxHtmlContentsItem_p.");
721 return NULL;
722 }
723 }
724 {
725 PyThreadState* __tstate = wxPyBeginAllowThreads();
726 _result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(_arg0);
727
728 wxPyEndAllowThreads(__tstate);
729 if (PyErr_Occurred()) return NULL;
730 } if (_result) {
731 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
732 _resultobj = Py_BuildValue("s",_ptemp);
733 } else {
734 Py_INCREF(Py_None);
735 _resultobj = Py_None;
736 }
737 return _resultobj;
738 }
739
740 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
741 static PyObject *_wrap_wxHtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
742 PyObject * _resultobj;
743 bool _result;
744 wxHtmlSearchStatus * _arg0;
745 PyObject * _argo0 = 0;
746 char *_kwnames[] = { "self", NULL };
747
748 self = self;
749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_Search",_kwnames,&_argo0))
750 return NULL;
751 if (_argo0) {
752 if (_argo0 == Py_None) { _arg0 = NULL; }
753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
755 return NULL;
756 }
757 }
758 {
759 PyThreadState* __tstate = wxPyBeginAllowThreads();
760 _result = (bool )wxHtmlSearchStatus_Search(_arg0);
761
762 wxPyEndAllowThreads(__tstate);
763 if (PyErr_Occurred()) return NULL;
764 } _resultobj = Py_BuildValue("i",_result);
765 return _resultobj;
766 }
767
768 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
769 static PyObject *_wrap_wxHtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
770 PyObject * _resultobj;
771 bool _result;
772 wxHtmlSearchStatus * _arg0;
773 PyObject * _argo0 = 0;
774 char *_kwnames[] = { "self", NULL };
775
776 self = self;
777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_IsActive",_kwnames,&_argo0))
778 return NULL;
779 if (_argo0) {
780 if (_argo0 == Py_None) { _arg0 = NULL; }
781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
783 return NULL;
784 }
785 }
786 {
787 PyThreadState* __tstate = wxPyBeginAllowThreads();
788 _result = (bool )wxHtmlSearchStatus_IsActive(_arg0);
789
790 wxPyEndAllowThreads(__tstate);
791 if (PyErr_Occurred()) return NULL;
792 } _resultobj = Py_BuildValue("i",_result);
793 return _resultobj;
794 }
795
796 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
797 static PyObject *_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
798 PyObject * _resultobj;
799 int _result;
800 wxHtmlSearchStatus * _arg0;
801 PyObject * _argo0 = 0;
802 char *_kwnames[] = { "self", NULL };
803
804 self = self;
805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames,&_argo0))
806 return NULL;
807 if (_argo0) {
808 if (_argo0 == Py_None) { _arg0 = NULL; }
809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
811 return NULL;
812 }
813 }
814 {
815 PyThreadState* __tstate = wxPyBeginAllowThreads();
816 _result = (int )wxHtmlSearchStatus_GetCurIndex(_arg0);
817
818 wxPyEndAllowThreads(__tstate);
819 if (PyErr_Occurred()) return NULL;
820 } _resultobj = Py_BuildValue("i",_result);
821 return _resultobj;
822 }
823
824 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
825 static PyObject *_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
826 PyObject * _resultobj;
827 int _result;
828 wxHtmlSearchStatus * _arg0;
829 PyObject * _argo0 = 0;
830 char *_kwnames[] = { "self", NULL };
831
832 self = self;
833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames,&_argo0))
834 return NULL;
835 if (_argo0) {
836 if (_argo0 == Py_None) { _arg0 = NULL; }
837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
839 return NULL;
840 }
841 }
842 {
843 PyThreadState* __tstate = wxPyBeginAllowThreads();
844 _result = (int )wxHtmlSearchStatus_GetMaxIndex(_arg0);
845
846 wxPyEndAllowThreads(__tstate);
847 if (PyErr_Occurred()) return NULL;
848 } _resultobj = Py_BuildValue("i",_result);
849 return _resultobj;
850 }
851
852 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
853 static PyObject *_wrap_wxHtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 wxString * _result;
856 wxHtmlSearchStatus * _arg0;
857 PyObject * _argo0 = 0;
858 char *_kwnames[] = { "self", NULL };
859
860 self = self;
861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetName",_kwnames,&_argo0))
862 return NULL;
863 if (_argo0) {
864 if (_argo0 == Py_None) { _arg0 = NULL; }
865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
867 return NULL;
868 }
869 }
870 {
871 PyThreadState* __tstate = wxPyBeginAllowThreads();
872 const wxString & _result_ref = wxHtmlSearchStatus_GetName(_arg0);
873 _result = (wxString *) &_result_ref;
874
875 wxPyEndAllowThreads(__tstate);
876 if (PyErr_Occurred()) return NULL;
877 }{
878 #if wxUSE_UNICODE
879 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
880 #else
881 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
882 #endif
883 }
884 return _resultobj;
885 }
886
887 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
888 static PyObject *_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
889 PyObject * _resultobj;
890 wxHtmlContentsItem * _result;
891 wxHtmlSearchStatus * _arg0;
892 PyObject * _argo0 = 0;
893 char *_kwnames[] = { "self", NULL };
894 char _ptemp[128];
895
896 self = self;
897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames,&_argo0))
898 return NULL;
899 if (_argo0) {
900 if (_argo0 == Py_None) { _arg0 = NULL; }
901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
903 return NULL;
904 }
905 }
906 {
907 PyThreadState* __tstate = wxPyBeginAllowThreads();
908 _result = (wxHtmlContentsItem *)wxHtmlSearchStatus_GetContentsItem(_arg0);
909
910 wxPyEndAllowThreads(__tstate);
911 if (PyErr_Occurred()) return NULL;
912 } if (_result) {
913 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
914 _resultobj = Py_BuildValue("s",_ptemp);
915 } else {
916 Py_INCREF(Py_None);
917 _resultobj = Py_None;
918 }
919 return _resultobj;
920 }
921
922 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
923 static PyObject *_wrap_new_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
924 PyObject * _resultobj;
925 wxHtmlHelpData * _result;
926 char *_kwnames[] = { NULL };
927 char _ptemp[128];
928
929 self = self;
930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpData",_kwnames))
931 return NULL;
932 {
933 PyThreadState* __tstate = wxPyBeginAllowThreads();
934 _result = (wxHtmlHelpData *)new_wxHtmlHelpData();
935
936 wxPyEndAllowThreads(__tstate);
937 if (PyErr_Occurred()) return NULL;
938 } if (_result) {
939 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p");
940 _resultobj = Py_BuildValue("s",_ptemp);
941 } else {
942 Py_INCREF(Py_None);
943 _resultobj = Py_None;
944 }
945 return _resultobj;
946 }
947
948 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
949 static PyObject *_wrap_delete_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
950 PyObject * _resultobj;
951 wxHtmlHelpData * _arg0;
952 PyObject * _argo0 = 0;
953 char *_kwnames[] = { "self", NULL };
954
955 self = self;
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpData",_kwnames,&_argo0))
957 return NULL;
958 if (_argo0) {
959 if (_argo0 == Py_None) { _arg0 = NULL; }
960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
962 return NULL;
963 }
964 }
965 {
966 PyThreadState* __tstate = wxPyBeginAllowThreads();
967 delete_wxHtmlHelpData(_arg0);
968
969 wxPyEndAllowThreads(__tstate);
970 if (PyErr_Occurred()) return NULL;
971 } Py_INCREF(Py_None);
972 _resultobj = Py_None;
973 return _resultobj;
974 }
975
976 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
977 static PyObject *_wrap_wxHtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
978 PyObject * _resultobj;
979 wxHtmlHelpData * _arg0;
980 wxString * _arg1;
981 PyObject * _argo0 = 0;
982 PyObject * _obj1 = 0;
983 char *_kwnames[] = { "self","path", NULL };
984
985 self = self;
986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_SetTempDir",_kwnames,&_argo0,&_obj1))
987 return NULL;
988 if (_argo0) {
989 if (_argo0 == Py_None) { _arg0 = NULL; }
990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
992 return NULL;
993 }
994 }
995 {
996 _arg1 = wxString_in_helper(_obj1);
997 if (_arg1 == NULL)
998 return NULL;
999 }
1000 {
1001 PyThreadState* __tstate = wxPyBeginAllowThreads();
1002 wxHtmlHelpData_SetTempDir(_arg0,*_arg1);
1003
1004 wxPyEndAllowThreads(__tstate);
1005 if (PyErr_Occurred()) return NULL;
1006 } Py_INCREF(Py_None);
1007 _resultobj = Py_None;
1008 {
1009 if (_obj1)
1010 delete _arg1;
1011 }
1012 return _resultobj;
1013 }
1014
1015 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
1016 static PyObject *_wrap_wxHtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
1017 PyObject * _resultobj;
1018 bool _result;
1019 wxHtmlHelpData * _arg0;
1020 wxString * _arg1;
1021 PyObject * _argo0 = 0;
1022 PyObject * _obj1 = 0;
1023 char *_kwnames[] = { "self","book", NULL };
1024
1025 self = self;
1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_AddBook",_kwnames,&_argo0,&_obj1))
1027 return NULL;
1028 if (_argo0) {
1029 if (_argo0 == Py_None) { _arg0 = NULL; }
1030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1032 return NULL;
1033 }
1034 }
1035 {
1036 _arg1 = wxString_in_helper(_obj1);
1037 if (_arg1 == NULL)
1038 return NULL;
1039 }
1040 {
1041 PyThreadState* __tstate = wxPyBeginAllowThreads();
1042 _result = (bool )wxHtmlHelpData_AddBook(_arg0,*_arg1);
1043
1044 wxPyEndAllowThreads(__tstate);
1045 if (PyErr_Occurred()) return NULL;
1046 } _resultobj = Py_BuildValue("i",_result);
1047 {
1048 if (_obj1)
1049 delete _arg1;
1050 }
1051 return _resultobj;
1052 }
1053
1054 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1055 static PyObject *_wrap_wxHtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject * _resultobj;
1057 wxString * _result;
1058 wxHtmlHelpData * _arg0;
1059 wxString * _arg1;
1060 PyObject * _argo0 = 0;
1061 PyObject * _obj1 = 0;
1062 char *_kwnames[] = { "self","page", NULL };
1063
1064 self = self;
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_FindPageByName",_kwnames,&_argo0,&_obj1))
1066 return NULL;
1067 if (_argo0) {
1068 if (_argo0 == Py_None) { _arg0 = NULL; }
1069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1071 return NULL;
1072 }
1073 }
1074 {
1075 _arg1 = wxString_in_helper(_obj1);
1076 if (_arg1 == NULL)
1077 return NULL;
1078 }
1079 {
1080 PyThreadState* __tstate = wxPyBeginAllowThreads();
1081 _result = new wxString (wxHtmlHelpData_FindPageByName(_arg0,*_arg1));
1082
1083 wxPyEndAllowThreads(__tstate);
1084 if (PyErr_Occurred()) return NULL;
1085 }{
1086 #if wxUSE_UNICODE
1087 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1088 #else
1089 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1090 #endif
1091 }
1092 {
1093 if (_obj1)
1094 delete _arg1;
1095 }
1096 {
1097 delete _result;
1098 }
1099 return _resultobj;
1100 }
1101
1102 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1103 static PyObject *_wrap_wxHtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
1104 PyObject * _resultobj;
1105 wxString * _result;
1106 wxHtmlHelpData * _arg0;
1107 int _arg1;
1108 PyObject * _argo0 = 0;
1109 char *_kwnames[] = { "self","id", NULL };
1110
1111 self = self;
1112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpData_FindPageById",_kwnames,&_argo0,&_arg1))
1113 return NULL;
1114 if (_argo0) {
1115 if (_argo0 == Py_None) { _arg0 = NULL; }
1116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1118 return NULL;
1119 }
1120 }
1121 {
1122 PyThreadState* __tstate = wxPyBeginAllowThreads();
1123 _result = new wxString (wxHtmlHelpData_FindPageById(_arg0,_arg1));
1124
1125 wxPyEndAllowThreads(__tstate);
1126 if (PyErr_Occurred()) return NULL;
1127 }{
1128 #if wxUSE_UNICODE
1129 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1130 #else
1131 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1132 #endif
1133 }
1134 {
1135 delete _result;
1136 }
1137 return _resultobj;
1138 }
1139
1140 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1141 static PyObject *_wrap_wxHtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
1142 PyObject * _resultobj;
1143 wxHtmlBookRecArray * _result;
1144 wxHtmlHelpData * _arg0;
1145 PyObject * _argo0 = 0;
1146 char *_kwnames[] = { "self", NULL };
1147 char _ptemp[128];
1148
1149 self = self;
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetBookRecArray",_kwnames,&_argo0))
1151 return NULL;
1152 if (_argo0) {
1153 if (_argo0 == Py_None) { _arg0 = NULL; }
1154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1156 return NULL;
1157 }
1158 }
1159 {
1160 PyThreadState* __tstate = wxPyBeginAllowThreads();
1161 const wxHtmlBookRecArray & _result_ref = wxHtmlHelpData_GetBookRecArray(_arg0);
1162 _result = (wxHtmlBookRecArray *) &_result_ref;
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) return NULL;
1166 } if (_result) {
1167 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecArray_p");
1168 _resultobj = Py_BuildValue("s",_ptemp);
1169 } else {
1170 Py_INCREF(Py_None);
1171 _resultobj = Py_None;
1172 }
1173 return _resultobj;
1174 }
1175
1176 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1177 static PyObject *_wrap_wxHtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1178 PyObject * _resultobj;
1179 wxHtmlContentsItem * _result;
1180 wxHtmlHelpData * _arg0;
1181 PyObject * _argo0 = 0;
1182 char *_kwnames[] = { "self", NULL };
1183 char _ptemp[128];
1184
1185 self = self;
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContents",_kwnames,&_argo0))
1187 return NULL;
1188 if (_argo0) {
1189 if (_argo0 == Py_None) { _arg0 = NULL; }
1190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1192 return NULL;
1193 }
1194 }
1195 {
1196 PyThreadState* __tstate = wxPyBeginAllowThreads();
1197 _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetContents(_arg0);
1198
1199 wxPyEndAllowThreads(__tstate);
1200 if (PyErr_Occurred()) return NULL;
1201 } if (_result) {
1202 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1203 _resultobj = Py_BuildValue("s",_ptemp);
1204 } else {
1205 Py_INCREF(Py_None);
1206 _resultobj = Py_None;
1207 }
1208 return _resultobj;
1209 }
1210
1211 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1212 static PyObject *_wrap_wxHtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
1213 PyObject * _resultobj;
1214 int _result;
1215 wxHtmlHelpData * _arg0;
1216 PyObject * _argo0 = 0;
1217 char *_kwnames[] = { "self", NULL };
1218
1219 self = self;
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContentsCnt",_kwnames,&_argo0))
1221 return NULL;
1222 if (_argo0) {
1223 if (_argo0 == Py_None) { _arg0 = NULL; }
1224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1226 return NULL;
1227 }
1228 }
1229 {
1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
1231 _result = (int )wxHtmlHelpData_GetContentsCnt(_arg0);
1232
1233 wxPyEndAllowThreads(__tstate);
1234 if (PyErr_Occurred()) return NULL;
1235 } _resultobj = Py_BuildValue("i",_result);
1236 return _resultobj;
1237 }
1238
1239 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1240 static PyObject *_wrap_wxHtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject * _resultobj;
1242 wxHtmlContentsItem * _result;
1243 wxHtmlHelpData * _arg0;
1244 PyObject * _argo0 = 0;
1245 char *_kwnames[] = { "self", NULL };
1246 char _ptemp[128];
1247
1248 self = self;
1249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndex",_kwnames,&_argo0))
1250 return NULL;
1251 if (_argo0) {
1252 if (_argo0 == Py_None) { _arg0 = NULL; }
1253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1255 return NULL;
1256 }
1257 }
1258 {
1259 PyThreadState* __tstate = wxPyBeginAllowThreads();
1260 _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetIndex(_arg0);
1261
1262 wxPyEndAllowThreads(__tstate);
1263 if (PyErr_Occurred()) return NULL;
1264 } if (_result) {
1265 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1266 _resultobj = Py_BuildValue("s",_ptemp);
1267 } else {
1268 Py_INCREF(Py_None);
1269 _resultobj = Py_None;
1270 }
1271 return _resultobj;
1272 }
1273
1274 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1275 static PyObject *_wrap_wxHtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject * _resultobj;
1277 int _result;
1278 wxHtmlHelpData * _arg0;
1279 PyObject * _argo0 = 0;
1280 char *_kwnames[] = { "self", NULL };
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndexCnt",_kwnames,&_argo0))
1284 return NULL;
1285 if (_argo0) {
1286 if (_argo0 == Py_None) { _arg0 = NULL; }
1287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1289 return NULL;
1290 }
1291 }
1292 {
1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
1294 _result = (int )wxHtmlHelpData_GetIndexCnt(_arg0);
1295
1296 wxPyEndAllowThreads(__tstate);
1297 if (PyErr_Occurred()) return NULL;
1298 } _resultobj = Py_BuildValue("i",_result);
1299 return _resultobj;
1300 }
1301
1302 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr) {
1303 wxHtmlHelpFrame *src;
1304 wxFrame *dest;
1305 src = (wxHtmlHelpFrame *) ptr;
1306 dest = (wxFrame *) src;
1307 return (void *) dest;
1308 }
1309
1310 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr) {
1311 wxHtmlHelpFrame *src;
1312 wxTopLevelWindow *dest;
1313 src = (wxHtmlHelpFrame *) ptr;
1314 dest = (wxTopLevelWindow *) src;
1315 return (void *) dest;
1316 }
1317
1318 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr) {
1319 wxHtmlHelpFrame *src;
1320 wxWindow *dest;
1321 src = (wxHtmlHelpFrame *) ptr;
1322 dest = (wxWindow *) src;
1323 return (void *) dest;
1324 }
1325
1326 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr) {
1327 wxHtmlHelpFrame *src;
1328 wxEvtHandler *dest;
1329 src = (wxHtmlHelpFrame *) ptr;
1330 dest = (wxEvtHandler *) src;
1331 return (void *) dest;
1332 }
1333
1334 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr) {
1335 wxHtmlHelpFrame *src;
1336 wxObject *dest;
1337 src = (wxHtmlHelpFrame *) ptr;
1338 dest = (wxObject *) src;
1339 return (void *) dest;
1340 }
1341
1342 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1343 static PyObject *_wrap_new_wxHtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject * _resultobj;
1345 wxHtmlHelpFrame * _result;
1346 wxWindow * _arg0;
1347 int _arg1;
1348 wxString * _arg2 = (wxString *) &wxPyEmptyString;
1349 int _arg3 = (int ) wxHF_DEFAULTSTYLE;
1350 wxHtmlHelpData * _arg4 = (wxHtmlHelpData *) NULL;
1351 PyObject * _argo0 = 0;
1352 PyObject * _obj2 = 0;
1353 PyObject * _argo4 = 0;
1354 char *_kwnames[] = { "parent","wxWindowID","title","style","data", NULL };
1355 char _ptemp[128];
1356
1357 self = self;
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_argo4))
1359 return NULL;
1360 if (_argo0) {
1361 if (_argo0 == Py_None) { _arg0 = NULL; }
1362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1364 return NULL;
1365 }
1366 }
1367 if (_obj2)
1368 {
1369 _arg2 = wxString_in_helper(_obj2);
1370 if (_arg2 == NULL)
1371 return NULL;
1372 }
1373 if (_argo4) {
1374 if (_argo4 == Py_None) { _arg4 = NULL; }
1375 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxHtmlHelpData_p")) {
1376 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1377 return NULL;
1378 }
1379 }
1380 {
1381 PyThreadState* __tstate = wxPyBeginAllowThreads();
1382 _result = (wxHtmlHelpFrame *)new_wxHtmlHelpFrame(_arg0,_arg1,*_arg2,_arg3,_arg4);
1383
1384 wxPyEndAllowThreads(__tstate);
1385 if (PyErr_Occurred()) return NULL;
1386 } if (_result) {
1387 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p");
1388 _resultobj = Py_BuildValue("s",_ptemp);
1389 } else {
1390 Py_INCREF(Py_None);
1391 _resultobj = Py_None;
1392 }
1393 {
1394 if (_obj2)
1395 delete _arg2;
1396 }
1397 return _resultobj;
1398 }
1399
1400 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1401 static PyObject *_wrap_wxHtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject * _resultobj;
1403 wxHtmlHelpData * _result;
1404 wxHtmlHelpFrame * _arg0;
1405 PyObject * _argo0 = 0;
1406 char *_kwnames[] = { "self", NULL };
1407 char _ptemp[128];
1408
1409 self = self;
1410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_GetData",_kwnames,&_argo0))
1411 return NULL;
1412 if (_argo0) {
1413 if (_argo0 == Py_None) { _arg0 = NULL; }
1414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1416 return NULL;
1417 }
1418 }
1419 {
1420 PyThreadState* __tstate = wxPyBeginAllowThreads();
1421 _result = (wxHtmlHelpData *)wxHtmlHelpFrame_GetData(_arg0);
1422
1423 wxPyEndAllowThreads(__tstate);
1424 if (PyErr_Occurred()) return NULL;
1425 } if (_result) {
1426 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p");
1427 _resultobj = Py_BuildValue("s",_ptemp);
1428 } else {
1429 Py_INCREF(Py_None);
1430 _resultobj = Py_None;
1431 }
1432 return _resultobj;
1433 }
1434
1435 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1436 static PyObject *_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject * _resultobj;
1438 wxHtmlHelpFrame * _arg0;
1439 wxString * _arg1;
1440 PyObject * _argo0 = 0;
1441 PyObject * _obj1 = 0;
1442 char *_kwnames[] = { "self","format", NULL };
1443
1444 self = self;
1445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames,&_argo0,&_obj1))
1446 return NULL;
1447 if (_argo0) {
1448 if (_argo0 == Py_None) { _arg0 = NULL; }
1449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1451 return NULL;
1452 }
1453 }
1454 {
1455 _arg1 = wxString_in_helper(_obj1);
1456 if (_arg1 == NULL)
1457 return NULL;
1458 }
1459 {
1460 PyThreadState* __tstate = wxPyBeginAllowThreads();
1461 wxHtmlHelpFrame_SetTitleFormat(_arg0,*_arg1);
1462
1463 wxPyEndAllowThreads(__tstate);
1464 if (PyErr_Occurred()) return NULL;
1465 } Py_INCREF(Py_None);
1466 _resultobj = Py_None;
1467 {
1468 if (_obj1)
1469 delete _arg1;
1470 }
1471 return _resultobj;
1472 }
1473
1474 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1475 static PyObject *_wrap_wxHtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
1476 PyObject * _resultobj;
1477 wxHtmlHelpFrame * _arg0;
1478 wxString * _arg1;
1479 PyObject * _argo0 = 0;
1480 PyObject * _obj1 = 0;
1481 char *_kwnames[] = { "self","x", NULL };
1482
1483 self = self;
1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_Display",_kwnames,&_argo0,&_obj1))
1485 return NULL;
1486 if (_argo0) {
1487 if (_argo0 == Py_None) { _arg0 = NULL; }
1488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1490 return NULL;
1491 }
1492 }
1493 {
1494 _arg1 = wxString_in_helper(_obj1);
1495 if (_arg1 == NULL)
1496 return NULL;
1497 }
1498 {
1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
1500 wxHtmlHelpFrame_Display(_arg0,*_arg1);
1501
1502 wxPyEndAllowThreads(__tstate);
1503 if (PyErr_Occurred()) return NULL;
1504 } Py_INCREF(Py_None);
1505 _resultobj = Py_None;
1506 {
1507 if (_obj1)
1508 delete _arg1;
1509 }
1510 return _resultobj;
1511 }
1512
1513 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1514 static PyObject *_wrap_wxHtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
1515 PyObject * _resultobj;
1516 wxHtmlHelpFrame * _arg0;
1517 int _arg1;
1518 PyObject * _argo0 = 0;
1519 char *_kwnames[] = { "self","id", NULL };
1520
1521 self = self;
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames,&_argo0,&_arg1))
1523 return NULL;
1524 if (_argo0) {
1525 if (_argo0 == Py_None) { _arg0 = NULL; }
1526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1528 return NULL;
1529 }
1530 }
1531 {
1532 PyThreadState* __tstate = wxPyBeginAllowThreads();
1533 wxHtmlHelpFrame_DisplayID(_arg0,_arg1);
1534
1535 wxPyEndAllowThreads(__tstate);
1536 if (PyErr_Occurred()) return NULL;
1537 } Py_INCREF(Py_None);
1538 _resultobj = Py_None;
1539 return _resultobj;
1540 }
1541
1542 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1543 static PyObject *_wrap_wxHtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1544 PyObject * _resultobj;
1545 wxHtmlHelpFrame * _arg0;
1546 PyObject * _argo0 = 0;
1547 char *_kwnames[] = { "self", NULL };
1548
1549 self = self;
1550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayContents",_kwnames,&_argo0))
1551 return NULL;
1552 if (_argo0) {
1553 if (_argo0 == Py_None) { _arg0 = NULL; }
1554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1556 return NULL;
1557 }
1558 }
1559 {
1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
1561 wxHtmlHelpFrame_DisplayContents(_arg0);
1562
1563 wxPyEndAllowThreads(__tstate);
1564 if (PyErr_Occurred()) return NULL;
1565 } Py_INCREF(Py_None);
1566 _resultobj = Py_None;
1567 return _resultobj;
1568 }
1569
1570 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1571 static PyObject *_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject * _resultobj;
1573 wxHtmlHelpFrame * _arg0;
1574 PyObject * _argo0 = 0;
1575 char *_kwnames[] = { "self", NULL };
1576
1577 self = self;
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames,&_argo0))
1579 return NULL;
1580 if (_argo0) {
1581 if (_argo0 == Py_None) { _arg0 = NULL; }
1582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1584 return NULL;
1585 }
1586 }
1587 {
1588 PyThreadState* __tstate = wxPyBeginAllowThreads();
1589 wxHtmlHelpFrame_DisplayIndex(_arg0);
1590
1591 wxPyEndAllowThreads(__tstate);
1592 if (PyErr_Occurred()) return NULL;
1593 } Py_INCREF(Py_None);
1594 _resultobj = Py_None;
1595 return _resultobj;
1596 }
1597
1598 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1599 static PyObject *_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
1600 PyObject * _resultobj;
1601 bool _result;
1602 wxHtmlHelpFrame * _arg0;
1603 wxString * _arg1;
1604 PyObject * _argo0 = 0;
1605 PyObject * _obj1 = 0;
1606 char *_kwnames[] = { "self","keyword", NULL };
1607
1608 self = self;
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames,&_argo0,&_obj1))
1610 return NULL;
1611 if (_argo0) {
1612 if (_argo0 == Py_None) { _arg0 = NULL; }
1613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1615 return NULL;
1616 }
1617 }
1618 {
1619 _arg1 = wxString_in_helper(_obj1);
1620 if (_arg1 == NULL)
1621 return NULL;
1622 }
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 _result = (bool )wxHtmlHelpFrame_KeywordSearch(_arg0,*_arg1);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) return NULL;
1629 } _resultobj = Py_BuildValue("i",_result);
1630 {
1631 if (_obj1)
1632 delete _arg1;
1633 }
1634 return _resultobj;
1635 }
1636
1637 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1638 static PyObject *_wrap_wxHtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject * _resultobj;
1640 wxHtmlHelpFrame * _arg0;
1641 wxConfigBase * _arg1;
1642 wxString * _arg2 = (wxString *) &wxPyEmptyString;
1643 PyObject * _argo0 = 0;
1644 PyObject * _argo1 = 0;
1645 PyObject * _obj2 = 0;
1646 char *_kwnames[] = { "self","config","rootpath", NULL };
1647
1648 self = self;
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
1650 return NULL;
1651 if (_argo0) {
1652 if (_argo0 == Py_None) { _arg0 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1655 return NULL;
1656 }
1657 }
1658 if (_argo1) {
1659 if (_argo1 == Py_None) { _arg1 = NULL; }
1660 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1661 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1662 return NULL;
1663 }
1664 }
1665 if (_obj2)
1666 {
1667 _arg2 = wxString_in_helper(_obj2);
1668 if (_arg2 == NULL)
1669 return NULL;
1670 }
1671 {
1672 PyThreadState* __tstate = wxPyBeginAllowThreads();
1673 wxHtmlHelpFrame_UseConfig(_arg0,_arg1,*_arg2);
1674
1675 wxPyEndAllowThreads(__tstate);
1676 if (PyErr_Occurred()) return NULL;
1677 } Py_INCREF(Py_None);
1678 _resultobj = Py_None;
1679 {
1680 if (_obj2)
1681 delete _arg2;
1682 }
1683 return _resultobj;
1684 }
1685
1686 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1687 static PyObject *_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
1688 PyObject * _resultobj;
1689 wxHtmlHelpFrame * _arg0;
1690 wxConfigBase * _arg1;
1691 wxString * _arg2 = (wxString *) &wxPyEmptyString;
1692 PyObject * _argo0 = 0;
1693 PyObject * _argo1 = 0;
1694 PyObject * _obj2 = 0;
1695 char *_kwnames[] = { "self","cfg","path", NULL };
1696
1697 self = self;
1698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
1699 return NULL;
1700 if (_argo0) {
1701 if (_argo0 == Py_None) { _arg0 = NULL; }
1702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1704 return NULL;
1705 }
1706 }
1707 if (_argo1) {
1708 if (_argo1 == Py_None) { _arg1 = NULL; }
1709 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1710 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1711 return NULL;
1712 }
1713 }
1714 if (_obj2)
1715 {
1716 _arg2 = wxString_in_helper(_obj2);
1717 if (_arg2 == NULL)
1718 return NULL;
1719 }
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 wxHtmlHelpFrame_ReadCustomization(_arg0,_arg1,*_arg2);
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) return NULL;
1726 } Py_INCREF(Py_None);
1727 _resultobj = Py_None;
1728 {
1729 if (_obj2)
1730 delete _arg2;
1731 }
1732 return _resultobj;
1733 }
1734
1735 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1736 static PyObject *_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 wxHtmlHelpFrame * _arg0;
1739 wxConfigBase * _arg1;
1740 wxString * _arg2 = (wxString *) &wxPyEmptyString;
1741 PyObject * _argo0 = 0;
1742 PyObject * _argo1 = 0;
1743 PyObject * _obj2 = 0;
1744 char *_kwnames[] = { "self","cfg","path", NULL };
1745
1746 self = self;
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
1748 return NULL;
1749 if (_argo0) {
1750 if (_argo0 == Py_None) { _arg0 = NULL; }
1751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1753 return NULL;
1754 }
1755 }
1756 if (_argo1) {
1757 if (_argo1 == Py_None) { _arg1 = NULL; }
1758 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1759 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1760 return NULL;
1761 }
1762 }
1763 if (_obj2)
1764 {
1765 _arg2 = wxString_in_helper(_obj2);
1766 if (_arg2 == NULL)
1767 return NULL;
1768 }
1769 {
1770 PyThreadState* __tstate = wxPyBeginAllowThreads();
1771 wxHtmlHelpFrame_WriteCustomization(_arg0,_arg1,*_arg2);
1772
1773 wxPyEndAllowThreads(__tstate);
1774 if (PyErr_Occurred()) return NULL;
1775 } Py_INCREF(Py_None);
1776 _resultobj = Py_None;
1777 {
1778 if (_obj2)
1779 delete _arg2;
1780 }
1781 return _resultobj;
1782 }
1783
1784 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr) {
1785 wxHtmlHelpController *src;
1786 wxEvtHandler *dest;
1787 src = (wxHtmlHelpController *) ptr;
1788 dest = (wxEvtHandler *) src;
1789 return (void *) dest;
1790 }
1791
1792 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr) {
1793 wxHtmlHelpController *src;
1794 wxObject *dest;
1795 src = (wxHtmlHelpController *) ptr;
1796 dest = (wxObject *) src;
1797 return (void *) dest;
1798 }
1799
1800 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1801 static PyObject *_wrap_new_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject * _resultobj;
1803 wxHtmlHelpController * _result;
1804 int _arg0 = (int ) (wxHF_DEFAULTSTYLE);
1805 char *_kwnames[] = { "style", NULL };
1806 char _ptemp[128];
1807
1808 self = self;
1809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxHtmlHelpController",_kwnames,&_arg0))
1810 return NULL;
1811 {
1812 PyThreadState* __tstate = wxPyBeginAllowThreads();
1813 _result = (wxHtmlHelpController *)new_wxHtmlHelpController(_arg0);
1814
1815 wxPyEndAllowThreads(__tstate);
1816 if (PyErr_Occurred()) return NULL;
1817 } if (_result) {
1818 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpController_p");
1819 _resultobj = Py_BuildValue("s",_ptemp);
1820 } else {
1821 Py_INCREF(Py_None);
1822 _resultobj = Py_None;
1823 }
1824 return _resultobj;
1825 }
1826
1827 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1828 static PyObject *_wrap_delete_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
1829 PyObject * _resultobj;
1830 wxHtmlHelpController * _arg0;
1831 PyObject * _argo0 = 0;
1832 char *_kwnames[] = { "self", NULL };
1833
1834 self = self;
1835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpController",_kwnames,&_argo0))
1836 return NULL;
1837 if (_argo0) {
1838 if (_argo0 == Py_None) { _arg0 = NULL; }
1839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1841 return NULL;
1842 }
1843 }
1844 {
1845 PyThreadState* __tstate = wxPyBeginAllowThreads();
1846 delete_wxHtmlHelpController(_arg0);
1847
1848 wxPyEndAllowThreads(__tstate);
1849 if (PyErr_Occurred()) return NULL;
1850 } Py_INCREF(Py_None);
1851 _resultobj = Py_None;
1852 return _resultobj;
1853 }
1854
1855 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1856 static PyObject *_wrap_wxHtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject * _resultobj;
1858 wxHtmlHelpController * _arg0;
1859 wxString * _arg1;
1860 PyObject * _argo0 = 0;
1861 PyObject * _obj1 = 0;
1862 char *_kwnames[] = { "self","format", NULL };
1863
1864 self = self;
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames,&_argo0,&_obj1))
1866 return NULL;
1867 if (_argo0) {
1868 if (_argo0 == Py_None) { _arg0 = NULL; }
1869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1871 return NULL;
1872 }
1873 }
1874 {
1875 _arg1 = wxString_in_helper(_obj1);
1876 if (_arg1 == NULL)
1877 return NULL;
1878 }
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 wxHtmlHelpController_SetTitleFormat(_arg0,*_arg1);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) return NULL;
1885 } Py_INCREF(Py_None);
1886 _resultobj = Py_None;
1887 {
1888 if (_obj1)
1889 delete _arg1;
1890 }
1891 return _resultobj;
1892 }
1893
1894 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1895 static PyObject *_wrap_wxHtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject * _resultobj;
1897 wxHtmlHelpController * _arg0;
1898 wxString * _arg1;
1899 PyObject * _argo0 = 0;
1900 PyObject * _obj1 = 0;
1901 char *_kwnames[] = { "self","path", NULL };
1902
1903 self = self;
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTempDir",_kwnames,&_argo0,&_obj1))
1905 return NULL;
1906 if (_argo0) {
1907 if (_argo0 == Py_None) { _arg0 = NULL; }
1908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1910 return NULL;
1911 }
1912 }
1913 {
1914 _arg1 = wxString_in_helper(_obj1);
1915 if (_arg1 == NULL)
1916 return NULL;
1917 }
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 wxHtmlHelpController_SetTempDir(_arg0,*_arg1);
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) return NULL;
1924 } Py_INCREF(Py_None);
1925 _resultobj = Py_None;
1926 {
1927 if (_obj1)
1928 delete _arg1;
1929 }
1930 return _resultobj;
1931 }
1932
1933 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
1934 static PyObject *_wrap_wxHtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject * _resultobj;
1936 bool _result;
1937 wxHtmlHelpController * _arg0;
1938 wxString * _arg1;
1939 int _arg2 = (int ) FALSE;
1940 PyObject * _argo0 = 0;
1941 PyObject * _obj1 = 0;
1942 char *_kwnames[] = { "self","book","show_wait_msg", NULL };
1943
1944 self = self;
1945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlHelpController_AddBook",_kwnames,&_argo0,&_obj1,&_arg2))
1946 return NULL;
1947 if (_argo0) {
1948 if (_argo0 == Py_None) { _arg0 = NULL; }
1949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
1951 return NULL;
1952 }
1953 }
1954 {
1955 _arg1 = wxString_in_helper(_obj1);
1956 if (_arg1 == NULL)
1957 return NULL;
1958 }
1959 {
1960 PyThreadState* __tstate = wxPyBeginAllowThreads();
1961 _result = (bool )wxHtmlHelpController_AddBook(_arg0,*_arg1,_arg2);
1962
1963 wxPyEndAllowThreads(__tstate);
1964 if (PyErr_Occurred()) return NULL;
1965 } _resultobj = Py_BuildValue("i",_result);
1966 {
1967 if (_obj1)
1968 delete _arg1;
1969 }
1970 return _resultobj;
1971 }
1972
1973 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1974 static PyObject *_wrap_wxHtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject * _resultobj;
1976 wxHtmlHelpController * _arg0;
1977 wxString * _arg1;
1978 PyObject * _argo0 = 0;
1979 PyObject * _obj1 = 0;
1980 char *_kwnames[] = { "self","x", NULL };
1981
1982 self = self;
1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_Display",_kwnames,&_argo0,&_obj1))
1984 return NULL;
1985 if (_argo0) {
1986 if (_argo0 == Py_None) { _arg0 = NULL; }
1987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
1989 return NULL;
1990 }
1991 }
1992 {
1993 _arg1 = wxString_in_helper(_obj1);
1994 if (_arg1 == NULL)
1995 return NULL;
1996 }
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 wxHtmlHelpController_Display(_arg0,*_arg1);
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) return NULL;
2003 } Py_INCREF(Py_None);
2004 _resultobj = Py_None;
2005 {
2006 if (_obj1)
2007 delete _arg1;
2008 }
2009 return _resultobj;
2010 }
2011
2012 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2013 static PyObject *_wrap_wxHtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
2014 PyObject * _resultobj;
2015 wxHtmlHelpController * _arg0;
2016 int _arg1;
2017 PyObject * _argo0 = 0;
2018 char *_kwnames[] = { "self","id", NULL };
2019
2020 self = self;
2021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpController_DisplayID",_kwnames,&_argo0,&_arg1))
2022 return NULL;
2023 if (_argo0) {
2024 if (_argo0 == Py_None) { _arg0 = NULL; }
2025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2027 return NULL;
2028 }
2029 }
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 wxHtmlHelpController_DisplayID(_arg0,_arg1);
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) return NULL;
2036 } Py_INCREF(Py_None);
2037 _resultobj = Py_None;
2038 return _resultobj;
2039 }
2040
2041 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2042 static PyObject *_wrap_wxHtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2043 PyObject * _resultobj;
2044 wxHtmlHelpController * _arg0;
2045 PyObject * _argo0 = 0;
2046 char *_kwnames[] = { "self", NULL };
2047
2048 self = self;
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayContents",_kwnames,&_argo0))
2050 return NULL;
2051 if (_argo0) {
2052 if (_argo0 == Py_None) { _arg0 = NULL; }
2053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2055 return NULL;
2056 }
2057 }
2058 {
2059 PyThreadState* __tstate = wxPyBeginAllowThreads();
2060 wxHtmlHelpController_DisplayContents(_arg0);
2061
2062 wxPyEndAllowThreads(__tstate);
2063 if (PyErr_Occurred()) return NULL;
2064 } Py_INCREF(Py_None);
2065 _resultobj = Py_None;
2066 return _resultobj;
2067 }
2068
2069 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2070 static PyObject *_wrap_wxHtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject * _resultobj;
2072 wxHtmlHelpController * _arg0;
2073 PyObject * _argo0 = 0;
2074 char *_kwnames[] = { "self", NULL };
2075
2076 self = self;
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayIndex",_kwnames,&_argo0))
2078 return NULL;
2079 if (_argo0) {
2080 if (_argo0 == Py_None) { _arg0 = NULL; }
2081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2083 return NULL;
2084 }
2085 }
2086 {
2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
2088 wxHtmlHelpController_DisplayIndex(_arg0);
2089
2090 wxPyEndAllowThreads(__tstate);
2091 if (PyErr_Occurred()) return NULL;
2092 } Py_INCREF(Py_None);
2093 _resultobj = Py_None;
2094 return _resultobj;
2095 }
2096
2097 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2098 static PyObject *_wrap_wxHtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
2099 PyObject * _resultobj;
2100 bool _result;
2101 wxHtmlHelpController * _arg0;
2102 wxString * _arg1;
2103 PyObject * _argo0 = 0;
2104 PyObject * _obj1 = 0;
2105 char *_kwnames[] = { "self","keyword", NULL };
2106
2107 self = self;
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_KeywordSearch",_kwnames,&_argo0,&_obj1))
2109 return NULL;
2110 if (_argo0) {
2111 if (_argo0 == Py_None) { _arg0 = NULL; }
2112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2114 return NULL;
2115 }
2116 }
2117 {
2118 _arg1 = wxString_in_helper(_obj1);
2119 if (_arg1 == NULL)
2120 return NULL;
2121 }
2122 {
2123 PyThreadState* __tstate = wxPyBeginAllowThreads();
2124 _result = (bool )wxHtmlHelpController_KeywordSearch(_arg0,*_arg1);
2125
2126 wxPyEndAllowThreads(__tstate);
2127 if (PyErr_Occurred()) return NULL;
2128 } _resultobj = Py_BuildValue("i",_result);
2129 {
2130 if (_obj1)
2131 delete _arg1;
2132 }
2133 return _resultobj;
2134 }
2135
2136 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2137 static PyObject *_wrap_wxHtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
2138 PyObject * _resultobj;
2139 wxHtmlHelpController * _arg0;
2140 wxConfigBase * _arg1;
2141 wxString * _arg2 = (wxString *) &wxPyEmptyString;
2142 PyObject * _argo0 = 0;
2143 PyObject * _argo1 = 0;
2144 PyObject * _obj2 = 0;
2145 char *_kwnames[] = { "self","config","rootpath", NULL };
2146
2147 self = self;
2148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
2149 return NULL;
2150 if (_argo0) {
2151 if (_argo0 == Py_None) { _arg0 = NULL; }
2152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2154 return NULL;
2155 }
2156 }
2157 if (_argo1) {
2158 if (_argo1 == Py_None) { _arg1 = NULL; }
2159 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2160 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2161 return NULL;
2162 }
2163 }
2164 if (_obj2)
2165 {
2166 _arg2 = wxString_in_helper(_obj2);
2167 if (_arg2 == NULL)
2168 return NULL;
2169 }
2170 {
2171 PyThreadState* __tstate = wxPyBeginAllowThreads();
2172 wxHtmlHelpController_UseConfig(_arg0,_arg1,*_arg2);
2173
2174 wxPyEndAllowThreads(__tstate);
2175 if (PyErr_Occurred()) return NULL;
2176 } Py_INCREF(Py_None);
2177 _resultobj = Py_None;
2178 {
2179 if (_obj2)
2180 delete _arg2;
2181 }
2182 return _resultobj;
2183 }
2184
2185 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2186 static PyObject *_wrap_wxHtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2187 PyObject * _resultobj;
2188 wxHtmlHelpController * _arg0;
2189 wxConfigBase * _arg1;
2190 wxString * _arg2 = (wxString *) &wxPyEmptyString;
2191 PyObject * _argo0 = 0;
2192 PyObject * _argo1 = 0;
2193 PyObject * _obj2 = 0;
2194 char *_kwnames[] = { "self","cfg","path", NULL };
2195
2196 self = self;
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2198 return NULL;
2199 if (_argo0) {
2200 if (_argo0 == Py_None) { _arg0 = NULL; }
2201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2203 return NULL;
2204 }
2205 }
2206 if (_argo1) {
2207 if (_argo1 == Py_None) { _arg1 = NULL; }
2208 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2209 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2210 return NULL;
2211 }
2212 }
2213 if (_obj2)
2214 {
2215 _arg2 = wxString_in_helper(_obj2);
2216 if (_arg2 == NULL)
2217 return NULL;
2218 }
2219 {
2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2221 wxHtmlHelpController_ReadCustomization(_arg0,_arg1,*_arg2);
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) return NULL;
2225 } Py_INCREF(Py_None);
2226 _resultobj = Py_None;
2227 {
2228 if (_obj2)
2229 delete _arg2;
2230 }
2231 return _resultobj;
2232 }
2233
2234 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2235 static PyObject *_wrap_wxHtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject * _resultobj;
2237 wxHtmlHelpController * _arg0;
2238 wxConfigBase * _arg1;
2239 wxString * _arg2 = (wxString *) &wxPyEmptyString;
2240 PyObject * _argo0 = 0;
2241 PyObject * _argo1 = 0;
2242 PyObject * _obj2 = 0;
2243 char *_kwnames[] = { "self","cfg","path", NULL };
2244
2245 self = self;
2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2247 return NULL;
2248 if (_argo0) {
2249 if (_argo0 == Py_None) { _arg0 = NULL; }
2250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2252 return NULL;
2253 }
2254 }
2255 if (_argo1) {
2256 if (_argo1 == Py_None) { _arg1 = NULL; }
2257 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2258 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2259 return NULL;
2260 }
2261 }
2262 if (_obj2)
2263 {
2264 _arg2 = wxString_in_helper(_obj2);
2265 if (_arg2 == NULL)
2266 return NULL;
2267 }
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 wxHtmlHelpController_WriteCustomization(_arg0,_arg1,*_arg2);
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) return NULL;
2274 } Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 {
2277 if (_obj2)
2278 delete _arg2;
2279 }
2280 return _resultobj;
2281 }
2282
2283 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2284 static PyObject *_wrap_wxHtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject * _resultobj;
2286 wxHtmlHelpFrame * _result;
2287 wxHtmlHelpController * _arg0;
2288 PyObject * _argo0 = 0;
2289 char *_kwnames[] = { "self", NULL };
2290 char _ptemp[128];
2291
2292 self = self;
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_GetFrame",_kwnames,&_argo0))
2294 return NULL;
2295 if (_argo0) {
2296 if (_argo0 == Py_None) { _arg0 = NULL; }
2297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2299 return NULL;
2300 }
2301 }
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 _result = (wxHtmlHelpFrame *)wxHtmlHelpController_GetFrame(_arg0);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) return NULL;
2308 } if (_result) {
2309 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p");
2310 _resultobj = Py_BuildValue("s",_ptemp);
2311 } else {
2312 Py_INCREF(Py_None);
2313 _resultobj = Py_None;
2314 }
2315 return _resultobj;
2316 }
2317
2318 static PyMethodDef htmlhelpcMethods[] = {
2319 { "wxHtmlHelpController_GetFrame", (PyCFunction) _wrap_wxHtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
2320 { "wxHtmlHelpController_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
2321 { "wxHtmlHelpController_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
2322 { "wxHtmlHelpController_UseConfig", (PyCFunction) _wrap_wxHtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
2323 { "wxHtmlHelpController_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
2324 { "wxHtmlHelpController_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
2325 { "wxHtmlHelpController_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
2326 { "wxHtmlHelpController_DisplayID", (PyCFunction) _wrap_wxHtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
2327 { "wxHtmlHelpController_Display", (PyCFunction) _wrap_wxHtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
2328 { "wxHtmlHelpController_AddBook", (PyCFunction) _wrap_wxHtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
2329 { "wxHtmlHelpController_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
2330 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
2331 { "delete_wxHtmlHelpController", (PyCFunction) _wrap_delete_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
2332 { "new_wxHtmlHelpController", (PyCFunction) _wrap_new_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
2333 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
2334 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
2335 { "wxHtmlHelpFrame_UseConfig", (PyCFunction) _wrap_wxHtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
2336 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
2337 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
2338 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
2339 { "wxHtmlHelpFrame_DisplayID", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
2340 { "wxHtmlHelpFrame_Display", (PyCFunction) _wrap_wxHtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
2341 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
2342 { "wxHtmlHelpFrame_GetData", (PyCFunction) _wrap_wxHtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
2343 { "new_wxHtmlHelpFrame", (PyCFunction) _wrap_new_wxHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
2344 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
2345 { "wxHtmlHelpData_GetIndex", (PyCFunction) _wrap_wxHtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
2346 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
2347 { "wxHtmlHelpData_GetContents", (PyCFunction) _wrap_wxHtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
2348 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_wxHtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
2349 { "wxHtmlHelpData_FindPageById", (PyCFunction) _wrap_wxHtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
2350 { "wxHtmlHelpData_FindPageByName", (PyCFunction) _wrap_wxHtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
2351 { "wxHtmlHelpData_AddBook", (PyCFunction) _wrap_wxHtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
2352 { "wxHtmlHelpData_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
2353 { "delete_wxHtmlHelpData", (PyCFunction) _wrap_delete_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS },
2354 { "new_wxHtmlHelpData", (PyCFunction) _wrap_new_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS },
2355 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_wxHtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
2356 { "wxHtmlSearchStatus_GetName", (PyCFunction) _wrap_wxHtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
2357 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
2358 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
2359 { "wxHtmlSearchStatus_IsActive", (PyCFunction) _wrap_wxHtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
2360 { "wxHtmlSearchStatus_Search", (PyCFunction) _wrap_wxHtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
2361 { "wxHtmlContentsItem_GetBook", (PyCFunction) _wrap_wxHtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
2362 { "wxHtmlContentsItem_GetPage", (PyCFunction) _wrap_wxHtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
2363 { "wxHtmlContentsItem_GetName", (PyCFunction) _wrap_wxHtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
2364 { "wxHtmlContentsItem_GetID", (PyCFunction) _wrap_wxHtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
2365 { "wxHtmlContentsItem_GetLevel", (PyCFunction) _wrap_wxHtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
2366 { "wxHtmlBookRecord_GetFullPath", (PyCFunction) _wrap_wxHtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
2367 { "wxHtmlBookRecord_SetStart", (PyCFunction) _wrap_wxHtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
2368 { "wxHtmlBookRecord_SetBasePath", (PyCFunction) _wrap_wxHtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
2369 { "wxHtmlBookRecord_SetTitle", (PyCFunction) _wrap_wxHtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
2370 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
2371 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
2372 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_wxHtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
2373 { "wxHtmlBookRecord_GetBasePath", (PyCFunction) _wrap_wxHtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
2374 { "wxHtmlBookRecord_GetStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
2375 { "wxHtmlBookRecord_GetTitle", (PyCFunction) _wrap_wxHtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
2376 { "wxHtmlBookRecord_GetBookFile", (PyCFunction) _wrap_wxHtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
2377 { "new_wxHtmlBookRecord", (PyCFunction) _wrap_new_wxHtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
2378 { NULL, NULL }
2379 };
2380 #ifdef __cplusplus
2381 }
2382 #endif
2383 /*
2384 * This table is used by the pointer type-checker
2385 */
2386 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2387 { "_signed_long","_long",0},
2388 { "_wxPrintQuality","_wxCoord",0},
2389 { "_wxPrintQuality","_int",0},
2390 { "_wxPrintQuality","_signed_int",0},
2391 { "_wxPrintQuality","_unsigned_int",0},
2392 { "_wxPrintQuality","_wxWindowID",0},
2393 { "_wxPrintQuality","_uint",0},
2394 { "_wxPrintQuality","_EBool",0},
2395 { "_wxPrintQuality","_size_t",0},
2396 { "_wxPrintQuality","_time_t",0},
2397 { "_byte","_unsigned_char",0},
2398 { "_long","_unsigned_long",0},
2399 { "_long","_signed_long",0},
2400 { "_size_t","_wxCoord",0},
2401 { "_size_t","_wxPrintQuality",0},
2402 { "_size_t","_time_t",0},
2403 { "_size_t","_unsigned_int",0},
2404 { "_size_t","_int",0},
2405 { "_size_t","_wxWindowID",0},
2406 { "_size_t","_uint",0},
2407 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow},
2408 { "_uint","_wxCoord",0},
2409 { "_uint","_wxPrintQuality",0},
2410 { "_uint","_time_t",0},
2411 { "_uint","_size_t",0},
2412 { "_uint","_unsigned_int",0},
2413 { "_uint","_int",0},
2414 { "_uint","_wxWindowID",0},
2415 { "_wxChar","_char",0},
2416 { "_char","_wxChar",0},
2417 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2418 { "_EBool","_wxCoord",0},
2419 { "_EBool","_wxPrintQuality",0},
2420 { "_EBool","_signed_int",0},
2421 { "_EBool","_int",0},
2422 { "_EBool","_wxWindowID",0},
2423 { "_unsigned_long","_long",0},
2424 { "_struct_wxHtmlContentsItem","_wxHtmlContentsItem",0},
2425 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2426 { "_signed_int","_wxCoord",0},
2427 { "_signed_int","_wxPrintQuality",0},
2428 { "_signed_int","_EBool",0},
2429 { "_signed_int","_wxWindowID",0},
2430 { "_signed_int","_int",0},
2431 { "_WXTYPE","_wxDateTime_t",0},
2432 { "_WXTYPE","_short",0},
2433 { "_WXTYPE","_signed_short",0},
2434 { "_WXTYPE","_unsigned_short",0},
2435 { "_unsigned_short","_wxDateTime_t",0},
2436 { "_unsigned_short","_WXTYPE",0},
2437 { "_unsigned_short","_short",0},
2438 { "_wxHtmlContentsItem","_struct_wxHtmlContentsItem",0},
2439 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2440 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2441 { "_wxObject","_wxHtmlBookRecord",SwigwxHtmlBookRecordTowxObject},
2442 { "_signed_short","_WXTYPE",0},
2443 { "_signed_short","_short",0},
2444 { "_unsigned_char","_byte",0},
2445 { "_unsigned_int","_wxCoord",0},
2446 { "_unsigned_int","_wxPrintQuality",0},
2447 { "_unsigned_int","_time_t",0},
2448 { "_unsigned_int","_size_t",0},
2449 { "_unsigned_int","_uint",0},
2450 { "_unsigned_int","_wxWindowID",0},
2451 { "_unsigned_int","_int",0},
2452 { "_short","_wxDateTime_t",0},
2453 { "_short","_WXTYPE",0},
2454 { "_short","_unsigned_short",0},
2455 { "_short","_signed_short",0},
2456 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2457 { "_wxWindowID","_wxCoord",0},
2458 { "_wxWindowID","_wxPrintQuality",0},
2459 { "_wxWindowID","_time_t",0},
2460 { "_wxWindowID","_size_t",0},
2461 { "_wxWindowID","_EBool",0},
2462 { "_wxWindowID","_uint",0},
2463 { "_wxWindowID","_int",0},
2464 { "_wxWindowID","_signed_int",0},
2465 { "_wxWindowID","_unsigned_int",0},
2466 { "_int","_wxCoord",0},
2467 { "_int","_wxPrintQuality",0},
2468 { "_int","_time_t",0},
2469 { "_int","_size_t",0},
2470 { "_int","_EBool",0},
2471 { "_int","_uint",0},
2472 { "_int","_wxWindowID",0},
2473 { "_int","_unsigned_int",0},
2474 { "_int","_signed_int",0},
2475 { "_wxDateTime_t","_unsigned_short",0},
2476 { "_wxDateTime_t","_short",0},
2477 { "_wxDateTime_t","_WXTYPE",0},
2478 { "_time_t","_wxCoord",0},
2479 { "_time_t","_wxPrintQuality",0},
2480 { "_time_t","_unsigned_int",0},
2481 { "_time_t","_int",0},
2482 { "_time_t","_wxWindowID",0},
2483 { "_time_t","_uint",0},
2484 { "_time_t","_size_t",0},
2485 { "_wxCoord","_int",0},
2486 { "_wxCoord","_signed_int",0},
2487 { "_wxCoord","_unsigned_int",0},
2488 { "_wxCoord","_wxWindowID",0},
2489 { "_wxCoord","_uint",0},
2490 { "_wxCoord","_EBool",0},
2491 { "_wxCoord","_size_t",0},
2492 { "_wxCoord","_time_t",0},
2493 { "_wxCoord","_wxPrintQuality",0},
2494 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2495 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2496 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2497 {0,0,0}};
2498
2499 static PyObject *SWIG_globals;
2500 #ifdef __cplusplus
2501 extern "C"
2502 #endif
2503 SWIGEXPORT(void) inithtmlhelpc() {
2504 PyObject *m, *d;
2505 SWIG_globals = SWIG_newvarlink();
2506 m = Py_InitModule("htmlhelpc", htmlhelpcMethods);
2507 d = PyModule_GetDict(m);
2508 PyDict_SetItemString(d,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR));
2509 PyDict_SetItemString(d,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR));
2510 PyDict_SetItemString(d,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS));
2511 PyDict_SetItemString(d,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX));
2512 PyDict_SetItemString(d,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH));
2513 PyDict_SetItemString(d,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS));
2514 PyDict_SetItemString(d,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES));
2515 PyDict_SetItemString(d,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT));
2516 PyDict_SetItemString(d,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE));
2517 {
2518 int i;
2519 for (i = 0; _swig_mapping[i].n1; i++)
2520 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2521 }
2522 }