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>
66 // Put some wx default wxChar* values into wxStrings.
67 static const wxString
wxPyEmptyString(wxT(""));
70 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
76 } else if (target
== Py_None
) {
80 if (!PyTuple_Check(target
)) {
82 target
= PyTuple_New(1);
83 PyTuple_SetItem(target
, 0, o2
);
86 PyTuple_SetItem(o3
, 0, o
);
89 target
= PySequence_Concat(o2
, o3
);
98 static void *SwigwxHtmlBookRecordTowxObject(void *ptr
) {
99 wxHtmlBookRecord
*src
;
101 src
= (wxHtmlBookRecord
*) ptr
;
102 dest
= (wxObject
*) src
;
103 return (void *) dest
;
106 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107 static PyObject
*_wrap_new_wxHtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
108 PyObject
* _resultobj
;
109 wxHtmlBookRecord
* _result
;
114 PyObject
* _obj0
= 0;
115 PyObject
* _obj1
= 0;
116 PyObject
* _obj2
= 0;
117 PyObject
* _obj3
= 0;
118 char *_kwnames
[] = { "bookfile","basepath","title","start", NULL
};
122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxHtmlBookRecord",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
125 _arg0
= wxString_in_helper(_obj0
);
130 _arg1
= wxString_in_helper(_obj1
);
135 _arg2
= wxString_in_helper(_obj2
);
140 _arg3
= wxString_in_helper(_obj3
);
145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
146 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
148 wxPyEndAllowThreads(__tstate
);
149 if (PyErr_Occurred()) return NULL
;
151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
152 _resultobj
= Py_BuildValue("s",_ptemp
);
155 _resultobj
= Py_None
;
176 #define wxHtmlBookRecord_GetBookFile(_swigobj) (_swigobj->GetBookFile())
177 static PyObject
*_wrap_wxHtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
180 wxHtmlBookRecord
* _arg0
;
181 PyObject
* _argo0
= 0;
182 char *_kwnames
[] = { "self", NULL
};
185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBookFile",_kwnames
,&_argo0
))
188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBookFile. Expected _wxHtmlBookRecord_p.");
195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
196 _result
= new wxString (wxHtmlBookRecord_GetBookFile(_arg0
));
198 wxPyEndAllowThreads(__tstate
);
199 if (PyErr_Occurred()) return NULL
;
202 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
204 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
213 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
214 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
215 PyObject
* _resultobj
;
217 wxHtmlBookRecord
* _arg0
;
218 PyObject
* _argo0
= 0;
219 char *_kwnames
[] = { "self", NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
233 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
235 wxPyEndAllowThreads(__tstate
);
236 if (PyErr_Occurred()) return NULL
;
239 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
241 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
250 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
251 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
254 wxHtmlBookRecord
* _arg0
;
255 PyObject
* _argo0
= 0;
256 char *_kwnames
[] = { "self", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
270 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
272 wxPyEndAllowThreads(__tstate
);
273 if (PyErr_Occurred()) return NULL
;
276 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
278 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
287 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
288 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
289 PyObject
* _resultobj
;
291 wxHtmlBookRecord
* _arg0
;
292 PyObject
* _argo0
= 0;
293 char *_kwnames
[] = { "self", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
307 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
309 wxPyEndAllowThreads(__tstate
);
310 if (PyErr_Occurred()) return NULL
;
313 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
315 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
324 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
325 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
326 PyObject
* _resultobj
;
327 wxHtmlBookRecord
* _arg0
;
330 PyObject
* _argo0
= 0;
331 char *_kwnames
[] = { "self","start","end", NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
345 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
347 wxPyEndAllowThreads(__tstate
);
348 if (PyErr_Occurred()) return NULL
;
349 } Py_INCREF(Py_None
);
350 _resultobj
= Py_None
;
354 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
355 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
358 wxHtmlBookRecord
* _arg0
;
359 PyObject
* _argo0
= 0;
360 char *_kwnames
[] = { "self", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
374 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
376 wxPyEndAllowThreads(__tstate
);
377 if (PyErr_Occurred()) return NULL
;
378 } _resultobj
= Py_BuildValue("i",_result
);
382 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
383 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
384 PyObject
* _resultobj
;
386 wxHtmlBookRecord
* _arg0
;
387 PyObject
* _argo0
= 0;
388 char *_kwnames
[] = { "self", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
402 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
404 wxPyEndAllowThreads(__tstate
);
405 if (PyErr_Occurred()) return NULL
;
406 } _resultobj
= Py_BuildValue("i",_result
);
410 #define wxHtmlBookRecord_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
411 static PyObject
*_wrap_wxHtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
413 wxHtmlBookRecord
* _arg0
;
415 PyObject
* _argo0
= 0;
416 PyObject
* _obj1
= 0;
417 char *_kwnames
[] = { "self","title", NULL
};
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetTitle",_kwnames
,&_argo0
,&_obj1
))
423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetTitle. Expected _wxHtmlBookRecord_p.");
430 _arg1
= wxString_in_helper(_obj1
);
435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
436 wxHtmlBookRecord_SetTitle(_arg0
,*_arg1
);
438 wxPyEndAllowThreads(__tstate
);
439 if (PyErr_Occurred()) return NULL
;
440 } Py_INCREF(Py_None
);
441 _resultobj
= Py_None
;
449 #define wxHtmlBookRecord_SetBasePath(_swigobj,_swigarg0) (_swigobj->SetBasePath(_swigarg0))
450 static PyObject
*_wrap_wxHtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
452 wxHtmlBookRecord
* _arg0
;
454 PyObject
* _argo0
= 0;
455 PyObject
* _obj1
= 0;
456 char *_kwnames
[] = { "self","path", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetBasePath",_kwnames
,&_argo0
,&_obj1
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetBasePath. Expected _wxHtmlBookRecord_p.");
469 _arg1
= wxString_in_helper(_obj1
);
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 wxHtmlBookRecord_SetBasePath(_arg0
,*_arg1
);
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) return NULL
;
479 } Py_INCREF(Py_None
);
480 _resultobj
= Py_None
;
488 #define wxHtmlBookRecord_SetStart(_swigobj,_swigarg0) (_swigobj->SetStart(_swigarg0))
489 static PyObject
*_wrap_wxHtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
491 wxHtmlBookRecord
* _arg0
;
493 PyObject
* _argo0
= 0;
494 PyObject
* _obj1
= 0;
495 char *_kwnames
[] = { "self","start", NULL
};
498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetStart",_kwnames
,&_argo0
,&_obj1
))
501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetStart. Expected _wxHtmlBookRecord_p.");
508 _arg1
= wxString_in_helper(_obj1
);
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 wxHtmlBookRecord_SetStart(_arg0
,*_arg1
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
518 } Py_INCREF(Py_None
);
519 _resultobj
= Py_None
;
527 #define wxHtmlBookRecord_GetFullPath(_swigobj,_swigarg0) (_swigobj->GetFullPath(_swigarg0))
528 static PyObject
*_wrap_wxHtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
531 wxHtmlBookRecord
* _arg0
;
533 PyObject
* _argo0
= 0;
534 PyObject
* _obj1
= 0;
535 char *_kwnames
[] = { "self","page", NULL
};
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_GetFullPath",_kwnames
,&_argo0
,&_obj1
))
541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetFullPath. Expected _wxHtmlBookRecord_p.");
548 _arg1
= wxString_in_helper(_obj1
);
553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
554 _result
= new wxString (wxHtmlBookRecord_GetFullPath(_arg0
,*_arg1
));
556 wxPyEndAllowThreads(__tstate
);
557 if (PyErr_Occurred()) return NULL
;
560 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
562 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
575 static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
) { return self
->m_Level
; }
576 static PyObject
*_wrap_wxHtmlContentsItem_GetLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
579 wxHtmlContentsItem
* _arg0
;
580 PyObject
* _argo0
= 0;
581 char *_kwnames
[] = { "self", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetLevel",_kwnames
,&_argo0
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetLevel. Expected _wxHtmlContentsItem_p.");
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 _result
= (int )wxHtmlContentsItem_GetLevel(_arg0
);
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
599 } _resultobj
= Py_BuildValue("i",_result
);
603 static int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
) { return self
->m_ID
; }
604 static PyObject
*_wrap_wxHtmlContentsItem_GetID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
607 wxHtmlContentsItem
* _arg0
;
608 PyObject
* _argo0
= 0;
609 char *_kwnames
[] = { "self", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetID",_kwnames
,&_argo0
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetID. Expected _wxHtmlContentsItem_p.");
622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
623 _result
= (int )wxHtmlContentsItem_GetID(_arg0
);
625 wxPyEndAllowThreads(__tstate
);
626 if (PyErr_Occurred()) return NULL
;
627 } _resultobj
= Py_BuildValue("i",_result
);
631 static wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
) { return self
->m_Name
; }
632 static PyObject
*_wrap_wxHtmlContentsItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
635 wxHtmlContentsItem
* _arg0
;
636 PyObject
* _argo0
= 0;
637 char *_kwnames
[] = { "self", NULL
};
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetName",_kwnames
,&_argo0
))
643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetName. Expected _wxHtmlContentsItem_p.");
650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
651 _result
= new wxString (wxHtmlContentsItem_GetName(_arg0
));
653 wxPyEndAllowThreads(__tstate
);
654 if (PyErr_Occurred()) return NULL
;
657 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
659 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
668 static wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
) { return self
->m_Page
; }
669 static PyObject
*_wrap_wxHtmlContentsItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
670 PyObject
* _resultobj
;
672 wxHtmlContentsItem
* _arg0
;
673 PyObject
* _argo0
= 0;
674 char *_kwnames
[] = { "self", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetPage",_kwnames
,&_argo0
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetPage. Expected _wxHtmlContentsItem_p.");
687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
688 _result
= new wxString (wxHtmlContentsItem_GetPage(_arg0
));
690 wxPyEndAllowThreads(__tstate
);
691 if (PyErr_Occurred()) return NULL
;
694 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
696 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
705 static wxHtmlBookRecord
* wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
) { return self
->m_Book
; }
706 static PyObject
*_wrap_wxHtmlContentsItem_GetBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
708 wxHtmlBookRecord
* _result
;
709 wxHtmlContentsItem
* _arg0
;
710 PyObject
* _argo0
= 0;
711 char *_kwnames
[] = { "self", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetBook",_kwnames
,&_argo0
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetBook. Expected _wxHtmlContentsItem_p.");
725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
726 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(_arg0
);
728 wxPyEndAllowThreads(__tstate
);
729 if (PyErr_Occurred()) return NULL
;
731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
732 _resultobj
= Py_BuildValue("s",_ptemp
);
735 _resultobj
= Py_None
;
740 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
741 static PyObject
*_wrap_wxHtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
744 wxHtmlSearchStatus
* _arg0
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_Search",_kwnames
,&_argo0
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
760 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
762 wxPyEndAllowThreads(__tstate
);
763 if (PyErr_Occurred()) return NULL
;
764 } _resultobj
= Py_BuildValue("i",_result
);
768 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
769 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
772 wxHtmlSearchStatus
* _arg0
;
773 PyObject
* _argo0
= 0;
774 char *_kwnames
[] = { "self", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
790 wxPyEndAllowThreads(__tstate
);
791 if (PyErr_Occurred()) return NULL
;
792 } _resultobj
= Py_BuildValue("i",_result
);
796 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
797 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
798 PyObject
* _resultobj
;
800 wxHtmlSearchStatus
* _arg0
;
801 PyObject
* _argo0
= 0;
802 char *_kwnames
[] = { "self", NULL
};
805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
816 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
818 wxPyEndAllowThreads(__tstate
);
819 if (PyErr_Occurred()) return NULL
;
820 } _resultobj
= Py_BuildValue("i",_result
);
824 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
825 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
828 wxHtmlSearchStatus
* _arg0
;
829 PyObject
* _argo0
= 0;
830 char *_kwnames
[] = { "self", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
844 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
846 wxPyEndAllowThreads(__tstate
);
847 if (PyErr_Occurred()) return NULL
;
848 } _resultobj
= Py_BuildValue("i",_result
);
852 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
853 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
856 wxHtmlSearchStatus
* _arg0
;
857 PyObject
* _argo0
= 0;
858 char *_kwnames
[] = { "self", NULL
};
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
872 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
873 _result
= (wxString
*) &_result_ref
;
875 wxPyEndAllowThreads(__tstate
);
876 if (PyErr_Occurred()) return NULL
;
879 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
881 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
887 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
888 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
890 wxHtmlContentsItem
* _result
;
891 wxHtmlSearchStatus
* _arg0
;
892 PyObject
* _argo0
= 0;
893 char *_kwnames
[] = { "self", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
908 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
910 wxPyEndAllowThreads(__tstate
);
911 if (PyErr_Occurred()) return NULL
;
913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
914 _resultobj
= Py_BuildValue("s",_ptemp
);
917 _resultobj
= Py_None
;
922 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
923 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
925 wxHtmlHelpData
* _result
;
926 char *_kwnames
[] = { NULL
};
930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
934 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
936 wxPyEndAllowThreads(__tstate
);
937 if (PyErr_Occurred()) return NULL
;
939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
940 _resultobj
= Py_BuildValue("s",_ptemp
);
943 _resultobj
= Py_None
;
948 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
949 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
951 wxHtmlHelpData
* _arg0
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 delete_wxHtmlHelpData(_arg0
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
971 } Py_INCREF(Py_None
);
972 _resultobj
= Py_None
;
976 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
977 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
979 wxHtmlHelpData
* _arg0
;
981 PyObject
* _argo0
= 0;
982 PyObject
* _obj1
= 0;
983 char *_kwnames
[] = { "self","path", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
996 _arg1
= wxString_in_helper(_obj1
);
1001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1002 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
1004 wxPyEndAllowThreads(__tstate
);
1005 if (PyErr_Occurred()) return NULL
;
1006 } Py_INCREF(Py_None
);
1007 _resultobj
= Py_None
;
1015 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
1016 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1019 wxHtmlHelpData
* _arg0
;
1021 PyObject
* _argo0
= 0;
1022 PyObject
* _obj1
= 0;
1023 char *_kwnames
[] = { "self","book", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1036 _arg1
= wxString_in_helper(_obj1
);
1041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1042 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1044 wxPyEndAllowThreads(__tstate
);
1045 if (PyErr_Occurred()) return NULL
;
1046 } _resultobj
= Py_BuildValue("i",_result
);
1054 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1055 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1058 wxHtmlHelpData
* _arg0
;
1060 PyObject
* _argo0
= 0;
1061 PyObject
* _obj1
= 0;
1062 char *_kwnames
[] = { "self","page", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1075 _arg1
= wxString_in_helper(_obj1
);
1080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1081 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1083 wxPyEndAllowThreads(__tstate
);
1084 if (PyErr_Occurred()) return NULL
;
1087 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1089 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1102 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1103 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1106 wxHtmlHelpData
* _arg0
;
1108 PyObject
* _argo0
= 0;
1109 char *_kwnames
[] = { "self","id", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1123 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1125 wxPyEndAllowThreads(__tstate
);
1126 if (PyErr_Occurred()) return NULL
;
1129 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1131 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1140 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1141 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1143 wxHtmlBookRecArray
* _result
;
1144 wxHtmlHelpData
* _arg0
;
1145 PyObject
* _argo0
= 0;
1146 char *_kwnames
[] = { "self", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1161 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1162 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1168 _resultobj
= Py_BuildValue("s",_ptemp
);
1171 _resultobj
= Py_None
;
1176 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1177 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1179 wxHtmlContentsItem
* _result
;
1180 wxHtmlHelpData
* _arg0
;
1181 PyObject
* _argo0
= 0;
1182 char *_kwnames
[] = { "self", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1197 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1199 wxPyEndAllowThreads(__tstate
);
1200 if (PyErr_Occurred()) return NULL
;
1202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1203 _resultobj
= Py_BuildValue("s",_ptemp
);
1206 _resultobj
= Py_None
;
1211 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1212 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1215 wxHtmlHelpData
* _arg0
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "self", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } _resultobj
= Py_BuildValue("i",_result
);
1239 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1240 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1242 wxHtmlContentsItem
* _result
;
1243 wxHtmlHelpData
* _arg0
;
1244 PyObject
* _argo0
= 0;
1245 char *_kwnames
[] = { "self", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) return NULL
;
1265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1266 _resultobj
= Py_BuildValue("s",_ptemp
);
1269 _resultobj
= Py_None
;
1274 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1275 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1278 wxHtmlHelpData
* _arg0
;
1279 PyObject
* _argo0
= 0;
1280 char *_kwnames
[] = { "self", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) return NULL
;
1298 } _resultobj
= Py_BuildValue("i",_result
);
1302 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1303 wxHtmlHelpFrame
*src
;
1305 src
= (wxHtmlHelpFrame
*) ptr
;
1306 dest
= (wxFrame
*) src
;
1307 return (void *) dest
;
1310 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr
) {
1311 wxHtmlHelpFrame
*src
;
1312 wxTopLevelWindow
*dest
;
1313 src
= (wxHtmlHelpFrame
*) ptr
;
1314 dest
= (wxTopLevelWindow
*) src
;
1315 return (void *) dest
;
1318 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1319 wxHtmlHelpFrame
*src
;
1321 src
= (wxHtmlHelpFrame
*) ptr
;
1322 dest
= (wxWindow
*) src
;
1323 return (void *) dest
;
1326 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1327 wxHtmlHelpFrame
*src
;
1329 src
= (wxHtmlHelpFrame
*) ptr
;
1330 dest
= (wxEvtHandler
*) src
;
1331 return (void *) dest
;
1334 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1335 wxHtmlHelpFrame
*src
;
1337 src
= (wxHtmlHelpFrame
*) ptr
;
1338 dest
= (wxObject
*) src
;
1339 return (void *) dest
;
1342 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1343 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1345 wxHtmlHelpFrame
* _result
;
1348 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1349 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1350 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1351 PyObject
* _argo0
= 0;
1352 PyObject
* _obj2
= 0;
1353 PyObject
* _argo4
= 0;
1354 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1369 _arg2
= wxString_in_helper(_obj2
);
1374 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1382 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) return NULL
;
1387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1388 _resultobj
= Py_BuildValue("s",_ptemp
);
1391 _resultobj
= Py_None
;
1400 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1401 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1403 wxHtmlHelpData
* _result
;
1404 wxHtmlHelpFrame
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1427 _resultobj
= Py_BuildValue("s",_ptemp
);
1430 _resultobj
= Py_None
;
1435 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1436 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1438 wxHtmlHelpFrame
* _arg0
;
1440 PyObject
* _argo0
= 0;
1441 PyObject
* _obj1
= 0;
1442 char *_kwnames
[] = { "self","format", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1455 _arg1
= wxString_in_helper(_obj1
);
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } Py_INCREF(Py_None
);
1466 _resultobj
= Py_None
;
1474 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1475 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1477 wxHtmlHelpFrame
* _arg0
;
1479 PyObject
* _argo0
= 0;
1480 PyObject
* _obj1
= 0;
1481 char *_kwnames
[] = { "self","x", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1494 _arg1
= wxString_in_helper(_obj1
);
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) return NULL
;
1504 } Py_INCREF(Py_None
);
1505 _resultobj
= Py_None
;
1513 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1514 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1516 wxHtmlHelpFrame
* _arg0
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self","id", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } Py_INCREF(Py_None
);
1538 _resultobj
= Py_None
;
1542 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1543 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1545 wxHtmlHelpFrame
* _arg0
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 wxHtmlHelpFrame_DisplayContents(_arg0
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 } Py_INCREF(Py_None
);
1566 _resultobj
= Py_None
;
1570 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1571 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1573 wxHtmlHelpFrame
* _arg0
;
1574 PyObject
* _argo0
= 0;
1575 char *_kwnames
[] = { "self", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) return NULL
;
1593 } Py_INCREF(Py_None
);
1594 _resultobj
= Py_None
;
1598 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1599 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1602 wxHtmlHelpFrame
* _arg0
;
1604 PyObject
* _argo0
= 0;
1605 PyObject
* _obj1
= 0;
1606 char *_kwnames
[] = { "self","keyword", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1619 _arg1
= wxString_in_helper(_obj1
);
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) return NULL
;
1629 } _resultobj
= Py_BuildValue("i",_result
);
1637 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1638 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1640 wxHtmlHelpFrame
* _arg0
;
1641 wxConfigBase
* _arg1
;
1642 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1643 PyObject
* _argo0
= 0;
1644 PyObject
* _argo1
= 0;
1645 PyObject
* _obj2
= 0;
1646 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1667 _arg2
= wxString_in_helper(_obj2
);
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) return NULL
;
1677 } Py_INCREF(Py_None
);
1678 _resultobj
= Py_None
;
1686 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1687 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1689 wxHtmlHelpFrame
* _arg0
;
1690 wxConfigBase
* _arg1
;
1691 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1692 PyObject
* _argo0
= 0;
1693 PyObject
* _argo1
= 0;
1694 PyObject
* _obj2
= 0;
1695 char *_kwnames
[] = { "self","cfg","path", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1716 _arg2
= wxString_in_helper(_obj2
);
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) return NULL
;
1726 } Py_INCREF(Py_None
);
1727 _resultobj
= Py_None
;
1735 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1736 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxHtmlHelpFrame
* _arg0
;
1739 wxConfigBase
* _arg1
;
1740 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1741 PyObject
* _argo0
= 0;
1742 PyObject
* _argo1
= 0;
1743 PyObject
* _obj2
= 0;
1744 char *_kwnames
[] = { "self","cfg","path", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1765 _arg2
= wxString_in_helper(_obj2
);
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1784 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
1785 wxHtmlHelpController
*src
;
1787 src
= (wxHtmlHelpController
*) ptr
;
1788 dest
= (wxEvtHandler
*) src
;
1789 return (void *) dest
;
1792 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
1793 wxHtmlHelpController
*src
;
1795 src
= (wxHtmlHelpController
*) ptr
;
1796 dest
= (wxObject
*) src
;
1797 return (void *) dest
;
1800 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1801 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1803 wxHtmlHelpController
* _result
;
1804 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
1805 char *_kwnames
[] = { "style", NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) return NULL
;
1818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
1819 _resultobj
= Py_BuildValue("s",_ptemp
);
1822 _resultobj
= Py_None
;
1827 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1828 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1830 wxHtmlHelpController
* _arg0
;
1831 PyObject
* _argo0
= 0;
1832 char *_kwnames
[] = { "self", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
1838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 delete_wxHtmlHelpController(_arg0
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) return NULL
;
1850 } Py_INCREF(Py_None
);
1851 _resultobj
= Py_None
;
1855 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1856 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1858 wxHtmlHelpController
* _arg0
;
1860 PyObject
* _argo0
= 0;
1861 PyObject
* _obj1
= 0;
1862 char *_kwnames
[] = { "self","format", NULL
};
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1875 _arg1
= wxString_in_helper(_obj1
);
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1885 } Py_INCREF(Py_None
);
1886 _resultobj
= Py_None
;
1894 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1895 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1897 wxHtmlHelpController
* _arg0
;
1899 PyObject
* _argo0
= 0;
1900 PyObject
* _obj1
= 0;
1901 char *_kwnames
[] = { "self","path", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1914 _arg1
= wxString_in_helper(_obj1
);
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } Py_INCREF(Py_None
);
1925 _resultobj
= Py_None
;
1933 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
1934 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1937 wxHtmlHelpController
* _arg0
;
1939 int _arg2
= (int ) FALSE
;
1940 PyObject
* _argo0
= 0;
1941 PyObject
* _obj1
= 0;
1942 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
1955 _arg1
= wxString_in_helper(_obj1
);
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) return NULL
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1973 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1974 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 wxHtmlHelpController
* _arg0
;
1978 PyObject
* _argo0
= 0;
1979 PyObject
* _obj1
= 0;
1980 char *_kwnames
[] = { "self","x", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
1993 _arg1
= wxString_in_helper(_obj1
);
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 wxHtmlHelpController_Display(_arg0
,*_arg1
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) return NULL
;
2003 } Py_INCREF(Py_None
);
2004 _resultobj
= Py_None
;
2012 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2013 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2015 wxHtmlHelpController
* _arg0
;
2017 PyObject
* _argo0
= 0;
2018 char *_kwnames
[] = { "self","id", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) return NULL
;
2036 } Py_INCREF(Py_None
);
2037 _resultobj
= Py_None
;
2041 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2042 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2044 wxHtmlHelpController
* _arg0
;
2045 PyObject
* _argo0
= 0;
2046 char *_kwnames
[] = { "self", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 wxHtmlHelpController_DisplayContents(_arg0
);
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) return NULL
;
2064 } Py_INCREF(Py_None
);
2065 _resultobj
= Py_None
;
2069 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2070 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2072 wxHtmlHelpController
* _arg0
;
2073 PyObject
* _argo0
= 0;
2074 char *_kwnames
[] = { "self", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 wxHtmlHelpController_DisplayIndex(_arg0
);
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) return NULL
;
2092 } Py_INCREF(Py_None
);
2093 _resultobj
= Py_None
;
2097 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2098 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2101 wxHtmlHelpController
* _arg0
;
2103 PyObject
* _argo0
= 0;
2104 PyObject
* _obj1
= 0;
2105 char *_kwnames
[] = { "self","keyword", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2118 _arg1
= wxString_in_helper(_obj1
);
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2128 } _resultobj
= Py_BuildValue("i",_result
);
2136 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2137 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2139 wxHtmlHelpController
* _arg0
;
2140 wxConfigBase
* _arg1
;
2141 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2142 PyObject
* _argo0
= 0;
2143 PyObject
* _argo1
= 0;
2144 PyObject
* _obj2
= 0;
2145 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2166 _arg2
= wxString_in_helper(_obj2
);
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) return NULL
;
2176 } Py_INCREF(Py_None
);
2177 _resultobj
= Py_None
;
2185 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2186 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2188 wxHtmlHelpController
* _arg0
;
2189 wxConfigBase
* _arg1
;
2190 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2191 PyObject
* _argo0
= 0;
2192 PyObject
* _argo1
= 0;
2193 PyObject
* _obj2
= 0;
2194 char *_kwnames
[] = { "self","cfg","path", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2207 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2215 _arg2
= wxString_in_helper(_obj2
);
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) return NULL
;
2225 } Py_INCREF(Py_None
);
2226 _resultobj
= Py_None
;
2234 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2235 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2237 wxHtmlHelpController
* _arg0
;
2238 wxConfigBase
* _arg1
;
2239 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2240 PyObject
* _argo0
= 0;
2241 PyObject
* _argo1
= 0;
2242 PyObject
* _obj2
= 0;
2243 char *_kwnames
[] = { "self","cfg","path", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
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_WriteCustomization. Expected _wxHtmlHelpController_p.");
2256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2264 _arg2
= wxString_in_helper(_obj2
);
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2283 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2284 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2286 wxHtmlHelpFrame
* _result
;
2287 wxHtmlHelpController
* _arg0
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2310 _resultobj
= Py_BuildValue("s",_ptemp
);
2313 _resultobj
= Py_None
;
2318 static PyMethodDef htmlhelpcMethods
[] = {
2319 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2320 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2321 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2322 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2323 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2324 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2325 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2326 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2327 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2328 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2329 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2330 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2331 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2332 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2333 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2334 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2335 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2336 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2337 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2338 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2339 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2340 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2341 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2342 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2343 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2344 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2345 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2346 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2347 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2348 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2349 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2350 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2351 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2352 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2353 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2354 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2355 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2356 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2357 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2358 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2359 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2360 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2361 { "wxHtmlContentsItem_GetBook", (PyCFunction
) _wrap_wxHtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
},
2362 { "wxHtmlContentsItem_GetPage", (PyCFunction
) _wrap_wxHtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2363 { "wxHtmlContentsItem_GetName", (PyCFunction
) _wrap_wxHtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2364 { "wxHtmlContentsItem_GetID", (PyCFunction
) _wrap_wxHtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
},
2365 { "wxHtmlContentsItem_GetLevel", (PyCFunction
) _wrap_wxHtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
},
2366 { "wxHtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
2367 { "wxHtmlBookRecord_SetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
2368 { "wxHtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2369 { "wxHtmlBookRecord_SetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2370 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2371 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2372 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2373 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2374 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2375 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2376 { "wxHtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
2377 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2384 * This table is used by the pointer type-checker
2386 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2387 { "_signed_long","_long",0},
2388 { "_wxPrintQuality","_wxCoord",0},
2389 { "_wxPrintQuality","_int",0},
2390 { "_wxPrintQuality","_signed_int",0},
2391 { "_wxPrintQuality","_unsigned_int",0},
2392 { "_wxPrintQuality","_wxWindowID",0},
2393 { "_wxPrintQuality","_uint",0},
2394 { "_wxPrintQuality","_EBool",0},
2395 { "_wxPrintQuality","_size_t",0},
2396 { "_wxPrintQuality","_time_t",0},
2397 { "_byte","_unsigned_char",0},
2398 { "_long","_unsigned_long",0},
2399 { "_long","_signed_long",0},
2400 { "_size_t","_wxCoord",0},
2401 { "_size_t","_wxPrintQuality",0},
2402 { "_size_t","_time_t",0},
2403 { "_size_t","_unsigned_int",0},
2404 { "_size_t","_int",0},
2405 { "_size_t","_wxWindowID",0},
2406 { "_size_t","_uint",0},
2407 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2408 { "_uint","_wxCoord",0},
2409 { "_uint","_wxPrintQuality",0},
2410 { "_uint","_time_t",0},
2411 { "_uint","_size_t",0},
2412 { "_uint","_unsigned_int",0},
2413 { "_uint","_int",0},
2414 { "_uint","_wxWindowID",0},
2415 { "_wxChar","_char",0},
2416 { "_char","_wxChar",0},
2417 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2418 { "_EBool","_wxCoord",0},
2419 { "_EBool","_wxPrintQuality",0},
2420 { "_EBool","_signed_int",0},
2421 { "_EBool","_int",0},
2422 { "_EBool","_wxWindowID",0},
2423 { "_unsigned_long","_long",0},
2424 { "_struct_wxHtmlContentsItem","_wxHtmlContentsItem",0},
2425 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2426 { "_signed_int","_wxCoord",0},
2427 { "_signed_int","_wxPrintQuality",0},
2428 { "_signed_int","_EBool",0},
2429 { "_signed_int","_wxWindowID",0},
2430 { "_signed_int","_int",0},
2431 { "_WXTYPE","_wxDateTime_t",0},
2432 { "_WXTYPE","_short",0},
2433 { "_WXTYPE","_signed_short",0},
2434 { "_WXTYPE","_unsigned_short",0},
2435 { "_unsigned_short","_wxDateTime_t",0},
2436 { "_unsigned_short","_WXTYPE",0},
2437 { "_unsigned_short","_short",0},
2438 { "_wxHtmlContentsItem","_struct_wxHtmlContentsItem",0},
2439 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2440 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2441 { "_wxObject","_wxHtmlBookRecord",SwigwxHtmlBookRecordTowxObject
},
2442 { "_signed_short","_WXTYPE",0},
2443 { "_signed_short","_short",0},
2444 { "_unsigned_char","_byte",0},
2445 { "_unsigned_int","_wxCoord",0},
2446 { "_unsigned_int","_wxPrintQuality",0},
2447 { "_unsigned_int","_time_t",0},
2448 { "_unsigned_int","_size_t",0},
2449 { "_unsigned_int","_uint",0},
2450 { "_unsigned_int","_wxWindowID",0},
2451 { "_unsigned_int","_int",0},
2452 { "_short","_wxDateTime_t",0},
2453 { "_short","_WXTYPE",0},
2454 { "_short","_unsigned_short",0},
2455 { "_short","_signed_short",0},
2456 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2457 { "_wxWindowID","_wxCoord",0},
2458 { "_wxWindowID","_wxPrintQuality",0},
2459 { "_wxWindowID","_time_t",0},
2460 { "_wxWindowID","_size_t",0},
2461 { "_wxWindowID","_EBool",0},
2462 { "_wxWindowID","_uint",0},
2463 { "_wxWindowID","_int",0},
2464 { "_wxWindowID","_signed_int",0},
2465 { "_wxWindowID","_unsigned_int",0},
2466 { "_int","_wxCoord",0},
2467 { "_int","_wxPrintQuality",0},
2468 { "_int","_time_t",0},
2469 { "_int","_size_t",0},
2470 { "_int","_EBool",0},
2471 { "_int","_uint",0},
2472 { "_int","_wxWindowID",0},
2473 { "_int","_unsigned_int",0},
2474 { "_int","_signed_int",0},
2475 { "_wxDateTime_t","_unsigned_short",0},
2476 { "_wxDateTime_t","_short",0},
2477 { "_wxDateTime_t","_WXTYPE",0},
2478 { "_time_t","_wxCoord",0},
2479 { "_time_t","_wxPrintQuality",0},
2480 { "_time_t","_unsigned_int",0},
2481 { "_time_t","_int",0},
2482 { "_time_t","_wxWindowID",0},
2483 { "_time_t","_uint",0},
2484 { "_time_t","_size_t",0},
2485 { "_wxCoord","_int",0},
2486 { "_wxCoord","_signed_int",0},
2487 { "_wxCoord","_unsigned_int",0},
2488 { "_wxCoord","_wxWindowID",0},
2489 { "_wxCoord","_uint",0},
2490 { "_wxCoord","_EBool",0},
2491 { "_wxCoord","_size_t",0},
2492 { "_wxCoord","_time_t",0},
2493 { "_wxCoord","_wxPrintQuality",0},
2494 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2495 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2496 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2499 static PyObject
*SWIG_globals
;
2503 SWIGEXPORT(void) inithtmlhelpc() {
2505 SWIG_globals
= SWIG_newvarlink();
2506 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2507 d
= PyModule_GetDict(m
);
2508 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2509 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2510 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2511 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2512 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2513 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2514 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2515 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2516 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2519 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2520 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);