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