]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/htmlhelp.cpp
generated code for wxGTK for all the changes made earlier today
[wxWidgets.git] / wxPython / src / gtk / htmlhelp.cpp
1 /*
2 * FILE : src/gtk/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
67 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
68 PyObject* o2;
69 PyObject* o3;
70
71 if (!target) {
72 target = o;
73 } else if (target == Py_None) {
74 Py_DECREF(Py_None);
75 target = o;
76 } else {
77 if (!PyTuple_Check(target)) {
78 o2 = target;
79 target = PyTuple_New(1);
80 PyTuple_SetItem(target, 0, o2);
81 }
82 o3 = PyTuple_New(1);
83 PyTuple_SetItem(o3, 0, o);
84
85 o2 = target;
86 target = PySequence_Concat(o2, o3);
87 Py_DECREF(o2);
88 Py_DECREF(o3);
89 }
90 return target;
91 }
92
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg = "String or Unicode type required";
95 #else
96 static char* wxStringErrorMsg = "string type is required for parameter";
97 #endif
98 #ifdef __cplusplus
99 extern "C" {
100 #endif
101 #define new_wxHtmlHelpFrameCfg() (new wxHtmlHelpFrameCfg())
102 static PyObject *_wrap_new_wxHtmlHelpFrameCfg(PyObject *self, PyObject *args, PyObject *kwargs) {
103 PyObject * _resultobj;
104 wxHtmlHelpFrameCfg * _result;
105 char *_kwnames[] = { NULL };
106 char _ptemp[128];
107
108 self = self;
109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpFrameCfg",_kwnames))
110 return NULL;
111 {
112 wxPy_BEGIN_ALLOW_THREADS;
113 _result = (wxHtmlHelpFrameCfg *)new_wxHtmlHelpFrameCfg();
114
115 wxPy_END_ALLOW_THREADS;
116 } if (_result) {
117 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrameCfg_p");
118 _resultobj = Py_BuildValue("s",_ptemp);
119 } else {
120 Py_INCREF(Py_None);
121 _resultobj = Py_None;
122 }
123 return _resultobj;
124 }
125
126 #define wxHtmlHelpFrameCfg_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
127 static PyObject *_wrap_wxHtmlHelpFrameCfg_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
128 PyObject * _resultobj;
129 long _result;
130 wxHtmlHelpFrameCfg * _arg0;
131 long _arg1;
132 PyObject * _argo0 = 0;
133 char *_kwnames[] = { "self","x", NULL };
134
135 self = self;
136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_x_set",_kwnames,&_argo0,&_arg1))
137 return NULL;
138 if (_argo0) {
139 if (_argo0 == Py_None) { _arg0 = NULL; }
140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_set. Expected _wxHtmlHelpFrameCfg_p.");
142 return NULL;
143 }
144 }
145 {
146 wxPy_BEGIN_ALLOW_THREADS;
147 _result = (long )wxHtmlHelpFrameCfg_x_set(_arg0,_arg1);
148
149 wxPy_END_ALLOW_THREADS;
150 } _resultobj = Py_BuildValue("l",_result);
151 return _resultobj;
152 }
153
154 #define wxHtmlHelpFrameCfg_x_get(_swigobj) ((long ) _swigobj->x)
155 static PyObject *_wrap_wxHtmlHelpFrameCfg_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
156 PyObject * _resultobj;
157 long _result;
158 wxHtmlHelpFrameCfg * _arg0;
159 PyObject * _argo0 = 0;
160 char *_kwnames[] = { "self", NULL };
161
162 self = self;
163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_x_get",_kwnames,&_argo0))
164 return NULL;
165 if (_argo0) {
166 if (_argo0 == Py_None) { _arg0 = NULL; }
167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_get. Expected _wxHtmlHelpFrameCfg_p.");
169 return NULL;
170 }
171 }
172 {
173 wxPy_BEGIN_ALLOW_THREADS;
174 _result = (long )wxHtmlHelpFrameCfg_x_get(_arg0);
175
176 wxPy_END_ALLOW_THREADS;
177 } _resultobj = Py_BuildValue("l",_result);
178 return _resultobj;
179 }
180
181 #define wxHtmlHelpFrameCfg_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
182 static PyObject *_wrap_wxHtmlHelpFrameCfg_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
183 PyObject * _resultobj;
184 long _result;
185 wxHtmlHelpFrameCfg * _arg0;
186 long _arg1;
187 PyObject * _argo0 = 0;
188 char *_kwnames[] = { "self","y", NULL };
189
190 self = self;
191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_y_set",_kwnames,&_argo0,&_arg1))
192 return NULL;
193 if (_argo0) {
194 if (_argo0 == Py_None) { _arg0 = NULL; }
195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_set. Expected _wxHtmlHelpFrameCfg_p.");
197 return NULL;
198 }
199 }
200 {
201 wxPy_BEGIN_ALLOW_THREADS;
202 _result = (long )wxHtmlHelpFrameCfg_y_set(_arg0,_arg1);
203
204 wxPy_END_ALLOW_THREADS;
205 } _resultobj = Py_BuildValue("l",_result);
206 return _resultobj;
207 }
208
209 #define wxHtmlHelpFrameCfg_y_get(_swigobj) ((long ) _swigobj->y)
210 static PyObject *_wrap_wxHtmlHelpFrameCfg_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
211 PyObject * _resultobj;
212 long _result;
213 wxHtmlHelpFrameCfg * _arg0;
214 PyObject * _argo0 = 0;
215 char *_kwnames[] = { "self", NULL };
216
217 self = self;
218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_y_get",_kwnames,&_argo0))
219 return NULL;
220 if (_argo0) {
221 if (_argo0 == Py_None) { _arg0 = NULL; }
222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_get. Expected _wxHtmlHelpFrameCfg_p.");
224 return NULL;
225 }
226 }
227 {
228 wxPy_BEGIN_ALLOW_THREADS;
229 _result = (long )wxHtmlHelpFrameCfg_y_get(_arg0);
230
231 wxPy_END_ALLOW_THREADS;
232 } _resultobj = Py_BuildValue("l",_result);
233 return _resultobj;
234 }
235
236 #define wxHtmlHelpFrameCfg_w_set(_swigobj,_swigval) (_swigobj->w = _swigval,_swigval)
237 static PyObject *_wrap_wxHtmlHelpFrameCfg_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
238 PyObject * _resultobj;
239 long _result;
240 wxHtmlHelpFrameCfg * _arg0;
241 long _arg1;
242 PyObject * _argo0 = 0;
243 char *_kwnames[] = { "self","w", NULL };
244
245 self = self;
246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_w_set",_kwnames,&_argo0,&_arg1))
247 return NULL;
248 if (_argo0) {
249 if (_argo0 == Py_None) { _arg0 = NULL; }
250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_set. Expected _wxHtmlHelpFrameCfg_p.");
252 return NULL;
253 }
254 }
255 {
256 wxPy_BEGIN_ALLOW_THREADS;
257 _result = (long )wxHtmlHelpFrameCfg_w_set(_arg0,_arg1);
258
259 wxPy_END_ALLOW_THREADS;
260 } _resultobj = Py_BuildValue("l",_result);
261 return _resultobj;
262 }
263
264 #define wxHtmlHelpFrameCfg_w_get(_swigobj) ((long ) _swigobj->w)
265 static PyObject *_wrap_wxHtmlHelpFrameCfg_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
266 PyObject * _resultobj;
267 long _result;
268 wxHtmlHelpFrameCfg * _arg0;
269 PyObject * _argo0 = 0;
270 char *_kwnames[] = { "self", NULL };
271
272 self = self;
273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_w_get",_kwnames,&_argo0))
274 return NULL;
275 if (_argo0) {
276 if (_argo0 == Py_None) { _arg0 = NULL; }
277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_get. Expected _wxHtmlHelpFrameCfg_p.");
279 return NULL;
280 }
281 }
282 {
283 wxPy_BEGIN_ALLOW_THREADS;
284 _result = (long )wxHtmlHelpFrameCfg_w_get(_arg0);
285
286 wxPy_END_ALLOW_THREADS;
287 } _resultobj = Py_BuildValue("l",_result);
288 return _resultobj;
289 }
290
291 #define wxHtmlHelpFrameCfg_h_set(_swigobj,_swigval) (_swigobj->h = _swigval,_swigval)
292 static PyObject *_wrap_wxHtmlHelpFrameCfg_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
293 PyObject * _resultobj;
294 long _result;
295 wxHtmlHelpFrameCfg * _arg0;
296 long _arg1;
297 PyObject * _argo0 = 0;
298 char *_kwnames[] = { "self","h", NULL };
299
300 self = self;
301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_h_set",_kwnames,&_argo0,&_arg1))
302 return NULL;
303 if (_argo0) {
304 if (_argo0 == Py_None) { _arg0 = NULL; }
305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_set. Expected _wxHtmlHelpFrameCfg_p.");
307 return NULL;
308 }
309 }
310 {
311 wxPy_BEGIN_ALLOW_THREADS;
312 _result = (long )wxHtmlHelpFrameCfg_h_set(_arg0,_arg1);
313
314 wxPy_END_ALLOW_THREADS;
315 } _resultobj = Py_BuildValue("l",_result);
316 return _resultobj;
317 }
318
319 #define wxHtmlHelpFrameCfg_h_get(_swigobj) ((long ) _swigobj->h)
320 static PyObject *_wrap_wxHtmlHelpFrameCfg_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
321 PyObject * _resultobj;
322 long _result;
323 wxHtmlHelpFrameCfg * _arg0;
324 PyObject * _argo0 = 0;
325 char *_kwnames[] = { "self", NULL };
326
327 self = self;
328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_h_get",_kwnames,&_argo0))
329 return NULL;
330 if (_argo0) {
331 if (_argo0 == Py_None) { _arg0 = NULL; }
332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_get. Expected _wxHtmlHelpFrameCfg_p.");
334 return NULL;
335 }
336 }
337 {
338 wxPy_BEGIN_ALLOW_THREADS;
339 _result = (long )wxHtmlHelpFrameCfg_h_get(_arg0);
340
341 wxPy_END_ALLOW_THREADS;
342 } _resultobj = Py_BuildValue("l",_result);
343 return _resultobj;
344 }
345
346 #define wxHtmlHelpFrameCfg_sashpos_set(_swigobj,_swigval) (_swigobj->sashpos = _swigval,_swigval)
347 static PyObject *_wrap_wxHtmlHelpFrameCfg_sashpos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
348 PyObject * _resultobj;
349 long _result;
350 wxHtmlHelpFrameCfg * _arg0;
351 long _arg1;
352 PyObject * _argo0 = 0;
353 char *_kwnames[] = { "self","sashpos", NULL };
354
355 self = self;
356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_sashpos_set",_kwnames,&_argo0,&_arg1))
357 return NULL;
358 if (_argo0) {
359 if (_argo0 == Py_None) { _arg0 = NULL; }
360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_set. Expected _wxHtmlHelpFrameCfg_p.");
362 return NULL;
363 }
364 }
365 {
366 wxPy_BEGIN_ALLOW_THREADS;
367 _result = (long )wxHtmlHelpFrameCfg_sashpos_set(_arg0,_arg1);
368
369 wxPy_END_ALLOW_THREADS;
370 } _resultobj = Py_BuildValue("l",_result);
371 return _resultobj;
372 }
373
374 #define wxHtmlHelpFrameCfg_sashpos_get(_swigobj) ((long ) _swigobj->sashpos)
375 static PyObject *_wrap_wxHtmlHelpFrameCfg_sashpos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
376 PyObject * _resultobj;
377 long _result;
378 wxHtmlHelpFrameCfg * _arg0;
379 PyObject * _argo0 = 0;
380 char *_kwnames[] = { "self", NULL };
381
382 self = self;
383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_sashpos_get",_kwnames,&_argo0))
384 return NULL;
385 if (_argo0) {
386 if (_argo0 == Py_None) { _arg0 = NULL; }
387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_get. Expected _wxHtmlHelpFrameCfg_p.");
389 return NULL;
390 }
391 }
392 {
393 wxPy_BEGIN_ALLOW_THREADS;
394 _result = (long )wxHtmlHelpFrameCfg_sashpos_get(_arg0);
395
396 wxPy_END_ALLOW_THREADS;
397 } _resultobj = Py_BuildValue("l",_result);
398 return _resultobj;
399 }
400
401 #define wxHtmlHelpFrameCfg_navig_on_set(_swigobj,_swigval) (_swigobj->navig_on = _swigval,_swigval)
402 static PyObject *_wrap_wxHtmlHelpFrameCfg_navig_on_set(PyObject *self, PyObject *args, PyObject *kwargs) {
403 PyObject * _resultobj;
404 bool _result;
405 wxHtmlHelpFrameCfg * _arg0;
406 bool _arg1;
407 PyObject * _argo0 = 0;
408 int tempbool1;
409 char *_kwnames[] = { "self","navig_on", NULL };
410
411 self = self;
412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrameCfg_navig_on_set",_kwnames,&_argo0,&tempbool1))
413 return NULL;
414 if (_argo0) {
415 if (_argo0 == Py_None) { _arg0 = NULL; }
416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_set. Expected _wxHtmlHelpFrameCfg_p.");
418 return NULL;
419 }
420 }
421 _arg1 = (bool ) tempbool1;
422 {
423 wxPy_BEGIN_ALLOW_THREADS;
424 _result = (bool )wxHtmlHelpFrameCfg_navig_on_set(_arg0,_arg1);
425
426 wxPy_END_ALLOW_THREADS;
427 } _resultobj = Py_BuildValue("i",_result);
428 return _resultobj;
429 }
430
431 #define wxHtmlHelpFrameCfg_navig_on_get(_swigobj) ((bool ) _swigobj->navig_on)
432 static PyObject *_wrap_wxHtmlHelpFrameCfg_navig_on_get(PyObject *self, PyObject *args, PyObject *kwargs) {
433 PyObject * _resultobj;
434 bool _result;
435 wxHtmlHelpFrameCfg * _arg0;
436 PyObject * _argo0 = 0;
437 char *_kwnames[] = { "self", NULL };
438
439 self = self;
440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_navig_on_get",_kwnames,&_argo0))
441 return NULL;
442 if (_argo0) {
443 if (_argo0 == Py_None) { _arg0 = NULL; }
444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_get. Expected _wxHtmlHelpFrameCfg_p.");
446 return NULL;
447 }
448 }
449 {
450 wxPy_BEGIN_ALLOW_THREADS;
451 _result = (bool )wxHtmlHelpFrameCfg_navig_on_get(_arg0);
452
453 wxPy_END_ALLOW_THREADS;
454 } _resultobj = Py_BuildValue("i",_result);
455 return _resultobj;
456 }
457
458 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2))
459 static PyObject *_wrap_new_wxHtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
460 PyObject * _resultobj;
461 wxHtmlBookRecord * _result;
462 wxString * _arg0;
463 wxString * _arg1;
464 wxString * _arg2;
465 PyObject * _obj0 = 0;
466 PyObject * _obj1 = 0;
467 PyObject * _obj2 = 0;
468 char *_kwnames[] = { "basepath","title","start", NULL };
469 char _ptemp[128];
470
471 self = self;
472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxHtmlBookRecord",_kwnames,&_obj0,&_obj1,&_obj2))
473 return NULL;
474 {
475 #if PYTHON_API_VERSION >= 1009
476 char* tmpPtr; int tmpSize;
477 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
478 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
479 return NULL;
480 }
481 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
482 return NULL;
483 _arg0 = new wxString(tmpPtr, tmpSize);
484 #else
485 if (!PyString_Check(_obj0)) {
486 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
487 return NULL;
488 }
489 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
490 #endif
491 }
492 {
493 #if PYTHON_API_VERSION >= 1009
494 char* tmpPtr; int tmpSize;
495 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
496 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
497 return NULL;
498 }
499 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
500 return NULL;
501 _arg1 = new wxString(tmpPtr, tmpSize);
502 #else
503 if (!PyString_Check(_obj1)) {
504 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
505 return NULL;
506 }
507 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
508 #endif
509 }
510 {
511 #if PYTHON_API_VERSION >= 1009
512 char* tmpPtr; int tmpSize;
513 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
514 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
515 return NULL;
516 }
517 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
518 return NULL;
519 _arg2 = new wxString(tmpPtr, tmpSize);
520 #else
521 if (!PyString_Check(_obj2)) {
522 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
523 return NULL;
524 }
525 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
526 #endif
527 }
528 {
529 wxPy_BEGIN_ALLOW_THREADS;
530 _result = (wxHtmlBookRecord *)new_wxHtmlBookRecord(*_arg0,*_arg1,*_arg2);
531
532 wxPy_END_ALLOW_THREADS;
533 } if (_result) {
534 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
535 _resultobj = Py_BuildValue("s",_ptemp);
536 } else {
537 Py_INCREF(Py_None);
538 _resultobj = Py_None;
539 }
540 {
541 if (_obj0)
542 delete _arg0;
543 }
544 {
545 if (_obj1)
546 delete _arg1;
547 }
548 {
549 if (_obj2)
550 delete _arg2;
551 }
552 return _resultobj;
553 }
554
555 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
556 static PyObject *_wrap_wxHtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
557 PyObject * _resultobj;
558 wxString * _result;
559 wxHtmlBookRecord * _arg0;
560 PyObject * _argo0 = 0;
561 char *_kwnames[] = { "self", NULL };
562
563 self = self;
564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetTitle",_kwnames,&_argo0))
565 return NULL;
566 if (_argo0) {
567 if (_argo0 == Py_None) { _arg0 = NULL; }
568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
570 return NULL;
571 }
572 }
573 {
574 wxPy_BEGIN_ALLOW_THREADS;
575 _result = new wxString (wxHtmlBookRecord_GetTitle(_arg0));
576
577 wxPy_END_ALLOW_THREADS;
578 }{
579 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
580 }
581 {
582 delete _result;
583 }
584 return _resultobj;
585 }
586
587 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
588 static PyObject *_wrap_wxHtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
589 PyObject * _resultobj;
590 wxString * _result;
591 wxHtmlBookRecord * _arg0;
592 PyObject * _argo0 = 0;
593 char *_kwnames[] = { "self", NULL };
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetStart",_kwnames,&_argo0))
597 return NULL;
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
602 return NULL;
603 }
604 }
605 {
606 wxPy_BEGIN_ALLOW_THREADS;
607 _result = new wxString (wxHtmlBookRecord_GetStart(_arg0));
608
609 wxPy_END_ALLOW_THREADS;
610 }{
611 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
612 }
613 {
614 delete _result;
615 }
616 return _resultobj;
617 }
618
619 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
620 static PyObject *_wrap_wxHtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
621 PyObject * _resultobj;
622 wxString * _result;
623 wxHtmlBookRecord * _arg0;
624 PyObject * _argo0 = 0;
625 char *_kwnames[] = { "self", NULL };
626
627 self = self;
628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetBasePath",_kwnames,&_argo0))
629 return NULL;
630 if (_argo0) {
631 if (_argo0 == Py_None) { _arg0 = NULL; }
632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
634 return NULL;
635 }
636 }
637 {
638 wxPy_BEGIN_ALLOW_THREADS;
639 _result = new wxString (wxHtmlBookRecord_GetBasePath(_arg0));
640
641 wxPy_END_ALLOW_THREADS;
642 }{
643 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
644 }
645 {
646 delete _result;
647 }
648 return _resultobj;
649 }
650
651 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
652 static PyObject *_wrap_wxHtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
653 PyObject * _resultobj;
654 wxHtmlBookRecord * _arg0;
655 int _arg1;
656 int _arg2;
657 PyObject * _argo0 = 0;
658 char *_kwnames[] = { "self","start","end", NULL };
659
660 self = self;
661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames,&_argo0,&_arg1,&_arg2))
662 return NULL;
663 if (_argo0) {
664 if (_argo0 == Py_None) { _arg0 = NULL; }
665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
667 return NULL;
668 }
669 }
670 {
671 wxPy_BEGIN_ALLOW_THREADS;
672 wxHtmlBookRecord_SetContentsRange(_arg0,_arg1,_arg2);
673
674 wxPy_END_ALLOW_THREADS;
675 } Py_INCREF(Py_None);
676 _resultobj = Py_None;
677 return _resultobj;
678 }
679
680 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
681 static PyObject *_wrap_wxHtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
682 PyObject * _resultobj;
683 int _result;
684 wxHtmlBookRecord * _arg0;
685 PyObject * _argo0 = 0;
686 char *_kwnames[] = { "self", NULL };
687
688 self = self;
689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsStart",_kwnames,&_argo0))
690 return NULL;
691 if (_argo0) {
692 if (_argo0 == Py_None) { _arg0 = NULL; }
693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
695 return NULL;
696 }
697 }
698 {
699 wxPy_BEGIN_ALLOW_THREADS;
700 _result = (int )wxHtmlBookRecord_GetContentsStart(_arg0);
701
702 wxPy_END_ALLOW_THREADS;
703 } _resultobj = Py_BuildValue("i",_result);
704 return _resultobj;
705 }
706
707 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
708 static PyObject *_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
709 PyObject * _resultobj;
710 int _result;
711 wxHtmlBookRecord * _arg0;
712 PyObject * _argo0 = 0;
713 char *_kwnames[] = { "self", NULL };
714
715 self = self;
716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames,&_argo0))
717 return NULL;
718 if (_argo0) {
719 if (_argo0 == Py_None) { _arg0 = NULL; }
720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
722 return NULL;
723 }
724 }
725 {
726 wxPy_BEGIN_ALLOW_THREADS;
727 _result = (int )wxHtmlBookRecord_GetContentsEnd(_arg0);
728
729 wxPy_END_ALLOW_THREADS;
730 } _resultobj = Py_BuildValue("i",_result);
731 return _resultobj;
732 }
733
734 #define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval)
735 static PyObject *_wrap_wxHtmlContentsItem_m_Level_set(PyObject *self, PyObject *args, PyObject *kwargs) {
736 PyObject * _resultobj;
737 short _result;
738 wxHtmlContentsItem * _arg0;
739 short _arg1;
740 PyObject * _argo0 = 0;
741 char *_kwnames[] = { "self","m_Level", NULL };
742
743 self = self;
744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames,&_argo0,&_arg1))
745 return NULL;
746 if (_argo0) {
747 if (_argo0 == Py_None) { _arg0 = NULL; }
748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p.");
750 return NULL;
751 }
752 }
753 {
754 wxPy_BEGIN_ALLOW_THREADS;
755 _result = (short )wxHtmlContentsItem_m_Level_set(_arg0,_arg1);
756
757 wxPy_END_ALLOW_THREADS;
758 } _resultobj = Py_BuildValue("h",_result);
759 return _resultobj;
760 }
761
762 #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
763 static PyObject *_wrap_wxHtmlContentsItem_m_Level_get(PyObject *self, PyObject *args, PyObject *kwargs) {
764 PyObject * _resultobj;
765 short _result;
766 wxHtmlContentsItem * _arg0;
767 PyObject * _argo0 = 0;
768 char *_kwnames[] = { "self", NULL };
769
770 self = self;
771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Level_get",_kwnames,&_argo0))
772 return NULL;
773 if (_argo0) {
774 if (_argo0 == Py_None) { _arg0 = NULL; }
775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
777 return NULL;
778 }
779 }
780 {
781 wxPy_BEGIN_ALLOW_THREADS;
782 _result = (short )wxHtmlContentsItem_m_Level_get(_arg0);
783
784 wxPy_END_ALLOW_THREADS;
785 } _resultobj = Py_BuildValue("h",_result);
786 return _resultobj;
787 }
788
789 #define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval)
790 static PyObject *_wrap_wxHtmlContentsItem_m_ID_set(PyObject *self, PyObject *args, PyObject *kwargs) {
791 PyObject * _resultobj;
792 int _result;
793 wxHtmlContentsItem * _arg0;
794 int _arg1;
795 PyObject * _argo0 = 0;
796 char *_kwnames[] = { "self","m_ID", NULL };
797
798 self = self;
799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames,&_argo0,&_arg1))
800 return NULL;
801 if (_argo0) {
802 if (_argo0 == Py_None) { _arg0 = NULL; }
803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p.");
805 return NULL;
806 }
807 }
808 {
809 wxPy_BEGIN_ALLOW_THREADS;
810 _result = (int )wxHtmlContentsItem_m_ID_set(_arg0,_arg1);
811
812 wxPy_END_ALLOW_THREADS;
813 } _resultobj = Py_BuildValue("i",_result);
814 return _resultobj;
815 }
816
817 #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
818 static PyObject *_wrap_wxHtmlContentsItem_m_ID_get(PyObject *self, PyObject *args, PyObject *kwargs) {
819 PyObject * _resultobj;
820 int _result;
821 wxHtmlContentsItem * _arg0;
822 PyObject * _argo0 = 0;
823 char *_kwnames[] = { "self", NULL };
824
825 self = self;
826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_ID_get",_kwnames,&_argo0))
827 return NULL;
828 if (_argo0) {
829 if (_argo0 == Py_None) { _arg0 = NULL; }
830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
832 return NULL;
833 }
834 }
835 {
836 wxPy_BEGIN_ALLOW_THREADS;
837 _result = (int )wxHtmlContentsItem_m_ID_get(_arg0);
838
839 wxPy_END_ALLOW_THREADS;
840 } _resultobj = Py_BuildValue("i",_result);
841 return _resultobj;
842 }
843
844 static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem *obj, char *val) {
845 if (obj->m_Name) delete [] obj->m_Name;
846 obj->m_Name = new char[strlen(val)+1];
847 strcpy((char *)obj->m_Name,val);
848 return (char *) val;
849 }
850 static PyObject *_wrap_wxHtmlContentsItem_m_Name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
851 PyObject * _resultobj;
852 char * _result;
853 wxHtmlContentsItem * _arg0;
854 char * _arg1;
855 PyObject * _argo0 = 0;
856 char *_kwnames[] = { "self","m_Name", NULL };
857
858 self = self;
859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlContentsItem_m_Name_set",_kwnames,&_argo0,&_arg1))
860 return NULL;
861 if (_argo0) {
862 if (_argo0 == Py_None) { _arg0 = NULL; }
863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p.");
865 return NULL;
866 }
867 }
868 {
869 wxPy_BEGIN_ALLOW_THREADS;
870 _result = (char *)wxHtmlContentsItem_m_Name_set(_arg0,_arg1);
871
872 wxPy_END_ALLOW_THREADS;
873 } _resultobj = Py_BuildValue("s", _result);
874 return _resultobj;
875 }
876
877 #define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name)
878 static PyObject *_wrap_wxHtmlContentsItem_m_Name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
879 PyObject * _resultobj;
880 char * _result;
881 wxHtmlContentsItem * _arg0;
882 PyObject * _argo0 = 0;
883 char *_kwnames[] = { "self", NULL };
884
885 self = self;
886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Name_get",_kwnames,&_argo0))
887 return NULL;
888 if (_argo0) {
889 if (_argo0 == Py_None) { _arg0 = NULL; }
890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
892 return NULL;
893 }
894 }
895 {
896 wxPy_BEGIN_ALLOW_THREADS;
897 _result = (char *)wxHtmlContentsItem_m_Name_get(_arg0);
898
899 wxPy_END_ALLOW_THREADS;
900 } _resultobj = Py_BuildValue("s", _result);
901 return _resultobj;
902 }
903
904 static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem *obj, char *val) {
905 if (obj->m_Page) delete [] obj->m_Page;
906 obj->m_Page = new char[strlen(val)+1];
907 strcpy((char *)obj->m_Page,val);
908 return (char *) val;
909 }
910 static PyObject *_wrap_wxHtmlContentsItem_m_Page_set(PyObject *self, PyObject *args, PyObject *kwargs) {
911 PyObject * _resultobj;
912 char * _result;
913 wxHtmlContentsItem * _arg0;
914 char * _arg1;
915 PyObject * _argo0 = 0;
916 char *_kwnames[] = { "self","m_Page", NULL };
917
918 self = self;
919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlContentsItem_m_Page_set",_kwnames,&_argo0,&_arg1))
920 return NULL;
921 if (_argo0) {
922 if (_argo0 == Py_None) { _arg0 = NULL; }
923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p.");
925 return NULL;
926 }
927 }
928 {
929 wxPy_BEGIN_ALLOW_THREADS;
930 _result = (char *)wxHtmlContentsItem_m_Page_set(_arg0,_arg1);
931
932 wxPy_END_ALLOW_THREADS;
933 } _resultobj = Py_BuildValue("s", _result);
934 return _resultobj;
935 }
936
937 #define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page)
938 static PyObject *_wrap_wxHtmlContentsItem_m_Page_get(PyObject *self, PyObject *args, PyObject *kwargs) {
939 PyObject * _resultobj;
940 char * _result;
941 wxHtmlContentsItem * _arg0;
942 PyObject * _argo0 = 0;
943 char *_kwnames[] = { "self", NULL };
944
945 self = self;
946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Page_get",_kwnames,&_argo0))
947 return NULL;
948 if (_argo0) {
949 if (_argo0 == Py_None) { _arg0 = NULL; }
950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
952 return NULL;
953 }
954 }
955 {
956 wxPy_BEGIN_ALLOW_THREADS;
957 _result = (char *)wxHtmlContentsItem_m_Page_get(_arg0);
958
959 wxPy_END_ALLOW_THREADS;
960 } _resultobj = Py_BuildValue("s", _result);
961 return _resultobj;
962 }
963
964 #define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval)
965 static PyObject *_wrap_wxHtmlContentsItem_m_Book_set(PyObject *self, PyObject *args, PyObject *kwargs) {
966 PyObject * _resultobj;
967 wxHtmlBookRecord * _result;
968 wxHtmlContentsItem * _arg0;
969 wxHtmlBookRecord * _arg1;
970 PyObject * _argo0 = 0;
971 PyObject * _argo1 = 0;
972 char *_kwnames[] = { "self","m_Book", NULL };
973 char _ptemp[128];
974
975 self = self;
976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContentsItem_m_Book_set",_kwnames,&_argo0,&_argo1))
977 return NULL;
978 if (_argo0) {
979 if (_argo0 == Py_None) { _arg0 = NULL; }
980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p.");
982 return NULL;
983 }
984 }
985 if (_argo1) {
986 if (_argo1 == Py_None) { _arg1 = NULL; }
987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlBookRecord_p")) {
988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p.");
989 return NULL;
990 }
991 }
992 {
993 wxPy_BEGIN_ALLOW_THREADS;
994 _result = (wxHtmlBookRecord *)wxHtmlContentsItem_m_Book_set(_arg0,_arg1);
995
996 wxPy_END_ALLOW_THREADS;
997 } if (_result) {
998 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
999 _resultobj = Py_BuildValue("s",_ptemp);
1000 } else {
1001 Py_INCREF(Py_None);
1002 _resultobj = Py_None;
1003 }
1004 return _resultobj;
1005 }
1006
1007 #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
1008 static PyObject *_wrap_wxHtmlContentsItem_m_Book_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1009 PyObject * _resultobj;
1010 wxHtmlBookRecord * _result;
1011 wxHtmlContentsItem * _arg0;
1012 PyObject * _argo0 = 0;
1013 char *_kwnames[] = { "self", NULL };
1014 char _ptemp[128];
1015
1016 self = self;
1017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Book_get",_kwnames,&_argo0))
1018 return NULL;
1019 if (_argo0) {
1020 if (_argo0 == Py_None) { _arg0 = NULL; }
1021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
1022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
1023 return NULL;
1024 }
1025 }
1026 {
1027 wxPy_BEGIN_ALLOW_THREADS;
1028 _result = (wxHtmlBookRecord *)wxHtmlContentsItem_m_Book_get(_arg0);
1029
1030 wxPy_END_ALLOW_THREADS;
1031 } if (_result) {
1032 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
1033 _resultobj = Py_BuildValue("s",_ptemp);
1034 } else {
1035 Py_INCREF(Py_None);
1036 _resultobj = Py_None;
1037 }
1038 return _resultobj;
1039 }
1040
1041 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
1042 static PyObject *_wrap_wxHtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject * _resultobj;
1044 bool _result;
1045 wxHtmlSearchStatus * _arg0;
1046 PyObject * _argo0 = 0;
1047 char *_kwnames[] = { "self", NULL };
1048
1049 self = self;
1050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_Search",_kwnames,&_argo0))
1051 return NULL;
1052 if (_argo0) {
1053 if (_argo0 == Py_None) { _arg0 = NULL; }
1054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
1056 return NULL;
1057 }
1058 }
1059 {
1060 wxPy_BEGIN_ALLOW_THREADS;
1061 _result = (bool )wxHtmlSearchStatus_Search(_arg0);
1062
1063 wxPy_END_ALLOW_THREADS;
1064 } _resultobj = Py_BuildValue("i",_result);
1065 return _resultobj;
1066 }
1067
1068 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
1069 static PyObject *_wrap_wxHtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
1070 PyObject * _resultobj;
1071 bool _result;
1072 wxHtmlSearchStatus * _arg0;
1073 PyObject * _argo0 = 0;
1074 char *_kwnames[] = { "self", NULL };
1075
1076 self = self;
1077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_IsActive",_kwnames,&_argo0))
1078 return NULL;
1079 if (_argo0) {
1080 if (_argo0 == Py_None) { _arg0 = NULL; }
1081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
1083 return NULL;
1084 }
1085 }
1086 {
1087 wxPy_BEGIN_ALLOW_THREADS;
1088 _result = (bool )wxHtmlSearchStatus_IsActive(_arg0);
1089
1090 wxPy_END_ALLOW_THREADS;
1091 } _resultobj = Py_BuildValue("i",_result);
1092 return _resultobj;
1093 }
1094
1095 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
1096 static PyObject *_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1097 PyObject * _resultobj;
1098 int _result;
1099 wxHtmlSearchStatus * _arg0;
1100 PyObject * _argo0 = 0;
1101 char *_kwnames[] = { "self", NULL };
1102
1103 self = self;
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames,&_argo0))
1105 return NULL;
1106 if (_argo0) {
1107 if (_argo0 == Py_None) { _arg0 = NULL; }
1108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
1110 return NULL;
1111 }
1112 }
1113 {
1114 wxPy_BEGIN_ALLOW_THREADS;
1115 _result = (int )wxHtmlSearchStatus_GetCurIndex(_arg0);
1116
1117 wxPy_END_ALLOW_THREADS;
1118 } _resultobj = Py_BuildValue("i",_result);
1119 return _resultobj;
1120 }
1121
1122 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
1123 static PyObject *_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1124 PyObject * _resultobj;
1125 int _result;
1126 wxHtmlSearchStatus * _arg0;
1127 PyObject * _argo0 = 0;
1128 char *_kwnames[] = { "self", NULL };
1129
1130 self = self;
1131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames,&_argo0))
1132 return NULL;
1133 if (_argo0) {
1134 if (_argo0 == Py_None) { _arg0 = NULL; }
1135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
1137 return NULL;
1138 }
1139 }
1140 {
1141 wxPy_BEGIN_ALLOW_THREADS;
1142 _result = (int )wxHtmlSearchStatus_GetMaxIndex(_arg0);
1143
1144 wxPy_END_ALLOW_THREADS;
1145 } _resultobj = Py_BuildValue("i",_result);
1146 return _resultobj;
1147 }
1148
1149 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
1150 static PyObject *_wrap_wxHtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1151 PyObject * _resultobj;
1152 wxString * _result;
1153 wxHtmlSearchStatus * _arg0;
1154 PyObject * _argo0 = 0;
1155 char *_kwnames[] = { "self", NULL };
1156
1157 self = self;
1158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetName",_kwnames,&_argo0))
1159 return NULL;
1160 if (_argo0) {
1161 if (_argo0 == Py_None) { _arg0 = NULL; }
1162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
1164 return NULL;
1165 }
1166 }
1167 {
1168 wxPy_BEGIN_ALLOW_THREADS;
1169 const wxString & _result_ref = wxHtmlSearchStatus_GetName(_arg0);
1170 _result = (wxString *) &_result_ref;
1171
1172 wxPy_END_ALLOW_THREADS;
1173 }{
1174 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1175 }
1176 return _resultobj;
1177 }
1178
1179 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
1180 static PyObject *_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject * _resultobj;
1182 wxHtmlContentsItem * _result;
1183 wxHtmlSearchStatus * _arg0;
1184 PyObject * _argo0 = 0;
1185 char *_kwnames[] = { "self", NULL };
1186 char _ptemp[128];
1187
1188 self = self;
1189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames,&_argo0))
1190 return NULL;
1191 if (_argo0) {
1192 if (_argo0 == Py_None) { _arg0 = NULL; }
1193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
1195 return NULL;
1196 }
1197 }
1198 {
1199 wxPy_BEGIN_ALLOW_THREADS;
1200 _result = (wxHtmlContentsItem *)wxHtmlSearchStatus_GetContentsItem(_arg0);
1201
1202 wxPy_END_ALLOW_THREADS;
1203 } if (_result) {
1204 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1205 _resultobj = Py_BuildValue("s",_ptemp);
1206 } else {
1207 Py_INCREF(Py_None);
1208 _resultobj = Py_None;
1209 }
1210 return _resultobj;
1211 }
1212
1213 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
1214 static PyObject *_wrap_new_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
1215 PyObject * _resultobj;
1216 wxHtmlHelpData * _result;
1217 char *_kwnames[] = { NULL };
1218 char _ptemp[128];
1219
1220 self = self;
1221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpData",_kwnames))
1222 return NULL;
1223 {
1224 wxPy_BEGIN_ALLOW_THREADS;
1225 _result = (wxHtmlHelpData *)new_wxHtmlHelpData();
1226
1227 wxPy_END_ALLOW_THREADS;
1228 } if (_result) {
1229 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p");
1230 _resultobj = Py_BuildValue("s",_ptemp);
1231 } else {
1232 Py_INCREF(Py_None);
1233 _resultobj = Py_None;
1234 }
1235 return _resultobj;
1236 }
1237
1238 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
1239 static PyObject *_wrap_delete_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
1240 PyObject * _resultobj;
1241 wxHtmlHelpData * _arg0;
1242 PyObject * _argo0 = 0;
1243 char *_kwnames[] = { "self", NULL };
1244
1245 self = self;
1246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpData",_kwnames,&_argo0))
1247 return NULL;
1248 if (_argo0) {
1249 if (_argo0 == Py_None) { _arg0 = NULL; }
1250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
1252 return NULL;
1253 }
1254 }
1255 {
1256 wxPy_BEGIN_ALLOW_THREADS;
1257 delete_wxHtmlHelpData(_arg0);
1258
1259 wxPy_END_ALLOW_THREADS;
1260 } Py_INCREF(Py_None);
1261 _resultobj = Py_None;
1262 return _resultobj;
1263 }
1264
1265 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1266 static PyObject *_wrap_wxHtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
1267 PyObject * _resultobj;
1268 wxHtmlHelpData * _arg0;
1269 wxString * _arg1;
1270 PyObject * _argo0 = 0;
1271 PyObject * _obj1 = 0;
1272 char *_kwnames[] = { "self","path", NULL };
1273
1274 self = self;
1275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_SetTempDir",_kwnames,&_argo0,&_obj1))
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_SetTempDir. Expected _wxHtmlHelpData_p.");
1281 return NULL;
1282 }
1283 }
1284 {
1285 #if PYTHON_API_VERSION >= 1009
1286 char* tmpPtr; int tmpSize;
1287 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1288 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1289 return NULL;
1290 }
1291 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1292 return NULL;
1293 _arg1 = new wxString(tmpPtr, tmpSize);
1294 #else
1295 if (!PyString_Check(_obj1)) {
1296 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1297 return NULL;
1298 }
1299 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1300 #endif
1301 }
1302 {
1303 wxPy_BEGIN_ALLOW_THREADS;
1304 wxHtmlHelpData_SetTempDir(_arg0,*_arg1);
1305
1306 wxPy_END_ALLOW_THREADS;
1307 } Py_INCREF(Py_None);
1308 _resultobj = Py_None;
1309 {
1310 if (_obj1)
1311 delete _arg1;
1312 }
1313 return _resultobj;
1314 }
1315
1316 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
1317 static PyObject *_wrap_wxHtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject * _resultobj;
1319 bool _result;
1320 wxHtmlHelpData * _arg0;
1321 wxString * _arg1;
1322 PyObject * _argo0 = 0;
1323 PyObject * _obj1 = 0;
1324 char *_kwnames[] = { "self","book", NULL };
1325
1326 self = self;
1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_AddBook",_kwnames,&_argo0,&_obj1))
1328 return NULL;
1329 if (_argo0) {
1330 if (_argo0 == Py_None) { _arg0 = NULL; }
1331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1333 return NULL;
1334 }
1335 }
1336 {
1337 #if PYTHON_API_VERSION >= 1009
1338 char* tmpPtr; int tmpSize;
1339 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1340 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1341 return NULL;
1342 }
1343 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1344 return NULL;
1345 _arg1 = new wxString(tmpPtr, tmpSize);
1346 #else
1347 if (!PyString_Check(_obj1)) {
1348 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1349 return NULL;
1350 }
1351 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1352 #endif
1353 }
1354 {
1355 wxPy_BEGIN_ALLOW_THREADS;
1356 _result = (bool )wxHtmlHelpData_AddBook(_arg0,*_arg1);
1357
1358 wxPy_END_ALLOW_THREADS;
1359 } _resultobj = Py_BuildValue("i",_result);
1360 {
1361 if (_obj1)
1362 delete _arg1;
1363 }
1364 return _resultobj;
1365 }
1366
1367 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1368 static PyObject *_wrap_wxHtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject * _resultobj;
1370 wxString * _result;
1371 wxHtmlHelpData * _arg0;
1372 wxString * _arg1;
1373 PyObject * _argo0 = 0;
1374 PyObject * _obj1 = 0;
1375 char *_kwnames[] = { "self","page", NULL };
1376
1377 self = self;
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_FindPageByName",_kwnames,&_argo0,&_obj1))
1379 return NULL;
1380 if (_argo0) {
1381 if (_argo0 == Py_None) { _arg0 = NULL; }
1382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1384 return NULL;
1385 }
1386 }
1387 {
1388 #if PYTHON_API_VERSION >= 1009
1389 char* tmpPtr; int tmpSize;
1390 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1391 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1392 return NULL;
1393 }
1394 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1395 return NULL;
1396 _arg1 = new wxString(tmpPtr, tmpSize);
1397 #else
1398 if (!PyString_Check(_obj1)) {
1399 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1400 return NULL;
1401 }
1402 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1403 #endif
1404 }
1405 {
1406 wxPy_BEGIN_ALLOW_THREADS;
1407 _result = new wxString (wxHtmlHelpData_FindPageByName(_arg0,*_arg1));
1408
1409 wxPy_END_ALLOW_THREADS;
1410 }{
1411 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1412 }
1413 {
1414 if (_obj1)
1415 delete _arg1;
1416 }
1417 {
1418 delete _result;
1419 }
1420 return _resultobj;
1421 }
1422
1423 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1424 static PyObject *_wrap_wxHtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
1425 PyObject * _resultobj;
1426 wxString * _result;
1427 wxHtmlHelpData * _arg0;
1428 int _arg1;
1429 PyObject * _argo0 = 0;
1430 char *_kwnames[] = { "self","id", NULL };
1431
1432 self = self;
1433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpData_FindPageById",_kwnames,&_argo0,&_arg1))
1434 return NULL;
1435 if (_argo0) {
1436 if (_argo0 == Py_None) { _arg0 = NULL; }
1437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1439 return NULL;
1440 }
1441 }
1442 {
1443 wxPy_BEGIN_ALLOW_THREADS;
1444 _result = new wxString (wxHtmlHelpData_FindPageById(_arg0,_arg1));
1445
1446 wxPy_END_ALLOW_THREADS;
1447 }{
1448 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1449 }
1450 {
1451 delete _result;
1452 }
1453 return _resultobj;
1454 }
1455
1456 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1457 static PyObject *_wrap_wxHtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject * _resultobj;
1459 wxHtmlBookRecArray * _result;
1460 wxHtmlHelpData * _arg0;
1461 PyObject * _argo0 = 0;
1462 char *_kwnames[] = { "self", NULL };
1463 char _ptemp[128];
1464
1465 self = self;
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetBookRecArray",_kwnames,&_argo0))
1467 return NULL;
1468 if (_argo0) {
1469 if (_argo0 == Py_None) { _arg0 = NULL; }
1470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1472 return NULL;
1473 }
1474 }
1475 {
1476 wxPy_BEGIN_ALLOW_THREADS;
1477 const wxHtmlBookRecArray & _result_ref = wxHtmlHelpData_GetBookRecArray(_arg0);
1478 _result = (wxHtmlBookRecArray *) &_result_ref;
1479
1480 wxPy_END_ALLOW_THREADS;
1481 } if (_result) {
1482 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecArray_p");
1483 _resultobj = Py_BuildValue("s",_ptemp);
1484 } else {
1485 Py_INCREF(Py_None);
1486 _resultobj = Py_None;
1487 }
1488 return _resultobj;
1489 }
1490
1491 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1492 static PyObject *_wrap_wxHtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject * _resultobj;
1494 wxHtmlContentsItem * _result;
1495 wxHtmlHelpData * _arg0;
1496 PyObject * _argo0 = 0;
1497 char *_kwnames[] = { "self", NULL };
1498 char _ptemp[128];
1499
1500 self = self;
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContents",_kwnames,&_argo0))
1502 return NULL;
1503 if (_argo0) {
1504 if (_argo0 == Py_None) { _arg0 = NULL; }
1505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1507 return NULL;
1508 }
1509 }
1510 {
1511 wxPy_BEGIN_ALLOW_THREADS;
1512 _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetContents(_arg0);
1513
1514 wxPy_END_ALLOW_THREADS;
1515 } if (_result) {
1516 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1517 _resultobj = Py_BuildValue("s",_ptemp);
1518 } else {
1519 Py_INCREF(Py_None);
1520 _resultobj = Py_None;
1521 }
1522 return _resultobj;
1523 }
1524
1525 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1526 static PyObject *_wrap_wxHtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject * _resultobj;
1528 int _result;
1529 wxHtmlHelpData * _arg0;
1530 PyObject * _argo0 = 0;
1531 char *_kwnames[] = { "self", NULL };
1532
1533 self = self;
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContentsCnt",_kwnames,&_argo0))
1535 return NULL;
1536 if (_argo0) {
1537 if (_argo0 == Py_None) { _arg0 = NULL; }
1538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1540 return NULL;
1541 }
1542 }
1543 {
1544 wxPy_BEGIN_ALLOW_THREADS;
1545 _result = (int )wxHtmlHelpData_GetContentsCnt(_arg0);
1546
1547 wxPy_END_ALLOW_THREADS;
1548 } _resultobj = Py_BuildValue("i",_result);
1549 return _resultobj;
1550 }
1551
1552 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1553 static PyObject *_wrap_wxHtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject * _resultobj;
1555 wxHtmlContentsItem * _result;
1556 wxHtmlHelpData * _arg0;
1557 PyObject * _argo0 = 0;
1558 char *_kwnames[] = { "self", NULL };
1559 char _ptemp[128];
1560
1561 self = self;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndex",_kwnames,&_argo0))
1563 return NULL;
1564 if (_argo0) {
1565 if (_argo0 == Py_None) { _arg0 = NULL; }
1566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1568 return NULL;
1569 }
1570 }
1571 {
1572 wxPy_BEGIN_ALLOW_THREADS;
1573 _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetIndex(_arg0);
1574
1575 wxPy_END_ALLOW_THREADS;
1576 } if (_result) {
1577 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1578 _resultobj = Py_BuildValue("s",_ptemp);
1579 } else {
1580 Py_INCREF(Py_None);
1581 _resultobj = Py_None;
1582 }
1583 return _resultobj;
1584 }
1585
1586 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1587 static PyObject *_wrap_wxHtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject * _resultobj;
1589 int _result;
1590 wxHtmlHelpData * _arg0;
1591 PyObject * _argo0 = 0;
1592 char *_kwnames[] = { "self", NULL };
1593
1594 self = self;
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndexCnt",_kwnames,&_argo0))
1596 return NULL;
1597 if (_argo0) {
1598 if (_argo0 == Py_None) { _arg0 = NULL; }
1599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1601 return NULL;
1602 }
1603 }
1604 {
1605 wxPy_BEGIN_ALLOW_THREADS;
1606 _result = (int )wxHtmlHelpData_GetIndexCnt(_arg0);
1607
1608 wxPy_END_ALLOW_THREADS;
1609 } _resultobj = Py_BuildValue("i",_result);
1610 return _resultobj;
1611 }
1612
1613 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr) {
1614 wxHtmlHelpFrame *src;
1615 wxFrame *dest;
1616 src = (wxHtmlHelpFrame *) ptr;
1617 dest = (wxFrame *) src;
1618 return (void *) dest;
1619 }
1620
1621 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr) {
1622 wxHtmlHelpFrame *src;
1623 wxWindow *dest;
1624 src = (wxHtmlHelpFrame *) ptr;
1625 dest = (wxWindow *) src;
1626 return (void *) dest;
1627 }
1628
1629 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr) {
1630 wxHtmlHelpFrame *src;
1631 wxEvtHandler *dest;
1632 src = (wxHtmlHelpFrame *) ptr;
1633 dest = (wxEvtHandler *) src;
1634 return (void *) dest;
1635 }
1636
1637 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr) {
1638 wxHtmlHelpFrame *src;
1639 wxObject *dest;
1640 src = (wxHtmlHelpFrame *) ptr;
1641 dest = (wxObject *) src;
1642 return (void *) dest;
1643 }
1644
1645 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1646 static PyObject *_wrap_new_wxHtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1647 PyObject * _resultobj;
1648 wxHtmlHelpFrame * _result;
1649 wxWindow * _arg0;
1650 int _arg1;
1651 wxString * _arg2 = (wxString *) &wxEmptyString;
1652 int _arg3 = (int ) wxHF_DEFAULTSTYLE;
1653 wxHtmlHelpData * _arg4 = (wxHtmlHelpData *) NULL;
1654 PyObject * _argo0 = 0;
1655 PyObject * _obj2 = 0;
1656 PyObject * _argo4 = 0;
1657 char *_kwnames[] = { "parent","wxWindowID","title","style","data", NULL };
1658 char _ptemp[128];
1659
1660 self = self;
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_argo4))
1662 return NULL;
1663 if (_argo0) {
1664 if (_argo0 == Py_None) { _arg0 = NULL; }
1665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1667 return NULL;
1668 }
1669 }
1670 if (_obj2)
1671 {
1672 #if PYTHON_API_VERSION >= 1009
1673 char* tmpPtr; int tmpSize;
1674 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1675 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1676 return NULL;
1677 }
1678 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1679 return NULL;
1680 _arg2 = new wxString(tmpPtr, tmpSize);
1681 #else
1682 if (!PyString_Check(_obj2)) {
1683 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1684 return NULL;
1685 }
1686 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1687 #endif
1688 }
1689 if (_argo4) {
1690 if (_argo4 == Py_None) { _arg4 = NULL; }
1691 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxHtmlHelpData_p")) {
1692 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1693 return NULL;
1694 }
1695 }
1696 {
1697 wxPy_BEGIN_ALLOW_THREADS;
1698 _result = (wxHtmlHelpFrame *)new_wxHtmlHelpFrame(_arg0,_arg1,*_arg2,_arg3,_arg4);
1699
1700 wxPy_END_ALLOW_THREADS;
1701 } if (_result) {
1702 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p");
1703 _resultobj = Py_BuildValue("s",_ptemp);
1704 } else {
1705 Py_INCREF(Py_None);
1706 _resultobj = Py_None;
1707 }
1708 {
1709 if (_obj2)
1710 delete _arg2;
1711 }
1712 return _resultobj;
1713 }
1714
1715 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1716 static PyObject *_wrap_wxHtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1717 PyObject * _resultobj;
1718 wxHtmlHelpData * _result;
1719 wxHtmlHelpFrame * _arg0;
1720 PyObject * _argo0 = 0;
1721 char *_kwnames[] = { "self", NULL };
1722 char _ptemp[128];
1723
1724 self = self;
1725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_GetData",_kwnames,&_argo0))
1726 return NULL;
1727 if (_argo0) {
1728 if (_argo0 == Py_None) { _arg0 = NULL; }
1729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1731 return NULL;
1732 }
1733 }
1734 {
1735 wxPy_BEGIN_ALLOW_THREADS;
1736 _result = (wxHtmlHelpData *)wxHtmlHelpFrame_GetData(_arg0);
1737
1738 wxPy_END_ALLOW_THREADS;
1739 } if (_result) {
1740 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p");
1741 _resultobj = Py_BuildValue("s",_ptemp);
1742 } else {
1743 Py_INCREF(Py_None);
1744 _resultobj = Py_None;
1745 }
1746 return _resultobj;
1747 }
1748
1749 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1750 static PyObject *_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject * _resultobj;
1752 wxHtmlHelpFrame * _arg0;
1753 wxString * _arg1;
1754 PyObject * _argo0 = 0;
1755 PyObject * _obj1 = 0;
1756 char *_kwnames[] = { "self","format", NULL };
1757
1758 self = self;
1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames,&_argo0,&_obj1))
1760 return NULL;
1761 if (_argo0) {
1762 if (_argo0 == Py_None) { _arg0 = NULL; }
1763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1765 return NULL;
1766 }
1767 }
1768 {
1769 #if PYTHON_API_VERSION >= 1009
1770 char* tmpPtr; int tmpSize;
1771 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1772 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1773 return NULL;
1774 }
1775 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1776 return NULL;
1777 _arg1 = new wxString(tmpPtr, tmpSize);
1778 #else
1779 if (!PyString_Check(_obj1)) {
1780 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1781 return NULL;
1782 }
1783 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1784 #endif
1785 }
1786 {
1787 wxPy_BEGIN_ALLOW_THREADS;
1788 wxHtmlHelpFrame_SetTitleFormat(_arg0,*_arg1);
1789
1790 wxPy_END_ALLOW_THREADS;
1791 } Py_INCREF(Py_None);
1792 _resultobj = Py_None;
1793 {
1794 if (_obj1)
1795 delete _arg1;
1796 }
1797 return _resultobj;
1798 }
1799
1800 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1801 static PyObject *_wrap_wxHtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject * _resultobj;
1803 wxHtmlHelpFrame * _arg0;
1804 wxString * _arg1;
1805 PyObject * _argo0 = 0;
1806 PyObject * _obj1 = 0;
1807 char *_kwnames[] = { "self","x", NULL };
1808
1809 self = self;
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_Display",_kwnames,&_argo0,&_obj1))
1811 return NULL;
1812 if (_argo0) {
1813 if (_argo0 == Py_None) { _arg0 = NULL; }
1814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1816 return NULL;
1817 }
1818 }
1819 {
1820 #if PYTHON_API_VERSION >= 1009
1821 char* tmpPtr; int tmpSize;
1822 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1823 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1824 return NULL;
1825 }
1826 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1827 return NULL;
1828 _arg1 = new wxString(tmpPtr, tmpSize);
1829 #else
1830 if (!PyString_Check(_obj1)) {
1831 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1832 return NULL;
1833 }
1834 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1835 #endif
1836 }
1837 {
1838 wxPy_BEGIN_ALLOW_THREADS;
1839 wxHtmlHelpFrame_Display(_arg0,*_arg1);
1840
1841 wxPy_END_ALLOW_THREADS;
1842 } Py_INCREF(Py_None);
1843 _resultobj = Py_None;
1844 {
1845 if (_obj1)
1846 delete _arg1;
1847 }
1848 return _resultobj;
1849 }
1850
1851 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1852 static PyObject *_wrap_wxHtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
1853 PyObject * _resultobj;
1854 wxHtmlHelpFrame * _arg0;
1855 int _arg1;
1856 PyObject * _argo0 = 0;
1857 char *_kwnames[] = { "self","id", NULL };
1858
1859 self = self;
1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames,&_argo0,&_arg1))
1861 return NULL;
1862 if (_argo0) {
1863 if (_argo0 == Py_None) { _arg0 = NULL; }
1864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1866 return NULL;
1867 }
1868 }
1869 {
1870 wxPy_BEGIN_ALLOW_THREADS;
1871 wxHtmlHelpFrame_DisplayID(_arg0,_arg1);
1872
1873 wxPy_END_ALLOW_THREADS;
1874 } Py_INCREF(Py_None);
1875 _resultobj = Py_None;
1876 return _resultobj;
1877 }
1878
1879 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1880 static PyObject *_wrap_wxHtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1881 PyObject * _resultobj;
1882 wxHtmlHelpFrame * _arg0;
1883 PyObject * _argo0 = 0;
1884 char *_kwnames[] = { "self", NULL };
1885
1886 self = self;
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayContents",_kwnames,&_argo0))
1888 return NULL;
1889 if (_argo0) {
1890 if (_argo0 == Py_None) { _arg0 = NULL; }
1891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1893 return NULL;
1894 }
1895 }
1896 {
1897 wxPy_BEGIN_ALLOW_THREADS;
1898 wxHtmlHelpFrame_DisplayContents(_arg0);
1899
1900 wxPy_END_ALLOW_THREADS;
1901 } Py_INCREF(Py_None);
1902 _resultobj = Py_None;
1903 return _resultobj;
1904 }
1905
1906 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1907 static PyObject *_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject * _resultobj;
1909 wxHtmlHelpFrame * _arg0;
1910 PyObject * _argo0 = 0;
1911 char *_kwnames[] = { "self", NULL };
1912
1913 self = self;
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames,&_argo0))
1915 return NULL;
1916 if (_argo0) {
1917 if (_argo0 == Py_None) { _arg0 = NULL; }
1918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1920 return NULL;
1921 }
1922 }
1923 {
1924 wxPy_BEGIN_ALLOW_THREADS;
1925 wxHtmlHelpFrame_DisplayIndex(_arg0);
1926
1927 wxPy_END_ALLOW_THREADS;
1928 } Py_INCREF(Py_None);
1929 _resultobj = Py_None;
1930 return _resultobj;
1931 }
1932
1933 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1934 static PyObject *_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject * _resultobj;
1936 bool _result;
1937 wxHtmlHelpFrame * _arg0;
1938 wxString * _arg1;
1939 PyObject * _argo0 = 0;
1940 PyObject * _obj1 = 0;
1941 char *_kwnames[] = { "self","keyword", NULL };
1942
1943 self = self;
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames,&_argo0,&_obj1))
1945 return NULL;
1946 if (_argo0) {
1947 if (_argo0 == Py_None) { _arg0 = NULL; }
1948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1950 return NULL;
1951 }
1952 }
1953 {
1954 #if PYTHON_API_VERSION >= 1009
1955 char* tmpPtr; int tmpSize;
1956 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1957 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1958 return NULL;
1959 }
1960 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1961 return NULL;
1962 _arg1 = new wxString(tmpPtr, tmpSize);
1963 #else
1964 if (!PyString_Check(_obj1)) {
1965 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1966 return NULL;
1967 }
1968 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1969 #endif
1970 }
1971 {
1972 wxPy_BEGIN_ALLOW_THREADS;
1973 _result = (bool )wxHtmlHelpFrame_KeywordSearch(_arg0,*_arg1);
1974
1975 wxPy_END_ALLOW_THREADS;
1976 } _resultobj = Py_BuildValue("i",_result);
1977 {
1978 if (_obj1)
1979 delete _arg1;
1980 }
1981 return _resultobj;
1982 }
1983
1984 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1985 static PyObject *_wrap_wxHtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject * _resultobj;
1987 wxHtmlHelpFrame * _arg0;
1988 wxConfigBase * _arg1;
1989 wxString * _arg2 = (wxString *) &wxEmptyString;
1990 PyObject * _argo0 = 0;
1991 PyObject * _argo1 = 0;
1992 PyObject * _obj2 = 0;
1993 char *_kwnames[] = { "self","config","rootpath", NULL };
1994
1995 self = self;
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
1997 return NULL;
1998 if (_argo0) {
1999 if (_argo0 == Py_None) { _arg0 = NULL; }
2000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
2001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
2002 return NULL;
2003 }
2004 }
2005 if (_argo1) {
2006 if (_argo1 == Py_None) { _arg1 = NULL; }
2007 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2008 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
2009 return NULL;
2010 }
2011 }
2012 if (_obj2)
2013 {
2014 #if PYTHON_API_VERSION >= 1009
2015 char* tmpPtr; int tmpSize;
2016 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2017 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2018 return NULL;
2019 }
2020 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2021 return NULL;
2022 _arg2 = new wxString(tmpPtr, tmpSize);
2023 #else
2024 if (!PyString_Check(_obj2)) {
2025 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2026 return NULL;
2027 }
2028 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2029 #endif
2030 }
2031 {
2032 wxPy_BEGIN_ALLOW_THREADS;
2033 wxHtmlHelpFrame_UseConfig(_arg0,_arg1,*_arg2);
2034
2035 wxPy_END_ALLOW_THREADS;
2036 } Py_INCREF(Py_None);
2037 _resultobj = Py_None;
2038 {
2039 if (_obj2)
2040 delete _arg2;
2041 }
2042 return _resultobj;
2043 }
2044
2045 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2046 static PyObject *_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject * _resultobj;
2048 wxHtmlHelpFrame * _arg0;
2049 wxConfigBase * _arg1;
2050 wxString * _arg2 = (wxString *) &wxEmptyString;
2051 PyObject * _argo0 = 0;
2052 PyObject * _argo1 = 0;
2053 PyObject * _obj2 = 0;
2054 char *_kwnames[] = { "self","cfg","path", NULL };
2055
2056 self = self;
2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2058 return NULL;
2059 if (_argo0) {
2060 if (_argo0 == Py_None) { _arg0 = NULL; }
2061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
2062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
2063 return NULL;
2064 }
2065 }
2066 if (_argo1) {
2067 if (_argo1 == Py_None) { _arg1 = NULL; }
2068 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2069 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
2070 return NULL;
2071 }
2072 }
2073 if (_obj2)
2074 {
2075 #if PYTHON_API_VERSION >= 1009
2076 char* tmpPtr; int tmpSize;
2077 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2078 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2079 return NULL;
2080 }
2081 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2082 return NULL;
2083 _arg2 = new wxString(tmpPtr, tmpSize);
2084 #else
2085 if (!PyString_Check(_obj2)) {
2086 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2087 return NULL;
2088 }
2089 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2090 #endif
2091 }
2092 {
2093 wxPy_BEGIN_ALLOW_THREADS;
2094 wxHtmlHelpFrame_ReadCustomization(_arg0,_arg1,*_arg2);
2095
2096 wxPy_END_ALLOW_THREADS;
2097 } Py_INCREF(Py_None);
2098 _resultobj = Py_None;
2099 {
2100 if (_obj2)
2101 delete _arg2;
2102 }
2103 return _resultobj;
2104 }
2105
2106 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2107 static PyObject *_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2108 PyObject * _resultobj;
2109 wxHtmlHelpFrame * _arg0;
2110 wxConfigBase * _arg1;
2111 wxString * _arg2 = (wxString *) &wxEmptyString;
2112 PyObject * _argo0 = 0;
2113 PyObject * _argo1 = 0;
2114 PyObject * _obj2 = 0;
2115 char *_kwnames[] = { "self","cfg","path", NULL };
2116
2117 self = self;
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2119 return NULL;
2120 if (_argo0) {
2121 if (_argo0 == Py_None) { _arg0 = NULL; }
2122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
2123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
2124 return NULL;
2125 }
2126 }
2127 if (_argo1) {
2128 if (_argo1 == Py_None) { _arg1 = NULL; }
2129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
2131 return NULL;
2132 }
2133 }
2134 if (_obj2)
2135 {
2136 #if PYTHON_API_VERSION >= 1009
2137 char* tmpPtr; int tmpSize;
2138 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2139 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2140 return NULL;
2141 }
2142 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2143 return NULL;
2144 _arg2 = new wxString(tmpPtr, tmpSize);
2145 #else
2146 if (!PyString_Check(_obj2)) {
2147 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2148 return NULL;
2149 }
2150 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2151 #endif
2152 }
2153 {
2154 wxPy_BEGIN_ALLOW_THREADS;
2155 wxHtmlHelpFrame_WriteCustomization(_arg0,_arg1,*_arg2);
2156
2157 wxPy_END_ALLOW_THREADS;
2158 } Py_INCREF(Py_None);
2159 _resultobj = Py_None;
2160 {
2161 if (_obj2)
2162 delete _arg2;
2163 }
2164 return _resultobj;
2165 }
2166
2167 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr) {
2168 wxHtmlHelpController *src;
2169 wxEvtHandler *dest;
2170 src = (wxHtmlHelpController *) ptr;
2171 dest = (wxEvtHandler *) src;
2172 return (void *) dest;
2173 }
2174
2175 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr) {
2176 wxHtmlHelpController *src;
2177 wxObject *dest;
2178 src = (wxHtmlHelpController *) ptr;
2179 dest = (wxObject *) src;
2180 return (void *) dest;
2181 }
2182
2183 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
2184 static PyObject *_wrap_new_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject * _resultobj;
2186 wxHtmlHelpController * _result;
2187 int _arg0 = (int ) (wxHF_DEFAULTSTYLE);
2188 char *_kwnames[] = { "style", NULL };
2189 char _ptemp[128];
2190
2191 self = self;
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxHtmlHelpController",_kwnames,&_arg0))
2193 return NULL;
2194 {
2195 wxPy_BEGIN_ALLOW_THREADS;
2196 _result = (wxHtmlHelpController *)new_wxHtmlHelpController(_arg0);
2197
2198 wxPy_END_ALLOW_THREADS;
2199 } if (_result) {
2200 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpController_p");
2201 _resultobj = Py_BuildValue("s",_ptemp);
2202 } else {
2203 Py_INCREF(Py_None);
2204 _resultobj = Py_None;
2205 }
2206 return _resultobj;
2207 }
2208
2209 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
2210 static PyObject *_wrap_delete_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject * _resultobj;
2212 wxHtmlHelpController * _arg0;
2213 PyObject * _argo0 = 0;
2214 char *_kwnames[] = { "self", NULL };
2215
2216 self = self;
2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpController",_kwnames,&_argo0))
2218 return NULL;
2219 if (_argo0) {
2220 if (_argo0 == Py_None) { _arg0 = NULL; }
2221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
2223 return NULL;
2224 }
2225 }
2226 {
2227 wxPy_BEGIN_ALLOW_THREADS;
2228 delete_wxHtmlHelpController(_arg0);
2229
2230 wxPy_END_ALLOW_THREADS;
2231 } Py_INCREF(Py_None);
2232 _resultobj = Py_None;
2233 return _resultobj;
2234 }
2235
2236 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
2237 static PyObject *_wrap_wxHtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
2238 PyObject * _resultobj;
2239 wxHtmlHelpController * _arg0;
2240 wxString * _arg1;
2241 PyObject * _argo0 = 0;
2242 PyObject * _obj1 = 0;
2243 char *_kwnames[] = { "self","format", NULL };
2244
2245 self = self;
2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames,&_argo0,&_obj1))
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_SetTitleFormat. Expected _wxHtmlHelpController_p.");
2252 return NULL;
2253 }
2254 }
2255 {
2256 #if PYTHON_API_VERSION >= 1009
2257 char* tmpPtr; int tmpSize;
2258 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2259 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2260 return NULL;
2261 }
2262 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2263 return NULL;
2264 _arg1 = new wxString(tmpPtr, tmpSize);
2265 #else
2266 if (!PyString_Check(_obj1)) {
2267 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2268 return NULL;
2269 }
2270 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2271 #endif
2272 }
2273 {
2274 wxPy_BEGIN_ALLOW_THREADS;
2275 wxHtmlHelpController_SetTitleFormat(_arg0,*_arg1);
2276
2277 wxPy_END_ALLOW_THREADS;
2278 } Py_INCREF(Py_None);
2279 _resultobj = Py_None;
2280 {
2281 if (_obj1)
2282 delete _arg1;
2283 }
2284 return _resultobj;
2285 }
2286
2287 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
2288 static PyObject *_wrap_wxHtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2289 PyObject * _resultobj;
2290 wxHtmlHelpController * _arg0;
2291 wxString * _arg1;
2292 PyObject * _argo0 = 0;
2293 PyObject * _obj1 = 0;
2294 char *_kwnames[] = { "self","path", NULL };
2295
2296 self = self;
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTempDir",_kwnames,&_argo0,&_obj1))
2298 return NULL;
2299 if (_argo0) {
2300 if (_argo0 == Py_None) { _arg0 = NULL; }
2301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
2303 return NULL;
2304 }
2305 }
2306 {
2307 #if PYTHON_API_VERSION >= 1009
2308 char* tmpPtr; int tmpSize;
2309 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2310 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2311 return NULL;
2312 }
2313 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2314 return NULL;
2315 _arg1 = new wxString(tmpPtr, tmpSize);
2316 #else
2317 if (!PyString_Check(_obj1)) {
2318 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2319 return NULL;
2320 }
2321 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2322 #endif
2323 }
2324 {
2325 wxPy_BEGIN_ALLOW_THREADS;
2326 wxHtmlHelpController_SetTempDir(_arg0,*_arg1);
2327
2328 wxPy_END_ALLOW_THREADS;
2329 } Py_INCREF(Py_None);
2330 _resultobj = Py_None;
2331 {
2332 if (_obj1)
2333 delete _arg1;
2334 }
2335 return _resultobj;
2336 }
2337
2338 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
2339 static PyObject *_wrap_wxHtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject * _resultobj;
2341 bool _result;
2342 wxHtmlHelpController * _arg0;
2343 wxString * _arg1;
2344 int _arg2 = (int ) FALSE;
2345 PyObject * _argo0 = 0;
2346 PyObject * _obj1 = 0;
2347 char *_kwnames[] = { "self","book","show_wait_msg", NULL };
2348
2349 self = self;
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlHelpController_AddBook",_kwnames,&_argo0,&_obj1,&_arg2))
2351 return NULL;
2352 if (_argo0) {
2353 if (_argo0 == Py_None) { _arg0 = NULL; }
2354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
2356 return NULL;
2357 }
2358 }
2359 {
2360 #if PYTHON_API_VERSION >= 1009
2361 char* tmpPtr; int tmpSize;
2362 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2363 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2364 return NULL;
2365 }
2366 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2367 return NULL;
2368 _arg1 = new wxString(tmpPtr, tmpSize);
2369 #else
2370 if (!PyString_Check(_obj1)) {
2371 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2372 return NULL;
2373 }
2374 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2375 #endif
2376 }
2377 {
2378 wxPy_BEGIN_ALLOW_THREADS;
2379 _result = (bool )wxHtmlHelpController_AddBook(_arg0,*_arg1,_arg2);
2380
2381 wxPy_END_ALLOW_THREADS;
2382 } _resultobj = Py_BuildValue("i",_result);
2383 {
2384 if (_obj1)
2385 delete _arg1;
2386 }
2387 return _resultobj;
2388 }
2389
2390 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2391 static PyObject *_wrap_wxHtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
2392 PyObject * _resultobj;
2393 wxHtmlHelpController * _arg0;
2394 wxString * _arg1;
2395 PyObject * _argo0 = 0;
2396 PyObject * _obj1 = 0;
2397 char *_kwnames[] = { "self","x", NULL };
2398
2399 self = self;
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_Display",_kwnames,&_argo0,&_obj1))
2401 return NULL;
2402 if (_argo0) {
2403 if (_argo0 == Py_None) { _arg0 = NULL; }
2404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
2406 return NULL;
2407 }
2408 }
2409 {
2410 #if PYTHON_API_VERSION >= 1009
2411 char* tmpPtr; int tmpSize;
2412 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2413 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2414 return NULL;
2415 }
2416 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2417 return NULL;
2418 _arg1 = new wxString(tmpPtr, tmpSize);
2419 #else
2420 if (!PyString_Check(_obj1)) {
2421 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2422 return NULL;
2423 }
2424 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2425 #endif
2426 }
2427 {
2428 wxPy_BEGIN_ALLOW_THREADS;
2429 wxHtmlHelpController_Display(_arg0,*_arg1);
2430
2431 wxPy_END_ALLOW_THREADS;
2432 } Py_INCREF(Py_None);
2433 _resultobj = Py_None;
2434 {
2435 if (_obj1)
2436 delete _arg1;
2437 }
2438 return _resultobj;
2439 }
2440
2441 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2442 static PyObject *_wrap_wxHtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject * _resultobj;
2444 wxHtmlHelpController * _arg0;
2445 int _arg1;
2446 PyObject * _argo0 = 0;
2447 char *_kwnames[] = { "self","id", NULL };
2448
2449 self = self;
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpController_DisplayID",_kwnames,&_argo0,&_arg1))
2451 return NULL;
2452 if (_argo0) {
2453 if (_argo0 == Py_None) { _arg0 = NULL; }
2454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2456 return NULL;
2457 }
2458 }
2459 {
2460 wxPy_BEGIN_ALLOW_THREADS;
2461 wxHtmlHelpController_DisplayID(_arg0,_arg1);
2462
2463 wxPy_END_ALLOW_THREADS;
2464 } Py_INCREF(Py_None);
2465 _resultobj = Py_None;
2466 return _resultobj;
2467 }
2468
2469 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2470 static PyObject *_wrap_wxHtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject * _resultobj;
2472 wxHtmlHelpController * _arg0;
2473 PyObject * _argo0 = 0;
2474 char *_kwnames[] = { "self", NULL };
2475
2476 self = self;
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayContents",_kwnames,&_argo0))
2478 return NULL;
2479 if (_argo0) {
2480 if (_argo0 == Py_None) { _arg0 = NULL; }
2481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2483 return NULL;
2484 }
2485 }
2486 {
2487 wxPy_BEGIN_ALLOW_THREADS;
2488 wxHtmlHelpController_DisplayContents(_arg0);
2489
2490 wxPy_END_ALLOW_THREADS;
2491 } Py_INCREF(Py_None);
2492 _resultobj = Py_None;
2493 return _resultobj;
2494 }
2495
2496 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2497 static PyObject *_wrap_wxHtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2498 PyObject * _resultobj;
2499 wxHtmlHelpController * _arg0;
2500 PyObject * _argo0 = 0;
2501 char *_kwnames[] = { "self", NULL };
2502
2503 self = self;
2504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayIndex",_kwnames,&_argo0))
2505 return NULL;
2506 if (_argo0) {
2507 if (_argo0 == Py_None) { _arg0 = NULL; }
2508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2510 return NULL;
2511 }
2512 }
2513 {
2514 wxPy_BEGIN_ALLOW_THREADS;
2515 wxHtmlHelpController_DisplayIndex(_arg0);
2516
2517 wxPy_END_ALLOW_THREADS;
2518 } Py_INCREF(Py_None);
2519 _resultobj = Py_None;
2520 return _resultobj;
2521 }
2522
2523 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2524 static PyObject *_wrap_wxHtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject * _resultobj;
2526 bool _result;
2527 wxHtmlHelpController * _arg0;
2528 wxString * _arg1;
2529 PyObject * _argo0 = 0;
2530 PyObject * _obj1 = 0;
2531 char *_kwnames[] = { "self","keyword", NULL };
2532
2533 self = self;
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_KeywordSearch",_kwnames,&_argo0,&_obj1))
2535 return NULL;
2536 if (_argo0) {
2537 if (_argo0 == Py_None) { _arg0 = NULL; }
2538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2540 return NULL;
2541 }
2542 }
2543 {
2544 #if PYTHON_API_VERSION >= 1009
2545 char* tmpPtr; int tmpSize;
2546 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2547 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2548 return NULL;
2549 }
2550 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2551 return NULL;
2552 _arg1 = new wxString(tmpPtr, tmpSize);
2553 #else
2554 if (!PyString_Check(_obj1)) {
2555 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2556 return NULL;
2557 }
2558 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2559 #endif
2560 }
2561 {
2562 wxPy_BEGIN_ALLOW_THREADS;
2563 _result = (bool )wxHtmlHelpController_KeywordSearch(_arg0,*_arg1);
2564
2565 wxPy_END_ALLOW_THREADS;
2566 } _resultobj = Py_BuildValue("i",_result);
2567 {
2568 if (_obj1)
2569 delete _arg1;
2570 }
2571 return _resultobj;
2572 }
2573
2574 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2575 static PyObject *_wrap_wxHtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
2576 PyObject * _resultobj;
2577 wxHtmlHelpController * _arg0;
2578 wxConfigBase * _arg1;
2579 wxString * _arg2 = (wxString *) &wxEmptyString;
2580 PyObject * _argo0 = 0;
2581 PyObject * _argo1 = 0;
2582 PyObject * _obj2 = 0;
2583 char *_kwnames[] = { "self","config","rootpath", NULL };
2584
2585 self = self;
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
2587 return NULL;
2588 if (_argo0) {
2589 if (_argo0 == Py_None) { _arg0 = NULL; }
2590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2592 return NULL;
2593 }
2594 }
2595 if (_argo1) {
2596 if (_argo1 == Py_None) { _arg1 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2599 return NULL;
2600 }
2601 }
2602 if (_obj2)
2603 {
2604 #if PYTHON_API_VERSION >= 1009
2605 char* tmpPtr; int tmpSize;
2606 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2607 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2608 return NULL;
2609 }
2610 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2611 return NULL;
2612 _arg2 = new wxString(tmpPtr, tmpSize);
2613 #else
2614 if (!PyString_Check(_obj2)) {
2615 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2616 return NULL;
2617 }
2618 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2619 #endif
2620 }
2621 {
2622 wxPy_BEGIN_ALLOW_THREADS;
2623 wxHtmlHelpController_UseConfig(_arg0,_arg1,*_arg2);
2624
2625 wxPy_END_ALLOW_THREADS;
2626 } Py_INCREF(Py_None);
2627 _resultobj = Py_None;
2628 {
2629 if (_obj2)
2630 delete _arg2;
2631 }
2632 return _resultobj;
2633 }
2634
2635 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2636 static PyObject *_wrap_wxHtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject * _resultobj;
2638 wxHtmlHelpController * _arg0;
2639 wxConfigBase * _arg1;
2640 wxString * _arg2 = (wxString *) &wxEmptyString;
2641 PyObject * _argo0 = 0;
2642 PyObject * _argo1 = 0;
2643 PyObject * _obj2 = 0;
2644 char *_kwnames[] = { "self","cfg","path", NULL };
2645
2646 self = self;
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2648 return NULL;
2649 if (_argo0) {
2650 if (_argo0 == Py_None) { _arg0 = NULL; }
2651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2653 return NULL;
2654 }
2655 }
2656 if (_argo1) {
2657 if (_argo1 == Py_None) { _arg1 = NULL; }
2658 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2659 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2660 return NULL;
2661 }
2662 }
2663 if (_obj2)
2664 {
2665 #if PYTHON_API_VERSION >= 1009
2666 char* tmpPtr; int tmpSize;
2667 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2668 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2669 return NULL;
2670 }
2671 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2672 return NULL;
2673 _arg2 = new wxString(tmpPtr, tmpSize);
2674 #else
2675 if (!PyString_Check(_obj2)) {
2676 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2677 return NULL;
2678 }
2679 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2680 #endif
2681 }
2682 {
2683 wxPy_BEGIN_ALLOW_THREADS;
2684 wxHtmlHelpController_ReadCustomization(_arg0,_arg1,*_arg2);
2685
2686 wxPy_END_ALLOW_THREADS;
2687 } Py_INCREF(Py_None);
2688 _resultobj = Py_None;
2689 {
2690 if (_obj2)
2691 delete _arg2;
2692 }
2693 return _resultobj;
2694 }
2695
2696 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2697 static PyObject *_wrap_wxHtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2698 PyObject * _resultobj;
2699 wxHtmlHelpController * _arg0;
2700 wxConfigBase * _arg1;
2701 wxString * _arg2 = (wxString *) &wxEmptyString;
2702 PyObject * _argo0 = 0;
2703 PyObject * _argo1 = 0;
2704 PyObject * _obj2 = 0;
2705 char *_kwnames[] = { "self","cfg","path", NULL };
2706
2707 self = self;
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2709 return NULL;
2710 if (_argo0) {
2711 if (_argo0 == Py_None) { _arg0 = NULL; }
2712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2714 return NULL;
2715 }
2716 }
2717 if (_argo1) {
2718 if (_argo1 == Py_None) { _arg1 = NULL; }
2719 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2720 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2721 return NULL;
2722 }
2723 }
2724 if (_obj2)
2725 {
2726 #if PYTHON_API_VERSION >= 1009
2727 char* tmpPtr; int tmpSize;
2728 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2729 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2730 return NULL;
2731 }
2732 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2733 return NULL;
2734 _arg2 = new wxString(tmpPtr, tmpSize);
2735 #else
2736 if (!PyString_Check(_obj2)) {
2737 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2738 return NULL;
2739 }
2740 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2741 #endif
2742 }
2743 {
2744 wxPy_BEGIN_ALLOW_THREADS;
2745 wxHtmlHelpController_WriteCustomization(_arg0,_arg1,*_arg2);
2746
2747 wxPy_END_ALLOW_THREADS;
2748 } Py_INCREF(Py_None);
2749 _resultobj = Py_None;
2750 {
2751 if (_obj2)
2752 delete _arg2;
2753 }
2754 return _resultobj;
2755 }
2756
2757 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2758 static PyObject *_wrap_wxHtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject * _resultobj;
2760 wxHtmlHelpFrame * _result;
2761 wxHtmlHelpController * _arg0;
2762 PyObject * _argo0 = 0;
2763 char *_kwnames[] = { "self", NULL };
2764 char _ptemp[128];
2765
2766 self = self;
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_GetFrame",_kwnames,&_argo0))
2768 return NULL;
2769 if (_argo0) {
2770 if (_argo0 == Py_None) { _arg0 = NULL; }
2771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2773 return NULL;
2774 }
2775 }
2776 {
2777 wxPy_BEGIN_ALLOW_THREADS;
2778 _result = (wxHtmlHelpFrame *)wxHtmlHelpController_GetFrame(_arg0);
2779
2780 wxPy_END_ALLOW_THREADS;
2781 } if (_result) {
2782 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p");
2783 _resultobj = Py_BuildValue("s",_ptemp);
2784 } else {
2785 Py_INCREF(Py_None);
2786 _resultobj = Py_None;
2787 }
2788 return _resultobj;
2789 }
2790
2791 static PyMethodDef htmlhelpcMethods[] = {
2792 { "wxHtmlHelpController_GetFrame", (PyCFunction) _wrap_wxHtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
2793 { "wxHtmlHelpController_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
2794 { "wxHtmlHelpController_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
2795 { "wxHtmlHelpController_UseConfig", (PyCFunction) _wrap_wxHtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
2796 { "wxHtmlHelpController_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
2797 { "wxHtmlHelpController_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
2798 { "wxHtmlHelpController_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
2799 { "wxHtmlHelpController_DisplayID", (PyCFunction) _wrap_wxHtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
2800 { "wxHtmlHelpController_Display", (PyCFunction) _wrap_wxHtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
2801 { "wxHtmlHelpController_AddBook", (PyCFunction) _wrap_wxHtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
2802 { "wxHtmlHelpController_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
2803 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
2804 { "delete_wxHtmlHelpController", (PyCFunction) _wrap_delete_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
2805 { "new_wxHtmlHelpController", (PyCFunction) _wrap_new_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
2806 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
2807 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
2808 { "wxHtmlHelpFrame_UseConfig", (PyCFunction) _wrap_wxHtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
2809 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
2810 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
2811 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
2812 { "wxHtmlHelpFrame_DisplayID", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
2813 { "wxHtmlHelpFrame_Display", (PyCFunction) _wrap_wxHtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
2814 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
2815 { "wxHtmlHelpFrame_GetData", (PyCFunction) _wrap_wxHtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
2816 { "new_wxHtmlHelpFrame", (PyCFunction) _wrap_new_wxHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
2817 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
2818 { "wxHtmlHelpData_GetIndex", (PyCFunction) _wrap_wxHtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
2819 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
2820 { "wxHtmlHelpData_GetContents", (PyCFunction) _wrap_wxHtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
2821 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_wxHtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
2822 { "wxHtmlHelpData_FindPageById", (PyCFunction) _wrap_wxHtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
2823 { "wxHtmlHelpData_FindPageByName", (PyCFunction) _wrap_wxHtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
2824 { "wxHtmlHelpData_AddBook", (PyCFunction) _wrap_wxHtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
2825 { "wxHtmlHelpData_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
2826 { "delete_wxHtmlHelpData", (PyCFunction) _wrap_delete_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS },
2827 { "new_wxHtmlHelpData", (PyCFunction) _wrap_new_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS },
2828 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_wxHtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
2829 { "wxHtmlSearchStatus_GetName", (PyCFunction) _wrap_wxHtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
2830 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
2831 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
2832 { "wxHtmlSearchStatus_IsActive", (PyCFunction) _wrap_wxHtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
2833 { "wxHtmlSearchStatus_Search", (PyCFunction) _wrap_wxHtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
2834 { "wxHtmlContentsItem_m_Book_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Book_get, METH_VARARGS | METH_KEYWORDS },
2835 { "wxHtmlContentsItem_m_Book_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Book_set, METH_VARARGS | METH_KEYWORDS },
2836 { "wxHtmlContentsItem_m_Page_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Page_get, METH_VARARGS | METH_KEYWORDS },
2837 { "wxHtmlContentsItem_m_Page_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Page_set, METH_VARARGS | METH_KEYWORDS },
2838 { "wxHtmlContentsItem_m_Name_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Name_get, METH_VARARGS | METH_KEYWORDS },
2839 { "wxHtmlContentsItem_m_Name_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Name_set, METH_VARARGS | METH_KEYWORDS },
2840 { "wxHtmlContentsItem_m_ID_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_ID_get, METH_VARARGS | METH_KEYWORDS },
2841 { "wxHtmlContentsItem_m_ID_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_ID_set, METH_VARARGS | METH_KEYWORDS },
2842 { "wxHtmlContentsItem_m_Level_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Level_get, METH_VARARGS | METH_KEYWORDS },
2843 { "wxHtmlContentsItem_m_Level_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Level_set, METH_VARARGS | METH_KEYWORDS },
2844 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
2845 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
2846 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_wxHtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
2847 { "wxHtmlBookRecord_GetBasePath", (PyCFunction) _wrap_wxHtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
2848 { "wxHtmlBookRecord_GetStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
2849 { "wxHtmlBookRecord_GetTitle", (PyCFunction) _wrap_wxHtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
2850 { "new_wxHtmlBookRecord", (PyCFunction) _wrap_new_wxHtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
2851 { "wxHtmlHelpFrameCfg_navig_on_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_navig_on_get, METH_VARARGS | METH_KEYWORDS },
2852 { "wxHtmlHelpFrameCfg_navig_on_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_navig_on_set, METH_VARARGS | METH_KEYWORDS },
2853 { "wxHtmlHelpFrameCfg_sashpos_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_sashpos_get, METH_VARARGS | METH_KEYWORDS },
2854 { "wxHtmlHelpFrameCfg_sashpos_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_sashpos_set, METH_VARARGS | METH_KEYWORDS },
2855 { "wxHtmlHelpFrameCfg_h_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_h_get, METH_VARARGS | METH_KEYWORDS },
2856 { "wxHtmlHelpFrameCfg_h_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_h_set, METH_VARARGS | METH_KEYWORDS },
2857 { "wxHtmlHelpFrameCfg_w_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_w_get, METH_VARARGS | METH_KEYWORDS },
2858 { "wxHtmlHelpFrameCfg_w_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_w_set, METH_VARARGS | METH_KEYWORDS },
2859 { "wxHtmlHelpFrameCfg_y_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_y_get, METH_VARARGS | METH_KEYWORDS },
2860 { "wxHtmlHelpFrameCfg_y_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_y_set, METH_VARARGS | METH_KEYWORDS },
2861 { "wxHtmlHelpFrameCfg_x_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_x_get, METH_VARARGS | METH_KEYWORDS },
2862 { "wxHtmlHelpFrameCfg_x_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_x_set, METH_VARARGS | METH_KEYWORDS },
2863 { "new_wxHtmlHelpFrameCfg", (PyCFunction) _wrap_new_wxHtmlHelpFrameCfg, METH_VARARGS | METH_KEYWORDS },
2864 { NULL, NULL }
2865 };
2866 #ifdef __cplusplus
2867 }
2868 #endif
2869 /*
2870 * This table is used by the pointer type-checker
2871 */
2872 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2873 { "_signed_long","_long",0},
2874 { "_wxPrintQuality","_wxCoord",0},
2875 { "_wxPrintQuality","_int",0},
2876 { "_wxPrintQuality","_signed_int",0},
2877 { "_wxPrintQuality","_unsigned_int",0},
2878 { "_wxPrintQuality","_wxWindowID",0},
2879 { "_wxPrintQuality","_uint",0},
2880 { "_wxPrintQuality","_EBool",0},
2881 { "_wxPrintQuality","_size_t",0},
2882 { "_wxPrintQuality","_time_t",0},
2883 { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2884 { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2885 { "_class_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2886 { "_class_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2887 { "_byte","_unsigned_char",0},
2888 { "_long","_unsigned_long",0},
2889 { "_long","_signed_long",0},
2890 { "_class_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2891 { "_class_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2892 { "_class_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2893 { "_class_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2894 { "_size_t","_wxCoord",0},
2895 { "_size_t","_wxPrintQuality",0},
2896 { "_size_t","_time_t",0},
2897 { "_size_t","_unsigned_int",0},
2898 { "_size_t","_int",0},
2899 { "_size_t","_wxWindowID",0},
2900 { "_size_t","_uint",0},
2901 { "_uint","_wxCoord",0},
2902 { "_uint","_wxPrintQuality",0},
2903 { "_uint","_time_t",0},
2904 { "_uint","_size_t",0},
2905 { "_uint","_unsigned_int",0},
2906 { "_uint","_int",0},
2907 { "_uint","_wxWindowID",0},
2908 { "_wxChar","_char",0},
2909 { "_char","_wxChar",0},
2910 { "_EBool","_wxCoord",0},
2911 { "_EBool","_wxPrintQuality",0},
2912 { "_EBool","_signed_int",0},
2913 { "_EBool","_int",0},
2914 { "_EBool","_wxWindowID",0},
2915 { "_unsigned_long","_long",0},
2916 { "_signed_int","_wxCoord",0},
2917 { "_signed_int","_wxPrintQuality",0},
2918 { "_signed_int","_EBool",0},
2919 { "_signed_int","_wxWindowID",0},
2920 { "_signed_int","_int",0},
2921 { "_WXTYPE","_wxDateTime_t",0},
2922 { "_WXTYPE","_short",0},
2923 { "_WXTYPE","_signed_short",0},
2924 { "_WXTYPE","_unsigned_short",0},
2925 { "_unsigned_short","_wxDateTime_t",0},
2926 { "_unsigned_short","_WXTYPE",0},
2927 { "_unsigned_short","_short",0},
2928 { "_class_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2929 { "_class_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2930 { "_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2931 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject},
2932 { "_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2933 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject},
2934 { "_signed_short","_WXTYPE",0},
2935 { "_signed_short","_short",0},
2936 { "_unsigned_char","_byte",0},
2937 { "_unsigned_int","_wxCoord",0},
2938 { "_unsigned_int","_wxPrintQuality",0},
2939 { "_unsigned_int","_time_t",0},
2940 { "_unsigned_int","_size_t",0},
2941 { "_unsigned_int","_uint",0},
2942 { "_unsigned_int","_wxWindowID",0},
2943 { "_unsigned_int","_int",0},
2944 { "_short","_wxDateTime_t",0},
2945 { "_short","_WXTYPE",0},
2946 { "_short","_unsigned_short",0},
2947 { "_short","_signed_short",0},
2948 { "_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2949 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2950 { "_wxWindowID","_wxCoord",0},
2951 { "_wxWindowID","_wxPrintQuality",0},
2952 { "_wxWindowID","_time_t",0},
2953 { "_wxWindowID","_size_t",0},
2954 { "_wxWindowID","_EBool",0},
2955 { "_wxWindowID","_uint",0},
2956 { "_wxWindowID","_int",0},
2957 { "_wxWindowID","_signed_int",0},
2958 { "_wxWindowID","_unsigned_int",0},
2959 { "_int","_wxCoord",0},
2960 { "_int","_wxPrintQuality",0},
2961 { "_int","_time_t",0},
2962 { "_int","_size_t",0},
2963 { "_int","_EBool",0},
2964 { "_int","_uint",0},
2965 { "_int","_wxWindowID",0},
2966 { "_int","_unsigned_int",0},
2967 { "_int","_signed_int",0},
2968 { "_wxDateTime_t","_unsigned_short",0},
2969 { "_wxDateTime_t","_short",0},
2970 { "_wxDateTime_t","_WXTYPE",0},
2971 { "_time_t","_wxCoord",0},
2972 { "_time_t","_wxPrintQuality",0},
2973 { "_time_t","_unsigned_int",0},
2974 { "_time_t","_int",0},
2975 { "_time_t","_wxWindowID",0},
2976 { "_time_t","_uint",0},
2977 { "_time_t","_size_t",0},
2978 { "_wxCoord","_int",0},
2979 { "_wxCoord","_signed_int",0},
2980 { "_wxCoord","_unsigned_int",0},
2981 { "_wxCoord","_wxWindowID",0},
2982 { "_wxCoord","_uint",0},
2983 { "_wxCoord","_EBool",0},
2984 { "_wxCoord","_size_t",0},
2985 { "_wxCoord","_time_t",0},
2986 { "_wxCoord","_wxPrintQuality",0},
2987 { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2988 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2989 { "_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2990 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2991 { "_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2992 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
2993 { "_class_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2994 { "_class_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
2995 {0,0,0}};
2996
2997 static PyObject *SWIG_globals;
2998 #ifdef __cplusplus
2999 extern "C"
3000 #endif
3001 SWIGEXPORT(void) inithtmlhelpc() {
3002 PyObject *m, *d;
3003 SWIG_globals = SWIG_newvarlink();
3004 m = Py_InitModule("htmlhelpc", htmlhelpcMethods);
3005 d = PyModule_GetDict(m);
3006 PyDict_SetItemString(d,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR));
3007 PyDict_SetItemString(d,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR));
3008 PyDict_SetItemString(d,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS));
3009 PyDict_SetItemString(d,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX));
3010 PyDict_SetItemString(d,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH));
3011 PyDict_SetItemString(d,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS));
3012 PyDict_SetItemString(d,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES));
3013 PyDict_SetItemString(d,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT));
3014 PyDict_SetItemString(d,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE));
3015 {
3016 int i;
3017 for (i = 0; _swig_mapping[i].n1; i++)
3018 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3019 }
3020 }