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