]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/htmlhelp.cpp
warning fixed
[wxWidgets.git] / wxPython / src / msw / htmlhelp.cpp
1 /*
2 * FILE : src/msw/htmlhelp.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init inithtmlhelpc
55
56 #define SWIG_name "htmlhelpc"
57
58 #include "export.h"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/helpctrl.h>
61 #include <wx/image.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
65
66 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
67 PyObject* o2;
68 if (!target) {
69 target = o;
70 } else if (target == Py_None) {
71 Py_DECREF(Py_None);
72 target = o;
73 } else {
74 if (!PyList_Check(target)) {
75 o2 = target;
76 target = PyList_New(0);
77 PyList_Append(target, o2);
78 Py_XDECREF(o2);
79 }
80 PyList_Append(target,o);
81 Py_XDECREF(o);
82 }
83 return target;
84 }
85
86 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
87 PyObject* o2;
88 PyObject* o3;
89
90 if (!target) {
91 target = o;
92 } else if (target == Py_None) {
93 Py_DECREF(Py_None);
94 target = o;
95 } else {
96 if (!PyTuple_Check(target)) {
97 o2 = target;
98 target = PyTuple_New(1);
99 PyTuple_SetItem(target, 0, o2);
100 }
101 o3 = PyTuple_New(1);
102 PyTuple_SetItem(o3, 0, o);
103
104 o2 = target;
105 target = PySequence_Concat(o2, o3);
106 Py_DECREF(o2);
107 Py_DECREF(o3);
108 }
109 return target;
110 }
111
112 #if PYTHON_API_VERSION >= 1009
113 static char* wxStringErrorMsg = "String or Unicode type required";
114 #else
115 static char* wxStringErrorMsg = "string type is required for parameter";
116 #endif
117 #ifdef __cplusplus
118 extern "C" {
119 #endif
120 #define new_wxHtmlHelpFrameCfg() (new wxHtmlHelpFrameCfg())
121 static PyObject *_wrap_new_wxHtmlHelpFrameCfg(PyObject *self, PyObject *args, PyObject *kwargs) {
122 PyObject * _resultobj;
123 wxHtmlHelpFrameCfg * _result;
124 char *_kwnames[] = { NULL };
125 char _ptemp[128];
126
127 self = self;
128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpFrameCfg",_kwnames))
129 return NULL;
130 {
131 wxPy_BEGIN_ALLOW_THREADS;
132 _result = (wxHtmlHelpFrameCfg *)new_wxHtmlHelpFrameCfg();
133
134 wxPy_END_ALLOW_THREADS;
135 } if (_result) {
136 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrameCfg_p");
137 _resultobj = Py_BuildValue("s",_ptemp);
138 } else {
139 Py_INCREF(Py_None);
140 _resultobj = Py_None;
141 }
142 return _resultobj;
143 }
144
145 #define wxHtmlHelpFrameCfg_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
146 static PyObject *_wrap_wxHtmlHelpFrameCfg_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
147 PyObject * _resultobj;
148 long _result;
149 wxHtmlHelpFrameCfg * _arg0;
150 long _arg1;
151 PyObject * _argo0 = 0;
152 char *_kwnames[] = { "self","x", NULL };
153
154 self = self;
155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_x_set",_kwnames,&_argo0,&_arg1))
156 return NULL;
157 if (_argo0) {
158 if (_argo0 == Py_None) { _arg0 = NULL; }
159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_set. Expected _wxHtmlHelpFrameCfg_p.");
161 return NULL;
162 }
163 }
164 {
165 wxPy_BEGIN_ALLOW_THREADS;
166 _result = (long )wxHtmlHelpFrameCfg_x_set(_arg0,_arg1);
167
168 wxPy_END_ALLOW_THREADS;
169 } _resultobj = Py_BuildValue("l",_result);
170 return _resultobj;
171 }
172
173 #define wxHtmlHelpFrameCfg_x_get(_swigobj) ((long ) _swigobj->x)
174 static PyObject *_wrap_wxHtmlHelpFrameCfg_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
175 PyObject * _resultobj;
176 long _result;
177 wxHtmlHelpFrameCfg * _arg0;
178 PyObject * _argo0 = 0;
179 char *_kwnames[] = { "self", NULL };
180
181 self = self;
182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_x_get",_kwnames,&_argo0))
183 return NULL;
184 if (_argo0) {
185 if (_argo0 == Py_None) { _arg0 = NULL; }
186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_get. Expected _wxHtmlHelpFrameCfg_p.");
188 return NULL;
189 }
190 }
191 {
192 wxPy_BEGIN_ALLOW_THREADS;
193 _result = (long )wxHtmlHelpFrameCfg_x_get(_arg0);
194
195 wxPy_END_ALLOW_THREADS;
196 } _resultobj = Py_BuildValue("l",_result);
197 return _resultobj;
198 }
199
200 #define wxHtmlHelpFrameCfg_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
201 static PyObject *_wrap_wxHtmlHelpFrameCfg_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
202 PyObject * _resultobj;
203 long _result;
204 wxHtmlHelpFrameCfg * _arg0;
205 long _arg1;
206 PyObject * _argo0 = 0;
207 char *_kwnames[] = { "self","y", NULL };
208
209 self = self;
210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_y_set",_kwnames,&_argo0,&_arg1))
211 return NULL;
212 if (_argo0) {
213 if (_argo0 == Py_None) { _arg0 = NULL; }
214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_set. Expected _wxHtmlHelpFrameCfg_p.");
216 return NULL;
217 }
218 }
219 {
220 wxPy_BEGIN_ALLOW_THREADS;
221 _result = (long )wxHtmlHelpFrameCfg_y_set(_arg0,_arg1);
222
223 wxPy_END_ALLOW_THREADS;
224 } _resultobj = Py_BuildValue("l",_result);
225 return _resultobj;
226 }
227
228 #define wxHtmlHelpFrameCfg_y_get(_swigobj) ((long ) _swigobj->y)
229 static PyObject *_wrap_wxHtmlHelpFrameCfg_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
230 PyObject * _resultobj;
231 long _result;
232 wxHtmlHelpFrameCfg * _arg0;
233 PyObject * _argo0 = 0;
234 char *_kwnames[] = { "self", NULL };
235
236 self = self;
237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_y_get",_kwnames,&_argo0))
238 return NULL;
239 if (_argo0) {
240 if (_argo0 == Py_None) { _arg0 = NULL; }
241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_get. Expected _wxHtmlHelpFrameCfg_p.");
243 return NULL;
244 }
245 }
246 {
247 wxPy_BEGIN_ALLOW_THREADS;
248 _result = (long )wxHtmlHelpFrameCfg_y_get(_arg0);
249
250 wxPy_END_ALLOW_THREADS;
251 } _resultobj = Py_BuildValue("l",_result);
252 return _resultobj;
253 }
254
255 #define wxHtmlHelpFrameCfg_w_set(_swigobj,_swigval) (_swigobj->w = _swigval,_swigval)
256 static PyObject *_wrap_wxHtmlHelpFrameCfg_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
257 PyObject * _resultobj;
258 long _result;
259 wxHtmlHelpFrameCfg * _arg0;
260 long _arg1;
261 PyObject * _argo0 = 0;
262 char *_kwnames[] = { "self","w", NULL };
263
264 self = self;
265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_w_set",_kwnames,&_argo0,&_arg1))
266 return NULL;
267 if (_argo0) {
268 if (_argo0 == Py_None) { _arg0 = NULL; }
269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_set. Expected _wxHtmlHelpFrameCfg_p.");
271 return NULL;
272 }
273 }
274 {
275 wxPy_BEGIN_ALLOW_THREADS;
276 _result = (long )wxHtmlHelpFrameCfg_w_set(_arg0,_arg1);
277
278 wxPy_END_ALLOW_THREADS;
279 } _resultobj = Py_BuildValue("l",_result);
280 return _resultobj;
281 }
282
283 #define wxHtmlHelpFrameCfg_w_get(_swigobj) ((long ) _swigobj->w)
284 static PyObject *_wrap_wxHtmlHelpFrameCfg_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
285 PyObject * _resultobj;
286 long _result;
287 wxHtmlHelpFrameCfg * _arg0;
288 PyObject * _argo0 = 0;
289 char *_kwnames[] = { "self", NULL };
290
291 self = self;
292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_w_get",_kwnames,&_argo0))
293 return NULL;
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_get. Expected _wxHtmlHelpFrameCfg_p.");
298 return NULL;
299 }
300 }
301 {
302 wxPy_BEGIN_ALLOW_THREADS;
303 _result = (long )wxHtmlHelpFrameCfg_w_get(_arg0);
304
305 wxPy_END_ALLOW_THREADS;
306 } _resultobj = Py_BuildValue("l",_result);
307 return _resultobj;
308 }
309
310 #define wxHtmlHelpFrameCfg_h_set(_swigobj,_swigval) (_swigobj->h = _swigval,_swigval)
311 static PyObject *_wrap_wxHtmlHelpFrameCfg_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
312 PyObject * _resultobj;
313 long _result;
314 wxHtmlHelpFrameCfg * _arg0;
315 long _arg1;
316 PyObject * _argo0 = 0;
317 char *_kwnames[] = { "self","h", NULL };
318
319 self = self;
320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_h_set",_kwnames,&_argo0,&_arg1))
321 return NULL;
322 if (_argo0) {
323 if (_argo0 == Py_None) { _arg0 = NULL; }
324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_set. Expected _wxHtmlHelpFrameCfg_p.");
326 return NULL;
327 }
328 }
329 {
330 wxPy_BEGIN_ALLOW_THREADS;
331 _result = (long )wxHtmlHelpFrameCfg_h_set(_arg0,_arg1);
332
333 wxPy_END_ALLOW_THREADS;
334 } _resultobj = Py_BuildValue("l",_result);
335 return _resultobj;
336 }
337
338 #define wxHtmlHelpFrameCfg_h_get(_swigobj) ((long ) _swigobj->h)
339 static PyObject *_wrap_wxHtmlHelpFrameCfg_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
340 PyObject * _resultobj;
341 long _result;
342 wxHtmlHelpFrameCfg * _arg0;
343 PyObject * _argo0 = 0;
344 char *_kwnames[] = { "self", NULL };
345
346 self = self;
347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_h_get",_kwnames,&_argo0))
348 return NULL;
349 if (_argo0) {
350 if (_argo0 == Py_None) { _arg0 = NULL; }
351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_get. Expected _wxHtmlHelpFrameCfg_p.");
353 return NULL;
354 }
355 }
356 {
357 wxPy_BEGIN_ALLOW_THREADS;
358 _result = (long )wxHtmlHelpFrameCfg_h_get(_arg0);
359
360 wxPy_END_ALLOW_THREADS;
361 } _resultobj = Py_BuildValue("l",_result);
362 return _resultobj;
363 }
364
365 #define wxHtmlHelpFrameCfg_sashpos_set(_swigobj,_swigval) (_swigobj->sashpos = _swigval,_swigval)
366 static PyObject *_wrap_wxHtmlHelpFrameCfg_sashpos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
367 PyObject * _resultobj;
368 long _result;
369 wxHtmlHelpFrameCfg * _arg0;
370 long _arg1;
371 PyObject * _argo0 = 0;
372 char *_kwnames[] = { "self","sashpos", NULL };
373
374 self = self;
375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxHtmlHelpFrameCfg_sashpos_set",_kwnames,&_argo0,&_arg1))
376 return NULL;
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_set. Expected _wxHtmlHelpFrameCfg_p.");
381 return NULL;
382 }
383 }
384 {
385 wxPy_BEGIN_ALLOW_THREADS;
386 _result = (long )wxHtmlHelpFrameCfg_sashpos_set(_arg0,_arg1);
387
388 wxPy_END_ALLOW_THREADS;
389 } _resultobj = Py_BuildValue("l",_result);
390 return _resultobj;
391 }
392
393 #define wxHtmlHelpFrameCfg_sashpos_get(_swigobj) ((long ) _swigobj->sashpos)
394 static PyObject *_wrap_wxHtmlHelpFrameCfg_sashpos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
395 PyObject * _resultobj;
396 long _result;
397 wxHtmlHelpFrameCfg * _arg0;
398 PyObject * _argo0 = 0;
399 char *_kwnames[] = { "self", NULL };
400
401 self = self;
402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_sashpos_get",_kwnames,&_argo0))
403 return NULL;
404 if (_argo0) {
405 if (_argo0 == Py_None) { _arg0 = NULL; }
406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_get. Expected _wxHtmlHelpFrameCfg_p.");
408 return NULL;
409 }
410 }
411 {
412 wxPy_BEGIN_ALLOW_THREADS;
413 _result = (long )wxHtmlHelpFrameCfg_sashpos_get(_arg0);
414
415 wxPy_END_ALLOW_THREADS;
416 } _resultobj = Py_BuildValue("l",_result);
417 return _resultobj;
418 }
419
420 #define wxHtmlHelpFrameCfg_navig_on_set(_swigobj,_swigval) (_swigobj->navig_on = _swigval,_swigval)
421 static PyObject *_wrap_wxHtmlHelpFrameCfg_navig_on_set(PyObject *self, PyObject *args, PyObject *kwargs) {
422 PyObject * _resultobj;
423 bool _result;
424 wxHtmlHelpFrameCfg * _arg0;
425 bool _arg1;
426 PyObject * _argo0 = 0;
427 int tempbool1;
428 char *_kwnames[] = { "self","navig_on", NULL };
429
430 self = self;
431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrameCfg_navig_on_set",_kwnames,&_argo0,&tempbool1))
432 return NULL;
433 if (_argo0) {
434 if (_argo0 == Py_None) { _arg0 = NULL; }
435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_set. Expected _wxHtmlHelpFrameCfg_p.");
437 return NULL;
438 }
439 }
440 _arg1 = (bool ) tempbool1;
441 {
442 wxPy_BEGIN_ALLOW_THREADS;
443 _result = (bool )wxHtmlHelpFrameCfg_navig_on_set(_arg0,_arg1);
444
445 wxPy_END_ALLOW_THREADS;
446 } _resultobj = Py_BuildValue("i",_result);
447 return _resultobj;
448 }
449
450 #define wxHtmlHelpFrameCfg_navig_on_get(_swigobj) ((bool ) _swigobj->navig_on)
451 static PyObject *_wrap_wxHtmlHelpFrameCfg_navig_on_get(PyObject *self, PyObject *args, PyObject *kwargs) {
452 PyObject * _resultobj;
453 bool _result;
454 wxHtmlHelpFrameCfg * _arg0;
455 PyObject * _argo0 = 0;
456 char *_kwnames[] = { "self", NULL };
457
458 self = self;
459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrameCfg_navig_on_get",_kwnames,&_argo0))
460 return NULL;
461 if (_argo0) {
462 if (_argo0 == Py_None) { _arg0 = NULL; }
463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrameCfg_p")) {
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_get. Expected _wxHtmlHelpFrameCfg_p.");
465 return NULL;
466 }
467 }
468 {
469 wxPy_BEGIN_ALLOW_THREADS;
470 _result = (bool )wxHtmlHelpFrameCfg_navig_on_get(_arg0);
471
472 wxPy_END_ALLOW_THREADS;
473 } _resultobj = Py_BuildValue("i",_result);
474 return _resultobj;
475 }
476
477 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2))
478 static PyObject *_wrap_new_wxHtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
479 PyObject * _resultobj;
480 wxHtmlBookRecord * _result;
481 wxString * _arg0;
482 wxString * _arg1;
483 wxString * _arg2;
484 PyObject * _obj0 = 0;
485 PyObject * _obj1 = 0;
486 PyObject * _obj2 = 0;
487 char *_kwnames[] = { "basepath","title","start", NULL };
488 char _ptemp[128];
489
490 self = self;
491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxHtmlBookRecord",_kwnames,&_obj0,&_obj1,&_obj2))
492 return NULL;
493 {
494 #if PYTHON_API_VERSION >= 1009
495 char* tmpPtr; int tmpSize;
496 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
497 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
498 return NULL;
499 }
500 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
501 return NULL;
502 _arg0 = new wxString(tmpPtr, tmpSize);
503 #else
504 if (!PyString_Check(_obj0)) {
505 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
506 return NULL;
507 }
508 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
509 #endif
510 }
511 {
512 #if PYTHON_API_VERSION >= 1009
513 char* tmpPtr; int tmpSize;
514 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
515 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
516 return NULL;
517 }
518 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
519 return NULL;
520 _arg1 = new wxString(tmpPtr, tmpSize);
521 #else
522 if (!PyString_Check(_obj1)) {
523 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
524 return NULL;
525 }
526 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
527 #endif
528 }
529 {
530 #if PYTHON_API_VERSION >= 1009
531 char* tmpPtr; int tmpSize;
532 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
533 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
534 return NULL;
535 }
536 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
537 return NULL;
538 _arg2 = new wxString(tmpPtr, tmpSize);
539 #else
540 if (!PyString_Check(_obj2)) {
541 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
542 return NULL;
543 }
544 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
545 #endif
546 }
547 {
548 wxPy_BEGIN_ALLOW_THREADS;
549 _result = (wxHtmlBookRecord *)new_wxHtmlBookRecord(*_arg0,*_arg1,*_arg2);
550
551 wxPy_END_ALLOW_THREADS;
552 } if (_result) {
553 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
554 _resultobj = Py_BuildValue("s",_ptemp);
555 } else {
556 Py_INCREF(Py_None);
557 _resultobj = Py_None;
558 }
559 {
560 if (_obj0)
561 delete _arg0;
562 }
563 {
564 if (_obj1)
565 delete _arg1;
566 }
567 {
568 if (_obj2)
569 delete _arg2;
570 }
571 return _resultobj;
572 }
573
574 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
575 static PyObject *_wrap_wxHtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
576 PyObject * _resultobj;
577 wxString * _result;
578 wxHtmlBookRecord * _arg0;
579 PyObject * _argo0 = 0;
580 char *_kwnames[] = { "self", NULL };
581
582 self = self;
583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetTitle",_kwnames,&_argo0))
584 return NULL;
585 if (_argo0) {
586 if (_argo0 == Py_None) { _arg0 = NULL; }
587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
589 return NULL;
590 }
591 }
592 {
593 wxPy_BEGIN_ALLOW_THREADS;
594 _result = new wxString (wxHtmlBookRecord_GetTitle(_arg0));
595
596 wxPy_END_ALLOW_THREADS;
597 }{
598 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
599 }
600 {
601 delete _result;
602 }
603 return _resultobj;
604 }
605
606 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
607 static PyObject *_wrap_wxHtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
608 PyObject * _resultobj;
609 wxString * _result;
610 wxHtmlBookRecord * _arg0;
611 PyObject * _argo0 = 0;
612 char *_kwnames[] = { "self", NULL };
613
614 self = self;
615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetStart",_kwnames,&_argo0))
616 return NULL;
617 if (_argo0) {
618 if (_argo0 == Py_None) { _arg0 = NULL; }
619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
621 return NULL;
622 }
623 }
624 {
625 wxPy_BEGIN_ALLOW_THREADS;
626 _result = new wxString (wxHtmlBookRecord_GetStart(_arg0));
627
628 wxPy_END_ALLOW_THREADS;
629 }{
630 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
631 }
632 {
633 delete _result;
634 }
635 return _resultobj;
636 }
637
638 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
639 static PyObject *_wrap_wxHtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
640 PyObject * _resultobj;
641 wxString * _result;
642 wxHtmlBookRecord * _arg0;
643 PyObject * _argo0 = 0;
644 char *_kwnames[] = { "self", NULL };
645
646 self = self;
647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetBasePath",_kwnames,&_argo0))
648 return NULL;
649 if (_argo0) {
650 if (_argo0 == Py_None) { _arg0 = NULL; }
651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
653 return NULL;
654 }
655 }
656 {
657 wxPy_BEGIN_ALLOW_THREADS;
658 _result = new wxString (wxHtmlBookRecord_GetBasePath(_arg0));
659
660 wxPy_END_ALLOW_THREADS;
661 }{
662 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
663 }
664 {
665 delete _result;
666 }
667 return _resultobj;
668 }
669
670 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
671 static PyObject *_wrap_wxHtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
672 PyObject * _resultobj;
673 wxHtmlBookRecord * _arg0;
674 int _arg1;
675 int _arg2;
676 PyObject * _argo0 = 0;
677 char *_kwnames[] = { "self","start","end", NULL };
678
679 self = self;
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames,&_argo0,&_arg1,&_arg2))
681 return NULL;
682 if (_argo0) {
683 if (_argo0 == Py_None) { _arg0 = NULL; }
684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
686 return NULL;
687 }
688 }
689 {
690 wxPy_BEGIN_ALLOW_THREADS;
691 wxHtmlBookRecord_SetContentsRange(_arg0,_arg1,_arg2);
692
693 wxPy_END_ALLOW_THREADS;
694 } Py_INCREF(Py_None);
695 _resultobj = Py_None;
696 return _resultobj;
697 }
698
699 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
700 static PyObject *_wrap_wxHtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
701 PyObject * _resultobj;
702 int _result;
703 wxHtmlBookRecord * _arg0;
704 PyObject * _argo0 = 0;
705 char *_kwnames[] = { "self", NULL };
706
707 self = self;
708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsStart",_kwnames,&_argo0))
709 return NULL;
710 if (_argo0) {
711 if (_argo0 == Py_None) { _arg0 = NULL; }
712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
714 return NULL;
715 }
716 }
717 {
718 wxPy_BEGIN_ALLOW_THREADS;
719 _result = (int )wxHtmlBookRecord_GetContentsStart(_arg0);
720
721 wxPy_END_ALLOW_THREADS;
722 } _resultobj = Py_BuildValue("i",_result);
723 return _resultobj;
724 }
725
726 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
727 static PyObject *_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
728 PyObject * _resultobj;
729 int _result;
730 wxHtmlBookRecord * _arg0;
731 PyObject * _argo0 = 0;
732 char *_kwnames[] = { "self", NULL };
733
734 self = self;
735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames,&_argo0))
736 return NULL;
737 if (_argo0) {
738 if (_argo0 == Py_None) { _arg0 = NULL; }
739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlBookRecord_p")) {
740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
741 return NULL;
742 }
743 }
744 {
745 wxPy_BEGIN_ALLOW_THREADS;
746 _result = (int )wxHtmlBookRecord_GetContentsEnd(_arg0);
747
748 wxPy_END_ALLOW_THREADS;
749 } _resultobj = Py_BuildValue("i",_result);
750 return _resultobj;
751 }
752
753 #define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval)
754 static PyObject *_wrap_wxHtmlContentsItem_m_Level_set(PyObject *self, PyObject *args, PyObject *kwargs) {
755 PyObject * _resultobj;
756 short _result;
757 wxHtmlContentsItem * _arg0;
758 short _arg1;
759 PyObject * _argo0 = 0;
760 char *_kwnames[] = { "self","m_Level", NULL };
761
762 self = self;
763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames,&_argo0,&_arg1))
764 return NULL;
765 if (_argo0) {
766 if (_argo0 == Py_None) { _arg0 = NULL; }
767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p.");
769 return NULL;
770 }
771 }
772 {
773 wxPy_BEGIN_ALLOW_THREADS;
774 _result = (short )wxHtmlContentsItem_m_Level_set(_arg0,_arg1);
775
776 wxPy_END_ALLOW_THREADS;
777 } _resultobj = Py_BuildValue("h",_result);
778 return _resultobj;
779 }
780
781 #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
782 static PyObject *_wrap_wxHtmlContentsItem_m_Level_get(PyObject *self, PyObject *args, PyObject *kwargs) {
783 PyObject * _resultobj;
784 short _result;
785 wxHtmlContentsItem * _arg0;
786 PyObject * _argo0 = 0;
787 char *_kwnames[] = { "self", NULL };
788
789 self = self;
790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Level_get",_kwnames,&_argo0))
791 return NULL;
792 if (_argo0) {
793 if (_argo0 == Py_None) { _arg0 = NULL; }
794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
796 return NULL;
797 }
798 }
799 {
800 wxPy_BEGIN_ALLOW_THREADS;
801 _result = (short )wxHtmlContentsItem_m_Level_get(_arg0);
802
803 wxPy_END_ALLOW_THREADS;
804 } _resultobj = Py_BuildValue("h",_result);
805 return _resultobj;
806 }
807
808 #define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval)
809 static PyObject *_wrap_wxHtmlContentsItem_m_ID_set(PyObject *self, PyObject *args, PyObject *kwargs) {
810 PyObject * _resultobj;
811 int _result;
812 wxHtmlContentsItem * _arg0;
813 int _arg1;
814 PyObject * _argo0 = 0;
815 char *_kwnames[] = { "self","m_ID", NULL };
816
817 self = self;
818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames,&_argo0,&_arg1))
819 return NULL;
820 if (_argo0) {
821 if (_argo0 == Py_None) { _arg0 = NULL; }
822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p.");
824 return NULL;
825 }
826 }
827 {
828 wxPy_BEGIN_ALLOW_THREADS;
829 _result = (int )wxHtmlContentsItem_m_ID_set(_arg0,_arg1);
830
831 wxPy_END_ALLOW_THREADS;
832 } _resultobj = Py_BuildValue("i",_result);
833 return _resultobj;
834 }
835
836 #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
837 static PyObject *_wrap_wxHtmlContentsItem_m_ID_get(PyObject *self, PyObject *args, PyObject *kwargs) {
838 PyObject * _resultobj;
839 int _result;
840 wxHtmlContentsItem * _arg0;
841 PyObject * _argo0 = 0;
842 char *_kwnames[] = { "self", NULL };
843
844 self = self;
845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_ID_get",_kwnames,&_argo0))
846 return NULL;
847 if (_argo0) {
848 if (_argo0 == Py_None) { _arg0 = NULL; }
849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
851 return NULL;
852 }
853 }
854 {
855 wxPy_BEGIN_ALLOW_THREADS;
856 _result = (int )wxHtmlContentsItem_m_ID_get(_arg0);
857
858 wxPy_END_ALLOW_THREADS;
859 } _resultobj = Py_BuildValue("i",_result);
860 return _resultobj;
861 }
862
863 static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem *obj, char *val) {
864 if (obj->m_Name) delete [] obj->m_Name;
865 obj->m_Name = new char[strlen(val)+1];
866 strcpy((char *)obj->m_Name,val);
867 return (char *) val;
868 }
869 static PyObject *_wrap_wxHtmlContentsItem_m_Name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
870 PyObject * _resultobj;
871 char * _result;
872 wxHtmlContentsItem * _arg0;
873 char * _arg1;
874 PyObject * _argo0 = 0;
875 char *_kwnames[] = { "self","m_Name", NULL };
876
877 self = self;
878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlContentsItem_m_Name_set",_kwnames,&_argo0,&_arg1))
879 return NULL;
880 if (_argo0) {
881 if (_argo0 == Py_None) { _arg0 = NULL; }
882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p.");
884 return NULL;
885 }
886 }
887 {
888 wxPy_BEGIN_ALLOW_THREADS;
889 _result = (char *)wxHtmlContentsItem_m_Name_set(_arg0,_arg1);
890
891 wxPy_END_ALLOW_THREADS;
892 } _resultobj = Py_BuildValue("s", _result);
893 return _resultobj;
894 }
895
896 #define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name)
897 static PyObject *_wrap_wxHtmlContentsItem_m_Name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
898 PyObject * _resultobj;
899 char * _result;
900 wxHtmlContentsItem * _arg0;
901 PyObject * _argo0 = 0;
902 char *_kwnames[] = { "self", NULL };
903
904 self = self;
905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Name_get",_kwnames,&_argo0))
906 return NULL;
907 if (_argo0) {
908 if (_argo0 == Py_None) { _arg0 = NULL; }
909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
911 return NULL;
912 }
913 }
914 {
915 wxPy_BEGIN_ALLOW_THREADS;
916 _result = (char *)wxHtmlContentsItem_m_Name_get(_arg0);
917
918 wxPy_END_ALLOW_THREADS;
919 } _resultobj = Py_BuildValue("s", _result);
920 return _resultobj;
921 }
922
923 static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem *obj, char *val) {
924 if (obj->m_Page) delete [] obj->m_Page;
925 obj->m_Page = new char[strlen(val)+1];
926 strcpy((char *)obj->m_Page,val);
927 return (char *) val;
928 }
929 static PyObject *_wrap_wxHtmlContentsItem_m_Page_set(PyObject *self, PyObject *args, PyObject *kwargs) {
930 PyObject * _resultobj;
931 char * _result;
932 wxHtmlContentsItem * _arg0;
933 char * _arg1;
934 PyObject * _argo0 = 0;
935 char *_kwnames[] = { "self","m_Page", NULL };
936
937 self = self;
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlContentsItem_m_Page_set",_kwnames,&_argo0,&_arg1))
939 return NULL;
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p.");
944 return NULL;
945 }
946 }
947 {
948 wxPy_BEGIN_ALLOW_THREADS;
949 _result = (char *)wxHtmlContentsItem_m_Page_set(_arg0,_arg1);
950
951 wxPy_END_ALLOW_THREADS;
952 } _resultobj = Py_BuildValue("s", _result);
953 return _resultobj;
954 }
955
956 #define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page)
957 static PyObject *_wrap_wxHtmlContentsItem_m_Page_get(PyObject *self, PyObject *args, PyObject *kwargs) {
958 PyObject * _resultobj;
959 char * _result;
960 wxHtmlContentsItem * _arg0;
961 PyObject * _argo0 = 0;
962 char *_kwnames[] = { "self", NULL };
963
964 self = self;
965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Page_get",_kwnames,&_argo0))
966 return NULL;
967 if (_argo0) {
968 if (_argo0 == Py_None) { _arg0 = NULL; }
969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
971 return NULL;
972 }
973 }
974 {
975 wxPy_BEGIN_ALLOW_THREADS;
976 _result = (char *)wxHtmlContentsItem_m_Page_get(_arg0);
977
978 wxPy_END_ALLOW_THREADS;
979 } _resultobj = Py_BuildValue("s", _result);
980 return _resultobj;
981 }
982
983 #define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval)
984 static PyObject *_wrap_wxHtmlContentsItem_m_Book_set(PyObject *self, PyObject *args, PyObject *kwargs) {
985 PyObject * _resultobj;
986 wxHtmlBookRecord * _result;
987 wxHtmlContentsItem * _arg0;
988 wxHtmlBookRecord * _arg1;
989 PyObject * _argo0 = 0;
990 PyObject * _argo1 = 0;
991 char *_kwnames[] = { "self","m_Book", NULL };
992 char _ptemp[128];
993
994 self = self;
995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContentsItem_m_Book_set",_kwnames,&_argo0,&_argo1))
996 return NULL;
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p.");
1001 return NULL;
1002 }
1003 }
1004 if (_argo1) {
1005 if (_argo1 == Py_None) { _arg1 = NULL; }
1006 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlBookRecord_p")) {
1007 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p.");
1008 return NULL;
1009 }
1010 }
1011 {
1012 wxPy_BEGIN_ALLOW_THREADS;
1013 _result = (wxHtmlBookRecord *)wxHtmlContentsItem_m_Book_set(_arg0,_arg1);
1014
1015 wxPy_END_ALLOW_THREADS;
1016 } if (_result) {
1017 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
1018 _resultobj = Py_BuildValue("s",_ptemp);
1019 } else {
1020 Py_INCREF(Py_None);
1021 _resultobj = Py_None;
1022 }
1023 return _resultobj;
1024 }
1025
1026 #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
1027 static PyObject *_wrap_wxHtmlContentsItem_m_Book_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1028 PyObject * _resultobj;
1029 wxHtmlBookRecord * _result;
1030 wxHtmlContentsItem * _arg0;
1031 PyObject * _argo0 = 0;
1032 char *_kwnames[] = { "self", NULL };
1033 char _ptemp[128];
1034
1035 self = self;
1036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContentsItem_m_Book_get",_kwnames,&_argo0))
1037 return NULL;
1038 if (_argo0) {
1039 if (_argo0 == Py_None) { _arg0 = NULL; }
1040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContentsItem_p")) {
1041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
1042 return NULL;
1043 }
1044 }
1045 {
1046 wxPy_BEGIN_ALLOW_THREADS;
1047 _result = (wxHtmlBookRecord *)wxHtmlContentsItem_m_Book_get(_arg0);
1048
1049 wxPy_END_ALLOW_THREADS;
1050 } if (_result) {
1051 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecord_p");
1052 _resultobj = Py_BuildValue("s",_ptemp);
1053 } else {
1054 Py_INCREF(Py_None);
1055 _resultobj = Py_None;
1056 }
1057 return _resultobj;
1058 }
1059
1060 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
1061 static PyObject *_wrap_wxHtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject * _resultobj;
1063 bool _result;
1064 wxHtmlSearchStatus * _arg0;
1065 PyObject * _argo0 = 0;
1066 char *_kwnames[] = { "self", NULL };
1067
1068 self = self;
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_Search",_kwnames,&_argo0))
1070 return NULL;
1071 if (_argo0) {
1072 if (_argo0 == Py_None) { _arg0 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
1075 return NULL;
1076 }
1077 }
1078 {
1079 wxPy_BEGIN_ALLOW_THREADS;
1080 _result = (bool )wxHtmlSearchStatus_Search(_arg0);
1081
1082 wxPy_END_ALLOW_THREADS;
1083 } _resultobj = Py_BuildValue("i",_result);
1084 return _resultobj;
1085 }
1086
1087 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
1088 static PyObject *_wrap_wxHtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
1089 PyObject * _resultobj;
1090 bool _result;
1091 wxHtmlSearchStatus * _arg0;
1092 PyObject * _argo0 = 0;
1093 char *_kwnames[] = { "self", NULL };
1094
1095 self = self;
1096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_IsActive",_kwnames,&_argo0))
1097 return NULL;
1098 if (_argo0) {
1099 if (_argo0 == Py_None) { _arg0 = NULL; }
1100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
1102 return NULL;
1103 }
1104 }
1105 {
1106 wxPy_BEGIN_ALLOW_THREADS;
1107 _result = (bool )wxHtmlSearchStatus_IsActive(_arg0);
1108
1109 wxPy_END_ALLOW_THREADS;
1110 } _resultobj = Py_BuildValue("i",_result);
1111 return _resultobj;
1112 }
1113
1114 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
1115 static PyObject *_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1116 PyObject * _resultobj;
1117 int _result;
1118 wxHtmlSearchStatus * _arg0;
1119 PyObject * _argo0 = 0;
1120 char *_kwnames[] = { "self", NULL };
1121
1122 self = self;
1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames,&_argo0))
1124 return NULL;
1125 if (_argo0) {
1126 if (_argo0 == Py_None) { _arg0 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
1129 return NULL;
1130 }
1131 }
1132 {
1133 wxPy_BEGIN_ALLOW_THREADS;
1134 _result = (int )wxHtmlSearchStatus_GetCurIndex(_arg0);
1135
1136 wxPy_END_ALLOW_THREADS;
1137 } _resultobj = Py_BuildValue("i",_result);
1138 return _resultobj;
1139 }
1140
1141 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
1142 static PyObject *_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject * _resultobj;
1144 int _result;
1145 wxHtmlSearchStatus * _arg0;
1146 PyObject * _argo0 = 0;
1147 char *_kwnames[] = { "self", NULL };
1148
1149 self = self;
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames,&_argo0))
1151 return NULL;
1152 if (_argo0) {
1153 if (_argo0 == Py_None) { _arg0 = NULL; }
1154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
1156 return NULL;
1157 }
1158 }
1159 {
1160 wxPy_BEGIN_ALLOW_THREADS;
1161 _result = (int )wxHtmlSearchStatus_GetMaxIndex(_arg0);
1162
1163 wxPy_END_ALLOW_THREADS;
1164 } _resultobj = Py_BuildValue("i",_result);
1165 return _resultobj;
1166 }
1167
1168 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
1169 static PyObject *_wrap_wxHtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject * _resultobj;
1171 wxString * _result;
1172 wxHtmlSearchStatus * _arg0;
1173 PyObject * _argo0 = 0;
1174 char *_kwnames[] = { "self", NULL };
1175
1176 self = self;
1177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetName",_kwnames,&_argo0))
1178 return NULL;
1179 if (_argo0) {
1180 if (_argo0 == Py_None) { _arg0 = NULL; }
1181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
1183 return NULL;
1184 }
1185 }
1186 {
1187 wxPy_BEGIN_ALLOW_THREADS;
1188 const wxString & _result_ref = wxHtmlSearchStatus_GetName(_arg0);
1189 _result = (wxString *) &_result_ref;
1190
1191 wxPy_END_ALLOW_THREADS;
1192 }{
1193 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1194 }
1195 return _resultobj;
1196 }
1197
1198 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
1199 static PyObject *_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject * _resultobj;
1201 wxHtmlContentsItem * _result;
1202 wxHtmlSearchStatus * _arg0;
1203 PyObject * _argo0 = 0;
1204 char *_kwnames[] = { "self", NULL };
1205 char _ptemp[128];
1206
1207 self = self;
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames,&_argo0))
1209 return NULL;
1210 if (_argo0) {
1211 if (_argo0 == Py_None) { _arg0 = NULL; }
1212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSearchStatus_p")) {
1213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
1214 return NULL;
1215 }
1216 }
1217 {
1218 wxPy_BEGIN_ALLOW_THREADS;
1219 _result = (wxHtmlContentsItem *)wxHtmlSearchStatus_GetContentsItem(_arg0);
1220
1221 wxPy_END_ALLOW_THREADS;
1222 } if (_result) {
1223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1224 _resultobj = Py_BuildValue("s",_ptemp);
1225 } else {
1226 Py_INCREF(Py_None);
1227 _resultobj = Py_None;
1228 }
1229 return _resultobj;
1230 }
1231
1232 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
1233 static PyObject *_wrap_new_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
1234 PyObject * _resultobj;
1235 wxHtmlHelpData * _result;
1236 char *_kwnames[] = { NULL };
1237 char _ptemp[128];
1238
1239 self = self;
1240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlHelpData",_kwnames))
1241 return NULL;
1242 {
1243 wxPy_BEGIN_ALLOW_THREADS;
1244 _result = (wxHtmlHelpData *)new_wxHtmlHelpData();
1245
1246 wxPy_END_ALLOW_THREADS;
1247 } if (_result) {
1248 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p");
1249 _resultobj = Py_BuildValue("s",_ptemp);
1250 } else {
1251 Py_INCREF(Py_None);
1252 _resultobj = Py_None;
1253 }
1254 return _resultobj;
1255 }
1256
1257 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
1258 static PyObject *_wrap_delete_wxHtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
1259 PyObject * _resultobj;
1260 wxHtmlHelpData * _arg0;
1261 PyObject * _argo0 = 0;
1262 char *_kwnames[] = { "self", NULL };
1263
1264 self = self;
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpData",_kwnames,&_argo0))
1266 return NULL;
1267 if (_argo0) {
1268 if (_argo0 == Py_None) { _arg0 = NULL; }
1269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
1271 return NULL;
1272 }
1273 }
1274 {
1275 wxPy_BEGIN_ALLOW_THREADS;
1276 delete_wxHtmlHelpData(_arg0);
1277
1278 wxPy_END_ALLOW_THREADS;
1279 } Py_INCREF(Py_None);
1280 _resultobj = Py_None;
1281 return _resultobj;
1282 }
1283
1284 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1285 static PyObject *_wrap_wxHtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject * _resultobj;
1287 wxHtmlHelpData * _arg0;
1288 wxString * _arg1;
1289 PyObject * _argo0 = 0;
1290 PyObject * _obj1 = 0;
1291 char *_kwnames[] = { "self","path", NULL };
1292
1293 self = self;
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_SetTempDir",_kwnames,&_argo0,&_obj1))
1295 return NULL;
1296 if (_argo0) {
1297 if (_argo0 == Py_None) { _arg0 = NULL; }
1298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
1300 return NULL;
1301 }
1302 }
1303 {
1304 #if PYTHON_API_VERSION >= 1009
1305 char* tmpPtr; int tmpSize;
1306 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1307 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1308 return NULL;
1309 }
1310 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1311 return NULL;
1312 _arg1 = new wxString(tmpPtr, tmpSize);
1313 #else
1314 if (!PyString_Check(_obj1)) {
1315 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1316 return NULL;
1317 }
1318 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1319 #endif
1320 }
1321 {
1322 wxPy_BEGIN_ALLOW_THREADS;
1323 wxHtmlHelpData_SetTempDir(_arg0,*_arg1);
1324
1325 wxPy_END_ALLOW_THREADS;
1326 } Py_INCREF(Py_None);
1327 _resultobj = Py_None;
1328 {
1329 if (_obj1)
1330 delete _arg1;
1331 }
1332 return _resultobj;
1333 }
1334
1335 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
1336 static PyObject *_wrap_wxHtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject * _resultobj;
1338 bool _result;
1339 wxHtmlHelpData * _arg0;
1340 wxString * _arg1;
1341 PyObject * _argo0 = 0;
1342 PyObject * _obj1 = 0;
1343 char *_kwnames[] = { "self","book", NULL };
1344
1345 self = self;
1346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_AddBook",_kwnames,&_argo0,&_obj1))
1347 return NULL;
1348 if (_argo0) {
1349 if (_argo0 == Py_None) { _arg0 = NULL; }
1350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1352 return NULL;
1353 }
1354 }
1355 {
1356 #if PYTHON_API_VERSION >= 1009
1357 char* tmpPtr; int tmpSize;
1358 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1359 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1360 return NULL;
1361 }
1362 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1363 return NULL;
1364 _arg1 = new wxString(tmpPtr, tmpSize);
1365 #else
1366 if (!PyString_Check(_obj1)) {
1367 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1368 return NULL;
1369 }
1370 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1371 #endif
1372 }
1373 {
1374 wxPy_BEGIN_ALLOW_THREADS;
1375 _result = (bool )wxHtmlHelpData_AddBook(_arg0,*_arg1);
1376
1377 wxPy_END_ALLOW_THREADS;
1378 } _resultobj = Py_BuildValue("i",_result);
1379 {
1380 if (_obj1)
1381 delete _arg1;
1382 }
1383 return _resultobj;
1384 }
1385
1386 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1387 static PyObject *_wrap_wxHtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1388 PyObject * _resultobj;
1389 wxString * _result;
1390 wxHtmlHelpData * _arg0;
1391 wxString * _arg1;
1392 PyObject * _argo0 = 0;
1393 PyObject * _obj1 = 0;
1394 char *_kwnames[] = { "self","page", NULL };
1395
1396 self = self;
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpData_FindPageByName",_kwnames,&_argo0,&_obj1))
1398 return NULL;
1399 if (_argo0) {
1400 if (_argo0 == Py_None) { _arg0 = NULL; }
1401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1403 return NULL;
1404 }
1405 }
1406 {
1407 #if PYTHON_API_VERSION >= 1009
1408 char* tmpPtr; int tmpSize;
1409 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1410 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1411 return NULL;
1412 }
1413 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1414 return NULL;
1415 _arg1 = new wxString(tmpPtr, tmpSize);
1416 #else
1417 if (!PyString_Check(_obj1)) {
1418 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1419 return NULL;
1420 }
1421 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1422 #endif
1423 }
1424 {
1425 wxPy_BEGIN_ALLOW_THREADS;
1426 _result = new wxString (wxHtmlHelpData_FindPageByName(_arg0,*_arg1));
1427
1428 wxPy_END_ALLOW_THREADS;
1429 }{
1430 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1431 }
1432 {
1433 if (_obj1)
1434 delete _arg1;
1435 }
1436 {
1437 delete _result;
1438 }
1439 return _resultobj;
1440 }
1441
1442 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1443 static PyObject *_wrap_wxHtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
1444 PyObject * _resultobj;
1445 wxString * _result;
1446 wxHtmlHelpData * _arg0;
1447 int _arg1;
1448 PyObject * _argo0 = 0;
1449 char *_kwnames[] = { "self","id", NULL };
1450
1451 self = self;
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpData_FindPageById",_kwnames,&_argo0,&_arg1))
1453 return NULL;
1454 if (_argo0) {
1455 if (_argo0 == Py_None) { _arg0 = NULL; }
1456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1458 return NULL;
1459 }
1460 }
1461 {
1462 wxPy_BEGIN_ALLOW_THREADS;
1463 _result = new wxString (wxHtmlHelpData_FindPageById(_arg0,_arg1));
1464
1465 wxPy_END_ALLOW_THREADS;
1466 }{
1467 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1468 }
1469 {
1470 delete _result;
1471 }
1472 return _resultobj;
1473 }
1474
1475 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1476 static PyObject *_wrap_wxHtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject * _resultobj;
1478 wxHtmlBookRecArray * _result;
1479 wxHtmlHelpData * _arg0;
1480 PyObject * _argo0 = 0;
1481 char *_kwnames[] = { "self", NULL };
1482 char _ptemp[128];
1483
1484 self = self;
1485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetBookRecArray",_kwnames,&_argo0))
1486 return NULL;
1487 if (_argo0) {
1488 if (_argo0 == Py_None) { _arg0 = NULL; }
1489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1491 return NULL;
1492 }
1493 }
1494 {
1495 wxPy_BEGIN_ALLOW_THREADS;
1496 const wxHtmlBookRecArray & _result_ref = wxHtmlHelpData_GetBookRecArray(_arg0);
1497 _result = (wxHtmlBookRecArray *) &_result_ref;
1498
1499 wxPy_END_ALLOW_THREADS;
1500 } if (_result) {
1501 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlBookRecArray_p");
1502 _resultobj = Py_BuildValue("s",_ptemp);
1503 } else {
1504 Py_INCREF(Py_None);
1505 _resultobj = Py_None;
1506 }
1507 return _resultobj;
1508 }
1509
1510 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1511 static PyObject *_wrap_wxHtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1512 PyObject * _resultobj;
1513 wxHtmlContentsItem * _result;
1514 wxHtmlHelpData * _arg0;
1515 PyObject * _argo0 = 0;
1516 char *_kwnames[] = { "self", NULL };
1517 char _ptemp[128];
1518
1519 self = self;
1520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContents",_kwnames,&_argo0))
1521 return NULL;
1522 if (_argo0) {
1523 if (_argo0 == Py_None) { _arg0 = NULL; }
1524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1526 return NULL;
1527 }
1528 }
1529 {
1530 wxPy_BEGIN_ALLOW_THREADS;
1531 _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetContents(_arg0);
1532
1533 wxPy_END_ALLOW_THREADS;
1534 } if (_result) {
1535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1536 _resultobj = Py_BuildValue("s",_ptemp);
1537 } else {
1538 Py_INCREF(Py_None);
1539 _resultobj = Py_None;
1540 }
1541 return _resultobj;
1542 }
1543
1544 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1545 static PyObject *_wrap_wxHtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
1546 PyObject * _resultobj;
1547 int _result;
1548 wxHtmlHelpData * _arg0;
1549 PyObject * _argo0 = 0;
1550 char *_kwnames[] = { "self", NULL };
1551
1552 self = self;
1553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetContentsCnt",_kwnames,&_argo0))
1554 return NULL;
1555 if (_argo0) {
1556 if (_argo0 == Py_None) { _arg0 = NULL; }
1557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1559 return NULL;
1560 }
1561 }
1562 {
1563 wxPy_BEGIN_ALLOW_THREADS;
1564 _result = (int )wxHtmlHelpData_GetContentsCnt(_arg0);
1565
1566 wxPy_END_ALLOW_THREADS;
1567 } _resultobj = Py_BuildValue("i",_result);
1568 return _resultobj;
1569 }
1570
1571 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1572 static PyObject *_wrap_wxHtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1573 PyObject * _resultobj;
1574 wxHtmlContentsItem * _result;
1575 wxHtmlHelpData * _arg0;
1576 PyObject * _argo0 = 0;
1577 char *_kwnames[] = { "self", NULL };
1578 char _ptemp[128];
1579
1580 self = self;
1581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndex",_kwnames,&_argo0))
1582 return NULL;
1583 if (_argo0) {
1584 if (_argo0 == Py_None) { _arg0 = NULL; }
1585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1587 return NULL;
1588 }
1589 }
1590 {
1591 wxPy_BEGIN_ALLOW_THREADS;
1592 _result = (wxHtmlContentsItem *)wxHtmlHelpData_GetIndex(_arg0);
1593
1594 wxPy_END_ALLOW_THREADS;
1595 } if (_result) {
1596 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContentsItem_p");
1597 _resultobj = Py_BuildValue("s",_ptemp);
1598 } else {
1599 Py_INCREF(Py_None);
1600 _resultobj = Py_None;
1601 }
1602 return _resultobj;
1603 }
1604
1605 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1606 static PyObject *_wrap_wxHtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
1607 PyObject * _resultobj;
1608 int _result;
1609 wxHtmlHelpData * _arg0;
1610 PyObject * _argo0 = 0;
1611 char *_kwnames[] = { "self", NULL };
1612
1613 self = self;
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpData_GetIndexCnt",_kwnames,&_argo0))
1615 return NULL;
1616 if (_argo0) {
1617 if (_argo0 == Py_None) { _arg0 = NULL; }
1618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpData_p")) {
1619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1620 return NULL;
1621 }
1622 }
1623 {
1624 wxPy_BEGIN_ALLOW_THREADS;
1625 _result = (int )wxHtmlHelpData_GetIndexCnt(_arg0);
1626
1627 wxPy_END_ALLOW_THREADS;
1628 } _resultobj = Py_BuildValue("i",_result);
1629 return _resultobj;
1630 }
1631
1632 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr) {
1633 wxHtmlHelpFrame *src;
1634 wxFrame *dest;
1635 src = (wxHtmlHelpFrame *) ptr;
1636 dest = (wxFrame *) src;
1637 return (void *) dest;
1638 }
1639
1640 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr) {
1641 wxHtmlHelpFrame *src;
1642 wxWindow *dest;
1643 src = (wxHtmlHelpFrame *) ptr;
1644 dest = (wxWindow *) src;
1645 return (void *) dest;
1646 }
1647
1648 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr) {
1649 wxHtmlHelpFrame *src;
1650 wxEvtHandler *dest;
1651 src = (wxHtmlHelpFrame *) ptr;
1652 dest = (wxEvtHandler *) src;
1653 return (void *) dest;
1654 }
1655
1656 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1657 static PyObject *_wrap_new_wxHtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1658 PyObject * _resultobj;
1659 wxHtmlHelpFrame * _result;
1660 wxWindow * _arg0;
1661 int _arg1;
1662 wxString * _arg2 = (wxString *) &wxEmptyString;
1663 int _arg3 = (int ) wxHF_DEFAULTSTYLE;
1664 wxHtmlHelpData * _arg4 = (wxHtmlHelpData *) NULL;
1665 PyObject * _argo0 = 0;
1666 PyObject * _obj2 = 0;
1667 PyObject * _argo4 = 0;
1668 char *_kwnames[] = { "parent","wxWindowID","title","style","data", NULL };
1669 char _ptemp[128];
1670
1671 self = self;
1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_argo4))
1673 return NULL;
1674 if (_argo0) {
1675 if (_argo0 == Py_None) { _arg0 = NULL; }
1676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1678 return NULL;
1679 }
1680 }
1681 if (_obj2)
1682 {
1683 #if PYTHON_API_VERSION >= 1009
1684 char* tmpPtr; int tmpSize;
1685 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1686 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1687 return NULL;
1688 }
1689 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1690 return NULL;
1691 _arg2 = new wxString(tmpPtr, tmpSize);
1692 #else
1693 if (!PyString_Check(_obj2)) {
1694 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1695 return NULL;
1696 }
1697 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1698 #endif
1699 }
1700 if (_argo4) {
1701 if (_argo4 == Py_None) { _arg4 = NULL; }
1702 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxHtmlHelpData_p")) {
1703 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1704 return NULL;
1705 }
1706 }
1707 {
1708 wxPy_BEGIN_ALLOW_THREADS;
1709 _result = (wxHtmlHelpFrame *)new_wxHtmlHelpFrame(_arg0,_arg1,*_arg2,_arg3,_arg4);
1710
1711 wxPy_END_ALLOW_THREADS;
1712 } if (_result) {
1713 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p");
1714 _resultobj = Py_BuildValue("s",_ptemp);
1715 } else {
1716 Py_INCREF(Py_None);
1717 _resultobj = Py_None;
1718 }
1719 {
1720 if (_obj2)
1721 delete _arg2;
1722 }
1723 return _resultobj;
1724 }
1725
1726 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1727 static PyObject *_wrap_wxHtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1728 PyObject * _resultobj;
1729 wxHtmlHelpData * _result;
1730 wxHtmlHelpFrame * _arg0;
1731 PyObject * _argo0 = 0;
1732 char *_kwnames[] = { "self", NULL };
1733 char _ptemp[128];
1734
1735 self = self;
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_GetData",_kwnames,&_argo0))
1737 return NULL;
1738 if (_argo0) {
1739 if (_argo0 == Py_None) { _arg0 = NULL; }
1740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1742 return NULL;
1743 }
1744 }
1745 {
1746 wxPy_BEGIN_ALLOW_THREADS;
1747 _result = (wxHtmlHelpData *)wxHtmlHelpFrame_GetData(_arg0);
1748
1749 wxPy_END_ALLOW_THREADS;
1750 } if (_result) {
1751 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpData_p");
1752 _resultobj = Py_BuildValue("s",_ptemp);
1753 } else {
1754 Py_INCREF(Py_None);
1755 _resultobj = Py_None;
1756 }
1757 return _resultobj;
1758 }
1759
1760 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1761 static PyObject *_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject * _resultobj;
1763 wxHtmlHelpFrame * _arg0;
1764 wxString * _arg1;
1765 PyObject * _argo0 = 0;
1766 PyObject * _obj1 = 0;
1767 char *_kwnames[] = { "self","format", NULL };
1768
1769 self = self;
1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames,&_argo0,&_obj1))
1771 return NULL;
1772 if (_argo0) {
1773 if (_argo0 == Py_None) { _arg0 = NULL; }
1774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1776 return NULL;
1777 }
1778 }
1779 {
1780 #if PYTHON_API_VERSION >= 1009
1781 char* tmpPtr; int tmpSize;
1782 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1783 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1784 return NULL;
1785 }
1786 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1787 return NULL;
1788 _arg1 = new wxString(tmpPtr, tmpSize);
1789 #else
1790 if (!PyString_Check(_obj1)) {
1791 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1792 return NULL;
1793 }
1794 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1795 #endif
1796 }
1797 {
1798 wxPy_BEGIN_ALLOW_THREADS;
1799 wxHtmlHelpFrame_SetTitleFormat(_arg0,*_arg1);
1800
1801 wxPy_END_ALLOW_THREADS;
1802 } Py_INCREF(Py_None);
1803 _resultobj = Py_None;
1804 {
1805 if (_obj1)
1806 delete _arg1;
1807 }
1808 return _resultobj;
1809 }
1810
1811 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1812 static PyObject *_wrap_wxHtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
1813 PyObject * _resultobj;
1814 wxHtmlHelpFrame * _arg0;
1815 wxString * _arg1;
1816 PyObject * _argo0 = 0;
1817 PyObject * _obj1 = 0;
1818 char *_kwnames[] = { "self","x", NULL };
1819
1820 self = self;
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_Display",_kwnames,&_argo0,&_obj1))
1822 return NULL;
1823 if (_argo0) {
1824 if (_argo0 == Py_None) { _arg0 = NULL; }
1825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1827 return NULL;
1828 }
1829 }
1830 {
1831 #if PYTHON_API_VERSION >= 1009
1832 char* tmpPtr; int tmpSize;
1833 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1834 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1835 return NULL;
1836 }
1837 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1838 return NULL;
1839 _arg1 = new wxString(tmpPtr, tmpSize);
1840 #else
1841 if (!PyString_Check(_obj1)) {
1842 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1843 return NULL;
1844 }
1845 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1846 #endif
1847 }
1848 {
1849 wxPy_BEGIN_ALLOW_THREADS;
1850 wxHtmlHelpFrame_Display(_arg0,*_arg1);
1851
1852 wxPy_END_ALLOW_THREADS;
1853 } Py_INCREF(Py_None);
1854 _resultobj = Py_None;
1855 {
1856 if (_obj1)
1857 delete _arg1;
1858 }
1859 return _resultobj;
1860 }
1861
1862 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1863 static PyObject *_wrap_wxHtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
1864 PyObject * _resultobj;
1865 wxHtmlHelpFrame * _arg0;
1866 int _arg1;
1867 PyObject * _argo0 = 0;
1868 char *_kwnames[] = { "self","id", NULL };
1869
1870 self = self;
1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames,&_argo0,&_arg1))
1872 return NULL;
1873 if (_argo0) {
1874 if (_argo0 == Py_None) { _arg0 = NULL; }
1875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1877 return NULL;
1878 }
1879 }
1880 {
1881 wxPy_BEGIN_ALLOW_THREADS;
1882 wxHtmlHelpFrame_DisplayID(_arg0,_arg1);
1883
1884 wxPy_END_ALLOW_THREADS;
1885 } Py_INCREF(Py_None);
1886 _resultobj = Py_None;
1887 return _resultobj;
1888 }
1889
1890 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1891 static PyObject *_wrap_wxHtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject * _resultobj;
1893 wxHtmlHelpFrame * _arg0;
1894 PyObject * _argo0 = 0;
1895 char *_kwnames[] = { "self", NULL };
1896
1897 self = self;
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayContents",_kwnames,&_argo0))
1899 return NULL;
1900 if (_argo0) {
1901 if (_argo0 == Py_None) { _arg0 = NULL; }
1902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1904 return NULL;
1905 }
1906 }
1907 {
1908 wxPy_BEGIN_ALLOW_THREADS;
1909 wxHtmlHelpFrame_DisplayContents(_arg0);
1910
1911 wxPy_END_ALLOW_THREADS;
1912 } Py_INCREF(Py_None);
1913 _resultobj = Py_None;
1914 return _resultobj;
1915 }
1916
1917 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1918 static PyObject *_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
1919 PyObject * _resultobj;
1920 wxHtmlHelpFrame * _arg0;
1921 PyObject * _argo0 = 0;
1922 char *_kwnames[] = { "self", NULL };
1923
1924 self = self;
1925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames,&_argo0))
1926 return NULL;
1927 if (_argo0) {
1928 if (_argo0 == Py_None) { _arg0 = NULL; }
1929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1931 return NULL;
1932 }
1933 }
1934 {
1935 wxPy_BEGIN_ALLOW_THREADS;
1936 wxHtmlHelpFrame_DisplayIndex(_arg0);
1937
1938 wxPy_END_ALLOW_THREADS;
1939 } Py_INCREF(Py_None);
1940 _resultobj = Py_None;
1941 return _resultobj;
1942 }
1943
1944 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1945 static PyObject *_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject * _resultobj;
1947 bool _result;
1948 wxHtmlHelpFrame * _arg0;
1949 wxString * _arg1;
1950 PyObject * _argo0 = 0;
1951 PyObject * _obj1 = 0;
1952 char *_kwnames[] = { "self","keyword", NULL };
1953
1954 self = self;
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames,&_argo0,&_obj1))
1956 return NULL;
1957 if (_argo0) {
1958 if (_argo0 == Py_None) { _arg0 = NULL; }
1959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
1960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1961 return NULL;
1962 }
1963 }
1964 {
1965 #if PYTHON_API_VERSION >= 1009
1966 char* tmpPtr; int tmpSize;
1967 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1968 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1969 return NULL;
1970 }
1971 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1972 return NULL;
1973 _arg1 = new wxString(tmpPtr, tmpSize);
1974 #else
1975 if (!PyString_Check(_obj1)) {
1976 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1977 return NULL;
1978 }
1979 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1980 #endif
1981 }
1982 {
1983 wxPy_BEGIN_ALLOW_THREADS;
1984 _result = (bool )wxHtmlHelpFrame_KeywordSearch(_arg0,*_arg1);
1985
1986 wxPy_END_ALLOW_THREADS;
1987 } _resultobj = Py_BuildValue("i",_result);
1988 {
1989 if (_obj1)
1990 delete _arg1;
1991 }
1992 return _resultobj;
1993 }
1994
1995 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1996 static PyObject *_wrap_wxHtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject * _resultobj;
1998 wxHtmlHelpFrame * _arg0;
1999 wxConfigBase * _arg1;
2000 wxString * _arg2 = (wxString *) &wxEmptyString;
2001 PyObject * _argo0 = 0;
2002 PyObject * _argo1 = 0;
2003 PyObject * _obj2 = 0;
2004 char *_kwnames[] = { "self","config","rootpath", NULL };
2005
2006 self = self;
2007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
2008 return NULL;
2009 if (_argo0) {
2010 if (_argo0 == Py_None) { _arg0 = NULL; }
2011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
2012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
2013 return NULL;
2014 }
2015 }
2016 if (_argo1) {
2017 if (_argo1 == Py_None) { _arg1 = NULL; }
2018 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2019 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
2020 return NULL;
2021 }
2022 }
2023 if (_obj2)
2024 {
2025 #if PYTHON_API_VERSION >= 1009
2026 char* tmpPtr; int tmpSize;
2027 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2028 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2029 return NULL;
2030 }
2031 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2032 return NULL;
2033 _arg2 = new wxString(tmpPtr, tmpSize);
2034 #else
2035 if (!PyString_Check(_obj2)) {
2036 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2037 return NULL;
2038 }
2039 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2040 #endif
2041 }
2042 {
2043 wxPy_BEGIN_ALLOW_THREADS;
2044 wxHtmlHelpFrame_UseConfig(_arg0,_arg1,*_arg2);
2045
2046 wxPy_END_ALLOW_THREADS;
2047 } Py_INCREF(Py_None);
2048 _resultobj = Py_None;
2049 {
2050 if (_obj2)
2051 delete _arg2;
2052 }
2053 return _resultobj;
2054 }
2055
2056 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2057 static PyObject *_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject * _resultobj;
2059 wxHtmlHelpFrame * _arg0;
2060 wxConfigBase * _arg1;
2061 wxString * _arg2 = (wxString *) &wxEmptyString;
2062 PyObject * _argo0 = 0;
2063 PyObject * _argo1 = 0;
2064 PyObject * _obj2 = 0;
2065 char *_kwnames[] = { "self","cfg","path", NULL };
2066
2067 self = self;
2068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2069 return NULL;
2070 if (_argo0) {
2071 if (_argo0 == Py_None) { _arg0 = NULL; }
2072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
2073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
2074 return NULL;
2075 }
2076 }
2077 if (_argo1) {
2078 if (_argo1 == Py_None) { _arg1 = NULL; }
2079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
2081 return NULL;
2082 }
2083 }
2084 if (_obj2)
2085 {
2086 #if PYTHON_API_VERSION >= 1009
2087 char* tmpPtr; int tmpSize;
2088 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2089 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2090 return NULL;
2091 }
2092 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2093 return NULL;
2094 _arg2 = new wxString(tmpPtr, tmpSize);
2095 #else
2096 if (!PyString_Check(_obj2)) {
2097 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2098 return NULL;
2099 }
2100 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2101 #endif
2102 }
2103 {
2104 wxPy_BEGIN_ALLOW_THREADS;
2105 wxHtmlHelpFrame_ReadCustomization(_arg0,_arg1,*_arg2);
2106
2107 wxPy_END_ALLOW_THREADS;
2108 } Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 {
2111 if (_obj2)
2112 delete _arg2;
2113 }
2114 return _resultobj;
2115 }
2116
2117 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2118 static PyObject *_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject * _resultobj;
2120 wxHtmlHelpFrame * _arg0;
2121 wxConfigBase * _arg1;
2122 wxString * _arg2 = (wxString *) &wxEmptyString;
2123 PyObject * _argo0 = 0;
2124 PyObject * _argo1 = 0;
2125 PyObject * _obj2 = 0;
2126 char *_kwnames[] = { "self","cfg","path", NULL };
2127
2128 self = self;
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2130 return NULL;
2131 if (_argo0) {
2132 if (_argo0 == Py_None) { _arg0 = NULL; }
2133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpFrame_p")) {
2134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
2135 return NULL;
2136 }
2137 }
2138 if (_argo1) {
2139 if (_argo1 == Py_None) { _arg1 = NULL; }
2140 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2141 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
2142 return NULL;
2143 }
2144 }
2145 if (_obj2)
2146 {
2147 #if PYTHON_API_VERSION >= 1009
2148 char* tmpPtr; int tmpSize;
2149 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2150 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2151 return NULL;
2152 }
2153 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2154 return NULL;
2155 _arg2 = new wxString(tmpPtr, tmpSize);
2156 #else
2157 if (!PyString_Check(_obj2)) {
2158 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2159 return NULL;
2160 }
2161 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2162 #endif
2163 }
2164 {
2165 wxPy_BEGIN_ALLOW_THREADS;
2166 wxHtmlHelpFrame_WriteCustomization(_arg0,_arg1,*_arg2);
2167
2168 wxPy_END_ALLOW_THREADS;
2169 } Py_INCREF(Py_None);
2170 _resultobj = Py_None;
2171 {
2172 if (_obj2)
2173 delete _arg2;
2174 }
2175 return _resultobj;
2176 }
2177
2178 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr) {
2179 wxHtmlHelpController *src;
2180 wxEvtHandler *dest;
2181 src = (wxHtmlHelpController *) ptr;
2182 dest = (wxEvtHandler *) src;
2183 return (void *) dest;
2184 }
2185
2186 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
2187 static PyObject *_wrap_new_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
2188 PyObject * _resultobj;
2189 wxHtmlHelpController * _result;
2190 int _arg0 = (int ) (wxHF_DEFAULTSTYLE);
2191 char *_kwnames[] = { "style", NULL };
2192 char _ptemp[128];
2193
2194 self = self;
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxHtmlHelpController",_kwnames,&_arg0))
2196 return NULL;
2197 {
2198 wxPy_BEGIN_ALLOW_THREADS;
2199 _result = (wxHtmlHelpController *)new_wxHtmlHelpController(_arg0);
2200
2201 wxPy_END_ALLOW_THREADS;
2202 } if (_result) {
2203 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpController_p");
2204 _resultobj = Py_BuildValue("s",_ptemp);
2205 } else {
2206 Py_INCREF(Py_None);
2207 _resultobj = Py_None;
2208 }
2209 return _resultobj;
2210 }
2211
2212 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
2213 static PyObject *_wrap_delete_wxHtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
2214 PyObject * _resultobj;
2215 wxHtmlHelpController * _arg0;
2216 PyObject * _argo0 = 0;
2217 char *_kwnames[] = { "self", NULL };
2218
2219 self = self;
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlHelpController",_kwnames,&_argo0))
2221 return NULL;
2222 if (_argo0) {
2223 if (_argo0 == Py_None) { _arg0 = NULL; }
2224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
2226 return NULL;
2227 }
2228 }
2229 {
2230 wxPy_BEGIN_ALLOW_THREADS;
2231 delete_wxHtmlHelpController(_arg0);
2232
2233 wxPy_END_ALLOW_THREADS;
2234 } Py_INCREF(Py_None);
2235 _resultobj = Py_None;
2236 return _resultobj;
2237 }
2238
2239 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
2240 static PyObject *_wrap_wxHtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
2241 PyObject * _resultobj;
2242 wxHtmlHelpController * _arg0;
2243 wxString * _arg1;
2244 PyObject * _argo0 = 0;
2245 PyObject * _obj1 = 0;
2246 char *_kwnames[] = { "self","format", NULL };
2247
2248 self = self;
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames,&_argo0,&_obj1))
2250 return NULL;
2251 if (_argo0) {
2252 if (_argo0 == Py_None) { _arg0 = NULL; }
2253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
2255 return NULL;
2256 }
2257 }
2258 {
2259 #if PYTHON_API_VERSION >= 1009
2260 char* tmpPtr; int tmpSize;
2261 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2262 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2263 return NULL;
2264 }
2265 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2266 return NULL;
2267 _arg1 = new wxString(tmpPtr, tmpSize);
2268 #else
2269 if (!PyString_Check(_obj1)) {
2270 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2271 return NULL;
2272 }
2273 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2274 #endif
2275 }
2276 {
2277 wxPy_BEGIN_ALLOW_THREADS;
2278 wxHtmlHelpController_SetTitleFormat(_arg0,*_arg1);
2279
2280 wxPy_END_ALLOW_THREADS;
2281 } Py_INCREF(Py_None);
2282 _resultobj = Py_None;
2283 {
2284 if (_obj1)
2285 delete _arg1;
2286 }
2287 return _resultobj;
2288 }
2289
2290 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
2291 static PyObject *_wrap_wxHtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2292 PyObject * _resultobj;
2293 wxHtmlHelpController * _arg0;
2294 wxString * _arg1;
2295 PyObject * _argo0 = 0;
2296 PyObject * _obj1 = 0;
2297 char *_kwnames[] = { "self","path", NULL };
2298
2299 self = self;
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_SetTempDir",_kwnames,&_argo0,&_obj1))
2301 return NULL;
2302 if (_argo0) {
2303 if (_argo0 == Py_None) { _arg0 = NULL; }
2304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
2306 return NULL;
2307 }
2308 }
2309 {
2310 #if PYTHON_API_VERSION >= 1009
2311 char* tmpPtr; int tmpSize;
2312 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2313 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2314 return NULL;
2315 }
2316 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2317 return NULL;
2318 _arg1 = new wxString(tmpPtr, tmpSize);
2319 #else
2320 if (!PyString_Check(_obj1)) {
2321 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2322 return NULL;
2323 }
2324 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2325 #endif
2326 }
2327 {
2328 wxPy_BEGIN_ALLOW_THREADS;
2329 wxHtmlHelpController_SetTempDir(_arg0,*_arg1);
2330
2331 wxPy_END_ALLOW_THREADS;
2332 } Py_INCREF(Py_None);
2333 _resultobj = Py_None;
2334 {
2335 if (_obj1)
2336 delete _arg1;
2337 }
2338 return _resultobj;
2339 }
2340
2341 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
2342 static PyObject *_wrap_wxHtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject * _resultobj;
2344 bool _result;
2345 wxHtmlHelpController * _arg0;
2346 wxString * _arg1;
2347 int _arg2 = (int ) FALSE;
2348 PyObject * _argo0 = 0;
2349 PyObject * _obj1 = 0;
2350 char *_kwnames[] = { "self","book","show_wait_msg", NULL };
2351
2352 self = self;
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlHelpController_AddBook",_kwnames,&_argo0,&_obj1,&_arg2))
2354 return NULL;
2355 if (_argo0) {
2356 if (_argo0 == Py_None) { _arg0 = NULL; }
2357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
2359 return NULL;
2360 }
2361 }
2362 {
2363 #if PYTHON_API_VERSION >= 1009
2364 char* tmpPtr; int tmpSize;
2365 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2366 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2367 return NULL;
2368 }
2369 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2370 return NULL;
2371 _arg1 = new wxString(tmpPtr, tmpSize);
2372 #else
2373 if (!PyString_Check(_obj1)) {
2374 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2375 return NULL;
2376 }
2377 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2378 #endif
2379 }
2380 {
2381 wxPy_BEGIN_ALLOW_THREADS;
2382 _result = (bool )wxHtmlHelpController_AddBook(_arg0,*_arg1,_arg2);
2383
2384 wxPy_END_ALLOW_THREADS;
2385 } _resultobj = Py_BuildValue("i",_result);
2386 {
2387 if (_obj1)
2388 delete _arg1;
2389 }
2390 return _resultobj;
2391 }
2392
2393 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2394 static PyObject *_wrap_wxHtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
2395 PyObject * _resultobj;
2396 wxHtmlHelpController * _arg0;
2397 wxString * _arg1;
2398 PyObject * _argo0 = 0;
2399 PyObject * _obj1 = 0;
2400 char *_kwnames[] = { "self","x", NULL };
2401
2402 self = self;
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_Display",_kwnames,&_argo0,&_obj1))
2404 return NULL;
2405 if (_argo0) {
2406 if (_argo0 == Py_None) { _arg0 = NULL; }
2407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
2409 return NULL;
2410 }
2411 }
2412 {
2413 #if PYTHON_API_VERSION >= 1009
2414 char* tmpPtr; int tmpSize;
2415 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2416 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2417 return NULL;
2418 }
2419 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2420 return NULL;
2421 _arg1 = new wxString(tmpPtr, tmpSize);
2422 #else
2423 if (!PyString_Check(_obj1)) {
2424 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2425 return NULL;
2426 }
2427 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2428 #endif
2429 }
2430 {
2431 wxPy_BEGIN_ALLOW_THREADS;
2432 wxHtmlHelpController_Display(_arg0,*_arg1);
2433
2434 wxPy_END_ALLOW_THREADS;
2435 } Py_INCREF(Py_None);
2436 _resultobj = Py_None;
2437 {
2438 if (_obj1)
2439 delete _arg1;
2440 }
2441 return _resultobj;
2442 }
2443
2444 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2445 static PyObject *_wrap_wxHtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
2446 PyObject * _resultobj;
2447 wxHtmlHelpController * _arg0;
2448 int _arg1;
2449 PyObject * _argo0 = 0;
2450 char *_kwnames[] = { "self","id", NULL };
2451
2452 self = self;
2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlHelpController_DisplayID",_kwnames,&_argo0,&_arg1))
2454 return NULL;
2455 if (_argo0) {
2456 if (_argo0 == Py_None) { _arg0 = NULL; }
2457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2459 return NULL;
2460 }
2461 }
2462 {
2463 wxPy_BEGIN_ALLOW_THREADS;
2464 wxHtmlHelpController_DisplayID(_arg0,_arg1);
2465
2466 wxPy_END_ALLOW_THREADS;
2467 } Py_INCREF(Py_None);
2468 _resultobj = Py_None;
2469 return _resultobj;
2470 }
2471
2472 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2473 static PyObject *_wrap_wxHtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject * _resultobj;
2475 wxHtmlHelpController * _arg0;
2476 PyObject * _argo0 = 0;
2477 char *_kwnames[] = { "self", NULL };
2478
2479 self = self;
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayContents",_kwnames,&_argo0))
2481 return NULL;
2482 if (_argo0) {
2483 if (_argo0 == Py_None) { _arg0 = NULL; }
2484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2486 return NULL;
2487 }
2488 }
2489 {
2490 wxPy_BEGIN_ALLOW_THREADS;
2491 wxHtmlHelpController_DisplayContents(_arg0);
2492
2493 wxPy_END_ALLOW_THREADS;
2494 } Py_INCREF(Py_None);
2495 _resultobj = Py_None;
2496 return _resultobj;
2497 }
2498
2499 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2500 static PyObject *_wrap_wxHtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject * _resultobj;
2502 wxHtmlHelpController * _arg0;
2503 PyObject * _argo0 = 0;
2504 char *_kwnames[] = { "self", NULL };
2505
2506 self = self;
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_DisplayIndex",_kwnames,&_argo0))
2508 return NULL;
2509 if (_argo0) {
2510 if (_argo0 == Py_None) { _arg0 = NULL; }
2511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2513 return NULL;
2514 }
2515 }
2516 {
2517 wxPy_BEGIN_ALLOW_THREADS;
2518 wxHtmlHelpController_DisplayIndex(_arg0);
2519
2520 wxPy_END_ALLOW_THREADS;
2521 } Py_INCREF(Py_None);
2522 _resultobj = Py_None;
2523 return _resultobj;
2524 }
2525
2526 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2527 static PyObject *_wrap_wxHtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject * _resultobj;
2529 bool _result;
2530 wxHtmlHelpController * _arg0;
2531 wxString * _arg1;
2532 PyObject * _argo0 = 0;
2533 PyObject * _obj1 = 0;
2534 char *_kwnames[] = { "self","keyword", NULL };
2535
2536 self = self;
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlHelpController_KeywordSearch",_kwnames,&_argo0,&_obj1))
2538 return NULL;
2539 if (_argo0) {
2540 if (_argo0 == Py_None) { _arg0 = NULL; }
2541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2543 return NULL;
2544 }
2545 }
2546 {
2547 #if PYTHON_API_VERSION >= 1009
2548 char* tmpPtr; int tmpSize;
2549 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2550 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2551 return NULL;
2552 }
2553 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2554 return NULL;
2555 _arg1 = new wxString(tmpPtr, tmpSize);
2556 #else
2557 if (!PyString_Check(_obj1)) {
2558 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2559 return NULL;
2560 }
2561 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2562 #endif
2563 }
2564 {
2565 wxPy_BEGIN_ALLOW_THREADS;
2566 _result = (bool )wxHtmlHelpController_KeywordSearch(_arg0,*_arg1);
2567
2568 wxPy_END_ALLOW_THREADS;
2569 } _resultobj = Py_BuildValue("i",_result);
2570 {
2571 if (_obj1)
2572 delete _arg1;
2573 }
2574 return _resultobj;
2575 }
2576
2577 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2578 static PyObject *_wrap_wxHtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
2579 PyObject * _resultobj;
2580 wxHtmlHelpController * _arg0;
2581 wxConfigBase * _arg1;
2582 wxString * _arg2 = (wxString *) &wxEmptyString;
2583 PyObject * _argo0 = 0;
2584 PyObject * _argo1 = 0;
2585 PyObject * _obj2 = 0;
2586 char *_kwnames[] = { "self","config","rootpath", NULL };
2587
2588 self = self;
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_UseConfig",_kwnames,&_argo0,&_argo1,&_obj2))
2590 return NULL;
2591 if (_argo0) {
2592 if (_argo0 == Py_None) { _arg0 = NULL; }
2593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2595 return NULL;
2596 }
2597 }
2598 if (_argo1) {
2599 if (_argo1 == Py_None) { _arg1 = NULL; }
2600 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2601 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2602 return NULL;
2603 }
2604 }
2605 if (_obj2)
2606 {
2607 #if PYTHON_API_VERSION >= 1009
2608 char* tmpPtr; int tmpSize;
2609 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2610 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2611 return NULL;
2612 }
2613 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2614 return NULL;
2615 _arg2 = new wxString(tmpPtr, tmpSize);
2616 #else
2617 if (!PyString_Check(_obj2)) {
2618 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2619 return NULL;
2620 }
2621 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2622 #endif
2623 }
2624 {
2625 wxPy_BEGIN_ALLOW_THREADS;
2626 wxHtmlHelpController_UseConfig(_arg0,_arg1,*_arg2);
2627
2628 wxPy_END_ALLOW_THREADS;
2629 } Py_INCREF(Py_None);
2630 _resultobj = Py_None;
2631 {
2632 if (_obj2)
2633 delete _arg2;
2634 }
2635 return _resultobj;
2636 }
2637
2638 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2639 static PyObject *_wrap_wxHtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2640 PyObject * _resultobj;
2641 wxHtmlHelpController * _arg0;
2642 wxConfigBase * _arg1;
2643 wxString * _arg2 = (wxString *) &wxEmptyString;
2644 PyObject * _argo0 = 0;
2645 PyObject * _argo1 = 0;
2646 PyObject * _obj2 = 0;
2647 char *_kwnames[] = { "self","cfg","path", NULL };
2648
2649 self = self;
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2651 return NULL;
2652 if (_argo0) {
2653 if (_argo0 == Py_None) { _arg0 = NULL; }
2654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2656 return NULL;
2657 }
2658 }
2659 if (_argo1) {
2660 if (_argo1 == Py_None) { _arg1 = NULL; }
2661 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2662 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2663 return NULL;
2664 }
2665 }
2666 if (_obj2)
2667 {
2668 #if PYTHON_API_VERSION >= 1009
2669 char* tmpPtr; int tmpSize;
2670 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2671 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2672 return NULL;
2673 }
2674 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2675 return NULL;
2676 _arg2 = new wxString(tmpPtr, tmpSize);
2677 #else
2678 if (!PyString_Check(_obj2)) {
2679 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2680 return NULL;
2681 }
2682 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2683 #endif
2684 }
2685 {
2686 wxPy_BEGIN_ALLOW_THREADS;
2687 wxHtmlHelpController_ReadCustomization(_arg0,_arg1,*_arg2);
2688
2689 wxPy_END_ALLOW_THREADS;
2690 } Py_INCREF(Py_None);
2691 _resultobj = Py_None;
2692 {
2693 if (_obj2)
2694 delete _arg2;
2695 }
2696 return _resultobj;
2697 }
2698
2699 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2700 static PyObject *_wrap_wxHtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject * _resultobj;
2702 wxHtmlHelpController * _arg0;
2703 wxConfigBase * _arg1;
2704 wxString * _arg2 = (wxString *) &wxEmptyString;
2705 PyObject * _argo0 = 0;
2706 PyObject * _argo1 = 0;
2707 PyObject * _obj2 = 0;
2708 char *_kwnames[] = { "self","cfg","path", NULL };
2709
2710 self = self;
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
2712 return NULL;
2713 if (_argo0) {
2714 if (_argo0 == Py_None) { _arg0 = NULL; }
2715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2717 return NULL;
2718 }
2719 }
2720 if (_argo1) {
2721 if (_argo1 == Py_None) { _arg1 = NULL; }
2722 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2723 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2724 return NULL;
2725 }
2726 }
2727 if (_obj2)
2728 {
2729 #if PYTHON_API_VERSION >= 1009
2730 char* tmpPtr; int tmpSize;
2731 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2732 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2733 return NULL;
2734 }
2735 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2736 return NULL;
2737 _arg2 = new wxString(tmpPtr, tmpSize);
2738 #else
2739 if (!PyString_Check(_obj2)) {
2740 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2741 return NULL;
2742 }
2743 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2744 #endif
2745 }
2746 {
2747 wxPy_BEGIN_ALLOW_THREADS;
2748 wxHtmlHelpController_WriteCustomization(_arg0,_arg1,*_arg2);
2749
2750 wxPy_END_ALLOW_THREADS;
2751 } Py_INCREF(Py_None);
2752 _resultobj = Py_None;
2753 {
2754 if (_obj2)
2755 delete _arg2;
2756 }
2757 return _resultobj;
2758 }
2759
2760 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2761 static PyObject *_wrap_wxHtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject * _resultobj;
2763 wxHtmlHelpFrame * _result;
2764 wxHtmlHelpController * _arg0;
2765 PyObject * _argo0 = 0;
2766 char *_kwnames[] = { "self", NULL };
2767 char _ptemp[128];
2768
2769 self = self;
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlHelpController_GetFrame",_kwnames,&_argo0))
2771 return NULL;
2772 if (_argo0) {
2773 if (_argo0 == Py_None) { _arg0 = NULL; }
2774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
2775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2776 return NULL;
2777 }
2778 }
2779 {
2780 wxPy_BEGIN_ALLOW_THREADS;
2781 _result = (wxHtmlHelpFrame *)wxHtmlHelpController_GetFrame(_arg0);
2782
2783 wxPy_END_ALLOW_THREADS;
2784 } if (_result) {
2785 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpFrame_p");
2786 _resultobj = Py_BuildValue("s",_ptemp);
2787 } else {
2788 Py_INCREF(Py_None);
2789 _resultobj = Py_None;
2790 }
2791 return _resultobj;
2792 }
2793
2794 static PyMethodDef htmlhelpcMethods[] = {
2795 { "wxHtmlHelpController_GetFrame", (PyCFunction) _wrap_wxHtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
2796 { "wxHtmlHelpController_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
2797 { "wxHtmlHelpController_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
2798 { "wxHtmlHelpController_UseConfig", (PyCFunction) _wrap_wxHtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
2799 { "wxHtmlHelpController_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
2800 { "wxHtmlHelpController_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
2801 { "wxHtmlHelpController_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
2802 { "wxHtmlHelpController_DisplayID", (PyCFunction) _wrap_wxHtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
2803 { "wxHtmlHelpController_Display", (PyCFunction) _wrap_wxHtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
2804 { "wxHtmlHelpController_AddBook", (PyCFunction) _wrap_wxHtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
2805 { "wxHtmlHelpController_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
2806 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
2807 { "delete_wxHtmlHelpController", (PyCFunction) _wrap_delete_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
2808 { "new_wxHtmlHelpController", (PyCFunction) _wrap_new_wxHtmlHelpController, METH_VARARGS | METH_KEYWORDS },
2809 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
2810 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_wxHtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
2811 { "wxHtmlHelpFrame_UseConfig", (PyCFunction) _wrap_wxHtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
2812 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_wxHtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
2813 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
2814 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
2815 { "wxHtmlHelpFrame_DisplayID", (PyCFunction) _wrap_wxHtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
2816 { "wxHtmlHelpFrame_Display", (PyCFunction) _wrap_wxHtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
2817 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_wxHtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
2818 { "wxHtmlHelpFrame_GetData", (PyCFunction) _wrap_wxHtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
2819 { "new_wxHtmlHelpFrame", (PyCFunction) _wrap_new_wxHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
2820 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
2821 { "wxHtmlHelpData_GetIndex", (PyCFunction) _wrap_wxHtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
2822 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_wxHtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
2823 { "wxHtmlHelpData_GetContents", (PyCFunction) _wrap_wxHtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
2824 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_wxHtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
2825 { "wxHtmlHelpData_FindPageById", (PyCFunction) _wrap_wxHtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
2826 { "wxHtmlHelpData_FindPageByName", (PyCFunction) _wrap_wxHtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
2827 { "wxHtmlHelpData_AddBook", (PyCFunction) _wrap_wxHtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
2828 { "wxHtmlHelpData_SetTempDir", (PyCFunction) _wrap_wxHtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
2829 { "delete_wxHtmlHelpData", (PyCFunction) _wrap_delete_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS },
2830 { "new_wxHtmlHelpData", (PyCFunction) _wrap_new_wxHtmlHelpData, METH_VARARGS | METH_KEYWORDS },
2831 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_wxHtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
2832 { "wxHtmlSearchStatus_GetName", (PyCFunction) _wrap_wxHtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
2833 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
2834 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_wxHtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
2835 { "wxHtmlSearchStatus_IsActive", (PyCFunction) _wrap_wxHtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
2836 { "wxHtmlSearchStatus_Search", (PyCFunction) _wrap_wxHtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
2837 { "wxHtmlContentsItem_m_Book_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Book_get, METH_VARARGS | METH_KEYWORDS },
2838 { "wxHtmlContentsItem_m_Book_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Book_set, METH_VARARGS | METH_KEYWORDS },
2839 { "wxHtmlContentsItem_m_Page_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Page_get, METH_VARARGS | METH_KEYWORDS },
2840 { "wxHtmlContentsItem_m_Page_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Page_set, METH_VARARGS | METH_KEYWORDS },
2841 { "wxHtmlContentsItem_m_Name_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Name_get, METH_VARARGS | METH_KEYWORDS },
2842 { "wxHtmlContentsItem_m_Name_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Name_set, METH_VARARGS | METH_KEYWORDS },
2843 { "wxHtmlContentsItem_m_ID_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_ID_get, METH_VARARGS | METH_KEYWORDS },
2844 { "wxHtmlContentsItem_m_ID_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_ID_set, METH_VARARGS | METH_KEYWORDS },
2845 { "wxHtmlContentsItem_m_Level_get", (PyCFunction) _wrap_wxHtmlContentsItem_m_Level_get, METH_VARARGS | METH_KEYWORDS },
2846 { "wxHtmlContentsItem_m_Level_set", (PyCFunction) _wrap_wxHtmlContentsItem_m_Level_set, METH_VARARGS | METH_KEYWORDS },
2847 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
2848 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
2849 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_wxHtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
2850 { "wxHtmlBookRecord_GetBasePath", (PyCFunction) _wrap_wxHtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
2851 { "wxHtmlBookRecord_GetStart", (PyCFunction) _wrap_wxHtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
2852 { "wxHtmlBookRecord_GetTitle", (PyCFunction) _wrap_wxHtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
2853 { "new_wxHtmlBookRecord", (PyCFunction) _wrap_new_wxHtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
2854 { "wxHtmlHelpFrameCfg_navig_on_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_navig_on_get, METH_VARARGS | METH_KEYWORDS },
2855 { "wxHtmlHelpFrameCfg_navig_on_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_navig_on_set, METH_VARARGS | METH_KEYWORDS },
2856 { "wxHtmlHelpFrameCfg_sashpos_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_sashpos_get, METH_VARARGS | METH_KEYWORDS },
2857 { "wxHtmlHelpFrameCfg_sashpos_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_sashpos_set, METH_VARARGS | METH_KEYWORDS },
2858 { "wxHtmlHelpFrameCfg_h_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_h_get, METH_VARARGS | METH_KEYWORDS },
2859 { "wxHtmlHelpFrameCfg_h_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_h_set, METH_VARARGS | METH_KEYWORDS },
2860 { "wxHtmlHelpFrameCfg_w_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_w_get, METH_VARARGS | METH_KEYWORDS },
2861 { "wxHtmlHelpFrameCfg_w_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_w_set, METH_VARARGS | METH_KEYWORDS },
2862 { "wxHtmlHelpFrameCfg_y_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_y_get, METH_VARARGS | METH_KEYWORDS },
2863 { "wxHtmlHelpFrameCfg_y_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_y_set, METH_VARARGS | METH_KEYWORDS },
2864 { "wxHtmlHelpFrameCfg_x_get", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_x_get, METH_VARARGS | METH_KEYWORDS },
2865 { "wxHtmlHelpFrameCfg_x_set", (PyCFunction) _wrap_wxHtmlHelpFrameCfg_x_set, METH_VARARGS | METH_KEYWORDS },
2866 { "new_wxHtmlHelpFrameCfg", (PyCFunction) _wrap_new_wxHtmlHelpFrameCfg, METH_VARARGS | METH_KEYWORDS },
2867 { NULL, NULL }
2868 };
2869 #ifdef __cplusplus
2870 }
2871 #endif
2872 /*
2873 * This table is used by the pointer type-checker
2874 */
2875 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2876 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2877 { "_wxEvent","_class_wxEvent",0},
2878 { "_class_wxActivateEvent","_wxActivateEvent",0},
2879 { "_class_wxHtmlParser","_wxHtmlParser",0},
2880 { "_signed_long","_long",0},
2881 { "_wxMenuEvent","_class_wxMenuEvent",0},
2882 { "_class_wxProcessEvent","_wxProcessEvent",0},
2883 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
2884 { "_class_wxFSFile","_wxFSFile",0},
2885 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2886 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2887 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2888 { "_wxBMPHandler","_class_wxBMPHandler",0},
2889 { "_wxImage","_class_wxImage",0},
2890 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
2891 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
2892 { "_class_wxDateTime","_wxDateTime",0},
2893 { "_wxPrintQuality","_wxCoord",0},
2894 { "_wxPrintQuality","_int",0},
2895 { "_wxPrintQuality","_signed_int",0},
2896 { "_wxPrintQuality","_unsigned_int",0},
2897 { "_wxPrintQuality","_wxWindowID",0},
2898 { "_wxPrintQuality","_uint",0},
2899 { "_wxPrintQuality","_EBool",0},
2900 { "_wxPrintQuality","_size_t",0},
2901 { "_wxPrintQuality","_time_t",0},
2902 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2903 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2904 { "_wxFontData","_class_wxFontData",0},
2905 { "_class_wxRegionIterator","_wxRegionIterator",0},
2906 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2907 { "_class_wxMenuBar","_wxMenuBar",0},
2908 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
2909 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
2910 { "_class_wxHtmlDCRenderer","_wxHtmlDCRenderer",0},
2911 { "_wxHtmlHelpData","_class_wxHtmlHelpData",0},
2912 { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2913 { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2914 { "_class_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2915 { "_class_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
2916 { "_class_wxEvtHandler","_wxEvtHandler",0},
2917 { "_wxPaintEvent","_class_wxPaintEvent",0},
2918 { "_wxGIFHandler","_class_wxGIFHandler",0},
2919 { "_wxPySizer","_class_wxPySizer",0},
2920 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
2921 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2922 { "_wxCursor","_class_wxCursor",0},
2923 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2924 { "_wxPyProcess","_class_wxPyProcess",0},
2925 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
2926 { "_wxImageHandler","_class_wxImageHandler",0},
2927 { "_wxHtmlWidgetCell","_class_wxHtmlWidgetCell",0},
2928 { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0},
2929 { "_wxLog","_class_wxLog",0},
2930 { "_class_wxToolBarBase","_wxToolBarBase",0},
2931 { "_wxMask","_class_wxMask",0},
2932 { "_wxToolTip","_class_wxToolTip",0},
2933 { "_wxPNGHandler","_class_wxPNGHandler",0},
2934 { "_class_wxHtmlEasyPrinting","_wxHtmlEasyPrinting",0},
2935 { "_class_wxColourData","_wxColourData",0},
2936 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
2937 { "_wxPrinter","_class_wxPrinter",0},
2938 { "_class_wxHtmlHelpController","_wxHtmlHelpController",0},
2939 { "_wxPen","_class_wxPen",0},
2940 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2941 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
2942 { "_wxHtmlColourCell","_class_wxHtmlColourCell",0},
2943 { "_byte","_unsigned_char",0},
2944 { "_wxDataObject","_class_wxDataObject",0},
2945 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
2946 { "_wxStaticBox","_class_wxStaticBox",0},
2947 { "_wxColourDatabase","_class_wxColourDatabase",0},
2948 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2949 { "_wxPyDropSource","_class_wxPyDropSource",0},
2950 { "_wxChoice","_class_wxChoice",0},
2951 { "_wxSlider","_class_wxSlider",0},
2952 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
2953 { "_wxPyPrintout","_class_wxPyPrintout",0},
2954 { "_long","_unsigned_long",0},
2955 { "_long","_signed_long",0},
2956 { "_wxImageList","_class_wxImageList",0},
2957 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2958 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2959 { "_wxBitmapButton","_class_wxBitmapButton",0},
2960 { "_wxSashWindow","_class_wxSashWindow",0},
2961 { "_class_wxSizer","_wxSizer",0},
2962 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
2963 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
2964 { "_wxGridSizer","_class_wxGridSizer",0},
2965 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2966 { "_class_wxClipboard","_wxClipboard",0},
2967 { "_class_wxGauge","_wxGauge",0},
2968 { "_class_wxSashEvent","_wxSashEvent",0},
2969 { "_wxDC","_class_wxDC",0},
2970 { "_wxSizerItem","_class_wxSizerItem",0},
2971 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2972 { "_wxListEvent","_class_wxListEvent",0},
2973 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2974 { "_wxProgressDialog","_class_wxProgressDialog",0},
2975 { "_class_wxBMPHandler","_wxBMPHandler",0},
2976 { "_wxPrintPreview","_class_wxPrintPreview",0},
2977 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
2978 { "_wxSpinEvent","_class_wxSpinEvent",0},
2979 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
2980 { "_size_t","_wxCoord",0},
2981 { "_size_t","_wxPrintQuality",0},
2982 { "_size_t","_time_t",0},
2983 { "_size_t","_unsigned_int",0},
2984 { "_size_t","_int",0},
2985 { "_size_t","_wxWindowID",0},
2986 { "_size_t","_uint",0},
2987 { "_class_wxRealPoint","_wxRealPoint",0},
2988 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2989 { "_wxPNMHandler","_class_wxPNMHandler",0},
2990 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2991 { "_wxLogGui","_class_wxLogGui",0},
2992 { "_wxPrinterDC","_class_wxPrinterDC",0},
2993 { "_class_wxMenuItem","_wxMenuItem",0},
2994 { "_class_wxPaintEvent","_wxPaintEvent",0},
2995 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2996 { "_class_wxStatusBar","_wxStatusBar",0},
2997 { "_class_wxGIFHandler","_wxGIFHandler",0},
2998 { "_class_wxPySizer","_wxPySizer",0},
2999 { "_wxPanel","_class_wxPanel",0},
3000 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3001 { "_wxCheckBox","_class_wxCheckBox",0},
3002 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
3003 { "_wxPyEvent","_class_wxPyEvent",0},
3004 { "_wxTextCtrl","_class_wxTextCtrl",0},
3005 { "_class_wxMask","_wxMask",0},
3006 { "_wxTextDataObject","_class_wxTextDataObject",0},
3007 { "_class_wxKeyEvent","_wxKeyEvent",0},
3008 { "_class_wxToolTip","_wxToolTip",0},
3009 { "_class_wxPNGHandler","_wxPNGHandler",0},
3010 { "_wxFileConfig","_class_wxFileConfig",0},
3011 { "_wxColour","_class_wxColour",0},
3012 { "_class_wxDialog","_wxDialog",0},
3013 { "_wxBusyCursor","_class_wxBusyCursor",0},
3014 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
3015 { "_class_wxPrinter","_wxPrinter",0},
3016 { "_class_wxFileDataObject","_wxFileDataObject",0},
3017 { "_wxIdleEvent","_class_wxIdleEvent",0},
3018 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3019 { "_wxToolBar","_class_wxToolBar",0},
3020 { "_class_wxDataObject","_wxDataObject",0},
3021 { "_wxCaret","_class_wxCaret",0},
3022 { "_wxStaticLine","_class_wxStaticLine",0},
3023 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
3024 { "_class_wxHtmlPrintout","_wxHtmlPrintout",0},
3025 { "_wxBrush","_class_wxBrush",0},
3026 { "_wxToggleButton","_class_wxToggleButton",0},
3027 { "_wxMiniFrame","_class_wxMiniFrame",0},
3028 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
3029 { "_class_wxPyPrintout","_wxPyPrintout",0},
3030 { "_wxDataFormat","_class_wxDataFormat",0},
3031 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3032 { "_class_wxSashWindow","_wxSashWindow",0},
3033 { "_wxShowEvent","_class_wxShowEvent",0},
3034 { "_uint","_wxCoord",0},
3035 { "_uint","_wxPrintQuality",0},
3036 { "_uint","_time_t",0},
3037 { "_uint","_size_t",0},
3038 { "_uint","_unsigned_int",0},
3039 { "_uint","_int",0},
3040 { "_uint","_wxWindowID",0},
3041 { "_wxChar","_char",0},
3042 { "_wxPyValidator","_class_wxPyValidator",0},
3043 { "_class_wxEvent","_wxEvent",0},
3044 { "_wxCheckListBox","_class_wxCheckListBox",0},
3045 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
3046 { "_wxRect","_class_wxRect",0},
3047 { "_wxCommandEvent","_class_wxCommandEvent",0},
3048 { "_wxSizeEvent","_class_wxSizeEvent",0},
3049 { "_class_wxLogWindow","_wxLogWindow",0},
3050 { "_class_wxImage","_wxImage",0},
3051 { "_wxPoint","_class_wxPoint",0},
3052 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
3053 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
3054 { "_class_wxButton","_wxButton",0},
3055 { "_wxRadioBox","_class_wxRadioBox",0},
3056 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
3057 { "_class_wxFontData","_wxFontData",0},
3058 { "_class_wxPNMHandler","_wxPNMHandler",0},
3059 { "_wxBoxSizer","_class_wxBoxSizer",0},
3060 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
3061 { "_wxHtmlCell","_class_wxHtmlCell",0},
3062 { "_char","_wxChar",0},
3063 { "_wxBitmap","_class_wxBitmap",0},
3064 { "_wxPenList","_class_wxPenList",0},
3065 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
3066 { "_wxPrintDialog","_class_wxPrintDialog",0},
3067 { "_wxWindowDC","_class_wxWindowDC",0},
3068 { "_wxTimerEvent","_class_wxTimerEvent",0},
3069 { "_wxPyTimer","_class_wxPyTimer",0},
3070 { "_wxScrollBar","_class_wxScrollBar",0},
3071 { "_wxSpinButton","_class_wxSpinButton",0},
3072 { "_wxColourDialog","_class_wxColourDialog",0},
3073 { "_wxPrintData","_class_wxPrintData",0},
3074 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
3075 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3076 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3077 { "_wxMessageDialog","_class_wxMessageDialog",0},
3078 { "_class_wxHtmlWidgetCell","_wxHtmlWidgetCell",0},
3079 { "_wxHtmlBookRecord","_class_wxHtmlBookRecord",0},
3080 { "_class_wxValidator","_wxValidator",0},
3081 { "_class_wxPyEvent","_wxPyEvent",0},
3082 { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0},
3083 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
3084 { "_wxConfig","_class_wxConfig",0},
3085 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3086 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3087 { "_class_wxFileConfig","_wxFileConfig",0},
3088 { "_class_wxBusyCursor","_wxBusyCursor",0},
3089 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
3090 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
3091 { "_wxListItem","_class_wxListItem",0},
3092 { "_class_wxToolBar","_wxToolBar",0},
3093 { "_class_wxHtmlColourCell","_wxHtmlColourCell",0},
3094 { "_wxDropTarget","_class_wxDropTarget",0},
3095 { "_class_wxStaticLine","_wxStaticLine",0},
3096 { "_class_wxColourDatabase","_wxColourDatabase",0},
3097 { "_wxScrollEvent","_class_wxScrollEvent",0},
3098 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
3099 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
3100 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
3101 { "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0},
3102 { "_EBool","_wxCoord",0},
3103 { "_EBool","_wxPrintQuality",0},
3104 { "_EBool","_signed_int",0},
3105 { "_EBool","_int",0},
3106 { "_EBool","_wxWindowID",0},
3107 { "_class_wxRegion","_wxRegion",0},
3108 { "_class_wxDataFormat","_wxDataFormat",0},
3109 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3110 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3111 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
3112 { "_wxHtmlContainerCell","_class_wxHtmlContainerCell",0},
3113 { "_wxStaticText","_class_wxStaticText",0},
3114 { "_wxFont","_class_wxFont",0},
3115 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3116 { "_wxCloseEvent","_class_wxCloseEvent",0},
3117 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
3118 { "_wxProcessEvent","_class_wxProcessEvent",0},
3119 { "_wxNotebook","_class_wxNotebook",0},
3120 { "_wxFSFile","_class_wxFSFile",0},
3121 { "_unsigned_long","_long",0},
3122 { "_class_wxRect","_wxRect",0},
3123 { "_class_wxDC","_wxDC",0},
3124 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3125 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
3126 { "_class_wxProgressDialog","_wxProgressDialog",0},
3127 { "_class_wxBrushList","_wxBrushList",0},
3128 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3129 { "_wxPyInputStream","_class_wxPyInputStream",0},
3130 { "_wxPyApp","_class_wxPyApp",0},
3131 { "_wxHtmlWinParser","_class_wxHtmlWinParser",0},
3132 { "_wxHtmlSearchStatus","_class_wxHtmlSearchStatus",0},
3133 { "_class_wxPenList","_wxPenList",0},
3134 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3135 { "_class_wxOutputStream","_wxOutputStream",0},
3136 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
3137 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
3138 { "_class_wxTreeEvent","_wxTreeEvent",0},
3139 { "_class_wxDirDialog","_wxDirDialog",0},
3140 { "_wxTimeSpan","_class_wxTimeSpan",0},
3141 { "_wxFocusEvent","_class_wxFocusEvent",0},
3142 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3143 { "_class_wxTimerEvent","_wxTimerEvent",0},
3144 { "_class_wxPyTimer","_wxPyTimer",0},
3145 { "_class_wxSpinButton","_wxSpinButton",0},
3146 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3147 { "_class_wxPanel","_wxPanel",0},
3148 { "_class_wxCheckBox","_wxCheckBox",0},
3149 { "_wxComboBox","_class_wxComboBox",0},
3150 { "_wxRadioButton","_class_wxRadioButton",0},
3151 { "_class_wxMessageDialog","_wxMessageDialog",0},
3152 { "_wxHtmlTag","_class_wxHtmlTag",0},
3153 { "_signed_int","_wxCoord",0},
3154 { "_signed_int","_wxPrintQuality",0},
3155 { "_signed_int","_EBool",0},
3156 { "_signed_int","_wxWindowID",0},
3157 { "_signed_int","_int",0},
3158 { "_class_wxTextCtrl","_wxTextCtrl",0},
3159 { "_class_wxListItemAttr","_wxListItemAttr",0},
3160 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3161 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3162 { "_class_wxTextDataObject","_wxTextDataObject",0},
3163 { "_wxMenu","_class_wxMenu",0},
3164 { "_class_wxMoveEvent","_wxMoveEvent",0},
3165 { "_wxListBox","_class_wxListBox",0},
3166 { "_wxScreenDC","_class_wxScreenDC",0},
3167 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
3168 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
3169 { "_class_wxPyHtmlWindow","_wxPyHtmlWindow",0},
3170 { "_wxHtmlHelpFrameCfg","_class_wxHtmlHelpFrameCfg",0},
3171 { "_wxHtmlHelpController","_class_wxHtmlHelpController",0},
3172 { "_WXTYPE","_wxDateTime_t",0},
3173 { "_WXTYPE","_short",0},
3174 { "_WXTYPE","_signed_short",0},
3175 { "_WXTYPE","_unsigned_short",0},
3176 { "_wxFileDialog","_class_wxFileDialog",0},
3177 { "_class_wxDropTarget","_wxDropTarget",0},
3178 { "_class_wxCaret","_wxCaret",0},
3179 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
3180 { "_class_wxHtmlLinkInfo","_wxHtmlLinkInfo",0},
3181 { "_class_wxBrush","_wxBrush",0},
3182 { "_wxTipProvider","_class_wxTipProvider",0},
3183 { "_class_wxPyHtmlTagHandler","_wxPyHtmlTagHandler",0},
3184 { "_unsigned_short","_wxDateTime_t",0},
3185 { "_unsigned_short","_WXTYPE",0},
3186 { "_unsigned_short","_short",0},
3187 { "_class_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
3188 { "_class_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
3189 { "_class_wxWindow","_wxWindow",0},
3190 { "_class_wxLogStderr","_wxLogStderr",0},
3191 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
3192 { "_wxDateSpan","_class_wxDateSpan",0},
3193 { "_class_wxStaticText","_wxStaticText",0},
3194 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
3195 { "_class_wxFont","_wxFont",0},
3196 { "_wxClipboard","_class_wxClipboard",0},
3197 { "_class_wxPyValidator","_wxPyValidator",0},
3198 { "_class_wxCloseEvent","_wxCloseEvent",0},
3199 { "_wxSashEvent","_class_wxSashEvent",0},
3200 { "_wxBusyInfo","_class_wxBusyInfo",0},
3201 { "_wxFontList","_class_wxFontList",0},
3202 { "_class_wxMenuEvent","_wxMenuEvent",0},
3203 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3204 { "_wxJoystick","_class_wxJoystick",0},
3205 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3206 { "_wxClientDC","_class_wxClientDC",0},
3207 { "_wxMouseEvent","_class_wxMouseEvent",0},
3208 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
3209 { "_wxListCtrl","_class_wxListCtrl",0},
3210 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
3211 { "_class_wxPoint","_wxPoint",0},
3212 { "_class_wxPyInputStream","_wxPyInputStream",0},
3213 { "_wxRealPoint","_class_wxRealPoint",0},
3214 { "_class_wxRadioBox","_wxRadioBox",0},
3215 { "_class_wxBoxSizer","_wxBoxSizer",0},
3216 { "_class_wxHtmlWinParser","_wxHtmlWinParser",0},
3217 { "_class_wxHtmlCell","_wxHtmlCell",0},
3218 { "_class_wxHtmlSearchStatus","_wxHtmlSearchStatus",0},
3219 { "_signed_short","_WXTYPE",0},
3220 { "_signed_short","_short",0},
3221 { "_wxMemoryDC","_class_wxMemoryDC",0},
3222 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3223 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
3224 { "_class_wxPrintDialog","_wxPrintDialog",0},
3225 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
3226 { "_class_wxHtmlHelpData","_wxHtmlHelpData",0},
3227 { "_wxPaintDC","_class_wxPaintDC",0},
3228 { "_class_wxWindowDC","_wxWindowDC",0},
3229 { "_class_wxFocusEvent","_wxFocusEvent",0},
3230 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3231 { "_wxStatusBar","_class_wxStatusBar",0},
3232 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3233 { "_class_wxCursor","_wxCursor",0},
3234 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3235 { "_class_wxPyProcess","_wxPyProcess",0},
3236 { "_class_wxImageHandler","_wxImageHandler",0},
3237 { "_class_wxHtmlTag","_wxHtmlTag",0},
3238 { "_class_wxHtmlBookRecord","_wxHtmlBookRecord",0},
3239 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3240 { "_class_wxLog","_wxLog",0},
3241 { "_wxTreeItemId","_class_wxTreeItemId",0},
3242 { "_unsigned_char","_byte",0},
3243 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3244 { "_class_wxMenu","_wxMenu",0},
3245 { "_wxControl","_class_wxControl",0},
3246 { "_class_wxListBox","_wxListBox",0},
3247 { "_unsigned_int","_wxCoord",0},
3248 { "_unsigned_int","_wxPrintQuality",0},
3249 { "_unsigned_int","_time_t",0},
3250 { "_unsigned_int","_size_t",0},
3251 { "_unsigned_int","_uint",0},
3252 { "_unsigned_int","_wxWindowID",0},
3253 { "_unsigned_int","_int",0},
3254 { "_wxIcon","_class_wxIcon",0},
3255 { "_wxDialog","_class_wxDialog",0},
3256 { "_class_wxListItem","_wxListItem",0},
3257 { "_class_wxHtmlHelpFrameCfg","_wxHtmlHelpFrameCfg",0},
3258 { "_class_wxPen","_wxPen",0},
3259 { "_class_wxFileDialog","_wxFileDialog",0},
3260 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
3261 { "_wxConfigBase","_class_wxConfigBase",0},
3262 { "_short","_wxDateTime_t",0},
3263 { "_short","_WXTYPE",0},
3264 { "_short","_unsigned_short",0},
3265 { "_short","_signed_short",0},
3266 { "_class_wxStaticBox","_wxStaticBox",0},
3267 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
3268 { "_wxHtmlPrintout","_class_wxHtmlPrintout",0},
3269 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3270 { "_class_wxPyDropSource","_wxPyDropSource",0},
3271 { "_class_wxScrollEvent","_wxScrollEvent",0},
3272 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3273 { "_class_wxChoice","_wxChoice",0},
3274 { "_class_wxSlider","_wxSlider",0},
3275 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
3276 { "_wxHtmlHelpFrame","_class_wxHtmlHelpFrame",0},
3277 { "_class_wxImageList","_wxImageList",0},
3278 { "_class_wxBitmapButton","_wxBitmapButton",0},
3279 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
3280 { "_class_wxHtmlContainerCell","_wxHtmlContainerCell",0},
3281 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
3282 { "_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
3283 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
3284 { "_wxFrame","_class_wxFrame",0},
3285 { "_wxPCXHandler","_class_wxPCXHandler",0},
3286 { "_class_wxGridSizer","_wxGridSizer",0},
3287 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3288 { "_class_wxNotebook","_wxNotebook",0},
3289 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
3290 { "_wxWindowID","_wxCoord",0},
3291 { "_wxWindowID","_wxPrintQuality",0},
3292 { "_wxWindowID","_time_t",0},
3293 { "_wxWindowID","_size_t",0},
3294 { "_wxWindowID","_EBool",0},
3295 { "_wxWindowID","_uint",0},
3296 { "_wxWindowID","_int",0},
3297 { "_wxWindowID","_signed_int",0},
3298 { "_wxWindowID","_unsigned_int",0},
3299 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3300 { "_class_wxSizerItem","_wxSizerItem",0},
3301 { "_int","_wxCoord",0},
3302 { "_int","_wxPrintQuality",0},
3303 { "_int","_time_t",0},
3304 { "_int","_size_t",0},
3305 { "_int","_EBool",0},
3306 { "_int","_uint",0},
3307 { "_int","_wxWindowID",0},
3308 { "_int","_unsigned_int",0},
3309 { "_int","_signed_int",0},
3310 { "_class_wxMouseEvent","_wxMouseEvent",0},
3311 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3312 { "_wxLogWindow","_class_wxLogWindow",0},
3313 { "_class_wxListEvent","_wxListEvent",0},
3314 { "_class_wxPrintPreview","_wxPrintPreview",0},
3315 { "_wxDateTime_t","_unsigned_short",0},
3316 { "_wxDateTime_t","_short",0},
3317 { "_wxDateTime_t","_WXTYPE",0},
3318 { "_class_wxSpinEvent","_wxSpinEvent",0},
3319 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3320 { "_wxDateTime","_class_wxDateTime",0},
3321 { "_wxPyHtmlWinTagHandler","_class_wxPyHtmlWinTagHandler",0},
3322 { "_time_t","_wxCoord",0},
3323 { "_time_t","_wxPrintQuality",0},
3324 { "_time_t","_unsigned_int",0},
3325 { "_time_t","_int",0},
3326 { "_time_t","_wxWindowID",0},
3327 { "_time_t","_uint",0},
3328 { "_time_t","_size_t",0},
3329 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3330 { "_wxLogNull","_class_wxLogNull",0},
3331 { "_wxButton","_class_wxButton",0},
3332 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
3333 { "_class_wxPyApp","_wxPyApp",0},
3334 { "_wxSize","_class_wxSize",0},
3335 { "_wxRegionIterator","_class_wxRegionIterator",0},
3336 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3337 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
3338 { "_class_wxLogGui","_wxLogGui",0},
3339 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
3340 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
3341 { "_class_wxPrinterDC","_wxPrinterDC",0},
3342 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
3343 { "_class_wxTimeSpan","_wxTimeSpan",0},
3344 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
3345 { "_wxHtmlDCRenderer","_class_wxHtmlDCRenderer",0},
3346 { "_class_wxPaintDC","_wxPaintDC",0},
3347 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3348 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3349 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3350 { "_class_wxComboBox","_wxComboBox",0},
3351 { "_class_wxRadioButton","_wxRadioButton",0},
3352 { "_wxValidator","_class_wxValidator",0},
3353 { "_wxToolBarBase","_class_wxToolBarBase",0},
3354 { "_class_wxTreeItemId","_wxTreeItemId",0},
3355 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3356 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3357 { "_class_wxControl","_wxControl",0},
3358 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3359 { "_class_wxIcon","_wxIcon",0},
3360 { "_class_wxColour","_wxColour",0},
3361 { "_class_wxScreenDC","_wxScreenDC",0},
3362 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
3363 { "_wxPalette","_class_wxPalette",0},
3364 { "_class_wxIdleEvent","_wxIdleEvent",0},
3365 { "_class_wxConfigBase","_wxConfigBase",0},
3366 { "_wxCoord","_int",0},
3367 { "_wxCoord","_signed_int",0},
3368 { "_wxCoord","_unsigned_int",0},
3369 { "_wxCoord","_wxWindowID",0},
3370 { "_wxCoord","_uint",0},
3371 { "_wxCoord","_EBool",0},
3372 { "_wxCoord","_size_t",0},
3373 { "_wxCoord","_time_t",0},
3374 { "_wxCoord","_wxPrintQuality",0},
3375 { "_wxEraseEvent","_class_wxEraseEvent",0},
3376 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3377 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3378 { "_class_wxTipProvider","_wxTipProvider",0},
3379 { "_class_wxToggleButton","_wxToggleButton",0},
3380 { "_class_wxMiniFrame","_wxMiniFrame",0},
3381 { "_wxFontDialog","_class_wxFontDialog",0},
3382 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
3383 { "_class_wxHtmlHelpFrame","_wxHtmlHelpFrame",0},
3384 { "_wxRegion","_class_wxRegion",0},
3385 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
3386 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
3387 { "_wxSizer","_class_wxSizer",0},
3388 { "_class_wxDateSpan","_wxDateSpan",0},
3389 { "_wxFileSystem","_class_wxFileSystem",0},
3390 { "_class_wxShowEvent","_wxShowEvent",0},
3391 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
3392 { "_class_wxPCXHandler","_wxPCXHandler",0},
3393 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
3394 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3395 { "_wxActivateEvent","_class_wxActivateEvent",0},
3396 { "_wxGauge","_class_wxGauge",0},
3397 { "_class_wxCheckListBox","_wxCheckListBox",0},
3398 { "_wxHtmlParser","_class_wxHtmlParser",0},
3399 { "_class_wxBusyInfo","_wxBusyInfo",0},
3400 { "_class_wxFontList","_wxFontList",0},
3401 { "_class_wxJoystick","_wxJoystick",0},
3402 { "_class_wxCommandEvent","_wxCommandEvent",0},
3403 { "_class_wxClientDC","_wxClientDC",0},
3404 { "_class_wxSizeEvent","_wxSizeEvent",0},
3405 { "_class_wxListCtrl","_wxListCtrl",0},
3406 { "_wxBrushList","_class_wxBrushList",0},
3407 { "_class_wxPyHtmlWinTagHandler","_wxPyHtmlWinTagHandler",0},
3408 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3409 { "_class_wxLogNull","_wxLogNull",0},
3410 { "_class_wxSize","_wxSize",0},
3411 { "_class_wxBitmap","_wxBitmap",0},
3412 { "_class_wxMemoryDC","_wxMemoryDC",0},
3413 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3414 { "_wxMenuBar","_class_wxMenuBar",0},
3415 { "_wxOutputStream","_class_wxOutputStream",0},
3416 { "_wxTreeEvent","_class_wxTreeEvent",0},
3417 { "_wxDirDialog","_class_wxDirDialog",0},
3418 { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
3419 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
3420 { "_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
3421 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler},
3422 { "_wxEvtHandler","_class_wxEvtHandler",0},
3423 { "_wxMenuItem","_class_wxMenuItem",0},
3424 { "_class_wxScrollBar","_wxScrollBar",0},
3425 { "_class_wxColourDialog","_wxColourDialog",0},
3426 { "_class_wxPrintData","_wxPrintData",0},
3427 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3428 { "_wxListItemAttr","_class_wxListItemAttr",0},
3429 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
3430 { "_class_wxConfig","_wxConfig",0},
3431 { "_wxKeyEvent","_class_wxKeyEvent",0},
3432 { "_wxMoveEvent","_class_wxMoveEvent",0},
3433 { "_wxHtmlEasyPrinting","_class_wxHtmlEasyPrinting",0},
3434 { "_wxColourData","_class_wxColourData",0},
3435 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
3436 { "_wxPyHtmlWindow","_class_wxPyHtmlWindow",0},
3437 { "_class_wxPalette","_wxPalette",0},
3438 { "_wxFileDataObject","_class_wxFileDataObject",0},
3439 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
3440 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
3441 { "_class_wxEraseEvent","_wxEraseEvent",0},
3442 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
3443 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
3444 { "_wxHtmlLinkInfo","_class_wxHtmlLinkInfo",0},
3445 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3446 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3447 { "_class_wxFontDialog","_wxFontDialog",0},
3448 { "_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
3449 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow},
3450 { "_wxWindow","_class_wxWindow",0},
3451 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3452 { "_wxLogStderr","_class_wxLogStderr",0},
3453 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
3454 { "_class_wxFileSystem","_wxFileSystem",0},
3455 { "_class_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
3456 { "_class_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame},
3457 { "_class_wxFrame","_wxFrame",0},
3458 {0,0,0}};
3459
3460 static PyObject *SWIG_globals;
3461 #ifdef __cplusplus
3462 extern "C"
3463 #endif
3464 SWIGEXPORT(void) inithtmlhelpc() {
3465 PyObject *m, *d;
3466 SWIG_globals = SWIG_newvarlink();
3467 m = Py_InitModule("htmlhelpc", htmlhelpcMethods);
3468 d = PyModule_GetDict(m);
3469 PyDict_SetItemString(d,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR));
3470 PyDict_SetItemString(d,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR));
3471 PyDict_SetItemString(d,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS));
3472 PyDict_SetItemString(d,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX));
3473 PyDict_SetItemString(d,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH));
3474 PyDict_SetItemString(d,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS));
3475 PyDict_SetItemString(d,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES));
3476 PyDict_SetItemString(d,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT));
3477 PyDict_SetItemString(d,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE));
3478 {
3479 int i;
3480 for (i = 0; _swig_mapping[i].n1; i++)
3481 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3482 }
3483 }