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