2 * FILE : src/gtk/htmlhelp.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlhelpc
56 #define SWIG_name "htmlhelpc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/helpctrl.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "string type is required for parameter";
101 #define new_wxHtmlHelpFrameCfg() (new wxHtmlHelpFrameCfg())
102 static PyObject
*_wrap_new_wxHtmlHelpFrameCfg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
103 PyObject
* _resultobj
;
104 wxHtmlHelpFrameCfg
* _result
;
105 char *_kwnames
[] = { NULL
};
109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpFrameCfg",_kwnames
))
112 wxPy_BEGIN_ALLOW_THREADS
;
113 _result
= (wxHtmlHelpFrameCfg
*)new_wxHtmlHelpFrameCfg();
115 wxPy_END_ALLOW_THREADS
;
117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrameCfg_p");
118 _resultobj
= Py_BuildValue("s",_ptemp
);
121 _resultobj
= Py_None
;
126 #define wxHtmlHelpFrameCfg_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
127 static PyObject
*_wrap_wxHtmlHelpFrameCfg_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
128 PyObject
* _resultobj
;
130 wxHtmlHelpFrameCfg
* _arg0
;
132 PyObject
* _argo0
= 0;
133 char *_kwnames
[] = { "self","x", NULL
};
136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxHtmlHelpFrameCfg_x_set",_kwnames
,&_argo0
,&_arg1
))
139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_set. Expected _wxHtmlHelpFrameCfg_p.");
146 wxPy_BEGIN_ALLOW_THREADS
;
147 _result
= (long )wxHtmlHelpFrameCfg_x_set(_arg0
,_arg1
);
149 wxPy_END_ALLOW_THREADS
;
150 } _resultobj
= Py_BuildValue("l",_result
);
154 #define wxHtmlHelpFrameCfg_x_get(_swigobj) ((long ) _swigobj->x)
155 static PyObject
*_wrap_wxHtmlHelpFrameCfg_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
156 PyObject
* _resultobj
;
158 wxHtmlHelpFrameCfg
* _arg0
;
159 PyObject
* _argo0
= 0;
160 char *_kwnames
[] = { "self", NULL
};
163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrameCfg_x_get",_kwnames
,&_argo0
))
166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_x_get. Expected _wxHtmlHelpFrameCfg_p.");
173 wxPy_BEGIN_ALLOW_THREADS
;
174 _result
= (long )wxHtmlHelpFrameCfg_x_get(_arg0
);
176 wxPy_END_ALLOW_THREADS
;
177 } _resultobj
= Py_BuildValue("l",_result
);
181 #define wxHtmlHelpFrameCfg_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
182 static PyObject
*_wrap_wxHtmlHelpFrameCfg_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
185 wxHtmlHelpFrameCfg
* _arg0
;
187 PyObject
* _argo0
= 0;
188 char *_kwnames
[] = { "self","y", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxHtmlHelpFrameCfg_y_set",_kwnames
,&_argo0
,&_arg1
))
194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_set. Expected _wxHtmlHelpFrameCfg_p.");
201 wxPy_BEGIN_ALLOW_THREADS
;
202 _result
= (long )wxHtmlHelpFrameCfg_y_set(_arg0
,_arg1
);
204 wxPy_END_ALLOW_THREADS
;
205 } _resultobj
= Py_BuildValue("l",_result
);
209 #define wxHtmlHelpFrameCfg_y_get(_swigobj) ((long ) _swigobj->y)
210 static PyObject
*_wrap_wxHtmlHelpFrameCfg_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
213 wxHtmlHelpFrameCfg
* _arg0
;
214 PyObject
* _argo0
= 0;
215 char *_kwnames
[] = { "self", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrameCfg_y_get",_kwnames
,&_argo0
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_y_get. Expected _wxHtmlHelpFrameCfg_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 _result
= (long )wxHtmlHelpFrameCfg_y_get(_arg0
);
231 wxPy_END_ALLOW_THREADS
;
232 } _resultobj
= Py_BuildValue("l",_result
);
236 #define wxHtmlHelpFrameCfg_w_set(_swigobj,_swigval) (_swigobj->w = _swigval,_swigval)
237 static PyObject
*_wrap_wxHtmlHelpFrameCfg_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
240 wxHtmlHelpFrameCfg
* _arg0
;
242 PyObject
* _argo0
= 0;
243 char *_kwnames
[] = { "self","w", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxHtmlHelpFrameCfg_w_set",_kwnames
,&_argo0
,&_arg1
))
249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_set. Expected _wxHtmlHelpFrameCfg_p.");
256 wxPy_BEGIN_ALLOW_THREADS
;
257 _result
= (long )wxHtmlHelpFrameCfg_w_set(_arg0
,_arg1
);
259 wxPy_END_ALLOW_THREADS
;
260 } _resultobj
= Py_BuildValue("l",_result
);
264 #define wxHtmlHelpFrameCfg_w_get(_swigobj) ((long ) _swigobj->w)
265 static PyObject
*_wrap_wxHtmlHelpFrameCfg_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
266 PyObject
* _resultobj
;
268 wxHtmlHelpFrameCfg
* _arg0
;
269 PyObject
* _argo0
= 0;
270 char *_kwnames
[] = { "self", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrameCfg_w_get",_kwnames
,&_argo0
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_w_get. Expected _wxHtmlHelpFrameCfg_p.");
283 wxPy_BEGIN_ALLOW_THREADS
;
284 _result
= (long )wxHtmlHelpFrameCfg_w_get(_arg0
);
286 wxPy_END_ALLOW_THREADS
;
287 } _resultobj
= Py_BuildValue("l",_result
);
291 #define wxHtmlHelpFrameCfg_h_set(_swigobj,_swigval) (_swigobj->h = _swigval,_swigval)
292 static PyObject
*_wrap_wxHtmlHelpFrameCfg_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
295 wxHtmlHelpFrameCfg
* _arg0
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self","h", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxHtmlHelpFrameCfg_h_set",_kwnames
,&_argo0
,&_arg1
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_set. Expected _wxHtmlHelpFrameCfg_p.");
311 wxPy_BEGIN_ALLOW_THREADS
;
312 _result
= (long )wxHtmlHelpFrameCfg_h_set(_arg0
,_arg1
);
314 wxPy_END_ALLOW_THREADS
;
315 } _resultobj
= Py_BuildValue("l",_result
);
319 #define wxHtmlHelpFrameCfg_h_get(_swigobj) ((long ) _swigobj->h)
320 static PyObject
*_wrap_wxHtmlHelpFrameCfg_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 wxHtmlHelpFrameCfg
* _arg0
;
324 PyObject
* _argo0
= 0;
325 char *_kwnames
[] = { "self", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrameCfg_h_get",_kwnames
,&_argo0
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_h_get. Expected _wxHtmlHelpFrameCfg_p.");
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (long )wxHtmlHelpFrameCfg_h_get(_arg0
);
341 wxPy_END_ALLOW_THREADS
;
342 } _resultobj
= Py_BuildValue("l",_result
);
346 #define wxHtmlHelpFrameCfg_sashpos_set(_swigobj,_swigval) (_swigobj->sashpos = _swigval,_swigval)
347 static PyObject
*_wrap_wxHtmlHelpFrameCfg_sashpos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
350 wxHtmlHelpFrameCfg
* _arg0
;
352 PyObject
* _argo0
= 0;
353 char *_kwnames
[] = { "self","sashpos", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxHtmlHelpFrameCfg_sashpos_set",_kwnames
,&_argo0
,&_arg1
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_set. Expected _wxHtmlHelpFrameCfg_p.");
366 wxPy_BEGIN_ALLOW_THREADS
;
367 _result
= (long )wxHtmlHelpFrameCfg_sashpos_set(_arg0
,_arg1
);
369 wxPy_END_ALLOW_THREADS
;
370 } _resultobj
= Py_BuildValue("l",_result
);
374 #define wxHtmlHelpFrameCfg_sashpos_get(_swigobj) ((long ) _swigobj->sashpos)
375 static PyObject
*_wrap_wxHtmlHelpFrameCfg_sashpos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
378 wxHtmlHelpFrameCfg
* _arg0
;
379 PyObject
* _argo0
= 0;
380 char *_kwnames
[] = { "self", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrameCfg_sashpos_get",_kwnames
,&_argo0
))
386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_sashpos_get. Expected _wxHtmlHelpFrameCfg_p.");
393 wxPy_BEGIN_ALLOW_THREADS
;
394 _result
= (long )wxHtmlHelpFrameCfg_sashpos_get(_arg0
);
396 wxPy_END_ALLOW_THREADS
;
397 } _resultobj
= Py_BuildValue("l",_result
);
401 #define wxHtmlHelpFrameCfg_navig_on_set(_swigobj,_swigval) (_swigobj->navig_on = _swigval,_swigval)
402 static PyObject
*_wrap_wxHtmlHelpFrameCfg_navig_on_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
405 wxHtmlHelpFrameCfg
* _arg0
;
407 PyObject
* _argo0
= 0;
409 char *_kwnames
[] = { "self","navig_on", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrameCfg_navig_on_set",_kwnames
,&_argo0
,&tempbool1
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_set. Expected _wxHtmlHelpFrameCfg_p.");
421 _arg1
= (bool ) tempbool1
;
423 wxPy_BEGIN_ALLOW_THREADS
;
424 _result
= (bool )wxHtmlHelpFrameCfg_navig_on_set(_arg0
,_arg1
);
426 wxPy_END_ALLOW_THREADS
;
427 } _resultobj
= Py_BuildValue("i",_result
);
431 #define wxHtmlHelpFrameCfg_navig_on_get(_swigobj) ((bool ) _swigobj->navig_on)
432 static PyObject
*_wrap_wxHtmlHelpFrameCfg_navig_on_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
435 wxHtmlHelpFrameCfg
* _arg0
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrameCfg_navig_on_get",_kwnames
,&_argo0
))
443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrameCfg_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrameCfg_navig_on_get. Expected _wxHtmlHelpFrameCfg_p.");
450 wxPy_BEGIN_ALLOW_THREADS
;
451 _result
= (bool )wxHtmlHelpFrameCfg_navig_on_get(_arg0
);
453 wxPy_END_ALLOW_THREADS
;
454 } _resultobj
= Py_BuildValue("i",_result
);
458 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2))
459 static PyObject
*_wrap_new_wxHtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 wxHtmlBookRecord
* _result
;
465 PyObject
* _obj0
= 0;
466 PyObject
* _obj1
= 0;
467 PyObject
* _obj2
= 0;
468 char *_kwnames
[] = { "basepath","title","start", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxHtmlBookRecord",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
475 #if PYTHON_API_VERSION >= 1009
476 char* tmpPtr
; int tmpSize
;
477 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
481 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
483 _arg0
= new wxString(tmpPtr
, tmpSize
);
485 if (!PyString_Check(_obj0
)) {
486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
489 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
493 #if PYTHON_API_VERSION >= 1009
494 char* tmpPtr
; int tmpSize
;
495 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
499 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
501 _arg1
= new wxString(tmpPtr
, tmpSize
);
503 if (!PyString_Check(_obj1
)) {
504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
507 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
511 #if PYTHON_API_VERSION >= 1009
512 char* tmpPtr
; int tmpSize
;
513 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
517 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
519 _arg2
= new wxString(tmpPtr
, tmpSize
);
521 if (!PyString_Check(_obj2
)) {
522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
525 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
529 wxPy_BEGIN_ALLOW_THREADS
;
530 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
);
532 wxPy_END_ALLOW_THREADS
;
534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
535 _resultobj
= Py_BuildValue("s",_ptemp
);
538 _resultobj
= Py_None
;
555 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
556 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
559 wxHtmlBookRecord
* _arg0
;
560 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "self", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
574 wxPy_BEGIN_ALLOW_THREADS
;
575 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
577 wxPy_END_ALLOW_THREADS
;
579 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
587 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
588 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
591 wxHtmlBookRecord
* _arg0
;
592 PyObject
* _argo0
= 0;
593 char *_kwnames
[] = { "self", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
606 wxPy_BEGIN_ALLOW_THREADS
;
607 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
609 wxPy_END_ALLOW_THREADS
;
611 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
619 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
620 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
623 wxHtmlBookRecord
* _arg0
;
624 PyObject
* _argo0
= 0;
625 char *_kwnames
[] = { "self", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
638 wxPy_BEGIN_ALLOW_THREADS
;
639 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
641 wxPy_END_ALLOW_THREADS
;
643 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
651 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
652 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
654 wxHtmlBookRecord
* _arg0
;
657 PyObject
* _argo0
= 0;
658 char *_kwnames
[] = { "self","start","end", NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
671 wxPy_BEGIN_ALLOW_THREADS
;
672 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
674 wxPy_END_ALLOW_THREADS
;
675 } Py_INCREF(Py_None
);
676 _resultobj
= Py_None
;
680 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
681 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 PyObject
* _resultobj
;
684 wxHtmlBookRecord
* _arg0
;
685 PyObject
* _argo0
= 0;
686 char *_kwnames
[] = { "self", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
699 wxPy_BEGIN_ALLOW_THREADS
;
700 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
702 wxPy_END_ALLOW_THREADS
;
703 } _resultobj
= Py_BuildValue("i",_result
);
707 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
708 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
711 wxHtmlBookRecord
* _arg0
;
712 PyObject
* _argo0
= 0;
713 char *_kwnames
[] = { "self", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
726 wxPy_BEGIN_ALLOW_THREADS
;
727 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
729 wxPy_END_ALLOW_THREADS
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 #define wxHtmlContentsItem_m_Level_set(_swigobj,_swigval) (_swigobj->m_Level = _swigval,_swigval)
735 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
738 wxHtmlContentsItem
* _arg0
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self","m_Level", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxHtmlContentsItem_m_Level_set",_kwnames
,&_argo0
,&_arg1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_set. Expected _wxHtmlContentsItem_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 _result
= (short )wxHtmlContentsItem_m_Level_set(_arg0
,_arg1
);
757 wxPy_END_ALLOW_THREADS
;
758 } _resultobj
= Py_BuildValue("h",_result
);
762 #define wxHtmlContentsItem_m_Level_get(_swigobj) ((short ) _swigobj->m_Level)
763 static PyObject
*_wrap_wxHtmlContentsItem_m_Level_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
766 wxHtmlContentsItem
* _arg0
;
767 PyObject
* _argo0
= 0;
768 char *_kwnames
[] = { "self", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Level_get",_kwnames
,&_argo0
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Level_get. Expected _wxHtmlContentsItem_p.");
781 wxPy_BEGIN_ALLOW_THREADS
;
782 _result
= (short )wxHtmlContentsItem_m_Level_get(_arg0
);
784 wxPy_END_ALLOW_THREADS
;
785 } _resultobj
= Py_BuildValue("h",_result
);
789 #define wxHtmlContentsItem_m_ID_set(_swigobj,_swigval) (_swigobj->m_ID = _swigval,_swigval)
790 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 wxHtmlContentsItem
* _arg0
;
795 PyObject
* _argo0
= 0;
796 char *_kwnames
[] = { "self","m_ID", NULL
};
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContentsItem_m_ID_set",_kwnames
,&_argo0
,&_arg1
))
802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_set. Expected _wxHtmlContentsItem_p.");
809 wxPy_BEGIN_ALLOW_THREADS
;
810 _result
= (int )wxHtmlContentsItem_m_ID_set(_arg0
,_arg1
);
812 wxPy_END_ALLOW_THREADS
;
813 } _resultobj
= Py_BuildValue("i",_result
);
817 #define wxHtmlContentsItem_m_ID_get(_swigobj) ((int ) _swigobj->m_ID)
818 static PyObject
*_wrap_wxHtmlContentsItem_m_ID_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
819 PyObject
* _resultobj
;
821 wxHtmlContentsItem
* _arg0
;
822 PyObject
* _argo0
= 0;
823 char *_kwnames
[] = { "self", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_ID_get",_kwnames
,&_argo0
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_ID_get. Expected _wxHtmlContentsItem_p.");
836 wxPy_BEGIN_ALLOW_THREADS
;
837 _result
= (int )wxHtmlContentsItem_m_ID_get(_arg0
);
839 wxPy_END_ALLOW_THREADS
;
840 } _resultobj
= Py_BuildValue("i",_result
);
844 static char * wxHtmlContentsItem_m_Name_set(wxHtmlContentsItem
*obj
, char *val
) {
845 if (obj
->m_Name
) delete [] obj
->m_Name
;
846 obj
->m_Name
= new char[strlen(val
)+1];
847 strcpy((char *)obj
->m_Name
,val
);
850 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
853 wxHtmlContentsItem
* _arg0
;
855 PyObject
* _argo0
= 0;
856 char *_kwnames
[] = { "self","m_Name", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Name_set",_kwnames
,&_argo0
,&_arg1
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_set. Expected _wxHtmlContentsItem_p.");
869 wxPy_BEGIN_ALLOW_THREADS
;
870 _result
= (char *)wxHtmlContentsItem_m_Name_set(_arg0
,_arg1
);
872 wxPy_END_ALLOW_THREADS
;
873 } _resultobj
= Py_BuildValue("s", _result
);
877 #define wxHtmlContentsItem_m_Name_get(_swigobj) ((char *) _swigobj->m_Name)
878 static PyObject
*_wrap_wxHtmlContentsItem_m_Name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
879 PyObject
* _resultobj
;
881 wxHtmlContentsItem
* _arg0
;
882 PyObject
* _argo0
= 0;
883 char *_kwnames
[] = { "self", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Name_get",_kwnames
,&_argo0
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Name_get. Expected _wxHtmlContentsItem_p.");
896 wxPy_BEGIN_ALLOW_THREADS
;
897 _result
= (char *)wxHtmlContentsItem_m_Name_get(_arg0
);
899 wxPy_END_ALLOW_THREADS
;
900 } _resultobj
= Py_BuildValue("s", _result
);
904 static char * wxHtmlContentsItem_m_Page_set(wxHtmlContentsItem
*obj
, char *val
) {
905 if (obj
->m_Page
) delete [] obj
->m_Page
;
906 obj
->m_Page
= new char[strlen(val
)+1];
907 strcpy((char *)obj
->m_Page
,val
);
910 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
913 wxHtmlContentsItem
* _arg0
;
915 PyObject
* _argo0
= 0;
916 char *_kwnames
[] = { "self","m_Page", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlContentsItem_m_Page_set",_kwnames
,&_argo0
,&_arg1
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_set. Expected _wxHtmlContentsItem_p.");
929 wxPy_BEGIN_ALLOW_THREADS
;
930 _result
= (char *)wxHtmlContentsItem_m_Page_set(_arg0
,_arg1
);
932 wxPy_END_ALLOW_THREADS
;
933 } _resultobj
= Py_BuildValue("s", _result
);
937 #define wxHtmlContentsItem_m_Page_get(_swigobj) ((char *) _swigobj->m_Page)
938 static PyObject
*_wrap_wxHtmlContentsItem_m_Page_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
941 wxHtmlContentsItem
* _arg0
;
942 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Page_get",_kwnames
,&_argo0
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Page_get. Expected _wxHtmlContentsItem_p.");
956 wxPy_BEGIN_ALLOW_THREADS
;
957 _result
= (char *)wxHtmlContentsItem_m_Page_get(_arg0
);
959 wxPy_END_ALLOW_THREADS
;
960 } _resultobj
= Py_BuildValue("s", _result
);
964 #define wxHtmlContentsItem_m_Book_set(_swigobj,_swigval) (_swigobj->m_Book = _swigval,_swigval)
965 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
967 wxHtmlBookRecord
* _result
;
968 wxHtmlContentsItem
* _arg0
;
969 wxHtmlBookRecord
* _arg1
;
970 PyObject
* _argo0
= 0;
971 PyObject
* _argo1
= 0;
972 char *_kwnames
[] = { "self","m_Book", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContentsItem_m_Book_set",_kwnames
,&_argo0
,&_argo1
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlContentsItem_p.");
986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlBookRecord_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContentsItem_m_Book_set. Expected _wxHtmlBookRecord_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_set(_arg0
,_arg1
);
996 wxPy_END_ALLOW_THREADS
;
998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
999 _resultobj
= Py_BuildValue("s",_ptemp
);
1002 _resultobj
= Py_None
;
1007 #define wxHtmlContentsItem_m_Book_get(_swigobj) ((wxHtmlBookRecord *) _swigobj->m_Book)
1008 static PyObject
*_wrap_wxHtmlContentsItem_m_Book_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1010 wxHtmlBookRecord
* _result
;
1011 wxHtmlContentsItem
* _arg0
;
1012 PyObject
* _argo0
= 0;
1013 char *_kwnames
[] = { "self", NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_m_Book_get",_kwnames
,&_argo0
))
1020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_m_Book_get. Expected _wxHtmlContentsItem_p.");
1027 wxPy_BEGIN_ALLOW_THREADS
;
1028 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_m_Book_get(_arg0
);
1030 wxPy_END_ALLOW_THREADS
;
1032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
1033 _resultobj
= Py_BuildValue("s",_ptemp
);
1036 _resultobj
= Py_None
;
1041 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
1042 static PyObject
*_wrap_wxHtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 wxHtmlSearchStatus
* _arg0
;
1046 PyObject
* _argo0
= 0;
1047 char *_kwnames
[] = { "self", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_Search",_kwnames
,&_argo0
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
1063 wxPy_END_ALLOW_THREADS
;
1064 } _resultobj
= Py_BuildValue("i",_result
);
1068 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
1069 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1072 wxHtmlSearchStatus
* _arg0
;
1073 PyObject
* _argo0
= 0;
1074 char *_kwnames
[] = { "self", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
1090 wxPy_END_ALLOW_THREADS
;
1091 } _resultobj
= Py_BuildValue("i",_result
);
1095 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
1096 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1099 wxHtmlSearchStatus
* _arg0
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
1117 wxPy_END_ALLOW_THREADS
;
1118 } _resultobj
= Py_BuildValue("i",_result
);
1122 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
1123 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1126 wxHtmlSearchStatus
* _arg0
;
1127 PyObject
* _argo0
= 0;
1128 char *_kwnames
[] = { "self", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
1134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
1141 wxPy_BEGIN_ALLOW_THREADS
;
1142 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
1144 wxPy_END_ALLOW_THREADS
;
1145 } _resultobj
= Py_BuildValue("i",_result
);
1149 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
1150 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1153 wxHtmlSearchStatus
* _arg0
;
1154 PyObject
* _argo0
= 0;
1155 char *_kwnames
[] = { "self", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
1170 _result
= (wxString
*) &_result_ref
;
1172 wxPy_END_ALLOW_THREADS
;
1174 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1179 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
1180 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1182 wxHtmlContentsItem
* _result
;
1183 wxHtmlSearchStatus
* _arg0
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
1192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
1199 wxPy_BEGIN_ALLOW_THREADS
;
1200 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
1202 wxPy_END_ALLOW_THREADS
;
1204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1205 _resultobj
= Py_BuildValue("s",_ptemp
);
1208 _resultobj
= Py_None
;
1213 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
1214 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1216 wxHtmlHelpData
* _result
;
1217 char *_kwnames
[] = { NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
1227 wxPy_END_ALLOW_THREADS
;
1229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1230 _resultobj
= Py_BuildValue("s",_ptemp
);
1233 _resultobj
= Py_None
;
1238 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
1239 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1241 wxHtmlHelpData
* _arg0
;
1242 PyObject
* _argo0
= 0;
1243 char *_kwnames
[] = { "self", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
1249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 delete_wxHtmlHelpData(_arg0
);
1259 wxPy_END_ALLOW_THREADS
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1265 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1266 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1268 wxHtmlHelpData
* _arg0
;
1270 PyObject
* _argo0
= 0;
1271 PyObject
* _obj1
= 0;
1272 char *_kwnames
[] = { "self","path", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
1285 #if PYTHON_API_VERSION >= 1009
1286 char* tmpPtr
; int tmpSize
;
1287 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1291 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1293 _arg1
= new wxString(tmpPtr
, tmpSize
);
1295 if (!PyString_Check(_obj1
)) {
1296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1299 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1303 wxPy_BEGIN_ALLOW_THREADS
;
1304 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
1306 wxPy_END_ALLOW_THREADS
;
1307 } Py_INCREF(Py_None
);
1308 _resultobj
= Py_None
;
1316 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
1317 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1320 wxHtmlHelpData
* _arg0
;
1322 PyObject
* _argo0
= 0;
1323 PyObject
* _obj1
= 0;
1324 char *_kwnames
[] = { "self","book", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1337 #if PYTHON_API_VERSION >= 1009
1338 char* tmpPtr
; int tmpSize
;
1339 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1343 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1345 _arg1
= new wxString(tmpPtr
, tmpSize
);
1347 if (!PyString_Check(_obj1
)) {
1348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1351 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1358 wxPy_END_ALLOW_THREADS
;
1359 } _resultobj
= Py_BuildValue("i",_result
);
1367 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1368 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1371 wxHtmlHelpData
* _arg0
;
1373 PyObject
* _argo0
= 0;
1374 PyObject
* _obj1
= 0;
1375 char *_kwnames
[] = { "self","page", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1388 #if PYTHON_API_VERSION >= 1009
1389 char* tmpPtr
; int tmpSize
;
1390 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1394 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1396 _arg1
= new wxString(tmpPtr
, tmpSize
);
1398 if (!PyString_Check(_obj1
)) {
1399 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1402 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1406 wxPy_BEGIN_ALLOW_THREADS
;
1407 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1409 wxPy_END_ALLOW_THREADS
;
1411 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1423 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1424 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1427 wxHtmlHelpData
* _arg0
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self","id", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1446 wxPy_END_ALLOW_THREADS
;
1448 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1456 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1457 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1459 wxHtmlBookRecArray
* _result
;
1460 wxHtmlHelpData
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1476 wxPy_BEGIN_ALLOW_THREADS
;
1477 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1478 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1480 wxPy_END_ALLOW_THREADS
;
1482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1483 _resultobj
= Py_BuildValue("s",_ptemp
);
1486 _resultobj
= Py_None
;
1491 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1492 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1494 wxHtmlContentsItem
* _result
;
1495 wxHtmlHelpData
* _arg0
;
1496 PyObject
* _argo0
= 0;
1497 char *_kwnames
[] = { "self", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1511 wxPy_BEGIN_ALLOW_THREADS
;
1512 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1514 wxPy_END_ALLOW_THREADS
;
1516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1517 _resultobj
= Py_BuildValue("s",_ptemp
);
1520 _resultobj
= Py_None
;
1525 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1526 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1529 wxHtmlHelpData
* _arg0
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1544 wxPy_BEGIN_ALLOW_THREADS
;
1545 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1547 wxPy_END_ALLOW_THREADS
;
1548 } _resultobj
= Py_BuildValue("i",_result
);
1552 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1553 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
* _resultobj
;
1555 wxHtmlContentsItem
* _result
;
1556 wxHtmlHelpData
* _arg0
;
1557 PyObject
* _argo0
= 0;
1558 char *_kwnames
[] = { "self", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1572 wxPy_BEGIN_ALLOW_THREADS
;
1573 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1575 wxPy_END_ALLOW_THREADS
;
1577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1578 _resultobj
= Py_BuildValue("s",_ptemp
);
1581 _resultobj
= Py_None
;
1586 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1587 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1590 wxHtmlHelpData
* _arg0
;
1591 PyObject
* _argo0
= 0;
1592 char *_kwnames
[] = { "self", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1608 wxPy_END_ALLOW_THREADS
;
1609 } _resultobj
= Py_BuildValue("i",_result
);
1613 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1614 wxHtmlHelpFrame
*src
;
1616 src
= (wxHtmlHelpFrame
*) ptr
;
1617 dest
= (wxFrame
*) src
;
1618 return (void *) dest
;
1621 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1622 wxHtmlHelpFrame
*src
;
1624 src
= (wxHtmlHelpFrame
*) ptr
;
1625 dest
= (wxWindow
*) src
;
1626 return (void *) dest
;
1629 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1630 wxHtmlHelpFrame
*src
;
1632 src
= (wxHtmlHelpFrame
*) ptr
;
1633 dest
= (wxEvtHandler
*) src
;
1634 return (void *) dest
;
1637 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1638 wxHtmlHelpFrame
*src
;
1640 src
= (wxHtmlHelpFrame
*) ptr
;
1641 dest
= (wxObject
*) src
;
1642 return (void *) dest
;
1645 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1646 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1648 wxHtmlHelpFrame
* _result
;
1651 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1652 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1653 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1654 PyObject
* _argo0
= 0;
1655 PyObject
* _obj2
= 0;
1656 PyObject
* _argo4
= 0;
1657 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1672 #if PYTHON_API_VERSION >= 1009
1673 char* tmpPtr
; int tmpSize
;
1674 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1675 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1678 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1680 _arg2
= new wxString(tmpPtr
, tmpSize
);
1682 if (!PyString_Check(_obj2
)) {
1683 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1686 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1690 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1700 wxPy_END_ALLOW_THREADS
;
1702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1706 _resultobj
= Py_None
;
1715 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1716 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1718 wxHtmlHelpData
* _result
;
1719 wxHtmlHelpFrame
* _arg0
;
1720 PyObject
* _argo0
= 0;
1721 char *_kwnames
[] = { "self", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1735 wxPy_BEGIN_ALLOW_THREADS
;
1736 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1738 wxPy_END_ALLOW_THREADS
;
1740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1741 _resultobj
= Py_BuildValue("s",_ptemp
);
1744 _resultobj
= Py_None
;
1749 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1750 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1752 wxHtmlHelpFrame
* _arg0
;
1754 PyObject
* _argo0
= 0;
1755 PyObject
* _obj1
= 0;
1756 char *_kwnames
[] = { "self","format", NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1769 #if PYTHON_API_VERSION >= 1009
1770 char* tmpPtr
; int tmpSize
;
1771 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1775 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1777 _arg1
= new wxString(tmpPtr
, tmpSize
);
1779 if (!PyString_Check(_obj1
)) {
1780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1783 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1790 wxPy_END_ALLOW_THREADS
;
1791 } Py_INCREF(Py_None
);
1792 _resultobj
= Py_None
;
1800 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1801 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1803 wxHtmlHelpFrame
* _arg0
;
1805 PyObject
* _argo0
= 0;
1806 PyObject
* _obj1
= 0;
1807 char *_kwnames
[] = { "self","x", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1820 #if PYTHON_API_VERSION >= 1009
1821 char* tmpPtr
; int tmpSize
;
1822 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1826 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1828 _arg1
= new wxString(tmpPtr
, tmpSize
);
1830 if (!PyString_Check(_obj1
)) {
1831 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1834 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1838 wxPy_BEGIN_ALLOW_THREADS
;
1839 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1841 wxPy_END_ALLOW_THREADS
;
1842 } Py_INCREF(Py_None
);
1843 _resultobj
= Py_None
;
1851 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1852 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1854 wxHtmlHelpFrame
* _arg0
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self","id", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1873 wxPy_END_ALLOW_THREADS
;
1874 } Py_INCREF(Py_None
);
1875 _resultobj
= Py_None
;
1879 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1880 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1882 wxHtmlHelpFrame
* _arg0
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 wxHtmlHelpFrame_DisplayContents(_arg0
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } Py_INCREF(Py_None
);
1902 _resultobj
= Py_None
;
1906 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1907 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1909 wxHtmlHelpFrame
* _arg0
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } Py_INCREF(Py_None
);
1929 _resultobj
= Py_None
;
1933 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1934 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1937 wxHtmlHelpFrame
* _arg0
;
1939 PyObject
* _argo0
= 0;
1940 PyObject
* _obj1
= 0;
1941 char *_kwnames
[] = { "self","keyword", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1954 #if PYTHON_API_VERSION >= 1009
1955 char* tmpPtr
; int tmpSize
;
1956 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1960 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1962 _arg1
= new wxString(tmpPtr
, tmpSize
);
1964 if (!PyString_Check(_obj1
)) {
1965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1968 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1972 wxPy_BEGIN_ALLOW_THREADS
;
1973 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1975 wxPy_END_ALLOW_THREADS
;
1976 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1985 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1987 wxHtmlHelpFrame
* _arg0
;
1988 wxConfigBase
* _arg1
;
1989 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
1990 PyObject
* _argo0
= 0;
1991 PyObject
* _argo1
= 0;
1992 PyObject
* _obj2
= 0;
1993 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
2006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
2014 #if PYTHON_API_VERSION >= 1009
2015 char* tmpPtr
; int tmpSize
;
2016 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2020 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2022 _arg2
= new wxString(tmpPtr
, tmpSize
);
2024 if (!PyString_Check(_obj2
)) {
2025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2028 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
2035 wxPy_END_ALLOW_THREADS
;
2036 } Py_INCREF(Py_None
);
2037 _resultobj
= Py_None
;
2045 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2046 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
* _resultobj
;
2048 wxHtmlHelpFrame
* _arg0
;
2049 wxConfigBase
* _arg1
;
2050 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2051 PyObject
* _argo0
= 0;
2052 PyObject
* _argo1
= 0;
2053 PyObject
* _obj2
= 0;
2054 char *_kwnames
[] = { "self","cfg","path", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
2067 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
2075 #if PYTHON_API_VERSION >= 1009
2076 char* tmpPtr
; int tmpSize
;
2077 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2078 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2081 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2083 _arg2
= new wxString(tmpPtr
, tmpSize
);
2085 if (!PyString_Check(_obj2
)) {
2086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2089 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2093 wxPy_BEGIN_ALLOW_THREADS
;
2094 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2096 wxPy_END_ALLOW_THREADS
;
2097 } Py_INCREF(Py_None
);
2098 _resultobj
= Py_None
;
2106 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2107 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2109 wxHtmlHelpFrame
* _arg0
;
2110 wxConfigBase
* _arg1
;
2111 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2112 PyObject
* _argo0
= 0;
2113 PyObject
* _argo1
= 0;
2114 PyObject
* _obj2
= 0;
2115 char *_kwnames
[] = { "self","cfg","path", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
2128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
2136 #if PYTHON_API_VERSION >= 1009
2137 char* tmpPtr
; int tmpSize
;
2138 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2142 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2144 _arg2
= new wxString(tmpPtr
, tmpSize
);
2146 if (!PyString_Check(_obj2
)) {
2147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2150 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2154 wxPy_BEGIN_ALLOW_THREADS
;
2155 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2157 wxPy_END_ALLOW_THREADS
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2167 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
2168 wxHtmlHelpController
*src
;
2170 src
= (wxHtmlHelpController
*) ptr
;
2171 dest
= (wxEvtHandler
*) src
;
2172 return (void *) dest
;
2175 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
2176 wxHtmlHelpController
*src
;
2178 src
= (wxHtmlHelpController
*) ptr
;
2179 dest
= (wxObject
*) src
;
2180 return (void *) dest
;
2183 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
2184 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2186 wxHtmlHelpController
* _result
;
2187 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
2188 char *_kwnames
[] = { "style", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
2195 wxPy_BEGIN_ALLOW_THREADS
;
2196 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
2198 wxPy_END_ALLOW_THREADS
;
2200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
2201 _resultobj
= Py_BuildValue("s",_ptemp
);
2204 _resultobj
= Py_None
;
2209 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
2210 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2212 wxHtmlHelpController
* _arg0
;
2213 PyObject
* _argo0
= 0;
2214 char *_kwnames
[] = { "self", NULL
};
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
2220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
2227 wxPy_BEGIN_ALLOW_THREADS
;
2228 delete_wxHtmlHelpController(_arg0
);
2230 wxPy_END_ALLOW_THREADS
;
2231 } Py_INCREF(Py_None
);
2232 _resultobj
= Py_None
;
2236 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
2237 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2239 wxHtmlHelpController
* _arg0
;
2241 PyObject
* _argo0
= 0;
2242 PyObject
* _obj1
= 0;
2243 char *_kwnames
[] = { "self","format", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
2249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
2256 #if PYTHON_API_VERSION >= 1009
2257 char* tmpPtr
; int tmpSize
;
2258 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2262 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2264 _arg1
= new wxString(tmpPtr
, tmpSize
);
2266 if (!PyString_Check(_obj1
)) {
2267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2270 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2274 wxPy_BEGIN_ALLOW_THREADS
;
2275 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
2277 wxPy_END_ALLOW_THREADS
;
2278 } Py_INCREF(Py_None
);
2279 _resultobj
= Py_None
;
2287 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
2288 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
* _resultobj
;
2290 wxHtmlHelpController
* _arg0
;
2292 PyObject
* _argo0
= 0;
2293 PyObject
* _obj1
= 0;
2294 char *_kwnames
[] = { "self","path", NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
2300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
2307 #if PYTHON_API_VERSION >= 1009
2308 char* tmpPtr
; int tmpSize
;
2309 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2310 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2313 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2315 _arg1
= new wxString(tmpPtr
, tmpSize
);
2317 if (!PyString_Check(_obj1
)) {
2318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2321 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
2328 wxPy_END_ALLOW_THREADS
;
2329 } Py_INCREF(Py_None
);
2330 _resultobj
= Py_None
;
2338 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
2339 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2342 wxHtmlHelpController
* _arg0
;
2344 int _arg2
= (int ) FALSE
;
2345 PyObject
* _argo0
= 0;
2346 PyObject
* _obj1
= 0;
2347 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
2360 #if PYTHON_API_VERSION >= 1009
2361 char* tmpPtr
; int tmpSize
;
2362 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2366 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2368 _arg1
= new wxString(tmpPtr
, tmpSize
);
2370 if (!PyString_Check(_obj1
)) {
2371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2374 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2378 wxPy_BEGIN_ALLOW_THREADS
;
2379 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
2381 wxPy_END_ALLOW_THREADS
;
2382 } _resultobj
= Py_BuildValue("i",_result
);
2390 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2391 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2393 wxHtmlHelpController
* _arg0
;
2395 PyObject
* _argo0
= 0;
2396 PyObject
* _obj1
= 0;
2397 char *_kwnames
[] = { "self","x", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
2410 #if PYTHON_API_VERSION >= 1009
2411 char* tmpPtr
; int tmpSize
;
2412 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2416 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2418 _arg1
= new wxString(tmpPtr
, tmpSize
);
2420 if (!PyString_Check(_obj1
)) {
2421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2424 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2428 wxPy_BEGIN_ALLOW_THREADS
;
2429 wxHtmlHelpController_Display(_arg0
,*_arg1
);
2431 wxPy_END_ALLOW_THREADS
;
2432 } Py_INCREF(Py_None
);
2433 _resultobj
= Py_None
;
2441 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2442 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2444 wxHtmlHelpController
* _arg0
;
2446 PyObject
* _argo0
= 0;
2447 char *_kwnames
[] = { "self","id", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2460 wxPy_BEGIN_ALLOW_THREADS
;
2461 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2463 wxPy_END_ALLOW_THREADS
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2469 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2470 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2472 wxHtmlHelpController
* _arg0
;
2473 PyObject
* _argo0
= 0;
2474 char *_kwnames
[] = { "self", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 wxHtmlHelpController_DisplayContents(_arg0
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2496 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2497 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
* _resultobj
;
2499 wxHtmlHelpController
* _arg0
;
2500 PyObject
* _argo0
= 0;
2501 char *_kwnames
[] = { "self", NULL
};
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2514 wxPy_BEGIN_ALLOW_THREADS
;
2515 wxHtmlHelpController_DisplayIndex(_arg0
);
2517 wxPy_END_ALLOW_THREADS
;
2518 } Py_INCREF(Py_None
);
2519 _resultobj
= Py_None
;
2523 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2524 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2527 wxHtmlHelpController
* _arg0
;
2529 PyObject
* _argo0
= 0;
2530 PyObject
* _obj1
= 0;
2531 char *_kwnames
[] = { "self","keyword", NULL
};
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2544 #if PYTHON_API_VERSION >= 1009
2545 char* tmpPtr
; int tmpSize
;
2546 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2547 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2550 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2552 _arg1
= new wxString(tmpPtr
, tmpSize
);
2554 if (!PyString_Check(_obj1
)) {
2555 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2558 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2565 wxPy_END_ALLOW_THREADS
;
2566 } _resultobj
= Py_BuildValue("i",_result
);
2574 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2575 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2577 wxHtmlHelpController
* _arg0
;
2578 wxConfigBase
* _arg1
;
2579 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2580 PyObject
* _argo0
= 0;
2581 PyObject
* _argo1
= 0;
2582 PyObject
* _obj2
= 0;
2583 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2604 #if PYTHON_API_VERSION >= 1009
2605 char* tmpPtr
; int tmpSize
;
2606 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2610 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2612 _arg2
= new wxString(tmpPtr
, tmpSize
);
2614 if (!PyString_Check(_obj2
)) {
2615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2618 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2622 wxPy_BEGIN_ALLOW_THREADS
;
2623 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2625 wxPy_END_ALLOW_THREADS
;
2626 } Py_INCREF(Py_None
);
2627 _resultobj
= Py_None
;
2635 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2636 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2638 wxHtmlHelpController
* _arg0
;
2639 wxConfigBase
* _arg1
;
2640 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2641 PyObject
* _argo0
= 0;
2642 PyObject
* _argo1
= 0;
2643 PyObject
* _obj2
= 0;
2644 char *_kwnames
[] = { "self","cfg","path", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2665 #if PYTHON_API_VERSION >= 1009
2666 char* tmpPtr
; int tmpSize
;
2667 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2671 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2673 _arg2
= new wxString(tmpPtr
, tmpSize
);
2675 if (!PyString_Check(_obj2
)) {
2676 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2679 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2686 wxPy_END_ALLOW_THREADS
;
2687 } Py_INCREF(Py_None
);
2688 _resultobj
= Py_None
;
2696 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2697 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2699 wxHtmlHelpController
* _arg0
;
2700 wxConfigBase
* _arg1
;
2701 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2702 PyObject
* _argo0
= 0;
2703 PyObject
* _argo1
= 0;
2704 PyObject
* _obj2
= 0;
2705 char *_kwnames
[] = { "self","cfg","path", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2726 #if PYTHON_API_VERSION >= 1009
2727 char* tmpPtr
; int tmpSize
;
2728 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2732 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2734 _arg2
= new wxString(tmpPtr
, tmpSize
);
2736 if (!PyString_Check(_obj2
)) {
2737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2740 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2747 wxPy_END_ALLOW_THREADS
;
2748 } Py_INCREF(Py_None
);
2749 _resultobj
= Py_None
;
2757 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2758 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
* _resultobj
;
2760 wxHtmlHelpFrame
* _result
;
2761 wxHtmlHelpController
* _arg0
;
2762 PyObject
* _argo0
= 0;
2763 char *_kwnames
[] = { "self", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2780 wxPy_END_ALLOW_THREADS
;
2782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2783 _resultobj
= Py_BuildValue("s",_ptemp
);
2786 _resultobj
= Py_None
;
2791 static PyMethodDef htmlhelpcMethods
[] = {
2792 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2793 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2794 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2795 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2796 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2797 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2798 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2799 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2800 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2801 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2802 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2803 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2804 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2805 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2806 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2807 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2808 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2809 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2810 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2811 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2812 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2813 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2814 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2815 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2816 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2817 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2818 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2819 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2820 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2821 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2822 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2823 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2824 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2825 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2826 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2827 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2828 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2829 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2830 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2831 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2832 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2833 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2834 { "wxHtmlContentsItem_m_Book_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_get
, METH_VARARGS
| METH_KEYWORDS
},
2835 { "wxHtmlContentsItem_m_Book_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Book_set
, METH_VARARGS
| METH_KEYWORDS
},
2836 { "wxHtmlContentsItem_m_Page_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_get
, METH_VARARGS
| METH_KEYWORDS
},
2837 { "wxHtmlContentsItem_m_Page_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Page_set
, METH_VARARGS
| METH_KEYWORDS
},
2838 { "wxHtmlContentsItem_m_Name_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_get
, METH_VARARGS
| METH_KEYWORDS
},
2839 { "wxHtmlContentsItem_m_Name_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Name_set
, METH_VARARGS
| METH_KEYWORDS
},
2840 { "wxHtmlContentsItem_m_ID_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_get
, METH_VARARGS
| METH_KEYWORDS
},
2841 { "wxHtmlContentsItem_m_ID_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_ID_set
, METH_VARARGS
| METH_KEYWORDS
},
2842 { "wxHtmlContentsItem_m_Level_get", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_get
, METH_VARARGS
| METH_KEYWORDS
},
2843 { "wxHtmlContentsItem_m_Level_set", (PyCFunction
) _wrap_wxHtmlContentsItem_m_Level_set
, METH_VARARGS
| METH_KEYWORDS
},
2844 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2845 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2846 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2847 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2848 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2849 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2850 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2851 { "wxHtmlHelpFrameCfg_navig_on_get", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_navig_on_get
, METH_VARARGS
| METH_KEYWORDS
},
2852 { "wxHtmlHelpFrameCfg_navig_on_set", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_navig_on_set
, METH_VARARGS
| METH_KEYWORDS
},
2853 { "wxHtmlHelpFrameCfg_sashpos_get", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_sashpos_get
, METH_VARARGS
| METH_KEYWORDS
},
2854 { "wxHtmlHelpFrameCfg_sashpos_set", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_sashpos_set
, METH_VARARGS
| METH_KEYWORDS
},
2855 { "wxHtmlHelpFrameCfg_h_get", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_h_get
, METH_VARARGS
| METH_KEYWORDS
},
2856 { "wxHtmlHelpFrameCfg_h_set", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_h_set
, METH_VARARGS
| METH_KEYWORDS
},
2857 { "wxHtmlHelpFrameCfg_w_get", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_w_get
, METH_VARARGS
| METH_KEYWORDS
},
2858 { "wxHtmlHelpFrameCfg_w_set", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_w_set
, METH_VARARGS
| METH_KEYWORDS
},
2859 { "wxHtmlHelpFrameCfg_y_get", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_y_get
, METH_VARARGS
| METH_KEYWORDS
},
2860 { "wxHtmlHelpFrameCfg_y_set", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_y_set
, METH_VARARGS
| METH_KEYWORDS
},
2861 { "wxHtmlHelpFrameCfg_x_get", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_x_get
, METH_VARARGS
| METH_KEYWORDS
},
2862 { "wxHtmlHelpFrameCfg_x_set", (PyCFunction
) _wrap_wxHtmlHelpFrameCfg_x_set
, METH_VARARGS
| METH_KEYWORDS
},
2863 { "new_wxHtmlHelpFrameCfg", (PyCFunction
) _wrap_new_wxHtmlHelpFrameCfg
, METH_VARARGS
| METH_KEYWORDS
},
2870 * This table is used by the pointer type-checker
2872 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2873 { "_signed_long","_long",0},
2874 { "_wxPrintQuality","_wxCoord",0},
2875 { "_wxPrintQuality","_int",0},
2876 { "_wxPrintQuality","_signed_int",0},
2877 { "_wxPrintQuality","_unsigned_int",0},
2878 { "_wxPrintQuality","_wxWindowID",0},
2879 { "_wxPrintQuality","_uint",0},
2880 { "_wxPrintQuality","_EBool",0},
2881 { "_wxPrintQuality","_size_t",0},
2882 { "_wxPrintQuality","_time_t",0},
2883 { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2884 { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2885 { "_class_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2886 { "_class_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2887 { "_byte","_unsigned_char",0},
2888 { "_long","_unsigned_long",0},
2889 { "_long","_signed_long",0},
2890 { "_class_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2891 { "_class_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2892 { "_class_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2893 { "_class_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2894 { "_size_t","_wxCoord",0},
2895 { "_size_t","_wxPrintQuality",0},
2896 { "_size_t","_time_t",0},
2897 { "_size_t","_unsigned_int",0},
2898 { "_size_t","_int",0},
2899 { "_size_t","_wxWindowID",0},
2900 { "_size_t","_uint",0},
2901 { "_uint","_wxCoord",0},
2902 { "_uint","_wxPrintQuality",0},
2903 { "_uint","_time_t",0},
2904 { "_uint","_size_t",0},
2905 { "_uint","_unsigned_int",0},
2906 { "_uint","_int",0},
2907 { "_uint","_wxWindowID",0},
2908 { "_wxChar","_char",0},
2909 { "_char","_wxChar",0},
2910 { "_EBool","_wxCoord",0},
2911 { "_EBool","_wxPrintQuality",0},
2912 { "_EBool","_signed_int",0},
2913 { "_EBool","_int",0},
2914 { "_EBool","_wxWindowID",0},
2915 { "_unsigned_long","_long",0},
2916 { "_signed_int","_wxCoord",0},
2917 { "_signed_int","_wxPrintQuality",0},
2918 { "_signed_int","_EBool",0},
2919 { "_signed_int","_wxWindowID",0},
2920 { "_signed_int","_int",0},
2921 { "_WXTYPE","_wxDateTime_t",0},
2922 { "_WXTYPE","_short",0},
2923 { "_WXTYPE","_signed_short",0},
2924 { "_WXTYPE","_unsigned_short",0},
2925 { "_unsigned_short","_wxDateTime_t",0},
2926 { "_unsigned_short","_WXTYPE",0},
2927 { "_unsigned_short","_short",0},
2928 { "_class_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2929 { "_class_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2930 { "_wxObject","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2931 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2932 { "_wxObject","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2933 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2934 { "_signed_short","_WXTYPE",0},
2935 { "_signed_short","_short",0},
2936 { "_unsigned_char","_byte",0},
2937 { "_unsigned_int","_wxCoord",0},
2938 { "_unsigned_int","_wxPrintQuality",0},
2939 { "_unsigned_int","_time_t",0},
2940 { "_unsigned_int","_size_t",0},
2941 { "_unsigned_int","_uint",0},
2942 { "_unsigned_int","_wxWindowID",0},
2943 { "_unsigned_int","_int",0},
2944 { "_short","_wxDateTime_t",0},
2945 { "_short","_WXTYPE",0},
2946 { "_short","_unsigned_short",0},
2947 { "_short","_signed_short",0},
2948 { "_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2949 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2950 { "_wxWindowID","_wxCoord",0},
2951 { "_wxWindowID","_wxPrintQuality",0},
2952 { "_wxWindowID","_time_t",0},
2953 { "_wxWindowID","_size_t",0},
2954 { "_wxWindowID","_EBool",0},
2955 { "_wxWindowID","_uint",0},
2956 { "_wxWindowID","_int",0},
2957 { "_wxWindowID","_signed_int",0},
2958 { "_wxWindowID","_unsigned_int",0},
2959 { "_int","_wxCoord",0},
2960 { "_int","_wxPrintQuality",0},
2961 { "_int","_time_t",0},
2962 { "_int","_size_t",0},
2963 { "_int","_EBool",0},
2964 { "_int","_uint",0},
2965 { "_int","_wxWindowID",0},
2966 { "_int","_unsigned_int",0},
2967 { "_int","_signed_int",0},
2968 { "_wxDateTime_t","_unsigned_short",0},
2969 { "_wxDateTime_t","_short",0},
2970 { "_wxDateTime_t","_WXTYPE",0},
2971 { "_time_t","_wxCoord",0},
2972 { "_time_t","_wxPrintQuality",0},
2973 { "_time_t","_unsigned_int",0},
2974 { "_time_t","_int",0},
2975 { "_time_t","_wxWindowID",0},
2976 { "_time_t","_uint",0},
2977 { "_time_t","_size_t",0},
2978 { "_wxCoord","_int",0},
2979 { "_wxCoord","_signed_int",0},
2980 { "_wxCoord","_unsigned_int",0},
2981 { "_wxCoord","_wxWindowID",0},
2982 { "_wxCoord","_uint",0},
2983 { "_wxCoord","_EBool",0},
2984 { "_wxCoord","_size_t",0},
2985 { "_wxCoord","_time_t",0},
2986 { "_wxCoord","_wxPrintQuality",0},
2987 { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2988 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2989 { "_wxEvtHandler","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2990 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2991 { "_wxWindow","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2992 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2993 { "_class_wxFrame","_class_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2994 { "_class_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2997 static PyObject
*SWIG_globals
;
3001 SWIGEXPORT(void) inithtmlhelpc() {
3003 SWIG_globals
= SWIG_newvarlink();
3004 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
3005 d
= PyModule_GetDict(m
);
3006 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
3007 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
3008 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
3009 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
3010 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
3011 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
3012 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
3013 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
3014 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
3017 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3018 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);