]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/gtk/html.cpp
added wxHtmlHelpController and -System wrappers. See README for some remarks
[wxWidgets.git] / utils / wxPython / modules / html / gtk / html.cpp
1 /*
2 * FILE : gtk/html.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 794)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init inithtmlc
53
54 #define SWIG_name "htmlc"
55
56 #include "helpers.h"
57 #include <wx/html/htmlwin.h>
58 #include <wx/image.h>
59 #include <wx/fs_zip.h>
60 #include <wx/fs_inet.h>
61 #include <wx/wfstream.h>
62 #include "helpsys.h"
63
64 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyList_Check(target)) {
74 o2 = target;
75 target = PyList_New(0);
76 PyList_Append(target, o2);
77 Py_XDECREF(o2);
78 }
79 PyList_Append(target,o);
80 Py_XDECREF(o);
81 }
82 return target;
83 }
84
85 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
86 PyObject* o2;
87 PyObject* o3;
88
89 if (!target) {
90 target = o;
91 } else if (target == Py_None) {
92 Py_DECREF(Py_None);
93 target = o;
94 } else {
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
102
103 o2 = target;
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
106 Py_DECREF(o3);
107 }
108 return target;
109 }
110
111
112 extern byte* byte_LIST_helper(PyObject* source);
113 extern int* int_LIST_helper(PyObject* source);
114 extern long* long_LIST_helper(PyObject* source);
115 extern char** string_LIST_helper(PyObject* source);
116 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
117 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
118 extern wxString* wxString_LIST_helper(PyObject* source);
119 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
120
121
122 static char* wxStringErrorMsg = "string type is required for parameter";
123
124 #ifdef __WXMSW__
125 static wxString wxPyEmptyStr("");
126 static wxPoint wxPyDefaultPosition(wxDefaultPosition);
127 static wxSize wxPyDefaultSize(wxDefaultSize);
128 #endif
129 static PyThreadState* wxPyThreadState;
130
131
132 static PyObject* mod_dict = NULL; // will be set by init
133
134 #include <wx/html/mod_templ.h>
135
136 TAG_HANDLER_BEGIN(PYTHONTAG, "PYTHON")
137 TAG_HANDLER_PROC(tag)
138 {
139 wxWindow *wnd;
140 wxString errmsg;
141 char pbuf[256];
142
143 int fl = 0;
144
145 while (1) {
146 #ifdef WXP_WITH_THREAD
147 PyEval_RestoreThread(wxPyThreadState);
148 #endif
149 if (tag.HasParam("FLOAT"))
150 tag.ScanParam("FLOAT", "%i", &fl);
151 PyObject* pyfunc = PyDict_GetItemString(mod_dict, "WidgetStarter");
152 if (pyfunc == NULL) {
153 errmsg = "Could not find object WidgetStarter";
154 break;
155 }
156 if (! PyCallable_Check(pyfunc)) {
157 errmsg = "WidgetStarter does not appear to be callable";
158 break;
159 }
160 SWIG_MakePtr(pbuf, m_WParser->GetWindow(), "_wxHtmlWindow_p");
161 PyObject* arglist = Py_BuildValue("(s,s)", pbuf,
162 (const char*)tag.GetAllParams());
163 if (! arglist) {
164 errmsg = "Failed making argument list";
165 break;
166 }
167 PyObject* ret = PyEval_CallObject(pyfunc, arglist);
168 Py_DECREF(arglist);
169 if (ret == NULL) {
170 errmsg = "An error occured while calling WidgetStarter";
171 if (PyErr_Occurred())
172 PyErr_Print();
173 break;
174 }
175 wnd = NULL;
176 if (PyString_Check(ret)) {
177 char* thisc = PyString_AsString(ret);
178 SWIG_GetPtr(thisc, (void**)&wnd, "_wxWindow_p");
179 }
180 Py_DECREF(ret);
181 if (! wnd) {
182 errmsg = "Could not make a wxWindow pointer from return ptr";
183 break;
184 }
185 #ifdef WXP_WITH_THREAD
186 PyEval_SaveThread();
187 #endif
188 wnd -> Show(TRUE);
189 m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, fl));
190 return FALSE;
191 }
192
193 /* we got out of the loop. Must be an error. Show a box stating it. */
194
195 #ifdef WXP_WITH_THREAD
196 PyEval_SaveThread();
197 #endif
198
199 wnd = new wxTextCtrl( m_WParser -> GetWindow(), -1,
200 errmsg, wxPoint(0,0),
201 wxSize(300, 100), wxTE_MULTILINE );
202 wnd -> Show(TRUE);
203 m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, 100));
204 return FALSE;
205 }
206
207 TAG_HANDLER_END(PYTHONTAG)
208
209 TAGS_MODULE_BEGIN(PythonTag)
210
211 TAGS_MODULE_ADD(PYTHONTAG)
212
213 TAGS_MODULE_END(PythonTag)
214
215 // Note: see also the init function where we add the module!
216
217 #ifdef __cplusplus
218 extern "C" {
219 #endif
220 #define new_HtmlHistoryItem(_swigarg0,_swigarg1) (new HtmlHistoryItem(_swigarg0,_swigarg1))
221 static PyObject *_wrap_new_HtmlHistoryItem(PyObject *self, PyObject *args) {
222 PyObject * _resultobj;
223 HtmlHistoryItem * _result;
224 char * _arg0;
225 char * _arg1;
226 char _ptemp[128];
227
228 self = self;
229 if(!PyArg_ParseTuple(args,"ss:new_HtmlHistoryItem",&_arg0,&_arg1))
230 return NULL;
231 {
232 wxPy_BEGIN_ALLOW_THREADS;
233 _result = (HtmlHistoryItem *)new_HtmlHistoryItem(_arg0,_arg1);
234
235 wxPy_END_ALLOW_THREADS;
236 } if (_result) {
237 SWIG_MakePtr(_ptemp, (char *) _result,"_HtmlHistoryItem_p");
238 _resultobj = Py_BuildValue("s",_ptemp);
239 } else {
240 Py_INCREF(Py_None);
241 _resultobj = Py_None;
242 }
243 return _resultobj;
244 }
245
246 #define HtmlHistoryItem_GetPos(_swigobj) (_swigobj->GetPos())
247 static PyObject *_wrap_HtmlHistoryItem_GetPos(PyObject *self, PyObject *args) {
248 PyObject * _resultobj;
249 int _result;
250 HtmlHistoryItem * _arg0;
251 PyObject * _argo0 = 0;
252
253 self = self;
254 if(!PyArg_ParseTuple(args,"O:HtmlHistoryItem_GetPos",&_argo0))
255 return NULL;
256 if (_argo0) {
257 if (_argo0 == Py_None) { _arg0 = NULL; }
258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPos. Expected _HtmlHistoryItem_p.");
260 return NULL;
261 }
262 }
263 {
264 wxPy_BEGIN_ALLOW_THREADS;
265 _result = (int )HtmlHistoryItem_GetPos(_arg0);
266
267 wxPy_END_ALLOW_THREADS;
268 } _resultobj = Py_BuildValue("i",_result);
269 return _resultobj;
270 }
271
272 #define HtmlHistoryItem_SetPos(_swigobj,_swigarg0) (_swigobj->SetPos(_swigarg0))
273 static PyObject *_wrap_HtmlHistoryItem_SetPos(PyObject *self, PyObject *args) {
274 PyObject * _resultobj;
275 HtmlHistoryItem * _arg0;
276 int _arg1;
277 PyObject * _argo0 = 0;
278
279 self = self;
280 if(!PyArg_ParseTuple(args,"Oi:HtmlHistoryItem_SetPos",&_argo0,&_arg1))
281 return NULL;
282 if (_argo0) {
283 if (_argo0 == Py_None) { _arg0 = NULL; }
284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_SetPos. Expected _HtmlHistoryItem_p.");
286 return NULL;
287 }
288 }
289 {
290 wxPy_BEGIN_ALLOW_THREADS;
291 HtmlHistoryItem_SetPos(_arg0,_arg1);
292
293 wxPy_END_ALLOW_THREADS;
294 } Py_INCREF(Py_None);
295 _resultobj = Py_None;
296 return _resultobj;
297 }
298
299 #define HtmlHistoryItem_GetPage(_swigobj) (_swigobj->GetPage())
300 static PyObject *_wrap_HtmlHistoryItem_GetPage(PyObject *self, PyObject *args) {
301 PyObject * _resultobj;
302 wxString * _result;
303 HtmlHistoryItem * _arg0;
304 PyObject * _argo0 = 0;
305
306 self = self;
307 if(!PyArg_ParseTuple(args,"O:HtmlHistoryItem_GetPage",&_argo0))
308 return NULL;
309 if (_argo0) {
310 if (_argo0 == Py_None) { _arg0 = NULL; }
311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPage. Expected _HtmlHistoryItem_p.");
313 return NULL;
314 }
315 }
316 {
317 wxPy_BEGIN_ALLOW_THREADS;
318 const wxString & _result_ref = HtmlHistoryItem_GetPage(_arg0);
319 _result = (wxString *) &_result_ref;
320
321 wxPy_END_ALLOW_THREADS;
322 }{
323 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
324 }
325 return _resultobj;
326 }
327
328 #define HtmlHistoryItem_GetAnchor(_swigobj) (_swigobj->GetAnchor())
329 static PyObject *_wrap_HtmlHistoryItem_GetAnchor(PyObject *self, PyObject *args) {
330 PyObject * _resultobj;
331 wxString * _result;
332 HtmlHistoryItem * _arg0;
333 PyObject * _argo0 = 0;
334
335 self = self;
336 if(!PyArg_ParseTuple(args,"O:HtmlHistoryItem_GetAnchor",&_argo0))
337 return NULL;
338 if (_argo0) {
339 if (_argo0 == Py_None) { _arg0 = NULL; }
340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetAnchor. Expected _HtmlHistoryItem_p.");
342 return NULL;
343 }
344 }
345 {
346 wxPy_BEGIN_ALLOW_THREADS;
347 const wxString & _result_ref = HtmlHistoryItem_GetAnchor(_arg0);
348 _result = (wxString *) &_result_ref;
349
350 wxPy_END_ALLOW_THREADS;
351 }{
352 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
353 }
354 return _resultobj;
355 }
356
357 static void *SwigwxHtmlWindowTowxScrolledWindow(void *ptr) {
358 wxHtmlWindow *src;
359 wxScrolledWindow *dest;
360 src = (wxHtmlWindow *) ptr;
361 dest = (wxScrolledWindow *) src;
362 return (void *) dest;
363 }
364
365 static void *SwigwxHtmlWindowTowxPanel(void *ptr) {
366 wxHtmlWindow *src;
367 wxPanel *dest;
368 src = (wxHtmlWindow *) ptr;
369 dest = (wxPanel *) src;
370 return (void *) dest;
371 }
372
373 static void *SwigwxHtmlWindowTowxWindow(void *ptr) {
374 wxHtmlWindow *src;
375 wxWindow *dest;
376 src = (wxHtmlWindow *) ptr;
377 dest = (wxWindow *) src;
378 return (void *) dest;
379 }
380
381 static void *SwigwxHtmlWindowTowxEvtHandler(void *ptr) {
382 wxHtmlWindow *src;
383 wxEvtHandler *dest;
384 src = (wxHtmlWindow *) ptr;
385 dest = (wxEvtHandler *) src;
386 return (void *) dest;
387 }
388
389 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
390 static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args) {
391 PyObject * _resultobj;
392 wxHtmlWindow * _result;
393 wxWindow * _arg0;
394 int _arg1 = (int ) -1;
395 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
396 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
397 int _arg4 = (int ) wxHW_SCROLLBAR_AUTO;
398 char * _arg5 = (char *) "htmlWindow";
399 PyObject * _argo0 = 0;
400 PyObject * _argo2 = 0;
401 PyObject * _argo3 = 0;
402 char _ptemp[128];
403
404 self = self;
405 if(!PyArg_ParseTuple(args,"O|iOOis:new_wxHtmlWindow",&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
406 return NULL;
407 if (_argo0) {
408 if (_argo0 == Py_None) { _arg0 = NULL; }
409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
411 return NULL;
412 }
413 }
414 if (_argo2) {
415 if (_argo2 == Py_None) { _arg2 = NULL; }
416 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxHtmlWindow. Expected _wxPoint_p.");
418 return NULL;
419 }
420 }
421 if (_argo3) {
422 if (_argo3 == Py_None) { _arg3 = NULL; }
423 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
424 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxHtmlWindow. Expected _wxSize_p.");
425 return NULL;
426 }
427 }
428 {
429 wxPy_BEGIN_ALLOW_THREADS;
430 _result = (wxHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
431
432 wxPy_END_ALLOW_THREADS;
433 } if (_result) {
434 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWindow_p");
435 _resultobj = Py_BuildValue("s",_ptemp);
436 } else {
437 Py_INCREF(Py_None);
438 _resultobj = Py_None;
439 }
440 return _resultobj;
441 }
442
443 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
444 static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args) {
445 PyObject * _resultobj;
446 bool _result;
447 wxHtmlWindow * _arg0;
448 char * _arg1;
449 PyObject * _argo0 = 0;
450
451 self = self;
452 if(!PyArg_ParseTuple(args,"Os:wxHtmlWindow_SetPage",&_argo0,&_arg1))
453 return NULL;
454 if (_argo0) {
455 if (_argo0 == Py_None) { _arg0 = NULL; }
456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxHtmlWindow_p.");
458 return NULL;
459 }
460 }
461 {
462 wxPy_BEGIN_ALLOW_THREADS;
463 _result = (bool )wxHtmlWindow_SetPage(_arg0,_arg1);
464
465 wxPy_END_ALLOW_THREADS;
466 } _resultobj = Py_BuildValue("i",_result);
467 return _resultobj;
468 }
469
470 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
471 static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args) {
472 PyObject * _resultobj;
473 bool _result;
474 wxHtmlWindow * _arg0;
475 char * _arg1;
476 PyObject * _argo0 = 0;
477
478 self = self;
479 if(!PyArg_ParseTuple(args,"Os:wxHtmlWindow_LoadPage",&_argo0,&_arg1))
480 return NULL;
481 if (_argo0) {
482 if (_argo0 == Py_None) { _arg0 = NULL; }
483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxHtmlWindow_p.");
485 return NULL;
486 }
487 }
488 {
489 wxPy_BEGIN_ALLOW_THREADS;
490 _result = (bool )wxHtmlWindow_LoadPage(_arg0,_arg1);
491
492 wxPy_END_ALLOW_THREADS;
493 } _resultobj = Py_BuildValue("i",_result);
494 return _resultobj;
495 }
496
497 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
498 static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args) {
499 PyObject * _resultobj;
500 wxString * _result;
501 wxHtmlWindow * _arg0;
502 PyObject * _argo0 = 0;
503
504 self = self;
505 if(!PyArg_ParseTuple(args,"O:wxHtmlWindow_GetOpenedPage",&_argo0))
506 return NULL;
507 if (_argo0) {
508 if (_argo0 == Py_None) { _arg0 = NULL; }
509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxHtmlWindow_p.");
511 return NULL;
512 }
513 }
514 {
515 wxPy_BEGIN_ALLOW_THREADS;
516 _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0));
517
518 wxPy_END_ALLOW_THREADS;
519 }{
520 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
521 }
522 {
523 delete _result;
524 }
525 return _resultobj;
526 }
527
528 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
529 static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args) {
530 PyObject * _resultobj;
531 wxHtmlWindow * _arg0;
532 wxFrame * _arg1;
533 char * _arg2;
534 PyObject * _argo0 = 0;
535 PyObject * _argo1 = 0;
536
537 self = self;
538 if(!PyArg_ParseTuple(args,"OOs:wxHtmlWindow_SetRelatedFrame",&_argo0,&_argo1,&_arg2))
539 return NULL;
540 if (_argo0) {
541 if (_argo0 == Py_None) { _arg0 = NULL; }
542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxHtmlWindow_p.");
544 return NULL;
545 }
546 }
547 if (_argo1) {
548 if (_argo1 == Py_None) { _arg1 = NULL; }
549 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
550 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
551 return NULL;
552 }
553 }
554 {
555 wxPy_BEGIN_ALLOW_THREADS;
556 wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,_arg2);
557
558 wxPy_END_ALLOW_THREADS;
559 } Py_INCREF(Py_None);
560 _resultobj = Py_None;
561 return _resultobj;
562 }
563
564 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
565 static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args) {
566 PyObject * _resultobj;
567 wxFrame * _result;
568 wxHtmlWindow * _arg0;
569 PyObject * _argo0 = 0;
570 char _ptemp[128];
571
572 self = self;
573 if(!PyArg_ParseTuple(args,"O:wxHtmlWindow_GetRelatedFrame",&_argo0))
574 return NULL;
575 if (_argo0) {
576 if (_argo0 == Py_None) { _arg0 = NULL; }
577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxHtmlWindow_p.");
579 return NULL;
580 }
581 }
582 {
583 wxPy_BEGIN_ALLOW_THREADS;
584 _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0);
585
586 wxPy_END_ALLOW_THREADS;
587 } if (_result) {
588 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
589 _resultobj = Py_BuildValue("s",_ptemp);
590 } else {
591 Py_INCREF(Py_None);
592 _resultobj = Py_None;
593 }
594 return _resultobj;
595 }
596
597 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
598 static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args) {
599 PyObject * _resultobj;
600 wxHtmlWindow * _arg0;
601 int _arg1;
602 PyObject * _argo0 = 0;
603
604 self = self;
605 if(!PyArg_ParseTuple(args,"Oi:wxHtmlWindow_SetRelatedStatusBar",&_argo0,&_arg1))
606 return NULL;
607 if (_argo0) {
608 if (_argo0 == Py_None) { _arg0 = NULL; }
609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxHtmlWindow_p.");
611 return NULL;
612 }
613 }
614 {
615 wxPy_BEGIN_ALLOW_THREADS;
616 wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1);
617
618 wxPy_END_ALLOW_THREADS;
619 } Py_INCREF(Py_None);
620 _resultobj = Py_None;
621 return _resultobj;
622 }
623
624 #define wxHtmlWindow_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
625 static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args) {
626 PyObject * _resultobj;
627 wxHtmlWindow * _arg0;
628 wxString * _arg1;
629 int _arg2;
630 wxString * _arg3;
631 int _arg4;
632 int * _arg5;
633 PyObject * _argo0 = 0;
634 PyObject * _obj1 = 0;
635 PyObject * _obj3 = 0;
636 PyObject * _argo5 = 0;
637
638 self = self;
639 if(!PyArg_ParseTuple(args,"OOiOiO:wxHtmlWindow_SetFonts",&_argo0,&_obj1,&_arg2,&_obj3,&_arg4,&_argo5))
640 return NULL;
641 if (_argo0) {
642 if (_argo0 == Py_None) { _arg0 = NULL; }
643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxHtmlWindow_p.");
645 return NULL;
646 }
647 }
648 {
649 if (!PyString_Check(_obj1)) {
650 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
651 return NULL;
652 }
653 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
654 }
655 {
656 if (!PyString_Check(_obj3)) {
657 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
658 return NULL;
659 }
660 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
661 }
662 if (_argo5) {
663 if (_argo5 == Py_None) { _arg5 = NULL; }
664 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_int_p")) {
665 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxHtmlWindow_SetFonts. Expected _int_p.");
666 return NULL;
667 }
668 }
669 {
670 wxPy_BEGIN_ALLOW_THREADS;
671 wxHtmlWindow_SetFonts(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5);
672
673 wxPy_END_ALLOW_THREADS;
674 } Py_INCREF(Py_None);
675 _resultobj = Py_None;
676 {
677 if (_obj1)
678 delete _arg1;
679 }
680 {
681 if (_obj3)
682 delete _arg3;
683 }
684 return _resultobj;
685 }
686
687 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
688 static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args) {
689 PyObject * _resultobj;
690 wxHtmlWindow * _arg0;
691 char * _arg1;
692 PyObject * _argo0 = 0;
693
694 self = self;
695 if(!PyArg_ParseTuple(args,"Os:wxHtmlWindow_SetTitle",&_argo0,&_arg1))
696 return NULL;
697 if (_argo0) {
698 if (_argo0 == Py_None) { _arg0 = NULL; }
699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxHtmlWindow_p.");
701 return NULL;
702 }
703 }
704 {
705 wxPy_BEGIN_ALLOW_THREADS;
706 wxHtmlWindow_SetTitle(_arg0,_arg1);
707
708 wxPy_END_ALLOW_THREADS;
709 } Py_INCREF(Py_None);
710 _resultobj = Py_None;
711 return _resultobj;
712 }
713
714 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
715 static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args) {
716 PyObject * _resultobj;
717 wxHtmlWindow * _arg0;
718 int _arg1;
719 PyObject * _argo0 = 0;
720
721 self = self;
722 if(!PyArg_ParseTuple(args,"Oi:wxHtmlWindow_SetBorders",&_argo0,&_arg1))
723 return NULL;
724 if (_argo0) {
725 if (_argo0 == Py_None) { _arg0 = NULL; }
726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxHtmlWindow_p.");
728 return NULL;
729 }
730 }
731 {
732 wxPy_BEGIN_ALLOW_THREADS;
733 wxHtmlWindow_SetBorders(_arg0,_arg1);
734
735 wxPy_END_ALLOW_THREADS;
736 } Py_INCREF(Py_None);
737 _resultobj = Py_None;
738 return _resultobj;
739 }
740
741 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
742 static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args) {
743 PyObject * _resultobj;
744 bool _result;
745 wxHtmlWindow * _arg0;
746 PyObject * _argo0 = 0;
747
748 self = self;
749 if(!PyArg_ParseTuple(args,"O:wxHtmlWindow_HistoryBack",&_argo0))
750 return NULL;
751 if (_argo0) {
752 if (_argo0 == Py_None) { _arg0 = NULL; }
753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxHtmlWindow_p.");
755 return NULL;
756 }
757 }
758 {
759 wxPy_BEGIN_ALLOW_THREADS;
760 _result = (bool )wxHtmlWindow_HistoryBack(_arg0);
761
762 wxPy_END_ALLOW_THREADS;
763 } _resultobj = Py_BuildValue("i",_result);
764 return _resultobj;
765 }
766
767 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
768 static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args) {
769 PyObject * _resultobj;
770 bool _result;
771 wxHtmlWindow * _arg0;
772 PyObject * _argo0 = 0;
773
774 self = self;
775 if(!PyArg_ParseTuple(args,"O:wxHtmlWindow_HistoryForward",&_argo0))
776 return NULL;
777 if (_argo0) {
778 if (_argo0 == Py_None) { _arg0 = NULL; }
779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxHtmlWindow_p.");
781 return NULL;
782 }
783 }
784 {
785 wxPy_BEGIN_ALLOW_THREADS;
786 _result = (bool )wxHtmlWindow_HistoryForward(_arg0);
787
788 wxPy_END_ALLOW_THREADS;
789 } _resultobj = Py_BuildValue("i",_result);
790 return _resultobj;
791 }
792
793 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
794 static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args) {
795 PyObject * _resultobj;
796 wxHtmlWindow * _arg0;
797 PyObject * _argo0 = 0;
798
799 self = self;
800 if(!PyArg_ParseTuple(args,"O:wxHtmlWindow_HistoryClear",&_argo0))
801 return NULL;
802 if (_argo0) {
803 if (_argo0 == Py_None) { _arg0 = NULL; }
804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWindow_p")) {
805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxHtmlWindow_p.");
806 return NULL;
807 }
808 }
809 {
810 wxPy_BEGIN_ALLOW_THREADS;
811 wxHtmlWindow_HistoryClear(_arg0);
812
813 wxPy_END_ALLOW_THREADS;
814 } Py_INCREF(Py_None);
815 _resultobj = Py_None;
816 return _resultobj;
817 }
818
819 static void *SwigwxHtmlHelpControllerTowxEvtHandler(void *ptr) {
820 wxHtmlHelpController *src;
821 wxEvtHandler *dest;
822 src = (wxHtmlHelpController *) ptr;
823 dest = (wxEvtHandler *) src;
824 return (void *) dest;
825 }
826
827 #define new_wxHtmlHelpController() (new wxHtmlHelpController())
828 static PyObject *_wrap_new_wxHtmlHelpController(PyObject *self, PyObject *args) {
829 PyObject * _resultobj;
830 wxHtmlHelpController * _result;
831 char _ptemp[128];
832
833 self = self;
834 if(!PyArg_ParseTuple(args,":new_wxHtmlHelpController"))
835 return NULL;
836 {
837 wxPy_BEGIN_ALLOW_THREADS;
838 _result = (wxHtmlHelpController *)new_wxHtmlHelpController();
839
840 wxPy_END_ALLOW_THREADS;
841 } if (_result) {
842 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpController_p");
843 _resultobj = Py_BuildValue("s",_ptemp);
844 } else {
845 Py_INCREF(Py_None);
846 _resultobj = Py_None;
847 }
848 return _resultobj;
849 }
850
851 #define delete_wxHtmlHelpController(_swigobj) (delete _swigobj)
852 static PyObject *_wrap_delete_wxHtmlHelpController(PyObject *self, PyObject *args) {
853 PyObject * _resultobj;
854 wxHtmlHelpController * _arg0;
855 PyObject * _argo0 = 0;
856
857 self = self;
858 if(!PyArg_ParseTuple(args,"O:delete_wxHtmlHelpController",&_argo0))
859 return NULL;
860 if (_argo0) {
861 if (_argo0 == Py_None) { _arg0 = NULL; }
862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpController. Expected _wxHtmlHelpController_p.");
864 return NULL;
865 }
866 }
867 {
868 wxPy_BEGIN_ALLOW_THREADS;
869 delete_wxHtmlHelpController(_arg0);
870
871 wxPy_END_ALLOW_THREADS;
872 } Py_INCREF(Py_None);
873 _resultobj = Py_None;
874 return _resultobj;
875 }
876
877 #define wxHtmlHelpController_SetTitleFormat(_swigobj,_swigarg0) (_swigobj->SetTitleFormat(_swigarg0))
878 static PyObject *_wrap_wxHtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args) {
879 PyObject * _resultobj;
880 wxHtmlHelpController * _arg0;
881 wxString * _arg1;
882 PyObject * _argo0 = 0;
883 PyObject * _obj1 = 0;
884
885 self = self;
886 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpController_SetTitleFormat",&_argo0,&_obj1))
887 return NULL;
888 if (_argo0) {
889 if (_argo0 == Py_None) { _arg0 = NULL; }
890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTitleFormat. Expected _wxHtmlHelpController_p.");
892 return NULL;
893 }
894 }
895 {
896 if (!PyString_Check(_obj1)) {
897 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
898 return NULL;
899 }
900 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
901 }
902 {
903 wxPy_BEGIN_ALLOW_THREADS;
904 wxHtmlHelpController_SetTitleFormat(_arg0,*_arg1);
905
906 wxPy_END_ALLOW_THREADS;
907 } Py_INCREF(Py_None);
908 _resultobj = Py_None;
909 {
910 if (_obj1)
911 delete _arg1;
912 }
913 return _resultobj;
914 }
915
916 #define wxHtmlHelpController_SetTempDir(_swigobj,_swigarg0) (_swigobj->SetTempDir(_swigarg0))
917 static PyObject *_wrap_wxHtmlHelpController_SetTempDir(PyObject *self, PyObject *args) {
918 PyObject * _resultobj;
919 wxHtmlHelpController * _arg0;
920 wxString * _arg1;
921 PyObject * _argo0 = 0;
922 PyObject * _obj1 = 0;
923
924 self = self;
925 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpController_SetTempDir",&_argo0,&_obj1))
926 return NULL;
927 if (_argo0) {
928 if (_argo0 == Py_None) { _arg0 = NULL; }
929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_SetTempDir. Expected _wxHtmlHelpController_p.");
931 return NULL;
932 }
933 }
934 {
935 if (!PyString_Check(_obj1)) {
936 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
937 return NULL;
938 }
939 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
940 }
941 {
942 wxPy_BEGIN_ALLOW_THREADS;
943 wxHtmlHelpController_SetTempDir(_arg0,*_arg1);
944
945 wxPy_END_ALLOW_THREADS;
946 } Py_INCREF(Py_None);
947 _resultobj = Py_None;
948 {
949 if (_obj1)
950 delete _arg1;
951 }
952 return _resultobj;
953 }
954
955 #define wxHtmlHelpController_AddBook(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddBook(_swigarg0,_swigarg1))
956 static PyObject *_wrap_wxHtmlHelpController_AddBook(PyObject *self, PyObject *args) {
957 PyObject * _resultobj;
958 bool _result;
959 wxHtmlHelpController * _arg0;
960 wxString * _arg1;
961 bool _arg2 = (bool ) FALSE;
962 PyObject * _argo0 = 0;
963 PyObject * _obj1 = 0;
964 int tempbool2 = (int) FALSE;
965
966 self = self;
967 if(!PyArg_ParseTuple(args,"OO|i:wxHtmlHelpController_AddBook",&_argo0,&_obj1,&tempbool2))
968 return NULL;
969 if (_argo0) {
970 if (_argo0 == Py_None) { _arg0 = NULL; }
971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_AddBook. Expected _wxHtmlHelpController_p.");
973 return NULL;
974 }
975 }
976 {
977 if (!PyString_Check(_obj1)) {
978 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
979 return NULL;
980 }
981 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
982 }
983 _arg2 = (bool ) tempbool2;
984 {
985 wxPy_BEGIN_ALLOW_THREADS;
986 _result = (bool )wxHtmlHelpController_AddBook(_arg0,*_arg1,_arg2);
987
988 wxPy_END_ALLOW_THREADS;
989 } _resultobj = Py_BuildValue("i",_result);
990 {
991 if (_obj1)
992 delete _arg1;
993 }
994 return _resultobj;
995 }
996
997 #define wxHtmlHelpController_Display(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
998 static PyObject *_wrap_wxHtmlHelpController_Display(PyObject *self, PyObject *args) {
999 PyObject * _resultobj;
1000 wxHtmlHelpController * _arg0;
1001 wxString * _arg1;
1002 PyObject * _argo0 = 0;
1003 PyObject * _obj1 = 0;
1004
1005 self = self;
1006 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpController_Display",&_argo0,&_obj1))
1007 return NULL;
1008 if (_argo0) {
1009 if (_argo0 == Py_None) { _arg0 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_Display. Expected _wxHtmlHelpController_p.");
1012 return NULL;
1013 }
1014 }
1015 {
1016 if (!PyString_Check(_obj1)) {
1017 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1018 return NULL;
1019 }
1020 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1021 }
1022 {
1023 wxPy_BEGIN_ALLOW_THREADS;
1024 wxHtmlHelpController_Display(_arg0,*_arg1);
1025
1026 wxPy_END_ALLOW_THREADS;
1027 } Py_INCREF(Py_None);
1028 _resultobj = Py_None;
1029 {
1030 if (_obj1)
1031 delete _arg1;
1032 }
1033 return _resultobj;
1034 }
1035
1036 #define wxHtmlHelpController_DisplayID(_swigobj,_swigarg0) (_swigobj->Display(_swigarg0))
1037 static PyObject *_wrap_wxHtmlHelpController_DisplayID(PyObject *self, PyObject *args) {
1038 PyObject * _resultobj;
1039 wxHtmlHelpController * _arg0;
1040 int _arg1;
1041 PyObject * _argo0 = 0;
1042
1043 self = self;
1044 if(!PyArg_ParseTuple(args,"Oi:wxHtmlHelpController_DisplayID",&_argo0,&_arg1))
1045 return NULL;
1046 if (_argo0) {
1047 if (_argo0 == Py_None) { _arg0 = NULL; }
1048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayID. Expected _wxHtmlHelpController_p.");
1050 return NULL;
1051 }
1052 }
1053 {
1054 wxPy_BEGIN_ALLOW_THREADS;
1055 wxHtmlHelpController_DisplayID(_arg0,_arg1);
1056
1057 wxPy_END_ALLOW_THREADS;
1058 } Py_INCREF(Py_None);
1059 _resultobj = Py_None;
1060 return _resultobj;
1061 }
1062
1063 #define wxHtmlHelpController_DisplayContents(_swigobj) (_swigobj->DisplayContents())
1064 static PyObject *_wrap_wxHtmlHelpController_DisplayContents(PyObject *self, PyObject *args) {
1065 PyObject * _resultobj;
1066 wxHtmlHelpController * _arg0;
1067 PyObject * _argo0 = 0;
1068
1069 self = self;
1070 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpController_DisplayContents",&_argo0))
1071 return NULL;
1072 if (_argo0) {
1073 if (_argo0 == Py_None) { _arg0 = NULL; }
1074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayContents. Expected _wxHtmlHelpController_p.");
1076 return NULL;
1077 }
1078 }
1079 {
1080 wxPy_BEGIN_ALLOW_THREADS;
1081 wxHtmlHelpController_DisplayContents(_arg0);
1082
1083 wxPy_END_ALLOW_THREADS;
1084 } Py_INCREF(Py_None);
1085 _resultobj = Py_None;
1086 return _resultobj;
1087 }
1088
1089 #define wxHtmlHelpController_DisplayIndex(_swigobj) (_swigobj->DisplayIndex())
1090 static PyObject *_wrap_wxHtmlHelpController_DisplayIndex(PyObject *self, PyObject *args) {
1091 PyObject * _resultobj;
1092 wxHtmlHelpController * _arg0;
1093 PyObject * _argo0 = 0;
1094
1095 self = self;
1096 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpController_DisplayIndex",&_argo0))
1097 return NULL;
1098 if (_argo0) {
1099 if (_argo0 == Py_None) { _arg0 = NULL; }
1100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_DisplayIndex. Expected _wxHtmlHelpController_p.");
1102 return NULL;
1103 }
1104 }
1105 {
1106 wxPy_BEGIN_ALLOW_THREADS;
1107 wxHtmlHelpController_DisplayIndex(_arg0);
1108
1109 wxPy_END_ALLOW_THREADS;
1110 } Py_INCREF(Py_None);
1111 _resultobj = Py_None;
1112 return _resultobj;
1113 }
1114
1115 #define wxHtmlHelpController_KeywordSearch(_swigobj,_swigarg0) (_swigobj->KeywordSearch(_swigarg0))
1116 static PyObject *_wrap_wxHtmlHelpController_KeywordSearch(PyObject *self, PyObject *args) {
1117 PyObject * _resultobj;
1118 bool _result;
1119 wxHtmlHelpController * _arg0;
1120 wxString * _arg1;
1121 PyObject * _argo0 = 0;
1122 PyObject * _obj1 = 0;
1123
1124 self = self;
1125 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpController_KeywordSearch",&_argo0,&_obj1))
1126 return NULL;
1127 if (_argo0) {
1128 if (_argo0 == Py_None) { _arg0 = NULL; }
1129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_KeywordSearch. Expected _wxHtmlHelpController_p.");
1131 return NULL;
1132 }
1133 }
1134 {
1135 if (!PyString_Check(_obj1)) {
1136 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1137 return NULL;
1138 }
1139 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1140 }
1141 {
1142 wxPy_BEGIN_ALLOW_THREADS;
1143 _result = (bool )wxHtmlHelpController_KeywordSearch(_arg0,*_arg1);
1144
1145 wxPy_END_ALLOW_THREADS;
1146 } _resultobj = Py_BuildValue("i",_result);
1147 {
1148 if (_obj1)
1149 delete _arg1;
1150 }
1151 return _resultobj;
1152 }
1153
1154 #define wxHtmlHelpController_UseConfig(_swigobj,_swigarg0,_swigarg1) (_swigobj->UseConfig(_swigarg0,_swigarg1))
1155 static PyObject *_wrap_wxHtmlHelpController_UseConfig(PyObject *self, PyObject *args) {
1156 PyObject * _resultobj;
1157 wxHtmlHelpController * _arg0;
1158 wxConfigBase * _arg1;
1159 wxString * _arg2 = (wxString *) &wxEmptyString;
1160 PyObject * _argo0 = 0;
1161 PyObject * _argo1 = 0;
1162 PyObject * _obj2 = 0;
1163
1164 self = self;
1165 if(!PyArg_ParseTuple(args,"OO|O:wxHtmlHelpController_UseConfig",&_argo0,&_argo1,&_obj2))
1166 return NULL;
1167 if (_argo0) {
1168 if (_argo0 == Py_None) { _arg0 = NULL; }
1169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_UseConfig. Expected _wxHtmlHelpController_p.");
1171 return NULL;
1172 }
1173 }
1174 if (_argo1) {
1175 if (_argo1 == Py_None) { _arg1 = NULL; }
1176 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1177 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_UseConfig. Expected _wxConfigBase_p.");
1178 return NULL;
1179 }
1180 }
1181 if (_obj2)
1182 {
1183 if (!PyString_Check(_obj2)) {
1184 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1185 return NULL;
1186 }
1187 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1188 }
1189 {
1190 wxPy_BEGIN_ALLOW_THREADS;
1191 wxHtmlHelpController_UseConfig(_arg0,_arg1,*_arg2);
1192
1193 wxPy_END_ALLOW_THREADS;
1194 } Py_INCREF(Py_None);
1195 _resultobj = Py_None;
1196 {
1197 if (_obj2)
1198 delete _arg2;
1199 }
1200 return _resultobj;
1201 }
1202
1203 #define wxHtmlHelpController_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
1204 static PyObject *_wrap_wxHtmlHelpController_ReadCustomization(PyObject *self, PyObject *args) {
1205 PyObject * _resultobj;
1206 wxHtmlHelpController * _arg0;
1207 wxConfigBase * _arg1;
1208 wxString * _arg2 = (wxString *) &wxEmptyString;
1209 PyObject * _argo0 = 0;
1210 PyObject * _argo1 = 0;
1211 PyObject * _obj2 = 0;
1212
1213 self = self;
1214 if(!PyArg_ParseTuple(args,"OO|O:wxHtmlHelpController_ReadCustomization",&_argo0,&_argo1,&_obj2))
1215 return NULL;
1216 if (_argo0) {
1217 if (_argo0 == Py_None) { _arg0 = NULL; }
1218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_ReadCustomization. Expected _wxHtmlHelpController_p.");
1220 return NULL;
1221 }
1222 }
1223 if (_argo1) {
1224 if (_argo1 == Py_None) { _arg1 = NULL; }
1225 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1226 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_ReadCustomization. Expected _wxConfigBase_p.");
1227 return NULL;
1228 }
1229 }
1230 if (_obj2)
1231 {
1232 if (!PyString_Check(_obj2)) {
1233 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1234 return NULL;
1235 }
1236 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1237 }
1238 {
1239 wxPy_BEGIN_ALLOW_THREADS;
1240 wxHtmlHelpController_ReadCustomization(_arg0,_arg1,*_arg2);
1241
1242 wxPy_END_ALLOW_THREADS;
1243 } Py_INCREF(Py_None);
1244 _resultobj = Py_None;
1245 {
1246 if (_obj2)
1247 delete _arg2;
1248 }
1249 return _resultobj;
1250 }
1251
1252 #define wxHtmlHelpController_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
1253 static PyObject *_wrap_wxHtmlHelpController_WriteCustomization(PyObject *self, PyObject *args) {
1254 PyObject * _resultobj;
1255 wxHtmlHelpController * _arg0;
1256 wxConfigBase * _arg1;
1257 wxString * _arg2 = (wxString *) &wxEmptyString;
1258 PyObject * _argo0 = 0;
1259 PyObject * _argo1 = 0;
1260 PyObject * _obj2 = 0;
1261
1262 self = self;
1263 if(!PyArg_ParseTuple(args,"OO|O:wxHtmlHelpController_WriteCustomization",&_argo0,&_argo1,&_obj2))
1264 return NULL;
1265 if (_argo0) {
1266 if (_argo0 == Py_None) { _arg0 = NULL; }
1267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpController_p")) {
1268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpController_WriteCustomization. Expected _wxHtmlHelpController_p.");
1269 return NULL;
1270 }
1271 }
1272 if (_argo1) {
1273 if (_argo1 == Py_None) { _arg1 = NULL; }
1274 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
1275 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpController_WriteCustomization. Expected _wxConfigBase_p.");
1276 return NULL;
1277 }
1278 }
1279 if (_obj2)
1280 {
1281 if (!PyString_Check(_obj2)) {
1282 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1283 return NULL;
1284 }
1285 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1286 }
1287 {
1288 wxPy_BEGIN_ALLOW_THREADS;
1289 wxHtmlHelpController_WriteCustomization(_arg0,_arg1,*_arg2);
1290
1291 wxPy_END_ALLOW_THREADS;
1292 } Py_INCREF(Py_None);
1293 _resultobj = Py_None;
1294 {
1295 if (_obj2)
1296 delete _arg2;
1297 }
1298 return _resultobj;
1299 }
1300
1301 static void *SwigwxHtmlHelpSystemTowxHtmlHelpController(void *ptr) {
1302 wxHtmlHelpSystem *src;
1303 wxHtmlHelpController *dest;
1304 src = (wxHtmlHelpSystem *) ptr;
1305 dest = (wxHtmlHelpController *) src;
1306 return (void *) dest;
1307 }
1308
1309 static void *SwigwxHtmlHelpSystemTowxEvtHandler(void *ptr) {
1310 wxHtmlHelpSystem *src;
1311 wxEvtHandler *dest;
1312 src = (wxHtmlHelpSystem *) ptr;
1313 dest = (wxEvtHandler *) src;
1314 return (void *) dest;
1315 }
1316
1317 #define new_wxHtmlHelpSystem() (new wxHtmlHelpSystem())
1318 static PyObject *_wrap_new_wxHtmlHelpSystem(PyObject *self, PyObject *args) {
1319 PyObject * _resultobj;
1320 wxHtmlHelpSystem * _result;
1321 char _ptemp[128];
1322
1323 self = self;
1324 if(!PyArg_ParseTuple(args,":new_wxHtmlHelpSystem"))
1325 return NULL;
1326 {
1327 wxPy_BEGIN_ALLOW_THREADS;
1328 _result = (wxHtmlHelpSystem *)new_wxHtmlHelpSystem();
1329
1330 wxPy_END_ALLOW_THREADS;
1331 } if (_result) {
1332 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlHelpSystem_p");
1333 _resultobj = Py_BuildValue("s",_ptemp);
1334 } else {
1335 Py_INCREF(Py_None);
1336 _resultobj = Py_None;
1337 }
1338 return _resultobj;
1339 }
1340
1341 #define delete_wxHtmlHelpSystem(_swigobj) (delete _swigobj)
1342 static PyObject *_wrap_delete_wxHtmlHelpSystem(PyObject *self, PyObject *args) {
1343 PyObject * _resultobj;
1344 wxHtmlHelpSystem * _arg0;
1345 PyObject * _argo0 = 0;
1346
1347 self = self;
1348 if(!PyArg_ParseTuple(args,"O:delete_wxHtmlHelpSystem",&_argo0))
1349 return NULL;
1350 if (_argo0) {
1351 if (_argo0 == Py_None) { _arg0 = NULL; }
1352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlHelpSystem. Expected _wxHtmlHelpSystem_p.");
1354 return NULL;
1355 }
1356 }
1357 {
1358 wxPy_BEGIN_ALLOW_THREADS;
1359 delete_wxHtmlHelpSystem(_arg0);
1360
1361 wxPy_END_ALLOW_THREADS;
1362 } Py_INCREF(Py_None);
1363 _resultobj = Py_None;
1364 return _resultobj;
1365 }
1366
1367 #define wxHtmlHelpSystem_AddBookParam(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddBookParam(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1368 static PyObject *_wrap_wxHtmlHelpSystem_AddBookParam(PyObject *self, PyObject *args) {
1369 PyObject * _resultobj;
1370 bool _result;
1371 wxHtmlHelpSystem * _arg0;
1372 wxString * _arg1;
1373 wxString * _arg2;
1374 wxString * _arg3 = (wxString *) &wxEmptyString;
1375 wxString * _arg4 = (wxString *) &wxEmptyString;
1376 wxString * _arg5 = (wxString *) &wxEmptyString;
1377 bool _arg6 = (bool ) FALSE;
1378 PyObject * _argo0 = 0;
1379 PyObject * _obj1 = 0;
1380 PyObject * _obj2 = 0;
1381 PyObject * _obj3 = 0;
1382 PyObject * _obj4 = 0;
1383 PyObject * _obj5 = 0;
1384 int tempbool6 = (int) FALSE;
1385
1386 self = self;
1387 if(!PyArg_ParseTuple(args,"OOO|OOOi:wxHtmlHelpSystem_AddBookParam",&_argo0,&_obj1,&_obj2,&_obj3,&_obj4,&_obj5,&tempbool6))
1388 return NULL;
1389 if (_argo0) {
1390 if (_argo0 == Py_None) { _arg0 = NULL; }
1391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_AddBookParam. Expected _wxHtmlHelpSystem_p.");
1393 return NULL;
1394 }
1395 }
1396 {
1397 if (!PyString_Check(_obj1)) {
1398 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1399 return NULL;
1400 }
1401 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1402 }
1403 {
1404 if (!PyString_Check(_obj2)) {
1405 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1406 return NULL;
1407 }
1408 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1409 }
1410 if (_obj3)
1411 {
1412 if (!PyString_Check(_obj3)) {
1413 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1414 return NULL;
1415 }
1416 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
1417 }
1418 if (_obj4)
1419 {
1420 if (!PyString_Check(_obj4)) {
1421 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1422 return NULL;
1423 }
1424 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
1425 }
1426 if (_obj5)
1427 {
1428 if (!PyString_Check(_obj5)) {
1429 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1430 return NULL;
1431 }
1432 _arg5 = new wxString(PyString_AsString(_obj5), PyString_Size(_obj5));
1433 }
1434 _arg6 = (bool ) tempbool6;
1435 {
1436 wxPy_BEGIN_ALLOW_THREADS;
1437 _result = (bool )wxHtmlHelpSystem_AddBookParam(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,*_arg5,_arg6);
1438
1439 wxPy_END_ALLOW_THREADS;
1440 } _resultobj = Py_BuildValue("i",_result);
1441 {
1442 if (_obj1)
1443 delete _arg1;
1444 }
1445 {
1446 if (_obj2)
1447 delete _arg2;
1448 }
1449 {
1450 if (_obj3)
1451 delete _arg3;
1452 }
1453 {
1454 if (_obj4)
1455 delete _arg4;
1456 }
1457 {
1458 if (_obj5)
1459 delete _arg5;
1460 }
1461 return _resultobj;
1462 }
1463
1464 #define wxHtmlHelpSystem_CreateToolBar(_swigobj,_swigarg0) (_swigobj->CreateToolBar(_swigarg0))
1465 static PyObject *_wrap_wxHtmlHelpSystem_CreateToolBar(PyObject *self, PyObject *args) {
1466 PyObject * _resultobj;
1467 wxToolBar * _result;
1468 wxHtmlHelpSystem * _arg0;
1469 wxFrame * _arg1;
1470 PyObject * _argo0 = 0;
1471 PyObject * _argo1 = 0;
1472 char _ptemp[128];
1473
1474 self = self;
1475 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_CreateToolBar",&_argo0,&_argo1))
1476 return NULL;
1477 if (_argo0) {
1478 if (_argo0 == Py_None) { _arg0 = NULL; }
1479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateToolBar. Expected _wxHtmlHelpSystem_p.");
1481 return NULL;
1482 }
1483 }
1484 if (_argo1) {
1485 if (_argo1 == Py_None) { _arg1 = NULL; }
1486 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
1487 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_CreateToolBar. Expected _wxFrame_p.");
1488 return NULL;
1489 }
1490 }
1491 {
1492 wxPy_BEGIN_ALLOW_THREADS;
1493 _result = (wxToolBar *)wxHtmlHelpSystem_CreateToolBar(_arg0,_arg1);
1494
1495 wxPy_END_ALLOW_THREADS;
1496 } if (_result) {
1497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
1498 _resultobj = Py_BuildValue("s",_ptemp);
1499 } else {
1500 Py_INCREF(Py_None);
1501 _resultobj = Py_None;
1502 }
1503 return _resultobj;
1504 }
1505
1506 #define wxHtmlHelpSystem_CreateContentsTree(_swigobj,_swigarg0) (_swigobj->CreateContentsTree(_swigarg0))
1507 static PyObject *_wrap_wxHtmlHelpSystem_CreateContentsTree(PyObject *self, PyObject *args) {
1508 PyObject * _resultobj;
1509 wxTreeCtrl * _result;
1510 wxHtmlHelpSystem * _arg0;
1511 wxWindow * _arg1;
1512 PyObject * _argo0 = 0;
1513 PyObject * _argo1 = 0;
1514 char _ptemp[128];
1515
1516 self = self;
1517 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_CreateContentsTree",&_argo0,&_argo1))
1518 return NULL;
1519 if (_argo0) {
1520 if (_argo0 == Py_None) { _arg0 = NULL; }
1521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateContentsTree. Expected _wxHtmlHelpSystem_p.");
1523 return NULL;
1524 }
1525 }
1526 if (_argo1) {
1527 if (_argo1 == Py_None) { _arg1 = NULL; }
1528 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_CreateContentsTree. Expected _wxWindow_p.");
1530 return NULL;
1531 }
1532 }
1533 {
1534 wxPy_BEGIN_ALLOW_THREADS;
1535 _result = (wxTreeCtrl *)wxHtmlHelpSystem_CreateContentsTree(_arg0,_arg1);
1536
1537 wxPy_END_ALLOW_THREADS;
1538 } if (_result) {
1539 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
1540 _resultobj = Py_BuildValue("s",_ptemp);
1541 } else {
1542 Py_INCREF(Py_None);
1543 _resultobj = Py_None;
1544 }
1545 return _resultobj;
1546 }
1547
1548 #define wxHtmlHelpSystem_CreateIndexList(_swigobj,_swigarg0) (_swigobj->CreateIndexList(_swigarg0))
1549 static PyObject *_wrap_wxHtmlHelpSystem_CreateIndexList(PyObject *self, PyObject *args) {
1550 PyObject * _resultobj;
1551 wxListBox * _result;
1552 wxHtmlHelpSystem * _arg0;
1553 wxWindow * _arg1;
1554 PyObject * _argo0 = 0;
1555 PyObject * _argo1 = 0;
1556 char _ptemp[128];
1557
1558 self = self;
1559 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_CreateIndexList",&_argo0,&_argo1))
1560 return NULL;
1561 if (_argo0) {
1562 if (_argo0 == Py_None) { _arg0 = NULL; }
1563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateIndexList. Expected _wxHtmlHelpSystem_p.");
1565 return NULL;
1566 }
1567 }
1568 if (_argo1) {
1569 if (_argo1 == Py_None) { _arg1 = NULL; }
1570 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1571 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_CreateIndexList. Expected _wxWindow_p.");
1572 return NULL;
1573 }
1574 }
1575 {
1576 wxPy_BEGIN_ALLOW_THREADS;
1577 _result = (wxListBox *)wxHtmlHelpSystem_CreateIndexList(_arg0,_arg1);
1578
1579 wxPy_END_ALLOW_THREADS;
1580 } if (_result) {
1581 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
1582 _resultobj = Py_BuildValue("s",_ptemp);
1583 } else {
1584 Py_INCREF(Py_None);
1585 _resultobj = Py_None;
1586 }
1587 return _resultobj;
1588 }
1589
1590 #define wxHtmlHelpSystem_CreateHelpWindow(_swigobj) (_swigobj->CreateHelpWindow())
1591 static PyObject *_wrap_wxHtmlHelpSystem_CreateHelpWindow(PyObject *self, PyObject *args) {
1592 PyObject * _resultobj;
1593 wxHtmlHelpSystem * _arg0;
1594 PyObject * _argo0 = 0;
1595
1596 self = self;
1597 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_CreateHelpWindow",&_argo0))
1598 return NULL;
1599 if (_argo0) {
1600 if (_argo0 == Py_None) { _arg0 = NULL; }
1601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateHelpWindow. Expected _wxHtmlHelpSystem_p.");
1603 return NULL;
1604 }
1605 }
1606 {
1607 wxPy_BEGIN_ALLOW_THREADS;
1608 wxHtmlHelpSystem_CreateHelpWindow(_arg0);
1609
1610 wxPy_END_ALLOW_THREADS;
1611 } Py_INCREF(Py_None);
1612 _resultobj = Py_None;
1613 return _resultobj;
1614 }
1615
1616 #define wxHtmlHelpSystem_SetControls(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetControls(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1617 static PyObject *_wrap_wxHtmlHelpSystem_SetControls(PyObject *self, PyObject *args) {
1618 PyObject * _resultobj;
1619 wxHtmlHelpSystem * _arg0;
1620 wxFrame * _arg1;
1621 wxHtmlWindow * _arg2;
1622 wxTreeCtrl * _arg3 = (wxTreeCtrl *) NULL;
1623 wxListBox * _arg4 = (wxListBox *) NULL;
1624 wxListBox * _arg5 = (wxListBox *) NULL;
1625 PyObject * _argo0 = 0;
1626 PyObject * _argo1 = 0;
1627 PyObject * _argo2 = 0;
1628 PyObject * _argo3 = 0;
1629 PyObject * _argo4 = 0;
1630 PyObject * _argo5 = 0;
1631
1632 self = self;
1633 if(!PyArg_ParseTuple(args,"OOO|OOO:wxHtmlHelpSystem_SetControls",&_argo0,&_argo1,&_argo2,&_argo3,&_argo4,&_argo5))
1634 return NULL;
1635 if (_argo0) {
1636 if (_argo0 == Py_None) { _arg0 = NULL; }
1637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_SetControls. Expected _wxHtmlHelpSystem_p.");
1639 return NULL;
1640 }
1641 }
1642 if (_argo1) {
1643 if (_argo1 == Py_None) { _arg1 = NULL; }
1644 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
1645 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_SetControls. Expected _wxFrame_p.");
1646 return NULL;
1647 }
1648 }
1649 if (_argo2) {
1650 if (_argo2 == Py_None) { _arg2 = NULL; }
1651 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxHtmlWindow_p")) {
1652 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlHelpSystem_SetControls. Expected _wxHtmlWindow_p.");
1653 return NULL;
1654 }
1655 }
1656 if (_argo3) {
1657 if (_argo3 == Py_None) { _arg3 = NULL; }
1658 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTreeCtrl_p")) {
1659 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxHtmlHelpSystem_SetControls. Expected _wxTreeCtrl_p.");
1660 return NULL;
1661 }
1662 }
1663 if (_argo4) {
1664 if (_argo4 == Py_None) { _arg4 = NULL; }
1665 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxListBox_p")) {
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxHtmlHelpSystem_SetControls. Expected _wxListBox_p.");
1667 return NULL;
1668 }
1669 }
1670 if (_argo5) {
1671 if (_argo5 == Py_None) { _arg5 = NULL; }
1672 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxListBox_p")) {
1673 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxHtmlHelpSystem_SetControls. Expected _wxListBox_p.");
1674 return NULL;
1675 }
1676 }
1677 {
1678 wxPy_BEGIN_ALLOW_THREADS;
1679 wxHtmlHelpSystem_SetControls(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1680
1681 wxPy_END_ALLOW_THREADS;
1682 } Py_INCREF(Py_None);
1683 _resultobj = Py_None;
1684 return _resultobj;
1685 }
1686
1687 #define wxHtmlHelpSystem_GetFrame(_swigobj) (_swigobj->GetFrame())
1688 static PyObject *_wrap_wxHtmlHelpSystem_GetFrame(PyObject *self, PyObject *args) {
1689 PyObject * _resultobj;
1690 wxFrame * _result;
1691 wxHtmlHelpSystem * _arg0;
1692 PyObject * _argo0 = 0;
1693 char _ptemp[128];
1694
1695 self = self;
1696 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_GetFrame",&_argo0))
1697 return NULL;
1698 if (_argo0) {
1699 if (_argo0 == Py_None) { _arg0 = NULL; }
1700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetFrame. Expected _wxHtmlHelpSystem_p.");
1702 return NULL;
1703 }
1704 }
1705 {
1706 wxPy_BEGIN_ALLOW_THREADS;
1707 _result = (wxFrame *)wxHtmlHelpSystem_GetFrame(_arg0);
1708
1709 wxPy_END_ALLOW_THREADS;
1710 } if (_result) {
1711 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
1712 _resultobj = Py_BuildValue("s",_ptemp);
1713 } else {
1714 Py_INCREF(Py_None);
1715 _resultobj = Py_None;
1716 }
1717 return _resultobj;
1718 }
1719
1720 #define wxHtmlHelpSystem_GetHtmlWindow(_swigobj) (_swigobj->GetHtmlWindow())
1721 static PyObject *_wrap_wxHtmlHelpSystem_GetHtmlWindow(PyObject *self, PyObject *args) {
1722 PyObject * _resultobj;
1723 wxHtmlWindow * _result;
1724 wxHtmlHelpSystem * _arg0;
1725 PyObject * _argo0 = 0;
1726 char _ptemp[128];
1727
1728 self = self;
1729 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_GetHtmlWindow",&_argo0))
1730 return NULL;
1731 if (_argo0) {
1732 if (_argo0 == Py_None) { _arg0 = NULL; }
1733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetHtmlWindow. Expected _wxHtmlHelpSystem_p.");
1735 return NULL;
1736 }
1737 }
1738 {
1739 wxPy_BEGIN_ALLOW_THREADS;
1740 _result = (wxHtmlWindow *)wxHtmlHelpSystem_GetHtmlWindow(_arg0);
1741
1742 wxPy_END_ALLOW_THREADS;
1743 } if (_result) {
1744 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWindow_p");
1745 _resultobj = Py_BuildValue("s",_ptemp);
1746 } else {
1747 Py_INCREF(Py_None);
1748 _resultobj = Py_None;
1749 }
1750 return _resultobj;
1751 }
1752
1753 #define wxHtmlHelpSystem_GetContentsTree(_swigobj) (_swigobj->GetContentsTree())
1754 static PyObject *_wrap_wxHtmlHelpSystem_GetContentsTree(PyObject *self, PyObject *args) {
1755 PyObject * _resultobj;
1756 wxTreeCtrl * _result;
1757 wxHtmlHelpSystem * _arg0;
1758 PyObject * _argo0 = 0;
1759 char _ptemp[128];
1760
1761 self = self;
1762 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_GetContentsTree",&_argo0))
1763 return NULL;
1764 if (_argo0) {
1765 if (_argo0 == Py_None) { _arg0 = NULL; }
1766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetContentsTree. Expected _wxHtmlHelpSystem_p.");
1768 return NULL;
1769 }
1770 }
1771 {
1772 wxPy_BEGIN_ALLOW_THREADS;
1773 _result = (wxTreeCtrl *)wxHtmlHelpSystem_GetContentsTree(_arg0);
1774
1775 wxPy_END_ALLOW_THREADS;
1776 } if (_result) {
1777 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
1778 _resultobj = Py_BuildValue("s",_ptemp);
1779 } else {
1780 Py_INCREF(Py_None);
1781 _resultobj = Py_None;
1782 }
1783 return _resultobj;
1784 }
1785
1786 #define wxHtmlHelpSystem_GetIndexList(_swigobj) (_swigobj->GetIndexList())
1787 static PyObject *_wrap_wxHtmlHelpSystem_GetIndexList(PyObject *self, PyObject *args) {
1788 PyObject * _resultobj;
1789 wxListBox * _result;
1790 wxHtmlHelpSystem * _arg0;
1791 PyObject * _argo0 = 0;
1792 char _ptemp[128];
1793
1794 self = self;
1795 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_GetIndexList",&_argo0))
1796 return NULL;
1797 if (_argo0) {
1798 if (_argo0 == Py_None) { _arg0 = NULL; }
1799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetIndexList. Expected _wxHtmlHelpSystem_p.");
1801 return NULL;
1802 }
1803 }
1804 {
1805 wxPy_BEGIN_ALLOW_THREADS;
1806 _result = (wxListBox *)wxHtmlHelpSystem_GetIndexList(_arg0);
1807
1808 wxPy_END_ALLOW_THREADS;
1809 } if (_result) {
1810 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
1811 _resultobj = Py_BuildValue("s",_ptemp);
1812 } else {
1813 Py_INCREF(Py_None);
1814 _resultobj = Py_None;
1815 }
1816 return _resultobj;
1817 }
1818
1819 #define wxHtmlHelpSystem_GetSearchList(_swigobj) (_swigobj->GetSearchList())
1820 static PyObject *_wrap_wxHtmlHelpSystem_GetSearchList(PyObject *self, PyObject *args) {
1821 PyObject * _resultobj;
1822 wxListBox * _result;
1823 wxHtmlHelpSystem * _arg0;
1824 PyObject * _argo0 = 0;
1825 char _ptemp[128];
1826
1827 self = self;
1828 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_GetSearchList",&_argo0))
1829 return NULL;
1830 if (_argo0) {
1831 if (_argo0 == Py_None) { _arg0 = NULL; }
1832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetSearchList. Expected _wxHtmlHelpSystem_p.");
1834 return NULL;
1835 }
1836 }
1837 {
1838 wxPy_BEGIN_ALLOW_THREADS;
1839 _result = (wxListBox *)wxHtmlHelpSystem_GetSearchList(_arg0);
1840
1841 wxPy_END_ALLOW_THREADS;
1842 } if (_result) {
1843 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
1844 _resultobj = Py_BuildValue("s",_ptemp);
1845 } else {
1846 Py_INCREF(Py_None);
1847 _resultobj = Py_None;
1848 }
1849 return _resultobj;
1850 }
1851
1852 #define wxHtmlHelpSystem_GetContentsImageList(_swigobj) (_swigobj->GetContentsImageList())
1853 static PyObject *_wrap_wxHtmlHelpSystem_GetContentsImageList(PyObject *self, PyObject *args) {
1854 PyObject * _resultobj;
1855 wxImageList * _result;
1856 wxHtmlHelpSystem * _arg0;
1857 PyObject * _argo0 = 0;
1858 char _ptemp[128];
1859
1860 self = self;
1861 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_GetContentsImageList",&_argo0))
1862 return NULL;
1863 if (_argo0) {
1864 if (_argo0 == Py_None) { _arg0 = NULL; }
1865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_GetContentsImageList. Expected _wxHtmlHelpSystem_p.");
1867 return NULL;
1868 }
1869 }
1870 {
1871 wxPy_BEGIN_ALLOW_THREADS;
1872 _result = (wxImageList *)wxHtmlHelpSystem_GetContentsImageList(_arg0);
1873
1874 wxPy_END_ALLOW_THREADS;
1875 } if (_result) {
1876 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
1877 _resultobj = Py_BuildValue("s",_ptemp);
1878 } else {
1879 Py_INCREF(Py_None);
1880 _resultobj = Py_None;
1881 }
1882 return _resultobj;
1883 }
1884
1885 #define wxHtmlHelpSystem_OnToolbar(_swigobj,_swigarg0) (_swigobj->OnToolbar(_swigarg0))
1886 static PyObject *_wrap_wxHtmlHelpSystem_OnToolbar(PyObject *self, PyObject *args) {
1887 PyObject * _resultobj;
1888 wxHtmlHelpSystem * _arg0;
1889 wxCommandEvent * _arg1;
1890 PyObject * _argo0 = 0;
1891 PyObject * _argo1 = 0;
1892
1893 self = self;
1894 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_OnToolbar",&_argo0,&_argo1))
1895 return NULL;
1896 if (_argo0) {
1897 if (_argo0 == Py_None) { _arg0 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnToolbar. Expected _wxHtmlHelpSystem_p.");
1900 return NULL;
1901 }
1902 }
1903 if (_argo1) {
1904 if (_argo1 == Py_None) { _arg1 = NULL; }
1905 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
1906 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnToolbar. Expected _wxCommandEvent_p.");
1907 return NULL;
1908 }
1909 }
1910 {
1911 wxPy_BEGIN_ALLOW_THREADS;
1912 wxHtmlHelpSystem_OnToolbar(_arg0,*_arg1);
1913
1914 wxPy_END_ALLOW_THREADS;
1915 } Py_INCREF(Py_None);
1916 _resultobj = Py_None;
1917 return _resultobj;
1918 }
1919
1920 #define wxHtmlHelpSystem_OnContentsSel(_swigobj,_swigarg0) (_swigobj->OnContentsSel(_swigarg0))
1921 static PyObject *_wrap_wxHtmlHelpSystem_OnContentsSel(PyObject *self, PyObject *args) {
1922 PyObject * _resultobj;
1923 wxHtmlHelpSystem * _arg0;
1924 wxTreeEvent * _arg1;
1925 PyObject * _argo0 = 0;
1926 PyObject * _argo1 = 0;
1927
1928 self = self;
1929 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_OnContentsSel",&_argo0,&_argo1))
1930 return NULL;
1931 if (_argo0) {
1932 if (_argo0 == Py_None) { _arg0 = NULL; }
1933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnContentsSel. Expected _wxHtmlHelpSystem_p.");
1935 return NULL;
1936 }
1937 }
1938 if (_argo1) {
1939 if (_argo1 == Py_None) { _arg1 = NULL; }
1940 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeEvent_p")) {
1941 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnContentsSel. Expected _wxTreeEvent_p.");
1942 return NULL;
1943 }
1944 }
1945 {
1946 wxPy_BEGIN_ALLOW_THREADS;
1947 wxHtmlHelpSystem_OnContentsSel(_arg0,*_arg1);
1948
1949 wxPy_END_ALLOW_THREADS;
1950 } Py_INCREF(Py_None);
1951 _resultobj = Py_None;
1952 return _resultobj;
1953 }
1954
1955 #define wxHtmlHelpSystem_OnIndexSel(_swigobj,_swigarg0) (_swigobj->OnIndexSel(_swigarg0))
1956 static PyObject *_wrap_wxHtmlHelpSystem_OnIndexSel(PyObject *self, PyObject *args) {
1957 PyObject * _resultobj;
1958 wxHtmlHelpSystem * _arg0;
1959 wxCommandEvent * _arg1;
1960 PyObject * _argo0 = 0;
1961 PyObject * _argo1 = 0;
1962
1963 self = self;
1964 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_OnIndexSel",&_argo0,&_argo1))
1965 return NULL;
1966 if (_argo0) {
1967 if (_argo0 == Py_None) { _arg0 = NULL; }
1968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
1969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnIndexSel. Expected _wxHtmlHelpSystem_p.");
1970 return NULL;
1971 }
1972 }
1973 if (_argo1) {
1974 if (_argo1 == Py_None) { _arg1 = NULL; }
1975 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
1976 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnIndexSel. Expected _wxCommandEvent_p.");
1977 return NULL;
1978 }
1979 }
1980 {
1981 wxPy_BEGIN_ALLOW_THREADS;
1982 wxHtmlHelpSystem_OnIndexSel(_arg0,*_arg1);
1983
1984 wxPy_END_ALLOW_THREADS;
1985 } Py_INCREF(Py_None);
1986 _resultobj = Py_None;
1987 return _resultobj;
1988 }
1989
1990 #define wxHtmlHelpSystem_OnSearchSel(_swigobj,_swigarg0) (_swigobj->OnSearchSel(_swigarg0))
1991 static PyObject *_wrap_wxHtmlHelpSystem_OnSearchSel(PyObject *self, PyObject *args) {
1992 PyObject * _resultobj;
1993 wxHtmlHelpSystem * _arg0;
1994 wxCommandEvent * _arg1;
1995 PyObject * _argo0 = 0;
1996 PyObject * _argo1 = 0;
1997
1998 self = self;
1999 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_OnSearchSel",&_argo0,&_argo1))
2000 return NULL;
2001 if (_argo0) {
2002 if (_argo0 == Py_None) { _arg0 = NULL; }
2003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
2004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnSearchSel. Expected _wxHtmlHelpSystem_p.");
2005 return NULL;
2006 }
2007 }
2008 if (_argo1) {
2009 if (_argo1 == Py_None) { _arg1 = NULL; }
2010 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnSearchSel. Expected _wxCommandEvent_p.");
2012 return NULL;
2013 }
2014 }
2015 {
2016 wxPy_BEGIN_ALLOW_THREADS;
2017 wxHtmlHelpSystem_OnSearchSel(_arg0,*_arg1);
2018
2019 wxPy_END_ALLOW_THREADS;
2020 } Py_INCREF(Py_None);
2021 _resultobj = Py_None;
2022 return _resultobj;
2023 }
2024
2025 #define wxHtmlHelpSystem_OnSearch(_swigobj,_swigarg0) (_swigobj->OnSearch(_swigarg0))
2026 static PyObject *_wrap_wxHtmlHelpSystem_OnSearch(PyObject *self, PyObject *args) {
2027 PyObject * _resultobj;
2028 wxHtmlHelpSystem * _arg0;
2029 wxCommandEvent * _arg1;
2030 PyObject * _argo0 = 0;
2031 PyObject * _argo1 = 0;
2032
2033 self = self;
2034 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_OnSearch",&_argo0,&_argo1))
2035 return NULL;
2036 if (_argo0) {
2037 if (_argo0 == Py_None) { _arg0 = NULL; }
2038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
2039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnSearch. Expected _wxHtmlHelpSystem_p.");
2040 return NULL;
2041 }
2042 }
2043 if (_argo1) {
2044 if (_argo1 == Py_None) { _arg1 = NULL; }
2045 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
2046 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnSearch. Expected _wxCommandEvent_p.");
2047 return NULL;
2048 }
2049 }
2050 {
2051 wxPy_BEGIN_ALLOW_THREADS;
2052 wxHtmlHelpSystem_OnSearch(_arg0,*_arg1);
2053
2054 wxPy_END_ALLOW_THREADS;
2055 } Py_INCREF(Py_None);
2056 _resultobj = Py_None;
2057 return _resultobj;
2058 }
2059
2060 #define wxHtmlHelpSystem_OnCloseWindow(_swigobj,_swigarg0) (_swigobj->OnCloseWindow(_swigarg0))
2061 static PyObject *_wrap_wxHtmlHelpSystem_OnCloseWindow(PyObject *self, PyObject *args) {
2062 PyObject * _resultobj;
2063 wxHtmlHelpSystem * _arg0;
2064 wxCloseEvent * _arg1;
2065 PyObject * _argo0 = 0;
2066 PyObject * _argo1 = 0;
2067
2068 self = self;
2069 if(!PyArg_ParseTuple(args,"OO:wxHtmlHelpSystem_OnCloseWindow",&_argo0,&_argo1))
2070 return NULL;
2071 if (_argo0) {
2072 if (_argo0 == Py_None) { _arg0 = NULL; }
2073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
2074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_OnCloseWindow. Expected _wxHtmlHelpSystem_p.");
2075 return NULL;
2076 }
2077 }
2078 if (_argo1) {
2079 if (_argo1 == Py_None) { _arg1 = NULL; }
2080 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCloseEvent_p")) {
2081 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlHelpSystem_OnCloseWindow. Expected _wxCloseEvent_p.");
2082 return NULL;
2083 }
2084 }
2085 {
2086 wxPy_BEGIN_ALLOW_THREADS;
2087 wxHtmlHelpSystem_OnCloseWindow(_arg0,*_arg1);
2088
2089 wxPy_END_ALLOW_THREADS;
2090 } Py_INCREF(Py_None);
2091 _resultobj = Py_None;
2092 return _resultobj;
2093 }
2094
2095 #define wxHtmlHelpSystem_RefreshLists(_swigobj) (_swigobj->RefreshLists())
2096 static PyObject *_wrap_wxHtmlHelpSystem_RefreshLists(PyObject *self, PyObject *args) {
2097 PyObject * _resultobj;
2098 wxHtmlHelpSystem * _arg0;
2099 PyObject * _argo0 = 0;
2100
2101 self = self;
2102 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_RefreshLists",&_argo0))
2103 return NULL;
2104 if (_argo0) {
2105 if (_argo0 == Py_None) { _arg0 = NULL; }
2106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
2107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_RefreshLists. Expected _wxHtmlHelpSystem_p.");
2108 return NULL;
2109 }
2110 }
2111 {
2112 wxPy_BEGIN_ALLOW_THREADS;
2113 wxHtmlHelpSystem_RefreshLists(_arg0);
2114
2115 wxPy_END_ALLOW_THREADS;
2116 } Py_INCREF(Py_None);
2117 _resultobj = Py_None;
2118 return _resultobj;
2119 }
2120
2121 #define wxHtmlHelpSystem_CreateContents(_swigobj) (_swigobj->CreateContents())
2122 static PyObject *_wrap_wxHtmlHelpSystem_CreateContents(PyObject *self, PyObject *args) {
2123 PyObject * _resultobj;
2124 wxHtmlHelpSystem * _arg0;
2125 PyObject * _argo0 = 0;
2126
2127 self = self;
2128 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_CreateContents",&_argo0))
2129 return NULL;
2130 if (_argo0) {
2131 if (_argo0 == Py_None) { _arg0 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateContents. Expected _wxHtmlHelpSystem_p.");
2134 return NULL;
2135 }
2136 }
2137 {
2138 wxPy_BEGIN_ALLOW_THREADS;
2139 wxHtmlHelpSystem_CreateContents(_arg0);
2140
2141 wxPy_END_ALLOW_THREADS;
2142 } Py_INCREF(Py_None);
2143 _resultobj = Py_None;
2144 return _resultobj;
2145 }
2146
2147 #define wxHtmlHelpSystem_CreateIndex(_swigobj) (_swigobj->CreateIndex())
2148 static PyObject *_wrap_wxHtmlHelpSystem_CreateIndex(PyObject *self, PyObject *args) {
2149 PyObject * _resultobj;
2150 wxHtmlHelpSystem * _arg0;
2151 PyObject * _argo0 = 0;
2152
2153 self = self;
2154 if(!PyArg_ParseTuple(args,"O:wxHtmlHelpSystem_CreateIndex",&_argo0))
2155 return NULL;
2156 if (_argo0) {
2157 if (_argo0 == Py_None) { _arg0 = NULL; }
2158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlHelpSystem_p")) {
2159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlHelpSystem_CreateIndex. Expected _wxHtmlHelpSystem_p.");
2160 return NULL;
2161 }
2162 }
2163 {
2164 wxPy_BEGIN_ALLOW_THREADS;
2165 wxHtmlHelpSystem_CreateIndex(_arg0);
2166
2167 wxPy_END_ALLOW_THREADS;
2168 } Py_INCREF(Py_None);
2169 _resultobj = Py_None;
2170 return _resultobj;
2171 }
2172
2173 static PyMethodDef htmlcMethods[] = {
2174 { "wxHtmlHelpSystem_CreateIndex", _wrap_wxHtmlHelpSystem_CreateIndex, METH_VARARGS },
2175 { "wxHtmlHelpSystem_CreateContents", _wrap_wxHtmlHelpSystem_CreateContents, METH_VARARGS },
2176 { "wxHtmlHelpSystem_RefreshLists", _wrap_wxHtmlHelpSystem_RefreshLists, METH_VARARGS },
2177 { "wxHtmlHelpSystem_OnCloseWindow", _wrap_wxHtmlHelpSystem_OnCloseWindow, METH_VARARGS },
2178 { "wxHtmlHelpSystem_OnSearch", _wrap_wxHtmlHelpSystem_OnSearch, METH_VARARGS },
2179 { "wxHtmlHelpSystem_OnSearchSel", _wrap_wxHtmlHelpSystem_OnSearchSel, METH_VARARGS },
2180 { "wxHtmlHelpSystem_OnIndexSel", _wrap_wxHtmlHelpSystem_OnIndexSel, METH_VARARGS },
2181 { "wxHtmlHelpSystem_OnContentsSel", _wrap_wxHtmlHelpSystem_OnContentsSel, METH_VARARGS },
2182 { "wxHtmlHelpSystem_OnToolbar", _wrap_wxHtmlHelpSystem_OnToolbar, METH_VARARGS },
2183 { "wxHtmlHelpSystem_GetContentsImageList", _wrap_wxHtmlHelpSystem_GetContentsImageList, METH_VARARGS },
2184 { "wxHtmlHelpSystem_GetSearchList", _wrap_wxHtmlHelpSystem_GetSearchList, METH_VARARGS },
2185 { "wxHtmlHelpSystem_GetIndexList", _wrap_wxHtmlHelpSystem_GetIndexList, METH_VARARGS },
2186 { "wxHtmlHelpSystem_GetContentsTree", _wrap_wxHtmlHelpSystem_GetContentsTree, METH_VARARGS },
2187 { "wxHtmlHelpSystem_GetHtmlWindow", _wrap_wxHtmlHelpSystem_GetHtmlWindow, METH_VARARGS },
2188 { "wxHtmlHelpSystem_GetFrame", _wrap_wxHtmlHelpSystem_GetFrame, METH_VARARGS },
2189 { "wxHtmlHelpSystem_SetControls", _wrap_wxHtmlHelpSystem_SetControls, METH_VARARGS },
2190 { "wxHtmlHelpSystem_CreateHelpWindow", _wrap_wxHtmlHelpSystem_CreateHelpWindow, METH_VARARGS },
2191 { "wxHtmlHelpSystem_CreateIndexList", _wrap_wxHtmlHelpSystem_CreateIndexList, METH_VARARGS },
2192 { "wxHtmlHelpSystem_CreateContentsTree", _wrap_wxHtmlHelpSystem_CreateContentsTree, METH_VARARGS },
2193 { "wxHtmlHelpSystem_CreateToolBar", _wrap_wxHtmlHelpSystem_CreateToolBar, METH_VARARGS },
2194 { "wxHtmlHelpSystem_AddBookParam", _wrap_wxHtmlHelpSystem_AddBookParam, METH_VARARGS },
2195 { "delete_wxHtmlHelpSystem", _wrap_delete_wxHtmlHelpSystem, METH_VARARGS },
2196 { "new_wxHtmlHelpSystem", _wrap_new_wxHtmlHelpSystem, METH_VARARGS },
2197 { "wxHtmlHelpController_WriteCustomization", _wrap_wxHtmlHelpController_WriteCustomization, METH_VARARGS },
2198 { "wxHtmlHelpController_ReadCustomization", _wrap_wxHtmlHelpController_ReadCustomization, METH_VARARGS },
2199 { "wxHtmlHelpController_UseConfig", _wrap_wxHtmlHelpController_UseConfig, METH_VARARGS },
2200 { "wxHtmlHelpController_KeywordSearch", _wrap_wxHtmlHelpController_KeywordSearch, METH_VARARGS },
2201 { "wxHtmlHelpController_DisplayIndex", _wrap_wxHtmlHelpController_DisplayIndex, METH_VARARGS },
2202 { "wxHtmlHelpController_DisplayContents", _wrap_wxHtmlHelpController_DisplayContents, METH_VARARGS },
2203 { "wxHtmlHelpController_DisplayID", _wrap_wxHtmlHelpController_DisplayID, METH_VARARGS },
2204 { "wxHtmlHelpController_Display", _wrap_wxHtmlHelpController_Display, METH_VARARGS },
2205 { "wxHtmlHelpController_AddBook", _wrap_wxHtmlHelpController_AddBook, METH_VARARGS },
2206 { "wxHtmlHelpController_SetTempDir", _wrap_wxHtmlHelpController_SetTempDir, METH_VARARGS },
2207 { "wxHtmlHelpController_SetTitleFormat", _wrap_wxHtmlHelpController_SetTitleFormat, METH_VARARGS },
2208 { "delete_wxHtmlHelpController", _wrap_delete_wxHtmlHelpController, METH_VARARGS },
2209 { "new_wxHtmlHelpController", _wrap_new_wxHtmlHelpController, METH_VARARGS },
2210 { "wxHtmlWindow_HistoryClear", _wrap_wxHtmlWindow_HistoryClear, METH_VARARGS },
2211 { "wxHtmlWindow_HistoryForward", _wrap_wxHtmlWindow_HistoryForward, METH_VARARGS },
2212 { "wxHtmlWindow_HistoryBack", _wrap_wxHtmlWindow_HistoryBack, METH_VARARGS },
2213 { "wxHtmlWindow_SetBorders", _wrap_wxHtmlWindow_SetBorders, METH_VARARGS },
2214 { "wxHtmlWindow_SetTitle", _wrap_wxHtmlWindow_SetTitle, METH_VARARGS },
2215 { "wxHtmlWindow_SetFonts", _wrap_wxHtmlWindow_SetFonts, METH_VARARGS },
2216 { "wxHtmlWindow_SetRelatedStatusBar", _wrap_wxHtmlWindow_SetRelatedStatusBar, METH_VARARGS },
2217 { "wxHtmlWindow_GetRelatedFrame", _wrap_wxHtmlWindow_GetRelatedFrame, METH_VARARGS },
2218 { "wxHtmlWindow_SetRelatedFrame", _wrap_wxHtmlWindow_SetRelatedFrame, METH_VARARGS },
2219 { "wxHtmlWindow_GetOpenedPage", _wrap_wxHtmlWindow_GetOpenedPage, METH_VARARGS },
2220 { "wxHtmlWindow_LoadPage", _wrap_wxHtmlWindow_LoadPage, METH_VARARGS },
2221 { "wxHtmlWindow_SetPage", _wrap_wxHtmlWindow_SetPage, METH_VARARGS },
2222 { "new_wxHtmlWindow", _wrap_new_wxHtmlWindow, METH_VARARGS },
2223 { "HtmlHistoryItem_GetAnchor", _wrap_HtmlHistoryItem_GetAnchor, METH_VARARGS },
2224 { "HtmlHistoryItem_GetPage", _wrap_HtmlHistoryItem_GetPage, METH_VARARGS },
2225 { "HtmlHistoryItem_SetPos", _wrap_HtmlHistoryItem_SetPos, METH_VARARGS },
2226 { "HtmlHistoryItem_GetPos", _wrap_HtmlHistoryItem_GetPos, METH_VARARGS },
2227 { "new_HtmlHistoryItem", _wrap_new_HtmlHistoryItem, METH_VARARGS },
2228 { NULL, NULL }
2229 };
2230 #ifdef __cplusplus
2231 }
2232 #endif
2233 /*
2234 * This table is used by the pointer type-checker
2235 */
2236 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2237 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2238 { "_wxEvent","_class_wxEvent",0},
2239 { "_class_wxActivateEvent","_wxActivateEvent",0},
2240 { "_signed_long","_long",0},
2241 { "_wxMenuEvent","_class_wxMenuEvent",0},
2242 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
2243 { "_wxBMPHandler","_class_wxBMPHandler",0},
2244 { "_wxImage","_class_wxImage",0},
2245 { "_wxPrintQuality","_int",0},
2246 { "_wxPrintQuality","_signed_int",0},
2247 { "_wxPrintQuality","_unsigned_int",0},
2248 { "_wxPrintQuality","_wxWindowID",0},
2249 { "_wxPrintQuality","_uint",0},
2250 { "_wxPrintQuality","_EBool",0},
2251 { "_wxPrintQuality","_size_t",0},
2252 { "_wxFontData","_class_wxFontData",0},
2253 { "___wxPyCleanup","_class___wxPyCleanup",0},
2254 { "_class_HtmlHistoryItem","_HtmlHistoryItem",0},
2255 { "_class_wxRegionIterator","_wxRegionIterator",0},
2256 { "_class_wxMenuBar","_wxMenuBar",0},
2257 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
2258 { "_class_wxEvtHandler","_class_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxEvtHandler},
2259 { "_class_wxEvtHandler","_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxEvtHandler},
2260 { "_class_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2261 { "_class_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2262 { "_class_wxEvtHandler","_class_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler},
2263 { "_class_wxEvtHandler","_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler},
2264 { "_class_wxEvtHandler","_wxEvtHandler",0},
2265 { "_wxPaintEvent","_class_wxPaintEvent",0},
2266 { "_wxGIFHandler","_class_wxGIFHandler",0},
2267 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2268 { "_wxCursor","_class_wxCursor",0},
2269 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2270 { "_wxImageHandler","_class_wxImageHandler",0},
2271 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
2272 { "_wxMask","_class_wxMask",0},
2273 { "_wxToolTip","_class_wxToolTip",0},
2274 { "_wxGrid","_class_wxGrid",0},
2275 { "_wxPNGHandler","_class_wxPNGHandler",0},
2276 { "_class_wxColourData","_wxColourData",0},
2277 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
2278 { "_wxPrinter","_class_wxPrinter",0},
2279 { "_class_wxHtmlHelpController","_class_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxHtmlHelpController},
2280 { "_class_wxHtmlHelpController","_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxHtmlHelpController},
2281 { "_class_wxHtmlHelpController","_wxHtmlHelpController",0},
2282 { "_wxPen","_class_wxPen",0},
2283 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2284 { "_byte","_unsigned_char",0},
2285 { "_wxStaticBox","_class_wxStaticBox",0},
2286 { "_class_wxHtmlHelpSystem","_wxHtmlHelpSystem",0},
2287 { "_wxChoice","_class_wxChoice",0},
2288 { "_wxSlider","_class_wxSlider",0},
2289 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
2290 { "_wxPyPrintout","_class_wxPyPrintout",0},
2291 { "_long","_wxDash",0},
2292 { "_long","_unsigned_long",0},
2293 { "_long","_signed_long",0},
2294 { "_wxImageList","_class_wxImageList",0},
2295 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2296 { "_wxBitmapButton","_class_wxBitmapButton",0},
2297 { "_wxSashWindow","_class_wxSashWindow",0},
2298 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
2299 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2300 { "_class_wxGauge","_wxGauge",0},
2301 { "_class_wxSashEvent","_wxSashEvent",0},
2302 { "_wxDC","_class_wxDC",0},
2303 { "_wxListEvent","_class_wxListEvent",0},
2304 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2305 { "_wxProgressDialog","_class_wxProgressDialog",0},
2306 { "_class_wxBMPHandler","_wxBMPHandler",0},
2307 { "_wxPrintPreview","_class_wxPrintPreview",0},
2308 { "_wxSpinEvent","_class_wxSpinEvent",0},
2309 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
2310 { "_size_t","_wxPrintQuality",0},
2311 { "_size_t","_unsigned_int",0},
2312 { "_size_t","_int",0},
2313 { "_size_t","_wxWindowID",0},
2314 { "_size_t","_uint",0},
2315 { "_class_wxRealPoint","_wxRealPoint",0},
2316 { "_class_wxMenuItem","_wxMenuItem",0},
2317 { "_class_wxPaintEvent","_wxPaintEvent",0},
2318 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2319 { "_class_wxStatusBar","_wxStatusBar",0},
2320 { "_class_wxGIFHandler","_wxGIFHandler",0},
2321 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2322 { "_wxPanel","_class_wxHtmlWindow",SwigwxHtmlWindowTowxPanel},
2323 { "_wxPanel","_wxHtmlWindow",SwigwxHtmlWindowTowxPanel},
2324 { "_wxPanel","_class_wxPanel",0},
2325 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2326 { "_wxCheckBox","_class_wxCheckBox",0},
2327 { "_wxPyEvent","_class_wxPyEvent",0},
2328 { "_wxTextCtrl","_class_wxTextCtrl",0},
2329 { "_class_wxMask","_wxMask",0},
2330 { "_class_wxToolTip","_wxToolTip",0},
2331 { "_class_wxKeyEvent","_wxKeyEvent",0},
2332 { "_class_wxGrid","_wxGrid",0},
2333 { "_class_wxPNGHandler","_wxPNGHandler",0},
2334 { "_wxColour","_class_wxColour",0},
2335 { "_class_wxDialog","_wxDialog",0},
2336 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
2337 { "_class_wxPrinter","_wxPrinter",0},
2338 { "_wxIdleEvent","_class_wxIdleEvent",0},
2339 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2340 { "_wxToolBar","_class_wxToolBar",0},
2341 { "_wxStaticLine","_class_wxStaticLine",0},
2342 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
2343 { "_wxBrush","_class_wxBrush",0},
2344 { "_wxMiniFrame","_class_wxMiniFrame",0},
2345 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
2346 { "_class_wxPyPrintout","_wxPyPrintout",0},
2347 { "_class_wxSashWindow","_wxSashWindow",0},
2348 { "_wxShowEvent","_class_wxShowEvent",0},
2349 { "_uint","_wxPrintQuality",0},
2350 { "_uint","_size_t",0},
2351 { "_uint","_unsigned_int",0},
2352 { "_uint","_int",0},
2353 { "_uint","_wxWindowID",0},
2354 { "_class_wxEvent","_wxEvent",0},
2355 { "_wxCheckListBox","_class_wxCheckListBox",0},
2356 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2357 { "_wxGridEvent","_class_wxGridEvent",0},
2358 { "_wxRect","_class_wxRect",0},
2359 { "_wxCommandEvent","_class_wxCommandEvent",0},
2360 { "_wxSizeEvent","_class_wxSizeEvent",0},
2361 { "_class_wxImage","_wxImage",0},
2362 { "_wxPoint","_class_wxPoint",0},
2363 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
2364 { "_class_wxButton","_wxButton",0},
2365 { "_wxRadioBox","_class_wxRadioBox",0},
2366 { "_class_wxFontData","_wxFontData",0},
2367 { "_class___wxPyCleanup","___wxPyCleanup",0},
2368 { "_wxBitmap","_class_wxBitmap",0},
2369 { "_wxPrintDialog","_class_wxPrintDialog",0},
2370 { "_wxPyTimer","_class_wxPyTimer",0},
2371 { "_wxWindowDC","_class_wxWindowDC",0},
2372 { "_wxScrollBar","_class_wxScrollBar",0},
2373 { "_wxSpinButton","_class_wxSpinButton",0},
2374 { "_wxToolBarTool","_class_wxToolBarTool",0},
2375 { "_wxColourDialog","_class_wxColourDialog",0},
2376 { "_wxPrintData","_class_wxPrintData",0},
2377 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2378 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2379 { "_wxMessageDialog","_class_wxMessageDialog",0},
2380 { "_class_wxPyEvent","_wxPyEvent",0},
2381 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
2382 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2383 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2384 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
2385 { "_wxListItem","_class_wxListItem",0},
2386 { "_class_wxToolBar","_wxToolBar",0},
2387 { "_class_wxStaticLine","_wxStaticLine",0},
2388 { "_wxScrollEvent","_class_wxScrollEvent",0},
2389 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
2390 { "_EBool","_wxPrintQuality",0},
2391 { "_EBool","_signed_int",0},
2392 { "_EBool","_int",0},
2393 { "_EBool","_wxWindowID",0},
2394 { "_class_wxRegion","_wxRegion",0},
2395 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2396 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
2397 { "_wxStaticText","_class_wxStaticText",0},
2398 { "_wxFont","_class_wxFont",0},
2399 { "_wxCloseEvent","_class_wxCloseEvent",0},
2400 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2401 { "_wxNotebook","_class_wxNotebook",0},
2402 { "_unsigned_long","_wxDash",0},
2403 { "_unsigned_long","_long",0},
2404 { "_class_wxRect","_wxRect",0},
2405 { "_class_wxDC","_wxDC",0},
2406 { "_class_wxProgressDialog","_wxProgressDialog",0},
2407 { "_wxPyApp","_class_wxPyApp",0},
2408 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
2409 { "_class_wxTreeEvent","_wxTreeEvent",0},
2410 { "_class_wxDirDialog","_wxDirDialog",0},
2411 { "_class_wxPyTimer","_wxPyTimer",0},
2412 { "_wxFocusEvent","_class_wxFocusEvent",0},
2413 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2414 { "_class_wxSpinButton","_wxSpinButton",0},
2415 { "_wxHtmlWindow","_class_wxHtmlWindow",0},
2416 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2417 { "_class_wxPanel","_class_wxHtmlWindow",SwigwxHtmlWindowTowxPanel},
2418 { "_class_wxPanel","_wxHtmlWindow",SwigwxHtmlWindowTowxPanel},
2419 { "_class_wxPanel","_wxPanel",0},
2420 { "_class_wxCheckBox","_wxCheckBox",0},
2421 { "_wxComboBox","_class_wxComboBox",0},
2422 { "_wxRadioButton","_class_wxRadioButton",0},
2423 { "_class_wxMessageDialog","_wxMessageDialog",0},
2424 { "_signed_int","_wxPrintQuality",0},
2425 { "_signed_int","_EBool",0},
2426 { "_signed_int","_wxWindowID",0},
2427 { "_signed_int","_int",0},
2428 { "_class_wxTextCtrl","_wxTextCtrl",0},
2429 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2430 { "_wxMenu","_class_wxMenu",0},
2431 { "_class_wxMoveEvent","_wxMoveEvent",0},
2432 { "_wxListBox","_class_wxListBox",0},
2433 { "_wxScreenDC","_class_wxScreenDC",0},
2434 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
2435 { "_wxHtmlHelpController","_class_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxHtmlHelpController},
2436 { "_wxHtmlHelpController","_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxHtmlHelpController},
2437 { "_wxHtmlHelpController","_class_wxHtmlHelpController",0},
2438 { "_WXTYPE","_short",0},
2439 { "_WXTYPE","_signed_short",0},
2440 { "_WXTYPE","_unsigned_short",0},
2441 { "_wxFileDialog","_class_wxFileDialog",0},
2442 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
2443 { "_class_wxBrush","_wxBrush",0},
2444 { "_unsigned_short","_WXTYPE",0},
2445 { "_unsigned_short","_short",0},
2446 { "_class_wxWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxWindow},
2447 { "_class_wxWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxWindow},
2448 { "_class_wxWindow","_wxWindow",0},
2449 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2450 { "_class_wxStaticText","_wxStaticText",0},
2451 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
2452 { "_class_wxFont","_wxFont",0},
2453 { "_class_wxCloseEvent","_wxCloseEvent",0},
2454 { "_wxSashEvent","_class_wxSashEvent",0},
2455 { "_class_wxMenuEvent","_wxMenuEvent",0},
2456 { "_wxClientDC","_class_wxClientDC",0},
2457 { "_wxMouseEvent","_class_wxMouseEvent",0},
2458 { "_wxListCtrl","_class_wxListCtrl",0},
2459 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2460 { "_class_wxPoint","_wxPoint",0},
2461 { "_wxRealPoint","_class_wxRealPoint",0},
2462 { "_class_wxRadioBox","_wxRadioBox",0},
2463 { "_wxGridCell","_class_wxGridCell",0},
2464 { "_signed_short","_WXTYPE",0},
2465 { "_signed_short","_short",0},
2466 { "_wxMemoryDC","_class_wxMemoryDC",0},
2467 { "_class_wxPrintDialog","_wxPrintDialog",0},
2468 { "_wxPaintDC","_class_wxPaintDC",0},
2469 { "_class_wxWindowDC","_wxWindowDC",0},
2470 { "_class_wxFocusEvent","_wxFocusEvent",0},
2471 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2472 { "_wxStatusBar","_class_wxStatusBar",0},
2473 { "_class_wxToolBarTool","_wxToolBarTool",0},
2474 { "_class_wxHtmlWindow","_wxHtmlWindow",0},
2475 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2476 { "_class_wxCursor","_wxCursor",0},
2477 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2478 { "_class_wxImageHandler","_wxImageHandler",0},
2479 { "_wxScrolledWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow},
2480 { "_wxScrolledWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow},
2481 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2482 { "_wxTreeItemId","_class_wxTreeItemId",0},
2483 { "_unsigned_char","_byte",0},
2484 { "_class_wxMenu","_wxMenu",0},
2485 { "_wxControl","_class_wxControl",0},
2486 { "_class_wxListBox","_wxListBox",0},
2487 { "_unsigned_int","_wxPrintQuality",0},
2488 { "_unsigned_int","_size_t",0},
2489 { "_unsigned_int","_uint",0},
2490 { "_unsigned_int","_wxWindowID",0},
2491 { "_unsigned_int","_int",0},
2492 { "_wxIcon","_class_wxIcon",0},
2493 { "_wxDialog","_class_wxDialog",0},
2494 { "_class_wxListItem","_wxListItem",0},
2495 { "_class_wxPen","_wxPen",0},
2496 { "_class_wxFileDialog","_wxFileDialog",0},
2497 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
2498 { "_short","_WXTYPE",0},
2499 { "_short","_unsigned_short",0},
2500 { "_short","_signed_short",0},
2501 { "_class_wxStaticBox","_wxStaticBox",0},
2502 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
2503 { "_class_wxScrollEvent","_wxScrollEvent",0},
2504 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2505 { "_class_wxChoice","_wxChoice",0},
2506 { "_class_wxSlider","_wxSlider",0},
2507 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2508 { "_class_wxImageList","_wxImageList",0},
2509 { "_class_wxBitmapButton","_wxBitmapButton",0},
2510 { "_wxFrame","_class_wxFrame",0},
2511 { "_class_wxNotebook","_wxNotebook",0},
2512 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2513 { "_wxWindowID","_wxPrintQuality",0},
2514 { "_wxWindowID","_size_t",0},
2515 { "_wxWindowID","_EBool",0},
2516 { "_wxWindowID","_uint",0},
2517 { "_wxWindowID","_int",0},
2518 { "_wxWindowID","_signed_int",0},
2519 { "_wxWindowID","_unsigned_int",0},
2520 { "_int","_wxPrintQuality",0},
2521 { "_int","_size_t",0},
2522 { "_int","_EBool",0},
2523 { "_int","_uint",0},
2524 { "_int","_wxWindowID",0},
2525 { "_int","_unsigned_int",0},
2526 { "_int","_signed_int",0},
2527 { "_class_wxMouseEvent","_wxMouseEvent",0},
2528 { "_class_wxListEvent","_wxListEvent",0},
2529 { "_class_wxPrintPreview","_wxPrintPreview",0},
2530 { "_class_wxSpinEvent","_wxSpinEvent",0},
2531 { "_wxButton","_class_wxButton",0},
2532 { "_class_wxPyApp","_wxPyApp",0},
2533 { "_wxSize","_class_wxSize",0},
2534 { "_wxRegionIterator","_class_wxRegionIterator",0},
2535 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2536 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
2537 { "_class_wxPaintDC","_wxPaintDC",0},
2538 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2539 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2540 { "_class_wxComboBox","_wxComboBox",0},
2541 { "_class_wxRadioButton","_wxRadioButton",0},
2542 { "_class_wxTreeItemId","_wxTreeItemId",0},
2543 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
2544 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2545 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2546 { "_class_wxControl","_wxControl",0},
2547 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2548 { "_class_wxIcon","_wxIcon",0},
2549 { "_class_wxColour","_wxColour",0},
2550 { "_class_wxScreenDC","_wxScreenDC",0},
2551 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
2552 { "_wxPalette","_class_wxPalette",0},
2553 { "_class_wxIdleEvent","_wxIdleEvent",0},
2554 { "_wxEraseEvent","_class_wxEraseEvent",0},
2555 { "_wxHtmlHelpSystem","_class_wxHtmlHelpSystem",0},
2556 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2557 { "_class_wxMiniFrame","_wxMiniFrame",0},
2558 { "_wxFontDialog","_class_wxFontDialog",0},
2559 { "_wxRegion","_class_wxRegion",0},
2560 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2561 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
2562 { "_class_wxShowEvent","_wxShowEvent",0},
2563 { "_wxActivateEvent","_class_wxActivateEvent",0},
2564 { "_wxGauge","_class_wxGauge",0},
2565 { "_class_wxCheckListBox","_wxCheckListBox",0},
2566 { "_class_wxGridEvent","_wxGridEvent",0},
2567 { "_class_wxCommandEvent","_wxCommandEvent",0},
2568 { "_class_wxClientDC","_wxClientDC",0},
2569 { "_class_wxSizeEvent","_wxSizeEvent",0},
2570 { "_class_wxListCtrl","_wxListCtrl",0},
2571 { "_class_wxGridCell","_wxGridCell",0},
2572 { "_HtmlHistoryItem","_class_HtmlHistoryItem",0},
2573 { "_class_wxSize","_wxSize",0},
2574 { "_class_wxBitmap","_wxBitmap",0},
2575 { "_class_wxMemoryDC","_wxMemoryDC",0},
2576 { "_wxMenuBar","_class_wxMenuBar",0},
2577 { "_wxTreeEvent","_class_wxTreeEvent",0},
2578 { "_wxDirDialog","_class_wxDirDialog",0},
2579 { "_wxEvtHandler","_class_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxEvtHandler},
2580 { "_wxEvtHandler","_wxHtmlHelpSystem",SwigwxHtmlHelpSystemTowxEvtHandler},
2581 { "_wxEvtHandler","_class_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2582 { "_wxEvtHandler","_wxHtmlHelpController",SwigwxHtmlHelpControllerTowxEvtHandler},
2583 { "_wxEvtHandler","_class_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler},
2584 { "_wxEvtHandler","_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler},
2585 { "_wxEvtHandler","_class_wxEvtHandler",0},
2586 { "_wxMenuItem","_class_wxMenuItem",0},
2587 { "_class_wxScrollBar","_wxScrollBar",0},
2588 { "_class_wxColourDialog","_wxColourDialog",0},
2589 { "_class_wxPrintData","_wxPrintData",0},
2590 { "_wxDash","_unsigned_long",0},
2591 { "_wxDash","_long",0},
2592 { "_class_wxScrolledWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow},
2593 { "_class_wxScrolledWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow},
2594 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2595 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
2596 { "_wxKeyEvent","_class_wxKeyEvent",0},
2597 { "_wxMoveEvent","_class_wxMoveEvent",0},
2598 { "_wxColourData","_class_wxColourData",0},
2599 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
2600 { "_class_wxPalette","_wxPalette",0},
2601 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
2602 { "_class_wxEraseEvent","_wxEraseEvent",0},
2603 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
2604 { "_class_wxFontDialog","_wxFontDialog",0},
2605 { "_wxWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxWindow},
2606 { "_wxWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxWindow},
2607 { "_wxWindow","_class_wxWindow",0},
2608 { "_class_wxFrame","_wxFrame",0},
2609 {0,0,0}};
2610
2611 static PyObject *SWIG_globals;
2612 #ifdef __cplusplus
2613 extern "C"
2614 #endif
2615 SWIGEXPORT(void) inithtmlc() {
2616 PyObject *m, *d;
2617 SWIG_globals = SWIG_newvarlink();
2618 m = Py_InitModule("htmlc", htmlcMethods);
2619 d = PyModule_GetDict(m);
2620 PyDict_SetItemString(d,"wxID_HTML_PANEL", PyInt_FromLong((long) wxID_HTML_PANEL));
2621 PyDict_SetItemString(d,"wxID_HTML_BACK", PyInt_FromLong((long) wxID_HTML_BACK));
2622 PyDict_SetItemString(d,"wxID_HTML_FORWARD", PyInt_FromLong((long) wxID_HTML_FORWARD));
2623 PyDict_SetItemString(d,"wxID_HTML_TREECTRL", PyInt_FromLong((long) wxID_HTML_TREECTRL));
2624 PyDict_SetItemString(d,"wxID_HTML_INDEXPAGE", PyInt_FromLong((long) wxID_HTML_INDEXPAGE));
2625 PyDict_SetItemString(d,"wxID_HTML_INDEXLIST", PyInt_FromLong((long) wxID_HTML_INDEXLIST));
2626 PyDict_SetItemString(d,"wxID_HTML_NOTEBOOK", PyInt_FromLong((long) wxID_HTML_NOTEBOOK));
2627 PyDict_SetItemString(d,"wxID_HTML_SEARCHPAGE", PyInt_FromLong((long) wxID_HTML_SEARCHPAGE));
2628 PyDict_SetItemString(d,"wxID_HTML_SEARCHTEXT", PyInt_FromLong((long) wxID_HTML_SEARCHTEXT));
2629 PyDict_SetItemString(d,"wxID_HTML_SEARCHLIST", PyInt_FromLong((long) wxID_HTML_SEARCHLIST));
2630 PyDict_SetItemString(d,"wxID_HTML_SEARCHBUTTON", PyInt_FromLong((long) wxID_HTML_SEARCHBUTTON));
2631
2632
2633 /* This is a bit cheesy. SWIG happens to call the dictionary d...
2634 * I save it here, 'cause I don't know how to get it back later! */
2635 mod_dict = d;
2636 wxPyThreadState = PyThreadState_Get();
2637 wxClassInfo::CleanUpClasses();
2638 wxClassInfo::InitializeClasses();
2639
2640 /* specifically add our python tag handler; it doesn't seem to
2641 * happen by itself... */
2642 wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
2643
2644 // Until wxFileSystem is wrapped...
2645 #if wxUSE_FS_ZIP
2646 wxFileSystem::AddHandler(new wxZipFSHandler);
2647 #endif
2648 PyDict_SetItemString(d,"wxHtmlHelpController_IMG_Book", PyInt_FromLong((long) wxHtmlHelpController::IMG_Book));
2649 PyDict_SetItemString(d,"wxHtmlHelpController_IMG_Folder", PyInt_FromLong((long) wxHtmlHelpController::IMG_Folder));
2650 PyDict_SetItemString(d,"wxHtmlHelpController_IMG_Page", PyInt_FromLong((long) wxHtmlHelpController::IMG_Page));
2651 {
2652 int i;
2653 for (i = 0; _swig_mapping[i].n1; i++)
2654 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2655 }
2656 }