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 #define new_wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxHtmlBookRecord(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
99 static PyObject
*_wrap_new_wxHtmlBookRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
100 PyObject
* _resultobj
;
101 wxHtmlBookRecord
* _result
;
106 PyObject
* _obj0
= 0;
107 PyObject
* _obj1
= 0;
108 PyObject
* _obj2
= 0;
109 PyObject
* _obj3
= 0;
110 char *_kwnames
[] = { "bookfile","basepath","title","start", NULL
};
114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxHtmlBookRecord",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
117 _arg0
= wxString_in_helper(_obj0
);
122 _arg1
= wxString_in_helper(_obj1
);
127 _arg2
= wxString_in_helper(_obj2
);
132 _arg3
= wxString_in_helper(_obj3
);
137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
138 _result
= (wxHtmlBookRecord
*)new_wxHtmlBookRecord(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
140 wxPyEndAllowThreads(__tstate
);
141 if (PyErr_Occurred()) return NULL
;
143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
144 _resultobj
= Py_BuildValue("s",_ptemp
);
147 _resultobj
= Py_None
;
168 #define wxHtmlBookRecord_GetBookFile(_swigobj) (_swigobj->GetBookFile())
169 static PyObject
*_wrap_wxHtmlBookRecord_GetBookFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
172 wxHtmlBookRecord
* _arg0
;
173 PyObject
* _argo0
= 0;
174 char *_kwnames
[] = { "self", NULL
};
177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBookFile",_kwnames
,&_argo0
))
180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBookFile. Expected _wxHtmlBookRecord_p.");
187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
188 _result
= new wxString (wxHtmlBookRecord_GetBookFile(_arg0
));
190 wxPyEndAllowThreads(__tstate
);
191 if (PyErr_Occurred()) return NULL
;
194 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
196 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
205 #define wxHtmlBookRecord_GetTitle(_swigobj) (_swigobj->GetTitle())
206 static PyObject
*_wrap_wxHtmlBookRecord_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
209 wxHtmlBookRecord
* _arg0
;
210 PyObject
* _argo0
= 0;
211 char *_kwnames
[] = { "self", NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetTitle",_kwnames
,&_argo0
))
217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetTitle. Expected _wxHtmlBookRecord_p.");
224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
225 _result
= new wxString (wxHtmlBookRecord_GetTitle(_arg0
));
227 wxPyEndAllowThreads(__tstate
);
228 if (PyErr_Occurred()) return NULL
;
231 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
233 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
242 #define wxHtmlBookRecord_GetStart(_swigobj) (_swigobj->GetStart())
243 static PyObject
*_wrap_wxHtmlBookRecord_GetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
246 wxHtmlBookRecord
* _arg0
;
247 PyObject
* _argo0
= 0;
248 char *_kwnames
[] = { "self", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetStart",_kwnames
,&_argo0
))
254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetStart. Expected _wxHtmlBookRecord_p.");
261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
262 _result
= new wxString (wxHtmlBookRecord_GetStart(_arg0
));
264 wxPyEndAllowThreads(__tstate
);
265 if (PyErr_Occurred()) return NULL
;
268 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
270 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
279 #define wxHtmlBookRecord_GetBasePath(_swigobj) (_swigobj->GetBasePath())
280 static PyObject
*_wrap_wxHtmlBookRecord_GetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
283 wxHtmlBookRecord
* _arg0
;
284 PyObject
* _argo0
= 0;
285 char *_kwnames
[] = { "self", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetBasePath",_kwnames
,&_argo0
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetBasePath. Expected _wxHtmlBookRecord_p.");
298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
299 _result
= new wxString (wxHtmlBookRecord_GetBasePath(_arg0
));
301 wxPyEndAllowThreads(__tstate
);
302 if (PyErr_Occurred()) return NULL
;
305 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
307 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
316 #define wxHtmlBookRecord_SetContentsRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetContentsRange(_swigarg0,_swigarg1))
317 static PyObject
*_wrap_wxHtmlBookRecord_SetContentsRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxHtmlBookRecord
* _arg0
;
322 PyObject
* _argo0
= 0;
323 char *_kwnames
[] = { "self","start","end", NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlBookRecord_SetContentsRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetContentsRange. Expected _wxHtmlBookRecord_p.");
336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
337 wxHtmlBookRecord_SetContentsRange(_arg0
,_arg1
,_arg2
);
339 wxPyEndAllowThreads(__tstate
);
340 if (PyErr_Occurred()) return NULL
;
341 } Py_INCREF(Py_None
);
342 _resultobj
= Py_None
;
346 #define wxHtmlBookRecord_GetContentsStart(_swigobj) (_swigobj->GetContentsStart())
347 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
350 wxHtmlBookRecord
* _arg0
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsStart",_kwnames
,&_argo0
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsStart. Expected _wxHtmlBookRecord_p.");
365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
366 _result
= (int )wxHtmlBookRecord_GetContentsStart(_arg0
);
368 wxPyEndAllowThreads(__tstate
);
369 if (PyErr_Occurred()) return NULL
;
370 } _resultobj
= Py_BuildValue("i",_result
);
374 #define wxHtmlBookRecord_GetContentsEnd(_swigobj) (_swigobj->GetContentsEnd())
375 static PyObject
*_wrap_wxHtmlBookRecord_GetContentsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
378 wxHtmlBookRecord
* _arg0
;
379 PyObject
* _argo0
= 0;
380 char *_kwnames
[] = { "self", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlBookRecord_GetContentsEnd",_kwnames
,&_argo0
))
386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetContentsEnd. Expected _wxHtmlBookRecord_p.");
393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
394 _result
= (int )wxHtmlBookRecord_GetContentsEnd(_arg0
);
396 wxPyEndAllowThreads(__tstate
);
397 if (PyErr_Occurred()) return NULL
;
398 } _resultobj
= Py_BuildValue("i",_result
);
402 #define wxHtmlBookRecord_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
403 static PyObject
*_wrap_wxHtmlBookRecord_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 PyObject
* _resultobj
;
405 wxHtmlBookRecord
* _arg0
;
407 PyObject
* _argo0
= 0;
408 PyObject
* _obj1
= 0;
409 char *_kwnames
[] = { "self","title", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetTitle",_kwnames
,&_argo0
,&_obj1
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetTitle. Expected _wxHtmlBookRecord_p.");
422 _arg1
= wxString_in_helper(_obj1
);
427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
428 wxHtmlBookRecord_SetTitle(_arg0
,*_arg1
);
430 wxPyEndAllowThreads(__tstate
);
431 if (PyErr_Occurred()) return NULL
;
432 } Py_INCREF(Py_None
);
433 _resultobj
= Py_None
;
441 #define wxHtmlBookRecord_SetBasePath(_swigobj,_swigarg0) (_swigobj->SetBasePath(_swigarg0))
442 static PyObject
*_wrap_wxHtmlBookRecord_SetBasePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
444 wxHtmlBookRecord
* _arg0
;
446 PyObject
* _argo0
= 0;
447 PyObject
* _obj1
= 0;
448 char *_kwnames
[] = { "self","path", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetBasePath",_kwnames
,&_argo0
,&_obj1
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetBasePath. Expected _wxHtmlBookRecord_p.");
461 _arg1
= wxString_in_helper(_obj1
);
466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
467 wxHtmlBookRecord_SetBasePath(_arg0
,*_arg1
);
469 wxPyEndAllowThreads(__tstate
);
470 if (PyErr_Occurred()) return NULL
;
471 } Py_INCREF(Py_None
);
472 _resultobj
= Py_None
;
480 #define wxHtmlBookRecord_SetStart(_swigobj,_swigarg0) (_swigobj->SetStart(_swigarg0))
481 static PyObject
*_wrap_wxHtmlBookRecord_SetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 wxHtmlBookRecord
* _arg0
;
485 PyObject
* _argo0
= 0;
486 PyObject
* _obj1
= 0;
487 char *_kwnames
[] = { "self","start", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_SetStart",_kwnames
,&_argo0
,&_obj1
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_SetStart. Expected _wxHtmlBookRecord_p.");
500 _arg1
= wxString_in_helper(_obj1
);
505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
506 wxHtmlBookRecord_SetStart(_arg0
,*_arg1
);
508 wxPyEndAllowThreads(__tstate
);
509 if (PyErr_Occurred()) return NULL
;
510 } Py_INCREF(Py_None
);
511 _resultobj
= Py_None
;
519 #define wxHtmlBookRecord_GetFullPath(_swigobj,_swigarg0) (_swigobj->GetFullPath(_swigarg0))
520 static PyObject
*_wrap_wxHtmlBookRecord_GetFullPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxHtmlBookRecord
* _arg0
;
525 PyObject
* _argo0
= 0;
526 PyObject
* _obj1
= 0;
527 char *_kwnames
[] = { "self","page", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlBookRecord_GetFullPath",_kwnames
,&_argo0
,&_obj1
))
533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlBookRecord_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlBookRecord_GetFullPath. Expected _wxHtmlBookRecord_p.");
540 _arg1
= wxString_in_helper(_obj1
);
545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
546 _result
= new wxString (wxHtmlBookRecord_GetFullPath(_arg0
,*_arg1
));
548 wxPyEndAllowThreads(__tstate
);
549 if (PyErr_Occurred()) return NULL
;
552 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
554 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
567 static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
) { return self
->m_Level
; }
568 static PyObject
*_wrap_wxHtmlContentsItem_GetLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 wxHtmlContentsItem
* _arg0
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetLevel",_kwnames
,&_argo0
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetLevel. Expected _wxHtmlContentsItem_p.");
586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
587 _result
= (int )wxHtmlContentsItem_GetLevel(_arg0
);
589 wxPyEndAllowThreads(__tstate
);
590 if (PyErr_Occurred()) return NULL
;
591 } _resultobj
= Py_BuildValue("i",_result
);
595 static int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
) { return self
->m_ID
; }
596 static PyObject
*_wrap_wxHtmlContentsItem_GetID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
597 PyObject
* _resultobj
;
599 wxHtmlContentsItem
* _arg0
;
600 PyObject
* _argo0
= 0;
601 char *_kwnames
[] = { "self", NULL
};
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetID",_kwnames
,&_argo0
))
607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetID. Expected _wxHtmlContentsItem_p.");
614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
615 _result
= (int )wxHtmlContentsItem_GetID(_arg0
);
617 wxPyEndAllowThreads(__tstate
);
618 if (PyErr_Occurred()) return NULL
;
619 } _resultobj
= Py_BuildValue("i",_result
);
623 static wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
) { return self
->m_Name
; }
624 static PyObject
*_wrap_wxHtmlContentsItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
627 wxHtmlContentsItem
* _arg0
;
628 PyObject
* _argo0
= 0;
629 char *_kwnames
[] = { "self", NULL
};
632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetName",_kwnames
,&_argo0
))
635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetName. Expected _wxHtmlContentsItem_p.");
642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
643 _result
= new wxString (wxHtmlContentsItem_GetName(_arg0
));
645 wxPyEndAllowThreads(__tstate
);
646 if (PyErr_Occurred()) return NULL
;
649 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
651 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
660 static wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
) { return self
->m_Page
; }
661 static PyObject
*_wrap_wxHtmlContentsItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
662 PyObject
* _resultobj
;
664 wxHtmlContentsItem
* _arg0
;
665 PyObject
* _argo0
= 0;
666 char *_kwnames
[] = { "self", NULL
};
669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetPage",_kwnames
,&_argo0
))
672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetPage. Expected _wxHtmlContentsItem_p.");
679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
680 _result
= new wxString (wxHtmlContentsItem_GetPage(_arg0
));
682 wxPyEndAllowThreads(__tstate
);
683 if (PyErr_Occurred()) return NULL
;
686 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
688 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
697 static wxHtmlBookRecord
* wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
) { return self
->m_Book
; }
698 static PyObject
*_wrap_wxHtmlContentsItem_GetBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
700 wxHtmlBookRecord
* _result
;
701 wxHtmlContentsItem
* _arg0
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContentsItem_GetBook",_kwnames
,&_argo0
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContentsItem_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContentsItem_GetBook. Expected _wxHtmlContentsItem_p.");
717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
718 _result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(_arg0
);
720 wxPyEndAllowThreads(__tstate
);
721 if (PyErr_Occurred()) return NULL
;
723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecord_p");
724 _resultobj
= Py_BuildValue("s",_ptemp
);
727 _resultobj
= Py_None
;
732 #define wxHtmlSearchStatus_Search(_swigobj) (_swigobj->Search())
733 static PyObject
*_wrap_wxHtmlSearchStatus_Search(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
736 wxHtmlSearchStatus
* _arg0
;
737 PyObject
* _argo0
= 0;
738 char *_kwnames
[] = { "self", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_Search",_kwnames
,&_argo0
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_Search. Expected _wxHtmlSearchStatus_p.");
751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
752 _result
= (bool )wxHtmlSearchStatus_Search(_arg0
);
754 wxPyEndAllowThreads(__tstate
);
755 if (PyErr_Occurred()) return NULL
;
756 } _resultobj
= Py_BuildValue("i",_result
);
760 #define wxHtmlSearchStatus_IsActive(_swigobj) (_swigobj->IsActive())
761 static PyObject
*_wrap_wxHtmlSearchStatus_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
764 wxHtmlSearchStatus
* _arg0
;
765 PyObject
* _argo0
= 0;
766 char *_kwnames
[] = { "self", NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_IsActive",_kwnames
,&_argo0
))
772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_IsActive. Expected _wxHtmlSearchStatus_p.");
779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
780 _result
= (bool )wxHtmlSearchStatus_IsActive(_arg0
);
782 wxPyEndAllowThreads(__tstate
);
783 if (PyErr_Occurred()) return NULL
;
784 } _resultobj
= Py_BuildValue("i",_result
);
788 #define wxHtmlSearchStatus_GetCurIndex(_swigobj) (_swigobj->GetCurIndex())
789 static PyObject
*_wrap_wxHtmlSearchStatus_GetCurIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
790 PyObject
* _resultobj
;
792 wxHtmlSearchStatus
* _arg0
;
793 PyObject
* _argo0
= 0;
794 char *_kwnames
[] = { "self", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetCurIndex",_kwnames
,&_argo0
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetCurIndex. Expected _wxHtmlSearchStatus_p.");
807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
808 _result
= (int )wxHtmlSearchStatus_GetCurIndex(_arg0
);
810 wxPyEndAllowThreads(__tstate
);
811 if (PyErr_Occurred()) return NULL
;
812 } _resultobj
= Py_BuildValue("i",_result
);
816 #define wxHtmlSearchStatus_GetMaxIndex(_swigobj) (_swigobj->GetMaxIndex())
817 static PyObject
*_wrap_wxHtmlSearchStatus_GetMaxIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
820 wxHtmlSearchStatus
* _arg0
;
821 PyObject
* _argo0
= 0;
822 char *_kwnames
[] = { "self", NULL
};
825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetMaxIndex",_kwnames
,&_argo0
))
828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetMaxIndex. Expected _wxHtmlSearchStatus_p.");
835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
836 _result
= (int )wxHtmlSearchStatus_GetMaxIndex(_arg0
);
838 wxPyEndAllowThreads(__tstate
);
839 if (PyErr_Occurred()) return NULL
;
840 } _resultobj
= Py_BuildValue("i",_result
);
844 #define wxHtmlSearchStatus_GetName(_swigobj) (_swigobj->GetName())
845 static PyObject
*_wrap_wxHtmlSearchStatus_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
848 wxHtmlSearchStatus
* _arg0
;
849 PyObject
* _argo0
= 0;
850 char *_kwnames
[] = { "self", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetName",_kwnames
,&_argo0
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetName. Expected _wxHtmlSearchStatus_p.");
863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
864 const wxString
& _result_ref
= wxHtmlSearchStatus_GetName(_arg0
);
865 _result
= (wxString
*) &_result_ref
;
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) return NULL
;
871 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
873 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
879 #define wxHtmlSearchStatus_GetContentsItem(_swigobj) (_swigobj->GetContentsItem())
880 static PyObject
*_wrap_wxHtmlSearchStatus_GetContentsItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
882 wxHtmlContentsItem
* _result
;
883 wxHtmlSearchStatus
* _arg0
;
884 PyObject
* _argo0
= 0;
885 char *_kwnames
[] = { "self", NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSearchStatus_GetContentsItem",_kwnames
,&_argo0
))
892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSearchStatus_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSearchStatus_GetContentsItem. Expected _wxHtmlSearchStatus_p.");
899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
900 _result
= (wxHtmlContentsItem
*)wxHtmlSearchStatus_GetContentsItem(_arg0
);
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) return NULL
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define new_wxHtmlHelpData() (new wxHtmlHelpData())
915 static PyObject
*_wrap_new_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
917 wxHtmlHelpData
* _result
;
918 char *_kwnames
[] = { NULL
};
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlHelpData",_kwnames
))
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 _result
= (wxHtmlHelpData
*)new_wxHtmlHelpData();
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
932 _resultobj
= Py_BuildValue("s",_ptemp
);
935 _resultobj
= Py_None
;
940 #define delete_wxHtmlHelpData(_swigobj) (delete _swigobj)
941 static PyObject
*_wrap_delete_wxHtmlHelpData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
943 wxHtmlHelpData
* _arg0
;
944 PyObject
* _argo0
= 0;
945 char *_kwnames
[] = { "self", NULL
};
948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpData",_kwnames
,&_argo0
))
951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpData. Expected _wxHtmlHelpData_p.");
958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
959 delete_wxHtmlHelpData(_arg0
);
961 wxPyEndAllowThreads(__tstate
);
962 if (PyErr_Occurred()) return NULL
;
963 } Py_INCREF(Py_None
);
964 _resultobj
= Py_None
;
968 #define wxHtmlHelpData_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
969 static PyObject
*_wrap_wxHtmlHelpData_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
971 wxHtmlHelpData
* _arg0
;
973 PyObject
* _argo0
= 0;
974 PyObject
* _obj1
= 0;
975 char *_kwnames
[] = { "self","path", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_SetTempDir. Expected _wxHtmlHelpData_p.");
988 _arg1
= wxString_in_helper(_obj1
);
993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
994 wxHtmlHelpData_SetTempDir(_arg0
,*_arg1
);
996 wxPyEndAllowThreads(__tstate
);
997 if (PyErr_Occurred()) return NULL
;
998 } Py_INCREF(Py_None
);
999 _resultobj
= Py_None
;
1007 #define wxHtmlHelpData_AddBook(_swigobj,_swigarg0) (_swigobj->AddBook(_swigarg0))
1008 static PyObject
*_wrap_wxHtmlHelpData_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1011 wxHtmlHelpData
* _arg0
;
1013 PyObject
* _argo0
= 0;
1014 PyObject
* _obj1
= 0;
1015 char *_kwnames
[] = { "self","book", NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_AddBook",_kwnames
,&_argo0
,&_obj1
))
1021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_AddBook. Expected _wxHtmlHelpData_p.");
1028 _arg1
= wxString_in_helper(_obj1
);
1033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1034 _result
= (bool )wxHtmlHelpData_AddBook(_arg0
,*_arg1
);
1036 wxPyEndAllowThreads(__tstate
);
1037 if (PyErr_Occurred()) return NULL
;
1038 } _resultobj
= Py_BuildValue("i",_result
);
1046 #define wxHtmlHelpData_FindPageByName(_swigobj,_swigarg0) (_swigobj->FindPageByName(_swigarg0))
1047 static PyObject
*_wrap_wxHtmlHelpData_FindPageByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1050 wxHtmlHelpData
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 PyObject
* _obj1
= 0;
1054 char *_kwnames
[] = { "self","page", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpData_FindPageByName",_kwnames
,&_argo0
,&_obj1
))
1060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageByName. Expected _wxHtmlHelpData_p.");
1067 _arg1
= wxString_in_helper(_obj1
);
1072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1073 _result
= new wxString (wxHtmlHelpData_FindPageByName(_arg0
,*_arg1
));
1075 wxPyEndAllowThreads(__tstate
);
1076 if (PyErr_Occurred()) return NULL
;
1079 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1081 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1094 #define wxHtmlHelpData_FindPageById(_swigobj,_swigarg0) (_swigobj->FindPageById(_swigarg0))
1095 static PyObject
*_wrap_wxHtmlHelpData_FindPageById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1098 wxHtmlHelpData
* _arg0
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self","id", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpData_FindPageById",_kwnames
,&_argo0
,&_arg1
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_FindPageById. Expected _wxHtmlHelpData_p.");
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= new wxString (wxHtmlHelpData_FindPageById(_arg0
,_arg1
));
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1121 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1123 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1132 #define wxHtmlHelpData_GetBookRecArray(_swigobj) (_swigobj->GetBookRecArray())
1133 static PyObject
*_wrap_wxHtmlHelpData_GetBookRecArray(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1135 wxHtmlBookRecArray
* _result
;
1136 wxHtmlHelpData
* _arg0
;
1137 PyObject
* _argo0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetBookRecArray",_kwnames
,&_argo0
))
1145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetBookRecArray. Expected _wxHtmlHelpData_p.");
1152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1153 const wxHtmlBookRecArray
& _result_ref
= wxHtmlHelpData_GetBookRecArray(_arg0
);
1154 _result
= (wxHtmlBookRecArray
*) &_result_ref
;
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlBookRecArray_p");
1160 _resultobj
= Py_BuildValue("s",_ptemp
);
1163 _resultobj
= Py_None
;
1168 #define wxHtmlHelpData_GetContents(_swigobj) (_swigobj->GetContents())
1169 static PyObject
*_wrap_wxHtmlHelpData_GetContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
* _resultobj
;
1171 wxHtmlContentsItem
* _result
;
1172 wxHtmlHelpData
* _arg0
;
1173 PyObject
* _argo0
= 0;
1174 char *_kwnames
[] = { "self", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContents",_kwnames
,&_argo0
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContents. Expected _wxHtmlHelpData_p.");
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetContents(_arg0
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) return NULL
;
1194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1195 _resultobj
= Py_BuildValue("s",_ptemp
);
1198 _resultobj
= Py_None
;
1203 #define wxHtmlHelpData_GetContentsCnt(_swigobj) (_swigobj->GetContentsCnt())
1204 static PyObject
*_wrap_wxHtmlHelpData_GetContentsCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1207 wxHtmlHelpData
* _arg0
;
1208 PyObject
* _argo0
= 0;
1209 char *_kwnames
[] = { "self", NULL
};
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetContentsCnt",_kwnames
,&_argo0
))
1215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetContentsCnt. Expected _wxHtmlHelpData_p.");
1222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1223 _result
= (int )wxHtmlHelpData_GetContentsCnt(_arg0
);
1225 wxPyEndAllowThreads(__tstate
);
1226 if (PyErr_Occurred()) return NULL
;
1227 } _resultobj
= Py_BuildValue("i",_result
);
1231 #define wxHtmlHelpData_GetIndex(_swigobj) (_swigobj->GetIndex())
1232 static PyObject
*_wrap_wxHtmlHelpData_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1234 wxHtmlContentsItem
* _result
;
1235 wxHtmlHelpData
* _arg0
;
1236 PyObject
* _argo0
= 0;
1237 char *_kwnames
[] = { "self", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndex",_kwnames
,&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndex. Expected _wxHtmlHelpData_p.");
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 _result
= (wxHtmlContentsItem
*)wxHtmlHelpData_GetIndex(_arg0
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) return NULL
;
1257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContentsItem_p");
1258 _resultobj
= Py_BuildValue("s",_ptemp
);
1261 _resultobj
= Py_None
;
1266 #define wxHtmlHelpData_GetIndexCnt(_swigobj) (_swigobj->GetIndexCnt())
1267 static PyObject
*_wrap_wxHtmlHelpData_GetIndexCnt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1270 wxHtmlHelpData
* _arg0
;
1271 PyObject
* _argo0
= 0;
1272 char *_kwnames
[] = { "self", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpData_GetIndexCnt",_kwnames
,&_argo0
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpData_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpData_GetIndexCnt. Expected _wxHtmlHelpData_p.");
1285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 _result
= (int )wxHtmlHelpData_GetIndexCnt(_arg0
);
1288 wxPyEndAllowThreads(__tstate
);
1289 if (PyErr_Occurred()) return NULL
;
1290 } _resultobj
= Py_BuildValue("i",_result
);
1294 static void *SwigwxHtmlHelpFrameTowxFrame(void *ptr
) {
1295 wxHtmlHelpFrame
*src
;
1297 src
= (wxHtmlHelpFrame
*) ptr
;
1298 dest
= (wxFrame
*) src
;
1299 return (void *) dest
;
1302 static void *SwigwxHtmlHelpFrameTowxTopLevelWindow(void *ptr
) {
1303 wxHtmlHelpFrame
*src
;
1304 wxTopLevelWindow
*dest
;
1305 src
= (wxHtmlHelpFrame
*) ptr
;
1306 dest
= (wxTopLevelWindow
*) src
;
1307 return (void *) dest
;
1310 static void *SwigwxHtmlHelpFrameTowxWindow(void *ptr
) {
1311 wxHtmlHelpFrame
*src
;
1313 src
= (wxHtmlHelpFrame
*) ptr
;
1314 dest
= (wxWindow
*) src
;
1315 return (void *) dest
;
1318 static void *SwigwxHtmlHelpFrameTowxEvtHandler(void *ptr
) {
1319 wxHtmlHelpFrame
*src
;
1321 src
= (wxHtmlHelpFrame
*) ptr
;
1322 dest
= (wxEvtHandler
*) src
;
1323 return (void *) dest
;
1326 static void *SwigwxHtmlHelpFrameTowxObject(void *ptr
) {
1327 wxHtmlHelpFrame
*src
;
1329 src
= (wxHtmlHelpFrame
*) ptr
;
1330 dest
= (wxObject
*) src
;
1331 return (void *) dest
;
1334 #define new_wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxHtmlHelpFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1335 static PyObject
*_wrap_new_wxHtmlHelpFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxHtmlHelpFrame
* _result
;
1340 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1341 int _arg3
= (int ) wxHF_DEFAULTSTYLE
;
1342 wxHtmlHelpData
* _arg4
= (wxHtmlHelpData
*) NULL
;
1343 PyObject
* _argo0
= 0;
1344 PyObject
* _obj2
= 0;
1345 PyObject
* _argo4
= 0;
1346 char *_kwnames
[] = { "parent","wxWindowID","title","style","data", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OiO:new_wxHtmlHelpFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_argo4
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlHelpFrame. Expected _wxWindow_p.");
1361 _arg2
= wxString_in_helper(_obj2
);
1366 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlHelpData_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxHtmlHelpFrame. Expected _wxHtmlHelpData_p.");
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 _result
= (wxHtmlHelpFrame
*)new_wxHtmlHelpFrame(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) return NULL
;
1379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
1380 _resultobj
= Py_BuildValue("s",_ptemp
);
1383 _resultobj
= Py_None
;
1392 #define wxHtmlHelpFrame_GetData(_swigobj) (_swigobj->GetData())
1393 static PyObject
*_wrap_wxHtmlHelpFrame_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1395 wxHtmlHelpData
* _result
;
1396 wxHtmlHelpFrame
* _arg0
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_GetData",_kwnames
,&_argo0
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_GetData. Expected _wxHtmlHelpFrame_p.");
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 _result
= (wxHtmlHelpData
*)wxHtmlHelpFrame_GetData(_arg0
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) return NULL
;
1418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpData_p");
1419 _resultobj
= Py_BuildValue("s",_ptemp
);
1422 _resultobj
= Py_None
;
1427 #define wxHtmlHelpFrame_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1428 static PyObject
*_wrap_wxHtmlHelpFrame_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1430 wxHtmlHelpFrame
* _arg0
;
1432 PyObject
* _argo0
= 0;
1433 PyObject
* _obj1
= 0;
1434 char *_kwnames
[] = { "self","format", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_SetTitleFormat. Expected _wxHtmlHelpFrame_p.");
1447 _arg1
= wxString_in_helper(_obj1
);
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 wxHtmlHelpFrame_SetTitleFormat(_arg0
,*_arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1466 #define wxHtmlHelpFrame_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1467 static PyObject
*_wrap_wxHtmlHelpFrame_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
* _resultobj
;
1469 wxHtmlHelpFrame
* _arg0
;
1471 PyObject
* _argo0
= 0;
1472 PyObject
* _obj1
= 0;
1473 char *_kwnames
[] = { "self","x", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_Display",_kwnames
,&_argo0
,&_obj1
))
1479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_Display. Expected _wxHtmlHelpFrame_p.");
1486 _arg1
= wxString_in_helper(_obj1
);
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 wxHtmlHelpFrame_Display(_arg0
,*_arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 } Py_INCREF(Py_None
);
1497 _resultobj
= Py_None
;
1505 #define wxHtmlHelpFrame_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1506 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1508 wxHtmlHelpFrame
* _arg0
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self","id", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpFrame_DisplayID",_kwnames
,&_argo0
,&_arg1
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayID. Expected _wxHtmlHelpFrame_p.");
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 wxHtmlHelpFrame_DisplayID(_arg0
,_arg1
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1529 } Py_INCREF(Py_None
);
1530 _resultobj
= Py_None
;
1534 #define wxHtmlHelpFrame_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1535 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1537 wxHtmlHelpFrame
* _arg0
;
1538 PyObject
* _argo0
= 0;
1539 char *_kwnames
[] = { "self", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayContents",_kwnames
,&_argo0
))
1545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayContents. Expected _wxHtmlHelpFrame_p.");
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 wxHtmlHelpFrame_DisplayContents(_arg0
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) return NULL
;
1557 } Py_INCREF(Py_None
);
1558 _resultobj
= Py_None
;
1562 #define wxHtmlHelpFrame_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1563 static PyObject
*_wrap_wxHtmlHelpFrame_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1565 wxHtmlHelpFrame
* _arg0
;
1566 PyObject
* _argo0
= 0;
1567 char *_kwnames
[] = { "self", NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpFrame_DisplayIndex",_kwnames
,&_argo0
))
1573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_DisplayIndex. Expected _wxHtmlHelpFrame_p.");
1580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1581 wxHtmlHelpFrame_DisplayIndex(_arg0
);
1583 wxPyEndAllowThreads(__tstate
);
1584 if (PyErr_Occurred()) return NULL
;
1585 } Py_INCREF(Py_None
);
1586 _resultobj
= Py_None
;
1590 #define wxHtmlHelpFrame_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1591 static PyObject
*_wrap_wxHtmlHelpFrame_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1594 wxHtmlHelpFrame
* _arg0
;
1596 PyObject
* _argo0
= 0;
1597 PyObject
* _obj1
= 0;
1598 char *_kwnames
[] = { "self","keyword", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpFrame_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_KeywordSearch. Expected _wxHtmlHelpFrame_p.");
1611 _arg1
= wxString_in_helper(_obj1
);
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 _result
= (bool )wxHtmlHelpFrame_KeywordSearch(_arg0
,*_arg1
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) return NULL
;
1621 } _resultobj
= Py_BuildValue("i",_result
);
1629 #define wxHtmlHelpFrame_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1630 static PyObject
*_wrap_wxHtmlHelpFrame_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1632 wxHtmlHelpFrame
* _arg0
;
1633 wxConfigBase
* _arg1
;
1634 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1635 PyObject
* _argo0
= 0;
1636 PyObject
* _argo1
= 0;
1637 PyObject
* _obj2
= 0;
1638 char *_kwnames
[] = { "self","config","rootpath", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_UseConfig. Expected _wxHtmlHelpFrame_p.");
1651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_UseConfig. Expected _wxConfigBase_p.");
1659 _arg2
= wxString_in_helper(_obj2
);
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 wxHtmlHelpFrame_UseConfig(_arg0
,_arg1
,*_arg2
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) return NULL
;
1669 } Py_INCREF(Py_None
);
1670 _resultobj
= Py_None
;
1678 #define wxHtmlHelpFrame_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1679 static PyObject
*_wrap_wxHtmlHelpFrame_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1681 wxHtmlHelpFrame
* _arg0
;
1682 wxConfigBase
* _arg1
;
1683 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1684 PyObject
* _argo0
= 0;
1685 PyObject
* _argo1
= 0;
1686 PyObject
* _obj2
= 0;
1687 char *_kwnames
[] = { "self","cfg","path", NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_ReadCustomization. Expected _wxHtmlHelpFrame_p.");
1700 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_ReadCustomization. Expected _wxConfigBase_p.");
1708 _arg2
= wxString_in_helper(_obj2
);
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 wxHtmlHelpFrame_ReadCustomization(_arg0
,_arg1
,*_arg2
);
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) return NULL
;
1718 } Py_INCREF(Py_None
);
1719 _resultobj
= Py_None
;
1727 #define wxHtmlHelpFrame_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1728 static PyObject
*_wrap_wxHtmlHelpFrame_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1730 wxHtmlHelpFrame
* _arg0
;
1731 wxConfigBase
* _arg1
;
1732 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1733 PyObject
* _argo0
= 0;
1734 PyObject
* _argo1
= 0;
1735 PyObject
* _obj2
= 0;
1736 char *_kwnames
[] = { "self","cfg","path", NULL
};
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpFrame_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpFrame_p")) {
1744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpFrame_WriteCustomization. Expected _wxHtmlHelpFrame_p.");
1749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpFrame_WriteCustomization. Expected _wxConfigBase_p.");
1757 _arg2
= wxString_in_helper(_obj2
);
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 wxHtmlHelpFrame_WriteCustomization(_arg0
,_arg1
,*_arg2
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1767 } Py_INCREF(Py_None
);
1768 _resultobj
= Py_None
;
1776 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr
) {
1777 wxHtmlHelpController
*src
;
1779 src
= (wxHtmlHelpController
*) ptr
;
1780 dest
= (wxEvtHandler
*) src
;
1781 return (void *) dest
;
1784 static void *SwigwxHtmlHelpControllerTowxObject(void *ptr
) {
1785 wxHtmlHelpController
*src
;
1787 src
= (wxHtmlHelpController
*) ptr
;
1788 dest
= (wxObject
*) src
;
1789 return (void *) dest
;
1792 #define new_wxHtmlHelpController(_swigarg0) (new wxHtmlHelpController(_swigarg0))
1793 static PyObject
*_wrap_new_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 wxHtmlHelpController
* _result
;
1796 int _arg0
= (int ) (wxHF_DEFAULTSTYLE
);
1797 char *_kwnames
[] = { "style", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxHtmlHelpController",_kwnames
,&_arg0
))
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 _result
= (wxHtmlHelpController
*)new_wxHtmlHelpController(_arg0
);
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) return NULL
;
1810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpController_p");
1811 _resultobj
= Py_BuildValue("s",_ptemp
);
1814 _resultobj
= Py_None
;
1819 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
1820 static PyObject
*_wrap_delete_wxHtmlHelpController(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1822 wxHtmlHelpController
* _arg0
;
1823 PyObject
* _argo0
= 0;
1824 char *_kwnames
[] = { "self", NULL
};
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlHelpController",_kwnames
,&_argo0
))
1830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 delete_wxHtmlHelpController(_arg0
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1842 } Py_INCREF(Py_None
);
1843 _resultobj
= Py_None
;
1847 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
1848 static PyObject
*_wrap_wxHtmlHelpController_SetTitleFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1850 wxHtmlHelpController
* _arg0
;
1852 PyObject
* _argo0
= 0;
1853 PyObject
* _obj1
= 0;
1854 char *_kwnames
[] = { "self","format", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTitleFormat",_kwnames
,&_argo0
,&_obj1
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
1867 _arg1
= wxString_in_helper(_obj1
);
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 wxHtmlHelpController_SetTitleFormat(_arg0
,*_arg1
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) return NULL
;
1877 } Py_INCREF(Py_None
);
1878 _resultobj
= Py_None
;
1886 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
1887 static PyObject
*_wrap_wxHtmlHelpController_SetTempDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1889 wxHtmlHelpController
* _arg0
;
1891 PyObject
* _argo0
= 0;
1892 PyObject
* _obj1
= 0;
1893 char *_kwnames
[] = { "self","path", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_SetTempDir",_kwnames
,&_argo0
,&_obj1
))
1899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
1906 _arg1
= wxString_in_helper(_obj1
);
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 wxHtmlHelpController_SetTempDir(_arg0
,*_arg1
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) return NULL
;
1916 } Py_INCREF(Py_None
);
1917 _resultobj
= Py_None
;
1925 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
1926 static PyObject
*_wrap_wxHtmlHelpController_AddBook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1929 wxHtmlHelpController
* _arg0
;
1931 int _arg2
= (int ) FALSE
;
1932 PyObject
* _argo0
= 0;
1933 PyObject
* _obj1
= 0;
1934 char *_kwnames
[] = { "self","book","show_wait_msg", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlHelpController_AddBook",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
1947 _arg1
= wxString_in_helper(_obj1
);
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 _result
= (bool )wxHtmlHelpController_AddBook(_arg0
,*_arg1
,_arg2
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) return NULL
;
1957 } _resultobj
= Py_BuildValue("i",_result
);
1965 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1966 static PyObject
*_wrap_wxHtmlHelpController_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1968 wxHtmlHelpController
* _arg0
;
1970 PyObject
* _argo0
= 0;
1971 PyObject
* _obj1
= 0;
1972 char *_kwnames
[] = { "self","x", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_Display",_kwnames
,&_argo0
,&_obj1
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
1985 _arg1
= wxString_in_helper(_obj1
);
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 wxHtmlHelpController_Display(_arg0
,*_arg1
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) return NULL
;
1995 } Py_INCREF(Py_None
);
1996 _resultobj
= Py_None
;
2004 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
2005 static PyObject
*_wrap_wxHtmlHelpController_DisplayID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2007 wxHtmlHelpController
* _arg0
;
2009 PyObject
* _argo0
= 0;
2010 char *_kwnames
[] = { "self","id", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlHelpController_DisplayID",_kwnames
,&_argo0
,&_arg1
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 wxHtmlHelpController_DisplayID(_arg0
,_arg1
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) return NULL
;
2028 } Py_INCREF(Py_None
);
2029 _resultobj
= Py_None
;
2033 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
2034 static PyObject
*_wrap_wxHtmlHelpController_DisplayContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2036 wxHtmlHelpController
* _arg0
;
2037 PyObject
* _argo0
= 0;
2038 char *_kwnames
[] = { "self", NULL
};
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayContents",_kwnames
,&_argo0
))
2044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 wxHtmlHelpController_DisplayContents(_arg0
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) return NULL
;
2056 } Py_INCREF(Py_None
);
2057 _resultobj
= Py_None
;
2061 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
2062 static PyObject
*_wrap_wxHtmlHelpController_DisplayIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2064 wxHtmlHelpController
* _arg0
;
2065 PyObject
* _argo0
= 0;
2066 char *_kwnames
[] = { "self", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_DisplayIndex",_kwnames
,&_argo0
))
2072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 wxHtmlHelpController_DisplayIndex(_arg0
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) return NULL
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2089 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
2090 static PyObject
*_wrap_wxHtmlHelpController_KeywordSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2093 wxHtmlHelpController
* _arg0
;
2095 PyObject
* _argo0
= 0;
2096 PyObject
* _obj1
= 0;
2097 char *_kwnames
[] = { "self","keyword", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlHelpController_KeywordSearch",_kwnames
,&_argo0
,&_obj1
))
2103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
2110 _arg1
= wxString_in_helper(_obj1
);
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 _result
= (bool )wxHtmlHelpController_KeywordSearch(_arg0
,*_arg1
);
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) return NULL
;
2120 } _resultobj
= Py_BuildValue("i",_result
);
2128 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
2129 static PyObject
*_wrap_wxHtmlHelpController_UseConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2131 wxHtmlHelpController
* _arg0
;
2132 wxConfigBase
* _arg1
;
2133 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2134 PyObject
* _argo0
= 0;
2135 PyObject
* _argo1
= 0;
2136 PyObject
* _obj2
= 0;
2137 char *_kwnames
[] = { "self","config","rootpath", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_UseConfig",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
2150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
2158 _arg2
= wxString_in_helper(_obj2
);
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 wxHtmlHelpController_UseConfig(_arg0
,_arg1
,*_arg2
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) return NULL
;
2168 } Py_INCREF(Py_None
);
2169 _resultobj
= Py_None
;
2177 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2178 static PyObject
*_wrap_wxHtmlHelpController_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2180 wxHtmlHelpController
* _arg0
;
2181 wxConfigBase
* _arg1
;
2182 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2183 PyObject
* _argo0
= 0;
2184 PyObject
* _argo1
= 0;
2185 PyObject
* _obj2
= 0;
2186 char *_kwnames
[] = { "self","cfg","path", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
2199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
2207 _arg2
= wxString_in_helper(_obj2
);
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 wxHtmlHelpController_ReadCustomization(_arg0
,_arg1
,*_arg2
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) return NULL
;
2217 } Py_INCREF(Py_None
);
2218 _resultobj
= Py_None
;
2226 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2227 static PyObject
*_wrap_wxHtmlHelpController_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2229 wxHtmlHelpController
* _arg0
;
2230 wxConfigBase
* _arg1
;
2231 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2232 PyObject
* _argo0
= 0;
2233 PyObject
* _argo1
= 0;
2234 PyObject
* _obj2
= 0;
2235 char *_kwnames
[] = { "self","cfg","path", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlHelpController_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
2248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
2256 _arg2
= wxString_in_helper(_obj2
);
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 wxHtmlHelpController_WriteCustomization(_arg0
,_arg1
,*_arg2
);
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) return NULL
;
2266 } Py_INCREF(Py_None
);
2267 _resultobj
= Py_None
;
2275 #define wxHtmlHelpController_GetFrame(_swigobj) (_swigobj->GetFrame())
2276 static PyObject
*_wrap_wxHtmlHelpController_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2278 wxHtmlHelpFrame
* _result
;
2279 wxHtmlHelpController
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlHelpController_GetFrame",_kwnames
,&_argo0
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlHelpController_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlHelpController_GetFrame. Expected _wxHtmlHelpController_p.");
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 _result
= (wxHtmlHelpFrame
*)wxHtmlHelpController_GetFrame(_arg0
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlHelpFrame_p");
2302 _resultobj
= Py_BuildValue("s",_ptemp
);
2305 _resultobj
= Py_None
;
2310 static PyMethodDef htmlhelpcMethods
[] = {
2311 { "wxHtmlHelpController_GetFrame", (PyCFunction
) _wrap_wxHtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
2312 { "wxHtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2313 { "wxHtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2314 { "wxHtmlHelpController_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2315 { "wxHtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2316 { "wxHtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2317 { "wxHtmlHelpController_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2318 { "wxHtmlHelpController_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2319 { "wxHtmlHelpController_Display", (PyCFunction
) _wrap_wxHtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
},
2320 { "wxHtmlHelpController_AddBook", (PyCFunction
) _wrap_wxHtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2321 { "wxHtmlHelpController_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2322 { "wxHtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2323 { "delete_wxHtmlHelpController", (PyCFunction
) _wrap_delete_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2324 { "new_wxHtmlHelpController", (PyCFunction
) _wrap_new_wxHtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
},
2325 { "wxHtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2326 { "wxHtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_wxHtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
2327 { "wxHtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_wxHtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
},
2328 { "wxHtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_wxHtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
},
2329 { "wxHtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
},
2330 { "wxHtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
},
2331 { "wxHtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_wxHtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
},
2332 { "wxHtmlHelpFrame_Display", (PyCFunction
) _wrap_wxHtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
},
2333 { "wxHtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_wxHtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
},
2334 { "wxHtmlHelpFrame_GetData", (PyCFunction
) _wrap_wxHtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
},
2335 { "new_wxHtmlHelpFrame", (PyCFunction
) _wrap_new_wxHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
},
2336 { "wxHtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
},
2337 { "wxHtmlHelpData_GetIndex", (PyCFunction
) _wrap_wxHtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
2338 { "wxHtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_wxHtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
},
2339 { "wxHtmlHelpData_GetContents", (PyCFunction
) _wrap_wxHtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
},
2340 { "wxHtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_wxHtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
},
2341 { "wxHtmlHelpData_FindPageById", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
},
2342 { "wxHtmlHelpData_FindPageByName", (PyCFunction
) _wrap_wxHtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
},
2343 { "wxHtmlHelpData_AddBook", (PyCFunction
) _wrap_wxHtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
},
2344 { "wxHtmlHelpData_SetTempDir", (PyCFunction
) _wrap_wxHtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
},
2345 { "delete_wxHtmlHelpData", (PyCFunction
) _wrap_delete_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2346 { "new_wxHtmlHelpData", (PyCFunction
) _wrap_new_wxHtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
},
2347 { "wxHtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
},
2348 { "wxHtmlSearchStatus_GetName", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2349 { "wxHtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
},
2350 { "wxHtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_wxHtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
},
2351 { "wxHtmlSearchStatus_IsActive", (PyCFunction
) _wrap_wxHtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
2352 { "wxHtmlSearchStatus_Search", (PyCFunction
) _wrap_wxHtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
},
2353 { "wxHtmlContentsItem_GetBook", (PyCFunction
) _wrap_wxHtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
},
2354 { "wxHtmlContentsItem_GetPage", (PyCFunction
) _wrap_wxHtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2355 { "wxHtmlContentsItem_GetName", (PyCFunction
) _wrap_wxHtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
2356 { "wxHtmlContentsItem_GetID", (PyCFunction
) _wrap_wxHtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
},
2357 { "wxHtmlContentsItem_GetLevel", (PyCFunction
) _wrap_wxHtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
},
2358 { "wxHtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
},
2359 { "wxHtmlBookRecord_SetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
},
2360 { "wxHtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2361 { "wxHtmlBookRecord_SetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2362 { "wxHtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
},
2363 { "wxHtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
},
2364 { "wxHtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_wxHtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
},
2365 { "wxHtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
},
2366 { "wxHtmlBookRecord_GetStart", (PyCFunction
) _wrap_wxHtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
},
2367 { "wxHtmlBookRecord_GetTitle", (PyCFunction
) _wrap_wxHtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2368 { "wxHtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_wxHtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
},
2369 { "new_wxHtmlBookRecord", (PyCFunction
) _wrap_new_wxHtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
},
2376 * This table is used by the pointer type-checker
2378 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2379 { "_signed_long","_long",0},
2380 { "_wxPrintQuality","_wxCoord",0},
2381 { "_wxPrintQuality","_int",0},
2382 { "_wxPrintQuality","_signed_int",0},
2383 { "_wxPrintQuality","_unsigned_int",0},
2384 { "_wxPrintQuality","_wxWindowID",0},
2385 { "_wxPrintQuality","_uint",0},
2386 { "_wxPrintQuality","_EBool",0},
2387 { "_wxPrintQuality","_size_t",0},
2388 { "_wxPrintQuality","_time_t",0},
2389 { "_byte","_unsigned_char",0},
2390 { "_long","_unsigned_long",0},
2391 { "_long","_signed_long",0},
2392 { "_size_t","_wxCoord",0},
2393 { "_size_t","_wxPrintQuality",0},
2394 { "_size_t","_time_t",0},
2395 { "_size_t","_unsigned_int",0},
2396 { "_size_t","_int",0},
2397 { "_size_t","_wxWindowID",0},
2398 { "_size_t","_uint",0},
2399 { "_wxTopLevelWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxTopLevelWindow
},
2400 { "_uint","_wxCoord",0},
2401 { "_uint","_wxPrintQuality",0},
2402 { "_uint","_time_t",0},
2403 { "_uint","_size_t",0},
2404 { "_uint","_unsigned_int",0},
2405 { "_uint","_int",0},
2406 { "_uint","_wxWindowID",0},
2407 { "_wxChar","_char",0},
2408 { "_char","_wxChar",0},
2409 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2410 { "_EBool","_wxCoord",0},
2411 { "_EBool","_wxPrintQuality",0},
2412 { "_EBool","_signed_int",0},
2413 { "_EBool","_int",0},
2414 { "_EBool","_wxWindowID",0},
2415 { "_unsigned_long","_long",0},
2416 { "_struct_wxHtmlContentsItem","_wxHtmlContentsItem",0},
2417 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2418 { "_signed_int","_wxCoord",0},
2419 { "_signed_int","_wxPrintQuality",0},
2420 { "_signed_int","_EBool",0},
2421 { "_signed_int","_wxWindowID",0},
2422 { "_signed_int","_int",0},
2423 { "_WXTYPE","_wxDateTime_t",0},
2424 { "_WXTYPE","_short",0},
2425 { "_WXTYPE","_signed_short",0},
2426 { "_WXTYPE","_unsigned_short",0},
2427 { "_unsigned_short","_wxDateTime_t",0},
2428 { "_unsigned_short","_WXTYPE",0},
2429 { "_unsigned_short","_short",0},
2430 { "_wxHtmlContentsItem","_struct_wxHtmlContentsItem",0},
2431 { "_wxObject","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxObject
},
2432 { "_wxObject","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxObject
},
2433 { "_signed_short","_WXTYPE",0},
2434 { "_signed_short","_short",0},
2435 { "_unsigned_char","_byte",0},
2436 { "_unsigned_int","_wxCoord",0},
2437 { "_unsigned_int","_wxPrintQuality",0},
2438 { "_unsigned_int","_time_t",0},
2439 { "_unsigned_int","_size_t",0},
2440 { "_unsigned_int","_uint",0},
2441 { "_unsigned_int","_wxWindowID",0},
2442 { "_unsigned_int","_int",0},
2443 { "_short","_wxDateTime_t",0},
2444 { "_short","_WXTYPE",0},
2445 { "_short","_unsigned_short",0},
2446 { "_short","_signed_short",0},
2447 { "_wxFrame","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxFrame
},
2448 { "_wxWindowID","_wxCoord",0},
2449 { "_wxWindowID","_wxPrintQuality",0},
2450 { "_wxWindowID","_time_t",0},
2451 { "_wxWindowID","_size_t",0},
2452 { "_wxWindowID","_EBool",0},
2453 { "_wxWindowID","_uint",0},
2454 { "_wxWindowID","_int",0},
2455 { "_wxWindowID","_signed_int",0},
2456 { "_wxWindowID","_unsigned_int",0},
2457 { "_int","_wxCoord",0},
2458 { "_int","_wxPrintQuality",0},
2459 { "_int","_time_t",0},
2460 { "_int","_size_t",0},
2461 { "_int","_EBool",0},
2462 { "_int","_uint",0},
2463 { "_int","_wxWindowID",0},
2464 { "_int","_unsigned_int",0},
2465 { "_int","_signed_int",0},
2466 { "_wxDateTime_t","_unsigned_short",0},
2467 { "_wxDateTime_t","_short",0},
2468 { "_wxDateTime_t","_WXTYPE",0},
2469 { "_time_t","_wxCoord",0},
2470 { "_time_t","_wxPrintQuality",0},
2471 { "_time_t","_unsigned_int",0},
2472 { "_time_t","_int",0},
2473 { "_time_t","_wxWindowID",0},
2474 { "_time_t","_uint",0},
2475 { "_time_t","_size_t",0},
2476 { "_wxCoord","_int",0},
2477 { "_wxCoord","_signed_int",0},
2478 { "_wxCoord","_unsigned_int",0},
2479 { "_wxCoord","_wxWindowID",0},
2480 { "_wxCoord","_uint",0},
2481 { "_wxCoord","_EBool",0},
2482 { "_wxCoord","_size_t",0},
2483 { "_wxCoord","_time_t",0},
2484 { "_wxCoord","_wxPrintQuality",0},
2485 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler
},
2486 { "_wxEvtHandler","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxEvtHandler
},
2487 { "_wxWindow","_wxHtmlHelpFrame",SwigwxHtmlHelpFrameTowxWindow
},
2490 static PyObject
*SWIG_globals
;
2494 SWIGEXPORT(void) inithtmlhelpc() {
2496 SWIG_globals
= SWIG_newvarlink();
2497 m
= Py_InitModule("htmlhelpc", htmlhelpcMethods
);
2498 d
= PyModule_GetDict(m
);
2499 PyDict_SetItemString(d
,"wxHF_TOOLBAR", PyInt_FromLong((long) wxHF_TOOLBAR
));
2500 PyDict_SetItemString(d
,"wxHF_FLATTOOLBAR", PyInt_FromLong((long) wxHF_FLATTOOLBAR
));
2501 PyDict_SetItemString(d
,"wxHF_CONTENTS", PyInt_FromLong((long) wxHF_CONTENTS
));
2502 PyDict_SetItemString(d
,"wxHF_INDEX", PyInt_FromLong((long) wxHF_INDEX
));
2503 PyDict_SetItemString(d
,"wxHF_SEARCH", PyInt_FromLong((long) wxHF_SEARCH
));
2504 PyDict_SetItemString(d
,"wxHF_BOOKMARKS", PyInt_FromLong((long) wxHF_BOOKMARKS
));
2505 PyDict_SetItemString(d
,"wxHF_OPENFILES", PyInt_FromLong((long) wxHF_OPENFILES
));
2506 PyDict_SetItemString(d
,"wxHF_PRINT", PyInt_FromLong((long) wxHF_PRINT
));
2507 PyDict_SetItemString(d
,"wxHF_DEFAULTSTYLE", PyInt_FromLong((long) wxHF_DEFAULTSTYLE
));
2510 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2511 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);