2 * FILE : src/msw/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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init inithtmlhelpc
55 #define SWIG_name "htmlhelpc"
58 #include <wx/html/htmlwin.h>
59 #include <wx/html/helpctrl.h>
61 #include <wx/fs_zip.h>
62 #include <wx/fs_inet.h>
63 #include <wx/wfstream.h>
65 // Put some wx default wxChar* values into wxStrings.
66 static const wxString
wxPyEmptyString(wxT(""));
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
97 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
98 static PyObject
*_wrap_new_wxHtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
99 PyObject
* _resultobj
;
100 wxHtmlBookRecord
* _result
;
105 PyObject
* _obj0
= 0;
106 PyObject
* _obj1
= 0;
107 PyObject
* _obj2
= 0;
108 PyObject
* _obj3
= 0;
109 char *_kwnames
[] = { "bookfile","basepath","title","start", NULL
};
113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxHtmlBookRecord",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
116 _arg0
= wxString_in_helper(_obj0
);
121 _arg1
= wxString_in_helper(_obj1
);
126 _arg2
= wxString_in_helper(_obj2
);
131 _arg3
= wxString_in_helper(_obj3
);
136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
137 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
139 wxPyEndAllowThreads(__tstate
);
140 if (PyErr_Occurred()) return NULL
;
142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
143 _resultobj
= Py_BuildValue("s",_ptemp
);
146 _resultobj
= Py_None
;
167 #define wxHtmlBookRecord_GetBookFile(_swigobj) (_swigobj->GetBookFile())
168 static PyObject
*_wrap_wxHtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
171 wxHtmlBookRecord
* _arg0
;
172 PyObject
* _argo0
= 0;
173 char *_kwnames
[] = { "self", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBookFile",_kwnames
,&_argo0
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBookFile. Expected _wxHtmlBookRecord_p.");
186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
187 _result
= new wxString (wxHtmlBookRecord_GetBookFile(_arg0
));
189 wxPyEndAllowThreads(__tstate
);
190 if (PyErr_Occurred()) return NULL
;
193 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
195 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
204 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
205 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
206 PyObject
* _resultobj
;
208 wxHtmlBookRecord
* _arg0
;
209 PyObject
* _argo0
= 0;
210 char *_kwnames
[] = { "self", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
224 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
226 wxPyEndAllowThreads(__tstate
);
227 if (PyErr_Occurred()) return NULL
;
230 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
232 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
241 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
242 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
243 PyObject
* _resultobj
;
245 wxHtmlBookRecord
* _arg0
;
246 PyObject
* _argo0
= 0;
247 char *_kwnames
[] = { "self", NULL
};
250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
261 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
263 wxPyEndAllowThreads(__tstate
);
264 if (PyErr_Occurred()) return NULL
;
267 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
269 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
278 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
279 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
282 wxHtmlBookRecord
* _arg0
;
283 PyObject
* _argo0
= 0;
284 char *_kwnames
[] = { "self", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
298 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
300 wxPyEndAllowThreads(__tstate
);
301 if (PyErr_Occurred()) return NULL
;
304 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
306 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
315 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
316 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
318 wxHtmlBookRecord
* _arg0
;
321 PyObject
* _argo0
= 0;
322 char *_kwnames
[] = { "self","start","end", NULL
};
325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
336 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
338 wxPyEndAllowThreads(__tstate
);
339 if (PyErr_Occurred()) return NULL
;
340 } Py_INCREF(Py_None
);
341 _resultobj
= Py_None
;
345 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
346 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
349 wxHtmlBookRecord
* _arg0
;
350 PyObject
* _argo0
= 0;
351 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
365 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
367 wxPyEndAllowThreads(__tstate
);
368 if (PyErr_Occurred()) return NULL
;
369 } _resultobj
= Py_BuildValue("i",_result
);
373 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
374 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
375 PyObject
* _resultobj
;
377 wxHtmlBookRecord
* _arg0
;
378 PyObject
* _argo0
= 0;
379 char *_kwnames
[] = { "self", NULL
};
382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
393 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
395 wxPyEndAllowThreads(__tstate
);
396 if (PyErr_Occurred()) return NULL
;
397 } _resultobj
= Py_BuildValue("i",_result
);
401 #define wxHtmlBookRecord_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
402 static PyObject
*_wrap_wxHtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
404 wxHtmlBookRecord
* _arg0
;
406 PyObject
* _argo0
= 0;
407 PyObject
* _obj1
= 0;
408 char *_kwnames
[] = { "self","title", NULL
};
411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetTitle",_kwnames
,&_argo0
,&_obj1
))
414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetTitle. Expected _wxHtmlBookRecord_p.");
421 _arg1
= wxString_in_helper(_obj1
);
426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
427 wxHtmlBookRecord_SetTitle(_arg0
,*_arg1
);
429 wxPyEndAllowThreads(__tstate
);
430 if (PyErr_Occurred()) return NULL
;
431 } Py_INCREF(Py_None
);
432 _resultobj
= Py_None
;
440 #define wxHtmlBookRecord_SetBasePath(_swigobj,_swigarg0) (_swigobj->SetBasePath(_swigarg0))
441 static PyObject
*_wrap_wxHtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
443 wxHtmlBookRecord
* _arg0
;
445 PyObject
* _argo0
= 0;
446 PyObject
* _obj1
= 0;
447 char *_kwnames
[] = { "self","path", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetBasePath",_kwnames
,&_argo0
,&_obj1
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetBasePath. Expected _wxHtmlBookRecord_p.");
460 _arg1
= wxString_in_helper(_obj1
);
465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
466 wxHtmlBookRecord_SetBasePath(_arg0
,*_arg1
);
468 wxPyEndAllowThreads(__tstate
);
469 if (PyErr_Occurred()) return NULL
;
470 } Py_INCREF(Py_None
);
471 _resultobj
= Py_None
;
479 #define wxHtmlBookRecord_SetStart(_swigobj,_swigarg0) (_swigobj->SetStart(_swigarg0))
480 static PyObject
*_wrap_wxHtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
482 wxHtmlBookRecord
* _arg0
;
484 PyObject
* _argo0
= 0;
485 PyObject
* _obj1
= 0;
486 char *_kwnames
[] = { "self","start", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetStart",_kwnames
,&_argo0
,&_obj1
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetStart. Expected _wxHtmlBookRecord_p.");
499 _arg1
= wxString_in_helper(_obj1
);
504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
505 wxHtmlBookRecord_SetStart(_arg0
,*_arg1
);
507 wxPyEndAllowThreads(__tstate
);
508 if (PyErr_Occurred()) return NULL
;
509 } Py_INCREF(Py_None
);
510 _resultobj
= Py_None
;
518 #define wxHtmlBookRecord_GetFullPath(_swigobj,_swigarg0) (_swigobj->GetFullPath(_swigarg0))
519 static PyObject
*_wrap_wxHtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 wxHtmlBookRecord
* _arg0
;
524 PyObject
* _argo0
= 0;
525 PyObject
* _obj1
= 0;
526 char *_kwnames
[] = { "self","page", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_GetFullPath",_kwnames
,&_argo0
,&_obj1
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetFullPath. Expected _wxHtmlBookRecord_p.");
539 _arg1
= wxString_in_helper(_obj1
);
544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
545 _result
= new wxString (wxHtmlBookRecord_GetFullPath(_arg0
,*_arg1
));
547 wxPyEndAllowThreads(__tstate
);
548 if (PyErr_Occurred()) return NULL
;
551 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
553 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
566 static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
) { return self
->m_Level
; }
567 static PyObject
*_wrap_wxHtmlContentsItem_GetLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 PyObject
* _resultobj
;
570 wxHtmlContentsItem
* _arg0
;
571 PyObject
* _argo0
= 0;
572 char *_kwnames
[] = { "self", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetLevel",_kwnames
,&_argo0
))
578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetLevel. Expected _wxHtmlContentsItem_p.");
585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
586 _result
= (int )wxHtmlContentsItem_GetLevel(_arg0
);
588 wxPyEndAllowThreads(__tstate
);
589 if (PyErr_Occurred()) return NULL
;
590 } _resultobj
= Py_BuildValue("i",_result
);
594 static int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
) { return self
->m_ID
; }
595 static PyObject
*_wrap_wxHtmlContentsItem_GetID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
598 wxHtmlContentsItem
* _arg0
;
599 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetID",_kwnames
,&_argo0
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetID. Expected _wxHtmlContentsItem_p.");
613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
614 _result
= (int )wxHtmlContentsItem_GetID(_arg0
);
616 wxPyEndAllowThreads(__tstate
);
617 if (PyErr_Occurred()) return NULL
;
618 } _resultobj
= Py_BuildValue("i",_result
);
622 static wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
) { return self
->m_Name
; }
623 static PyObject
*_wrap_wxHtmlContentsItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
626 wxHtmlContentsItem
* _arg0
;
627 PyObject
* _argo0
= 0;
628 char *_kwnames
[] = { "self", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetName",_kwnames
,&_argo0
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetName. Expected _wxHtmlContentsItem_p.");
641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
642 _result
= new wxString (wxHtmlContentsItem_GetName(_arg0
));
644 wxPyEndAllowThreads(__tstate
);
645 if (PyErr_Occurred()) return NULL
;
648 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
650 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
659 static wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
) { return self
->m_Page
; }
660 static PyObject
*_wrap_wxHtmlContentsItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
663 wxHtmlContentsItem
* _arg0
;
664 PyObject
* _argo0
= 0;
665 char *_kwnames
[] = { "self", NULL
};
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetPage",_kwnames
,&_argo0
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetPage. Expected _wxHtmlContentsItem_p.");
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 _result
= new wxString (wxHtmlContentsItem_GetPage(_arg0
));
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) return NULL
;
685 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
687 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
696 static wxHtmlBookRecord
* wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
) { return self
->m_Book
; }
697 static PyObject
*_wrap_wxHtmlContentsItem_GetBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
699 wxHtmlBookRecord
* _result
;
700 wxHtmlContentsItem
* _arg0
;
701 PyObject
* _argo0
= 0;
702 char *_kwnames
[] = { "self", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetBook",_kwnames
,&_argo0
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetBook. Expected _wxHtmlContentsItem_p.");
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(_arg0
);
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) return NULL
;
722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
723 _resultobj
= Py_BuildValue("s",_ptemp
);
726 _resultobj
= Py_None
;
731 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
732 static PyObject
*_wrap_wxHtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
733 PyObject
* _resultobj
;
735 wxHtmlSearchStatus
* _arg0
;
736 PyObject
* _argo0
= 0;
737 char *_kwnames
[] = { "self", NULL
};
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_Search",_kwnames
,&_argo0
))
743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
751 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
753 wxPyEndAllowThreads(__tstate
);
754 if (PyErr_Occurred()) return NULL
;
755 } _resultobj
= Py_BuildValue("i",_result
);
759 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
760 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
761 PyObject
* _resultobj
;
763 wxHtmlSearchStatus
* _arg0
;
764 PyObject
* _argo0
= 0;
765 char *_kwnames
[] = { "self", NULL
};
768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
779 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
781 wxPyEndAllowThreads(__tstate
);
782 if (PyErr_Occurred()) return NULL
;
783 } _resultobj
= Py_BuildValue("i",_result
);
787 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
788 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
791 wxHtmlSearchStatus
* _arg0
;
792 PyObject
* _argo0
= 0;
793 char *_kwnames
[] = { "self", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) return NULL
;
811 } _resultobj
= Py_BuildValue("i",_result
);
815 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
816 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
819 wxHtmlSearchStatus
* _arg0
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
835 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
837 wxPyEndAllowThreads(__tstate
);
838 if (PyErr_Occurred()) return NULL
;
839 } _resultobj
= Py_BuildValue("i",_result
);
843 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
844 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
847 wxHtmlSearchStatus
* _arg0
;
848 PyObject
* _argo0
= 0;
849 char *_kwnames
[] = { "self", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
863 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
864 _result
= (wxString
*) &_result_ref
;
866 wxPyEndAllowThreads(__tstate
);
867 if (PyErr_Occurred()) return NULL
;
870 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
872 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
878 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
879 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
881 wxHtmlContentsItem
* _result
;
882 wxHtmlSearchStatus
* _arg0
;
883 PyObject
* _argo0
= 0;
884 char *_kwnames
[] = { "self", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
899 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
901 wxPyEndAllowThreads(__tstate
);
902 if (PyErr_Occurred()) return NULL
;
904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
905 _resultobj
= Py_BuildValue("s",_ptemp
);
908 _resultobj
= Py_None
;
913 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
914 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 PyObject
* _resultobj
;
916 wxHtmlHelpData
* _result
;
917 char *_kwnames
[] = { NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) return NULL
;
930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
931 _resultobj
= Py_BuildValue("s",_ptemp
);
934 _resultobj
= Py_None
;
939 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
940 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
941 PyObject
* _resultobj
;
942 wxHtmlHelpData
* _arg0
;
943 PyObject
* _argo0
= 0;
944 char *_kwnames
[] = { "self", NULL
};
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
958 delete_wxHtmlHelpData(_arg0
);
960 wxPyEndAllowThreads(__tstate
);
961 if (PyErr_Occurred()) return NULL
;
962 } Py_INCREF(Py_None
);
963 _resultobj
= Py_None
;
967 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
968 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
969 PyObject
* _resultobj
;
970 wxHtmlHelpData
* _arg0
;
972 PyObject
* _argo0
= 0;
973 PyObject
* _obj1
= 0;
974 char *_kwnames
[] = { "self","path", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
987 _arg1
= wxString_in_helper(_obj1
);
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) return NULL
;
997 } Py_INCREF(Py_None
);
998 _resultobj
= Py_None
;
1006 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
1007 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1010 wxHtmlHelpData
* _arg0
;
1012 PyObject
* _argo0
= 0;
1013 PyObject
* _obj1
= 0;
1014 char *_kwnames
[] = { "self","book", NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
1020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1027 _arg1
= wxString_in_helper(_obj1
);
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1037 } _resultobj
= Py_BuildValue("i",_result
);
1045 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1046 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1049 wxHtmlHelpData
* _arg0
;
1051 PyObject
* _argo0
= 0;
1052 PyObject
* _obj1
= 0;
1053 char *_kwnames
[] = { "self","page", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1066 _arg1
= wxString_in_helper(_obj1
);
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) return NULL
;
1078 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1080 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1093 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1094 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
* _resultobj
;
1097 wxHtmlHelpData
* _arg0
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self","id", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) return NULL
;
1120 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1122 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1131 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1132 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1134 wxHtmlBookRecArray
* _result
;
1135 wxHtmlHelpData
* _arg0
;
1136 PyObject
* _argo0
= 0;
1137 char *_kwnames
[] = { "self", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1153 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1155 wxPyEndAllowThreads(__tstate
);
1156 if (PyErr_Occurred()) return NULL
;
1158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1159 _resultobj
= Py_BuildValue("s",_ptemp
);
1162 _resultobj
= Py_None
;
1167 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1168 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
* _resultobj
;
1170 wxHtmlContentsItem
* _result
;
1171 wxHtmlHelpData
* _arg0
;
1172 PyObject
* _argo0
= 0;
1173 char *_kwnames
[] = { "self", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1190 wxPyEndAllowThreads(__tstate
);
1191 if (PyErr_Occurred()) return NULL
;
1193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1194 _resultobj
= Py_BuildValue("s",_ptemp
);
1197 _resultobj
= Py_None
;
1202 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1203 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1206 wxHtmlHelpData
* _arg0
;
1207 PyObject
* _argo0
= 0;
1208 char *_kwnames
[] = { "self", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) return NULL
;
1226 } _resultobj
= Py_BuildValue("i",_result
);
1230 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1231 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1233 wxHtmlContentsItem
* _result
;
1234 wxHtmlHelpData
* _arg0
;
1235 PyObject
* _argo0
= 0;
1236 char *_kwnames
[] = { "self", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) return NULL
;
1256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1257 _resultobj
= Py_BuildValue("s",_ptemp
);
1260 _resultobj
= Py_None
;
1265 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1266 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1269 wxHtmlHelpData
* _arg0
;
1270 PyObject
* _argo0
= 0;
1271 char *_kwnames
[] = { "self", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) return NULL
;
1289 } _resultobj
= Py_BuildValue("i",_result
);
1293 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1294 wxHtmlHelpFrame
*src
;
1296 src
= (wxHtmlHelpFrame
*) ptr
;
1297 dest
= (wxFrame
*) src
;
1298 return (void *) dest
;
1301 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr
) {
1302 wxHtmlHelpFrame
*src
;
1303 wxTopLevelWindow
*dest
;
1304 src
= (wxHtmlHelpFrame
*) ptr
;
1305 dest
= (wxTopLevelWindow
*) src
;
1306 return (void *) dest
;
1309 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1310 wxHtmlHelpFrame
*src
;
1312 src
= (wxHtmlHelpFrame
*) ptr
;
1313 dest
= (wxWindow
*) src
;
1314 return (void *) dest
;
1317 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1318 wxHtmlHelpFrame
*src
;
1320 src
= (wxHtmlHelpFrame
*) ptr
;
1321 dest
= (wxEvtHandler
*) src
;
1322 return (void *) dest
;
1325 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1326 wxHtmlHelpFrame
*src
;
1328 src
= (wxHtmlHelpFrame
*) ptr
;
1329 dest
= (wxObject
*) src
;
1330 return (void *) dest
;
1333 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1334 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1336 wxHtmlHelpFrame
* _result
;
1339 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1340 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1341 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1342 PyObject
* _argo0
= 0;
1343 PyObject
* _obj2
= 0;
1344 PyObject
* _argo4
= 0;
1345 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1360 _arg2
= wxString_in_helper(_obj2
);
1365 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) return NULL
;
1378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1379 _resultobj
= Py_BuildValue("s",_ptemp
);
1382 _resultobj
= Py_None
;
1391 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1392 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1394 wxHtmlHelpData
* _result
;
1395 wxHtmlHelpFrame
* _arg0
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "self", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) return NULL
;
1417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1418 _resultobj
= Py_BuildValue("s",_ptemp
);
1421 _resultobj
= Py_None
;
1426 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1427 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1429 wxHtmlHelpFrame
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 PyObject
* _obj1
= 0;
1433 char *_kwnames
[] = { "self","format", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1446 _arg1
= wxString_in_helper(_obj1
);
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) return NULL
;
1456 } Py_INCREF(Py_None
);
1457 _resultobj
= Py_None
;
1465 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1466 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1468 wxHtmlHelpFrame
* _arg0
;
1470 PyObject
* _argo0
= 0;
1471 PyObject
* _obj1
= 0;
1472 char *_kwnames
[] = { "self","x", NULL
};
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1485 _arg1
= wxString_in_helper(_obj1
);
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) return NULL
;
1495 } Py_INCREF(Py_None
);
1496 _resultobj
= Py_None
;
1504 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1505 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1507 wxHtmlHelpFrame
* _arg0
;
1509 PyObject
* _argo0
= 0;
1510 char *_kwnames
[] = { "self","id", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1528 } Py_INCREF(Py_None
);
1529 _resultobj
= Py_None
;
1533 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1534 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1536 wxHtmlHelpFrame
* _arg0
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 wxHtmlHelpFrame_DisplayContents(_arg0
);
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) return NULL
;
1556 } Py_INCREF(Py_None
);
1557 _resultobj
= Py_None
;
1561 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1562 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1564 wxHtmlHelpFrame
* _arg0
;
1565 PyObject
* _argo0
= 0;
1566 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } Py_INCREF(Py_None
);
1585 _resultobj
= Py_None
;
1589 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1590 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1593 wxHtmlHelpFrame
* _arg0
;
1595 PyObject
* _argo0
= 0;
1596 PyObject
* _obj1
= 0;
1597 char *_kwnames
[] = { "self","keyword", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1610 _arg1
= wxString_in_helper(_obj1
);
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1620 } _resultobj
= Py_BuildValue("i",_result
);
1628 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1629 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxHtmlHelpFrame
* _arg0
;
1632 wxConfigBase
* _arg1
;
1633 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1634 PyObject
* _argo0
= 0;
1635 PyObject
* _argo1
= 0;
1636 PyObject
* _obj2
= 0;
1637 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1650 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1658 _arg2
= wxString_in_helper(_obj2
);
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) return NULL
;
1668 } Py_INCREF(Py_None
);
1669 _resultobj
= Py_None
;
1677 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1678 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1680 wxHtmlHelpFrame
* _arg0
;
1681 wxConfigBase
* _arg1
;
1682 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1683 PyObject
* _argo0
= 0;
1684 PyObject
* _argo1
= 0;
1685 PyObject
* _obj2
= 0;
1686 char *_kwnames
[] = { "self","cfg","path", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1707 _arg2
= wxString_in_helper(_obj2
);
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) return NULL
;
1717 } Py_INCREF(Py_None
);
1718 _resultobj
= Py_None
;
1726 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1727 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1729 wxHtmlHelpFrame
* _arg0
;
1730 wxConfigBase
* _arg1
;
1731 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1732 PyObject
* _argo0
= 0;
1733 PyObject
* _argo1
= 0;
1734 PyObject
* _obj2
= 0;
1735 char *_kwnames
[] = { "self","cfg","path", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1756 _arg2
= wxString_in_helper(_obj2
);
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) return NULL
;
1766 } Py_INCREF(Py_None
);
1767 _resultobj
= Py_None
;
1775 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
1776 wxHtmlHelpController
*src
;
1778 src
= (wxHtmlHelpController
*) ptr
;
1779 dest
= (wxEvtHandler
*) src
;
1780 return (void *) dest
;
1783 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
1784 wxHtmlHelpController
*src
;
1786 src
= (wxHtmlHelpController
*) ptr
;
1787 dest
= (wxObject
*) src
;
1788 return (void *) dest
;
1791 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1792 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1794 wxHtmlHelpController
* _result
;
1795 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
1796 char *_kwnames
[] = { "style", NULL
};
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
1810 _resultobj
= Py_BuildValue("s",_ptemp
);
1813 _resultobj
= Py_None
;
1818 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1819 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1821 wxHtmlHelpController
* _arg0
;
1822 PyObject
* _argo0
= 0;
1823 char *_kwnames
[] = { "self", NULL
};
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
1829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 delete_wxHtmlHelpController(_arg0
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) return NULL
;
1841 } Py_INCREF(Py_None
);
1842 _resultobj
= Py_None
;
1846 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1847 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1849 wxHtmlHelpController
* _arg0
;
1851 PyObject
* _argo0
= 0;
1852 PyObject
* _obj1
= 0;
1853 char *_kwnames
[] = { "self","format", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1866 _arg1
= wxString_in_helper(_obj1
);
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) return NULL
;
1876 } Py_INCREF(Py_None
);
1877 _resultobj
= Py_None
;
1885 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1886 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1888 wxHtmlHelpController
* _arg0
;
1890 PyObject
* _argo0
= 0;
1891 PyObject
* _obj1
= 0;
1892 char *_kwnames
[] = { "self","path", NULL
};
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1905 _arg1
= wxString_in_helper(_obj1
);
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) return NULL
;
1915 } Py_INCREF(Py_None
);
1916 _resultobj
= Py_None
;
1924 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
1925 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1928 wxHtmlHelpController
* _arg0
;
1930 int _arg2
= (int ) FALSE
;
1931 PyObject
* _argo0
= 0;
1932 PyObject
* _obj1
= 0;
1933 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
1946 _arg1
= wxString_in_helper(_obj1
);
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) return NULL
;
1956 } _resultobj
= Py_BuildValue("i",_result
);
1964 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1965 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1967 wxHtmlHelpController
* _arg0
;
1969 PyObject
* _argo0
= 0;
1970 PyObject
* _obj1
= 0;
1971 char *_kwnames
[] = { "self","x", NULL
};
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
1977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
1984 _arg1
= wxString_in_helper(_obj1
);
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 wxHtmlHelpController_Display(_arg0
,*_arg1
);
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) return NULL
;
1994 } Py_INCREF(Py_None
);
1995 _resultobj
= Py_None
;
2003 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2004 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2006 wxHtmlHelpController
* _arg0
;
2008 PyObject
* _argo0
= 0;
2009 char *_kwnames
[] = { "self","id", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) return NULL
;
2027 } Py_INCREF(Py_None
);
2028 _resultobj
= Py_None
;
2032 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2033 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2035 wxHtmlHelpController
* _arg0
;
2036 PyObject
* _argo0
= 0;
2037 char *_kwnames
[] = { "self", NULL
};
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 wxHtmlHelpController_DisplayContents(_arg0
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) return NULL
;
2055 } Py_INCREF(Py_None
);
2056 _resultobj
= Py_None
;
2060 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2061 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2063 wxHtmlHelpController
* _arg0
;
2064 PyObject
* _argo0
= 0;
2065 char *_kwnames
[] = { "self", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 wxHtmlHelpController_DisplayIndex(_arg0
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) return NULL
;
2083 } Py_INCREF(Py_None
);
2084 _resultobj
= Py_None
;
2088 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2089 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
* _resultobj
;
2092 wxHtmlHelpController
* _arg0
;
2094 PyObject
* _argo0
= 0;
2095 PyObject
* _obj1
= 0;
2096 char *_kwnames
[] = { "self","keyword", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2109 _arg1
= wxString_in_helper(_obj1
);
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2119 } _resultobj
= Py_BuildValue("i",_result
);
2127 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2128 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2130 wxHtmlHelpController
* _arg0
;
2131 wxConfigBase
* _arg1
;
2132 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2133 PyObject
* _argo0
= 0;
2134 PyObject
* _argo1
= 0;
2135 PyObject
* _obj2
= 0;
2136 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2149 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2157 _arg2
= wxString_in_helper(_obj2
);
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) return NULL
;
2167 } Py_INCREF(Py_None
);
2168 _resultobj
= Py_None
;
2176 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2177 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2179 wxHtmlHelpController
* _arg0
;
2180 wxConfigBase
* _arg1
;
2181 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2182 PyObject
* _argo0
= 0;
2183 PyObject
* _argo1
= 0;
2184 PyObject
* _obj2
= 0;
2185 char *_kwnames
[] = { "self","cfg","path", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2206 _arg2
= wxString_in_helper(_obj2
);
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) return NULL
;
2216 } Py_INCREF(Py_None
);
2217 _resultobj
= Py_None
;
2225 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2226 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2228 wxHtmlHelpController
* _arg0
;
2229 wxConfigBase
* _arg1
;
2230 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2231 PyObject
* _argo0
= 0;
2232 PyObject
* _argo1
= 0;
2233 PyObject
* _obj2
= 0;
2234 char *_kwnames
[] = { "self","cfg","path", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2255 _arg2
= wxString_in_helper(_obj2
);
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) return NULL
;
2265 } Py_INCREF(Py_None
);
2266 _resultobj
= Py_None
;
2274 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2275 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2277 wxHtmlHelpFrame
* _result
;
2278 wxHtmlHelpController
* _arg0
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2301 _resultobj
= Py_BuildValue("s",_ptemp
);
2304 _resultobj
= Py_None
;
2309 static PyMethodDef htmlhelpcMethods
[] = {
2310 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2311 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2312 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2313 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2314 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2315 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2316 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2317 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2318 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2319 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2320 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2321 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2322 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2323 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2324 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2325 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2326 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2327 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2328 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2329 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2330 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2331 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2332 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2333 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2334 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2335 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2336 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2337 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2338 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2339 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2340 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2341 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2342 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2343 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2344 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2345 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2346 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2347 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2348 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2349 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2350 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2351 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2352 { "wxHtmlContentsItem_GetBook", (PyCFunction
) _wrap_wxHtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
},
2353 { "wxHtmlContentsItem_GetPage", (PyCFunction
) _wrap_wxHtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2354 { "wxHtmlContentsItem_GetName", (PyCFunction
) _wrap_wxHtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2355 { "wxHtmlContentsItem_GetID", (PyCFunction
) _wrap_wxHtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
},
2356 { "wxHtmlContentsItem_GetLevel", (PyCFunction
) _wrap_wxHtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
},
2357 { "wxHtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
2358 { "wxHtmlBookRecord_SetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
2359 { "wxHtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2360 { "wxHtmlBookRecord_SetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2361 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2362 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2363 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2364 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2365 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2366 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2367 { "wxHtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
2368 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2375 * This table is used by the pointer type-checker
2377 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2378 { "_signed_long","_long",0},
2379 { "_wxPrintQuality","_wxCoord",0},
2380 { "_wxPrintQuality","_int",0},
2381 { "_wxPrintQuality","_signed_int",0},
2382 { "_wxPrintQuality","_unsigned_int",0},
2383 { "_wxPrintQuality","_wxWindowID",0},
2384 { "_wxPrintQuality","_uint",0},
2385 { "_wxPrintQuality","_EBool",0},
2386 { "_wxPrintQuality","_size_t",0},
2387 { "_wxPrintQuality","_time_t",0},
2388 { "_byte","_unsigned_char",0},
2389 { "_long","_unsigned_long",0},
2390 { "_long","_signed_long",0},
2391 { "_size_t","_wxCoord",0},
2392 { "_size_t","_wxPrintQuality",0},
2393 { "_size_t","_time_t",0},
2394 { "_size_t","_unsigned_int",0},
2395 { "_size_t","_int",0},
2396 { "_size_t","_wxWindowID",0},
2397 { "_size_t","_uint",0},
2398 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2399 { "_uint","_wxCoord",0},
2400 { "_uint","_wxPrintQuality",0},
2401 { "_uint","_time_t",0},
2402 { "_uint","_size_t",0},
2403 { "_uint","_unsigned_int",0},
2404 { "_uint","_int",0},
2405 { "_uint","_wxWindowID",0},
2406 { "_wxChar","_char",0},
2407 { "_char","_wxChar",0},
2408 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2409 { "_EBool","_wxCoord",0},
2410 { "_EBool","_wxPrintQuality",0},
2411 { "_EBool","_signed_int",0},
2412 { "_EBool","_int",0},
2413 { "_EBool","_wxWindowID",0},
2414 { "_unsigned_long","_long",0},
2415 { "_struct_wxHtmlContentsItem","_wxHtmlContentsItem",0},
2416 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2417 { "_signed_int","_wxCoord",0},
2418 { "_signed_int","_wxPrintQuality",0},
2419 { "_signed_int","_EBool",0},
2420 { "_signed_int","_wxWindowID",0},
2421 { "_signed_int","_int",0},
2422 { "_WXTYPE","_wxDateTime_t",0},
2423 { "_WXTYPE","_short",0},
2424 { "_WXTYPE","_signed_short",0},
2425 { "_WXTYPE","_unsigned_short",0},
2426 { "_unsigned_short","_wxDateTime_t",0},
2427 { "_unsigned_short","_WXTYPE",0},
2428 { "_unsigned_short","_short",0},
2429 { "_wxHtmlContentsItem","_struct_wxHtmlContentsItem",0},
2430 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2431 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2432 { "_signed_short","_WXTYPE",0},
2433 { "_signed_short","_short",0},
2434 { "_unsigned_char","_byte",0},
2435 { "_unsigned_int","_wxCoord",0},
2436 { "_unsigned_int","_wxPrintQuality",0},
2437 { "_unsigned_int","_time_t",0},
2438 { "_unsigned_int","_size_t",0},
2439 { "_unsigned_int","_uint",0},
2440 { "_unsigned_int","_wxWindowID",0},
2441 { "_unsigned_int","_int",0},
2442 { "_short","_wxDateTime_t",0},
2443 { "_short","_WXTYPE",0},
2444 { "_short","_unsigned_short",0},
2445 { "_short","_signed_short",0},
2446 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2447 { "_wxWindowID","_wxCoord",0},
2448 { "_wxWindowID","_wxPrintQuality",0},
2449 { "_wxWindowID","_time_t",0},
2450 { "_wxWindowID","_size_t",0},
2451 { "_wxWindowID","_EBool",0},
2452 { "_wxWindowID","_uint",0},
2453 { "_wxWindowID","_int",0},
2454 { "_wxWindowID","_signed_int",0},
2455 { "_wxWindowID","_unsigned_int",0},
2456 { "_int","_wxCoord",0},
2457 { "_int","_wxPrintQuality",0},
2458 { "_int","_time_t",0},
2459 { "_int","_size_t",0},
2460 { "_int","_EBool",0},
2461 { "_int","_uint",0},
2462 { "_int","_wxWindowID",0},
2463 { "_int","_unsigned_int",0},
2464 { "_int","_signed_int",0},
2465 { "_wxDateTime_t","_unsigned_short",0},
2466 { "_wxDateTime_t","_short",0},
2467 { "_wxDateTime_t","_WXTYPE",0},
2468 { "_time_t","_wxCoord",0},
2469 { "_time_t","_wxPrintQuality",0},
2470 { "_time_t","_unsigned_int",0},
2471 { "_time_t","_int",0},
2472 { "_time_t","_wxWindowID",0},
2473 { "_time_t","_uint",0},
2474 { "_time_t","_size_t",0},
2475 { "_wxCoord","_int",0},
2476 { "_wxCoord","_signed_int",0},
2477 { "_wxCoord","_unsigned_int",0},
2478 { "_wxCoord","_wxWindowID",0},
2479 { "_wxCoord","_uint",0},
2480 { "_wxCoord","_EBool",0},
2481 { "_wxCoord","_size_t",0},
2482 { "_wxCoord","_time_t",0},
2483 { "_wxCoord","_wxPrintQuality",0},
2484 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2485 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2486 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2489 static PyObject
*SWIG_globals
;
2493 SWIGEXPORT(void) inithtmlhelpc() {
2495 SWIG_globals
= SWIG_newvarlink();
2496 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2497 d
= PyModule_GetDict(m
);
2498 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2499 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2500 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2501 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2502 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2503 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2504 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2505 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2506 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2509 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2510 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);