]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/gtk/html.cpp
started adding swigged sources
[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 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
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
62 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65 if (!target) {
66 target = o;
67 } else if (target == Py_None) {
68 Py_DECREF(Py_None);
69 target = o;
70 } else {
71 if (!PyList_Check(target)) {
72 o2 = target;
73 target = PyList_New(0);
74 PyList_Append(target, o2);
75 Py_XDECREF(o2);
76 }
77 PyList_Append(target,o);
78 Py_XDECREF(o);
79 }
80 return target;
81 }
82
83 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
84 PyObject* o2;
85 PyObject* o3;
86
87 if (!target) {
88 target = o;
89 } else if (target == Py_None) {
90 Py_DECREF(Py_None);
91 target = o;
92 } else {
93 if (!PyTuple_Check(target)) {
94 o2 = target;
95 target = PyTuple_New(1);
96 PyTuple_SetItem(target, 0, o2);
97 }
98 o3 = PyTuple_New(1);
99 PyTuple_SetItem(o3, 0, o);
100
101 o2 = target;
102 target = PySequence_Concat(o2, o3);
103 Py_DECREF(o2);
104 Py_DECREF(o3);
105 }
106 return target;
107 }
108
109
110 extern byte* byte_LIST_helper(PyObject* source);
111 extern int* int_LIST_helper(PyObject* source);
112 extern long* long_LIST_helper(PyObject* source);
113 extern char** string_LIST_helper(PyObject* source);
114 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
115 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
116 extern wxString* wxString_LIST_helper(PyObject* source);
117 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
118
119
120 static char* wxStringErrorMsg = "string type is required for parameter";
121
122 #ifdef __WXMSW__
123 static wxString wxPyEmptyStr("");
124 static wxPoint wxPyDefaultPosition(wxDefaultPosition);
125 static wxSize wxPyDefaultSize(wxDefaultSize);
126 #endif
127 static PyThreadState* wxPyThreadState;
128
129
130 static PyObject* mod_dict = NULL; // will be set by init
131
132 #include <wx/html/mod_templ.h>
133
134 TAG_HANDLER_BEGIN(PYTHONTAG, "PYTHON")
135 TAG_HANDLER_PROC(tag)
136 {
137 wxWindow *wnd;
138 wxString errmsg;
139 char pbuf[256];
140
141 int fl = 0;
142
143 while (1) {
144 #ifdef WXP_WITH_THREAD
145 PyEval_RestoreThread(wxPyThreadState);
146 #endif
147 if (tag.HasParam("FLOAT"))
148 tag.ScanParam("FLOAT", "%i", &fl);
149 PyObject* pyfunc = PyDict_GetItemString(mod_dict, "WidgetStarter");
150 if (pyfunc == NULL) {
151 errmsg = "Could not find object WidgetStarter";
152 break;
153 }
154 if (! PyCallable_Check(pyfunc)) {
155 errmsg = "WidgetStarter does not appear to be callable";
156 break;
157 }
158 SWIG_MakePtr(pbuf, m_WParser->GetWindow(), "_wxHtmlWindow_p");
159 PyObject* arglist = Py_BuildValue("(s,s)", pbuf,
160 (const char*)tag.GetAllParams());
161 if (! arglist) {
162 errmsg = "Failed making argument list";
163 break;
164 }
165 PyObject* ret = PyEval_CallObject(pyfunc, arglist);
166 Py_DECREF(arglist);
167 if (ret == NULL) {
168 errmsg = "An error occured while calling WidgetStarter";
169 if (PyErr_Occurred())
170 PyErr_Print();
171 break;
172 }
173 wnd = NULL;
174 if (PyString_Check(ret)) {
175 char* thisc = PyString_AsString(ret);
176 SWIG_GetPtr(thisc, (void**)&wnd, "_wxWindow_p");
177 }
178 Py_DECREF(ret);
179 if (! wnd) {
180 errmsg = "Could not make a wxWindow pointer from return ptr";
181 break;
182 }
183 #ifdef WXP_WITH_THREAD
184 PyEval_SaveThread();
185 #endif
186 wnd -> Show(TRUE);
187 m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, fl));
188 return FALSE;
189 }
190
191 /* we got out of the loop. Must be an error. Show a box stating it. */
192
193 #ifdef WXP_WITH_THREAD
194 PyEval_SaveThread();
195 #endif
196
197 wnd = new wxTextCtrl( m_WParser -> GetWindow(), -1,
198 errmsg, wxPoint(0,0),
199 wxSize(300, 100), wxTE_MULTILINE );
200 wnd -> Show(TRUE);
201 m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, 100));
202 return FALSE;
203 }
204
205 TAG_HANDLER_END(PYTHONTAG)
206
207 TAGS_MODULE_BEGIN(PythonTag)
208
209 TAGS_MODULE_ADD(PYTHONTAG)
210
211 TAGS_MODULE_END(PythonTag)
212
213 // Note: see also the init function where we add the module!
214
215 #define new_HtmlHistoryItem(_swigarg0,_swigarg1) (new HtmlHistoryItem(_swigarg0,_swigarg1))
216 static PyObject *_wrap_new_HtmlHistoryItem(PyObject *self, PyObject *args) {
217 PyObject * _resultobj;
218 HtmlHistoryItem * _result;
219 char * _arg0;
220 char * _arg1;
221 char _ptemp[128];
222
223 self = self;
224 if(!PyArg_ParseTuple(args,"ss:new_HtmlHistoryItem",&_arg0,&_arg1))
225 return NULL;
226 {
227 wxPy_BEGIN_ALLOW_THREADS;
228 _result = (HtmlHistoryItem *)new_HtmlHistoryItem(_arg0,_arg1);
229
230 wxPy_END_ALLOW_THREADS;
231 } SWIG_MakePtr(_ptemp, (char *) _result,"_HtmlHistoryItem_p");
232 _resultobj = Py_BuildValue("s",_ptemp);
233 return _resultobj;
234 }
235
236 #define HtmlHistoryItem_GetPos(_swigobj) (_swigobj->GetPos())
237 static PyObject *_wrap_HtmlHistoryItem_GetPos(PyObject *self, PyObject *args) {
238 PyObject * _resultobj;
239 int _result;
240 HtmlHistoryItem * _arg0;
241 char * _argc0 = 0;
242
243 self = self;
244 if(!PyArg_ParseTuple(args,"s:HtmlHistoryItem_GetPos",&_argc0))
245 return NULL;
246 if (_argc0) {
247 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPos. Expected _HtmlHistoryItem_p.");
249 return NULL;
250 }
251 }
252 {
253 wxPy_BEGIN_ALLOW_THREADS;
254 _result = (int )HtmlHistoryItem_GetPos(_arg0);
255
256 wxPy_END_ALLOW_THREADS;
257 } _resultobj = Py_BuildValue("i",_result);
258 return _resultobj;
259 }
260
261 #define HtmlHistoryItem_SetPos(_swigobj,_swigarg0) (_swigobj->SetPos(_swigarg0))
262 static PyObject *_wrap_HtmlHistoryItem_SetPos(PyObject *self, PyObject *args) {
263 PyObject * _resultobj;
264 HtmlHistoryItem * _arg0;
265 int _arg1;
266 char * _argc0 = 0;
267
268 self = self;
269 if(!PyArg_ParseTuple(args,"si:HtmlHistoryItem_SetPos",&_argc0,&_arg1))
270 return NULL;
271 if (_argc0) {
272 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_SetPos. Expected _HtmlHistoryItem_p.");
274 return NULL;
275 }
276 }
277 {
278 wxPy_BEGIN_ALLOW_THREADS;
279 HtmlHistoryItem_SetPos(_arg0,_arg1);
280
281 wxPy_END_ALLOW_THREADS;
282 } Py_INCREF(Py_None);
283 _resultobj = Py_None;
284 return _resultobj;
285 }
286
287 #define HtmlHistoryItem_GetPage(_swigobj) (_swigobj->GetPage())
288 static PyObject *_wrap_HtmlHistoryItem_GetPage(PyObject *self, PyObject *args) {
289 PyObject * _resultobj;
290 wxString * _result;
291 HtmlHistoryItem * _arg0;
292 char * _argc0 = 0;
293
294 self = self;
295 if(!PyArg_ParseTuple(args,"s:HtmlHistoryItem_GetPage",&_argc0))
296 return NULL;
297 if (_argc0) {
298 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPage. Expected _HtmlHistoryItem_p.");
300 return NULL;
301 }
302 }
303 {
304 wxPy_BEGIN_ALLOW_THREADS;
305 const wxString & _result_ref = HtmlHistoryItem_GetPage(_arg0);
306 _result = (wxString *) &_result_ref;
307
308 wxPy_END_ALLOW_THREADS;
309 }{
310 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
311 }
312 return _resultobj;
313 }
314
315 #define HtmlHistoryItem_GetAnchor(_swigobj) (_swigobj->GetAnchor())
316 static PyObject *_wrap_HtmlHistoryItem_GetAnchor(PyObject *self, PyObject *args) {
317 PyObject * _resultobj;
318 wxString * _result;
319 HtmlHistoryItem * _arg0;
320 char * _argc0 = 0;
321
322 self = self;
323 if(!PyArg_ParseTuple(args,"s:HtmlHistoryItem_GetAnchor",&_argc0))
324 return NULL;
325 if (_argc0) {
326 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetAnchor. Expected _HtmlHistoryItem_p.");
328 return NULL;
329 }
330 }
331 {
332 wxPy_BEGIN_ALLOW_THREADS;
333 const wxString & _result_ref = HtmlHistoryItem_GetAnchor(_arg0);
334 _result = (wxString *) &_result_ref;
335
336 wxPy_END_ALLOW_THREADS;
337 }{
338 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
339 }
340 return _resultobj;
341 }
342
343 static void *SwigwxHtmlWindowTowxScrolledWindow(void *ptr) {
344 wxHtmlWindow *src;
345 wxScrolledWindow *dest;
346 src = (wxHtmlWindow *) ptr;
347 dest = (wxScrolledWindow *) src;
348 return (void *) dest;
349 }
350
351 static void *SwigwxHtmlWindowTowxPanel(void *ptr) {
352 wxHtmlWindow *src;
353 wxPanel *dest;
354 src = (wxHtmlWindow *) ptr;
355 dest = (wxPanel *) src;
356 return (void *) dest;
357 }
358
359 static void *SwigwxHtmlWindowTowxWindow(void *ptr) {
360 wxHtmlWindow *src;
361 wxWindow *dest;
362 src = (wxHtmlWindow *) ptr;
363 dest = (wxWindow *) src;
364 return (void *) dest;
365 }
366
367 static void *SwigwxHtmlWindowTowxEvtHandler(void *ptr) {
368 wxHtmlWindow *src;
369 wxEvtHandler *dest;
370 src = (wxHtmlWindow *) ptr;
371 dest = (wxEvtHandler *) src;
372 return (void *) dest;
373 }
374
375 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
376 static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args) {
377 PyObject * _resultobj;
378 wxHtmlWindow * _result;
379 wxWindow * _arg0;
380 wxWindowID _arg1 = -1;
381 wxPoint * _arg2 = &wxPyDefaultPosition;
382 wxSize * _arg3 = &wxPyDefaultSize;
383 int _arg4 = wxHW_SCROLLBAR_AUTO;
384 char * _arg5 = "htmlWindow";
385 char * _argc0 = 0;
386 char * _argc2 = 0;
387 char * _argc3 = 0;
388 char _ptemp[128];
389
390 self = self;
391 if(!PyArg_ParseTuple(args,"s|issis:new_wxHtmlWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
392 return NULL;
393 if (_argc0) {
394 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
396 return NULL;
397 }
398 }
399 if (_argc2) {
400 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
401 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxHtmlWindow. Expected _wxPoint_p.");
402 return NULL;
403 }
404 }
405 if (_argc3) {
406 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
407 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxHtmlWindow. Expected _wxSize_p.");
408 return NULL;
409 }
410 }
411 {
412 wxPy_BEGIN_ALLOW_THREADS;
413 _result = (wxHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
414
415 wxPy_END_ALLOW_THREADS;
416 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWindow_p");
417 _resultobj = Py_BuildValue("s",_ptemp);
418 return _resultobj;
419 }
420
421 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
422 static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args) {
423 PyObject * _resultobj;
424 bool _result;
425 wxHtmlWindow * _arg0;
426 char * _arg1;
427 char * _argc0 = 0;
428
429 self = self;
430 if(!PyArg_ParseTuple(args,"ss:wxHtmlWindow_SetPage",&_argc0,&_arg1))
431 return NULL;
432 if (_argc0) {
433 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxHtmlWindow_p.");
435 return NULL;
436 }
437 }
438 {
439 wxPy_BEGIN_ALLOW_THREADS;
440 _result = (bool )wxHtmlWindow_SetPage(_arg0,_arg1);
441
442 wxPy_END_ALLOW_THREADS;
443 } _resultobj = Py_BuildValue("i",_result);
444 return _resultobj;
445 }
446
447 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
448 static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args) {
449 PyObject * _resultobj;
450 bool _result;
451 wxHtmlWindow * _arg0;
452 char * _arg1;
453 char * _argc0 = 0;
454
455 self = self;
456 if(!PyArg_ParseTuple(args,"ss:wxHtmlWindow_LoadPage",&_argc0,&_arg1))
457 return NULL;
458 if (_argc0) {
459 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxHtmlWindow_p.");
461 return NULL;
462 }
463 }
464 {
465 wxPy_BEGIN_ALLOW_THREADS;
466 _result = (bool )wxHtmlWindow_LoadPage(_arg0,_arg1);
467
468 wxPy_END_ALLOW_THREADS;
469 } _resultobj = Py_BuildValue("i",_result);
470 return _resultobj;
471 }
472
473 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
474 static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args) {
475 PyObject * _resultobj;
476 wxString * _result;
477 wxHtmlWindow * _arg0;
478 char * _argc0 = 0;
479
480 self = self;
481 if(!PyArg_ParseTuple(args,"s:wxHtmlWindow_GetOpenedPage",&_argc0))
482 return NULL;
483 if (_argc0) {
484 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxHtmlWindow_p.");
486 return NULL;
487 }
488 }
489 {
490 wxPy_BEGIN_ALLOW_THREADS;
491 _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0));
492
493 wxPy_END_ALLOW_THREADS;
494 }{
495 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
496 }
497 {
498 delete _result;
499 }
500 return _resultobj;
501 }
502
503 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
504 static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args) {
505 PyObject * _resultobj;
506 wxHtmlWindow * _arg0;
507 wxFrame * _arg1;
508 char * _arg2;
509 char * _argc0 = 0;
510 char * _argc1 = 0;
511
512 self = self;
513 if(!PyArg_ParseTuple(args,"sss:wxHtmlWindow_SetRelatedFrame",&_argc0,&_argc1,&_arg2))
514 return NULL;
515 if (_argc0) {
516 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxHtmlWindow_p.");
518 return NULL;
519 }
520 }
521 if (_argc1) {
522 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFrame_p")) {
523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
524 return NULL;
525 }
526 }
527 {
528 wxPy_BEGIN_ALLOW_THREADS;
529 wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,_arg2);
530
531 wxPy_END_ALLOW_THREADS;
532 } Py_INCREF(Py_None);
533 _resultobj = Py_None;
534 return _resultobj;
535 }
536
537 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
538 static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args) {
539 PyObject * _resultobj;
540 wxFrame * _result;
541 wxHtmlWindow * _arg0;
542 char * _argc0 = 0;
543 char _ptemp[128];
544
545 self = self;
546 if(!PyArg_ParseTuple(args,"s:wxHtmlWindow_GetRelatedFrame",&_argc0))
547 return NULL;
548 if (_argc0) {
549 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxHtmlWindow_p.");
551 return NULL;
552 }
553 }
554 {
555 wxPy_BEGIN_ALLOW_THREADS;
556 _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0);
557
558 wxPy_END_ALLOW_THREADS;
559 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
560 _resultobj = Py_BuildValue("s",_ptemp);
561 return _resultobj;
562 }
563
564 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
565 static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args) {
566 PyObject * _resultobj;
567 wxHtmlWindow * _arg0;
568 int _arg1;
569 char * _argc0 = 0;
570
571 self = self;
572 if(!PyArg_ParseTuple(args,"si:wxHtmlWindow_SetRelatedStatusBar",&_argc0,&_arg1))
573 return NULL;
574 if (_argc0) {
575 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxHtmlWindow_p.");
577 return NULL;
578 }
579 }
580 {
581 wxPy_BEGIN_ALLOW_THREADS;
582 wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1);
583
584 wxPy_END_ALLOW_THREADS;
585 } Py_INCREF(Py_None);
586 _resultobj = Py_None;
587 return _resultobj;
588 }
589
590 #define wxHtmlWindow_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
591 static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args) {
592 PyObject * _resultobj;
593 wxHtmlWindow * _arg0;
594 wxString * _arg1;
595 int _arg2;
596 wxString * _arg3;
597 int _arg4;
598 int * _arg5;
599 char * _argc0 = 0;
600 PyObject * _obj1 = 0;
601 PyObject * _obj3 = 0;
602 char * _argc5 = 0;
603
604 self = self;
605 if(!PyArg_ParseTuple(args,"sOiOis:wxHtmlWindow_SetFonts",&_argc0,&_obj1,&_arg2,&_obj3,&_arg4,&_argc5))
606 return NULL;
607 if (_argc0) {
608 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxHtmlWindow_p.");
610 return NULL;
611 }
612 }
613 {
614 if (!PyString_Check(_obj1)) {
615 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
616 return NULL;
617 }
618 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
619 }
620 {
621 if (!PyString_Check(_obj3)) {
622 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
623 return NULL;
624 }
625 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
626 }
627 if (_argc5) {
628 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_int_p")) {
629 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxHtmlWindow_SetFonts. Expected _int_p.");
630 return NULL;
631 }
632 }
633 {
634 wxPy_BEGIN_ALLOW_THREADS;
635 wxHtmlWindow_SetFonts(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5);
636
637 wxPy_END_ALLOW_THREADS;
638 } Py_INCREF(Py_None);
639 _resultobj = Py_None;
640 {
641 if (_obj1)
642 delete _arg1;
643 }
644 {
645 if (_obj3)
646 delete _arg3;
647 }
648 return _resultobj;
649 }
650
651 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
652 static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args) {
653 PyObject * _resultobj;
654 wxHtmlWindow * _arg0;
655 char * _arg1;
656 char * _argc0 = 0;
657
658 self = self;
659 if(!PyArg_ParseTuple(args,"ss:wxHtmlWindow_SetTitle",&_argc0,&_arg1))
660 return NULL;
661 if (_argc0) {
662 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxHtmlWindow_p.");
664 return NULL;
665 }
666 }
667 {
668 wxPy_BEGIN_ALLOW_THREADS;
669 wxHtmlWindow_SetTitle(_arg0,_arg1);
670
671 wxPy_END_ALLOW_THREADS;
672 } Py_INCREF(Py_None);
673 _resultobj = Py_None;
674 return _resultobj;
675 }
676
677 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
678 static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args) {
679 PyObject * _resultobj;
680 wxHtmlWindow * _arg0;
681 int _arg1;
682 char * _argc0 = 0;
683
684 self = self;
685 if(!PyArg_ParseTuple(args,"si:wxHtmlWindow_SetBorders",&_argc0,&_arg1))
686 return NULL;
687 if (_argc0) {
688 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxHtmlWindow_p.");
690 return NULL;
691 }
692 }
693 {
694 wxPy_BEGIN_ALLOW_THREADS;
695 wxHtmlWindow_SetBorders(_arg0,_arg1);
696
697 wxPy_END_ALLOW_THREADS;
698 } Py_INCREF(Py_None);
699 _resultobj = Py_None;
700 return _resultobj;
701 }
702
703 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
704 static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args) {
705 PyObject * _resultobj;
706 bool _result;
707 wxHtmlWindow * _arg0;
708 char * _argc0 = 0;
709
710 self = self;
711 if(!PyArg_ParseTuple(args,"s:wxHtmlWindow_HistoryBack",&_argc0))
712 return NULL;
713 if (_argc0) {
714 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxHtmlWindow_p.");
716 return NULL;
717 }
718 }
719 {
720 wxPy_BEGIN_ALLOW_THREADS;
721 _result = (bool )wxHtmlWindow_HistoryBack(_arg0);
722
723 wxPy_END_ALLOW_THREADS;
724 } _resultobj = Py_BuildValue("i",_result);
725 return _resultobj;
726 }
727
728 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
729 static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args) {
730 PyObject * _resultobj;
731 bool _result;
732 wxHtmlWindow * _arg0;
733 char * _argc0 = 0;
734
735 self = self;
736 if(!PyArg_ParseTuple(args,"s:wxHtmlWindow_HistoryForward",&_argc0))
737 return NULL;
738 if (_argc0) {
739 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxHtmlWindow_p.");
741 return NULL;
742 }
743 }
744 {
745 wxPy_BEGIN_ALLOW_THREADS;
746 _result = (bool )wxHtmlWindow_HistoryForward(_arg0);
747
748 wxPy_END_ALLOW_THREADS;
749 } _resultobj = Py_BuildValue("i",_result);
750 return _resultobj;
751 }
752
753 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
754 static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args) {
755 PyObject * _resultobj;
756 wxHtmlWindow * _arg0;
757 char * _argc0 = 0;
758
759 self = self;
760 if(!PyArg_ParseTuple(args,"s:wxHtmlWindow_HistoryClear",&_argc0))
761 return NULL;
762 if (_argc0) {
763 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxHtmlWindow_p")) {
764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxHtmlWindow_p.");
765 return NULL;
766 }
767 }
768 {
769 wxPy_BEGIN_ALLOW_THREADS;
770 wxHtmlWindow_HistoryClear(_arg0);
771
772 wxPy_END_ALLOW_THREADS;
773 } Py_INCREF(Py_None);
774 _resultobj = Py_None;
775 return _resultobj;
776 }
777
778 static PyMethodDef htmlcMethods[] = {
779 { "wxHtmlWindow_HistoryClear", _wrap_wxHtmlWindow_HistoryClear, 1 },
780 { "wxHtmlWindow_HistoryForward", _wrap_wxHtmlWindow_HistoryForward, 1 },
781 { "wxHtmlWindow_HistoryBack", _wrap_wxHtmlWindow_HistoryBack, 1 },
782 { "wxHtmlWindow_SetBorders", _wrap_wxHtmlWindow_SetBorders, 1 },
783 { "wxHtmlWindow_SetTitle", _wrap_wxHtmlWindow_SetTitle, 1 },
784 { "wxHtmlWindow_SetFonts", _wrap_wxHtmlWindow_SetFonts, 1 },
785 { "wxHtmlWindow_SetRelatedStatusBar", _wrap_wxHtmlWindow_SetRelatedStatusBar, 1 },
786 { "wxHtmlWindow_GetRelatedFrame", _wrap_wxHtmlWindow_GetRelatedFrame, 1 },
787 { "wxHtmlWindow_SetRelatedFrame", _wrap_wxHtmlWindow_SetRelatedFrame, 1 },
788 { "wxHtmlWindow_GetOpenedPage", _wrap_wxHtmlWindow_GetOpenedPage, 1 },
789 { "wxHtmlWindow_LoadPage", _wrap_wxHtmlWindow_LoadPage, 1 },
790 { "wxHtmlWindow_SetPage", _wrap_wxHtmlWindow_SetPage, 1 },
791 { "new_wxHtmlWindow", _wrap_new_wxHtmlWindow, 1 },
792 { "HtmlHistoryItem_GetAnchor", _wrap_HtmlHistoryItem_GetAnchor, 1 },
793 { "HtmlHistoryItem_GetPage", _wrap_HtmlHistoryItem_GetPage, 1 },
794 { "HtmlHistoryItem_SetPos", _wrap_HtmlHistoryItem_SetPos, 1 },
795 { "HtmlHistoryItem_GetPos", _wrap_HtmlHistoryItem_GetPos, 1 },
796 { "new_HtmlHistoryItem", _wrap_new_HtmlHistoryItem, 1 },
797 { NULL, NULL }
798 };
799 static PyObject *SWIG_globals;
800 #ifdef __cplusplus
801 extern "C"
802 #endif
803 SWIGEXPORT(void,inithtmlc)() {
804 PyObject *m, *d;
805 SWIG_globals = SWIG_newvarlink();
806 m = Py_InitModule("htmlc", htmlcMethods);
807 d = PyModule_GetDict(m);
808
809
810 /* This is a bit cheesy. SWIG happens to call the dictionary d...
811 * I save it here, 'cause I don't know how to get it back later! */
812 mod_dict = d;
813 wxPyThreadState = PyThreadState_Get();
814 wxClassInfo::CleanUpClasses();
815 wxClassInfo::InitializeClasses();
816
817 /* specifically add our python tag handler; it doesn't seem to
818 * happen by itself... */
819 wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
820
821 // Until wxFileSystem is wrapped...
822 #if wxUSE_FS_ZIP
823 wxFileSystem::AddHandler(new wxZipFSHandler);
824 #endif
825 /*
826 * These are the pointer type-equivalency mappings.
827 * (Used by the SWIG pointer type-checker).
828 */
829 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
830 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
831 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
832 SWIG_RegisterMapping("_signed_long","_long",0);
833 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
834 SWIG_RegisterMapping("_class_wxJPEGHandler","_wxJPEGHandler",0);
835 SWIG_RegisterMapping("_wxBMPHandler","_class_wxBMPHandler",0);
836 SWIG_RegisterMapping("_wxImage","_class_wxImage",0);
837 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
838 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
839 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
840 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
841 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
842 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
843 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
844 SWIG_RegisterMapping("_wxFontData","_class_wxFontData",0);
845 SWIG_RegisterMapping("___wxPyCleanup","_class___wxPyCleanup",0);
846 SWIG_RegisterMapping("_class_HtmlHistoryItem","_HtmlHistoryItem",0);
847 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
848 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
849 SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
850 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler);
851 SWIG_RegisterMapping("_class_wxEvtHandler","_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler);
852 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
853 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
854 SWIG_RegisterMapping("_wxGIFHandler","_class_wxGIFHandler",0);
855 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
856 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
857 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
858 SWIG_RegisterMapping("_wxImageHandler","_class_wxImageHandler",0);
859 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
860 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
861 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
862 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
863 SWIG_RegisterMapping("_wxPNGHandler","_class_wxPNGHandler",0);
864 SWIG_RegisterMapping("_class_wxColourData","_wxColourData",0);
865 SWIG_RegisterMapping("_class_wxPageSetupDialogData","_wxPageSetupDialogData",0);
866 SWIG_RegisterMapping("_wxPrinter","_class_wxPrinter",0);
867 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
868 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
869 SWIG_RegisterMapping("_byte","_unsigned_char",0);
870 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
871 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
872 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
873 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
874 SWIG_RegisterMapping("_wxPyPrintout","_class_wxPyPrintout",0);
875 SWIG_RegisterMapping("_long","_wxDash",0);
876 SWIG_RegisterMapping("_long","_unsigned_long",0);
877 SWIG_RegisterMapping("_long","_signed_long",0);
878 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
879 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
880 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
881 SWIG_RegisterMapping("_wxSashWindow","_class_wxSashWindow",0);
882 SWIG_RegisterMapping("_class_wxPrintDialogData","_wxPrintDialogData",0);
883 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
884 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
885 SWIG_RegisterMapping("_class_wxSashEvent","_wxSashEvent",0);
886 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
887 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
888 SWIG_RegisterMapping("_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0);
889 SWIG_RegisterMapping("_wxProgressDialog","_class_wxProgressDialog",0);
890 SWIG_RegisterMapping("_class_wxBMPHandler","_wxBMPHandler",0);
891 SWIG_RegisterMapping("_wxPrintPreview","_class_wxPrintPreview",0);
892 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
893 SWIG_RegisterMapping("_wxSashLayoutWindow","_class_wxSashLayoutWindow",0);
894 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
895 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
896 SWIG_RegisterMapping("_size_t","_int",0);
897 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
898 SWIG_RegisterMapping("_size_t","_uint",0);
899 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
900 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
901 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
902 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
903 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
904 SWIG_RegisterMapping("_class_wxGIFHandler","_wxGIFHandler",0);
905 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
906 SWIG_RegisterMapping("_wxPanel","_class_wxHtmlWindow",SwigwxHtmlWindowTowxPanel);
907 SWIG_RegisterMapping("_wxPanel","_wxHtmlWindow",SwigwxHtmlWindowTowxPanel);
908 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
909 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
910 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
911 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
912 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
913 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
914 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
915 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
916 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
917 SWIG_RegisterMapping("_class_wxPNGHandler","_wxPNGHandler",0);
918 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
919 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
920 SWIG_RegisterMapping("_wxPageSetupDialog","_class_wxPageSetupDialog",0);
921 SWIG_RegisterMapping("_class_wxPrinter","_wxPrinter",0);
922 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
923 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
924 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
925 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
926 SWIG_RegisterMapping("_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0);
927 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
928 SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
929 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
930 SWIG_RegisterMapping("_class_wxPyPrintout","_wxPyPrintout",0);
931 SWIG_RegisterMapping("_class_wxSashWindow","_wxSashWindow",0);
932 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
933 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
934 SWIG_RegisterMapping("_uint","_size_t",0);
935 SWIG_RegisterMapping("_uint","_unsigned_int",0);
936 SWIG_RegisterMapping("_uint","_int",0);
937 SWIG_RegisterMapping("_uint","_wxWindowID",0);
938 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
939 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
940 SWIG_RegisterMapping("_wxSplitterEvent","_class_wxSplitterEvent",0);
941 SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
942 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
943 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
944 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
945 SWIG_RegisterMapping("_class_wxImage","_wxImage",0);
946 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
947 SWIG_RegisterMapping("_class_wxSashLayoutWindow","_wxSashLayoutWindow",0);
948 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
949 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
950 SWIG_RegisterMapping("_class_wxFontData","_wxFontData",0);
951 SWIG_RegisterMapping("_class___wxPyCleanup","___wxPyCleanup",0);
952 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
953 SWIG_RegisterMapping("_wxPrintDialog","_class_wxPrintDialog",0);
954 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
955 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
956 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
957 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
958 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
959 SWIG_RegisterMapping("_wxColourDialog","_class_wxColourDialog",0);
960 SWIG_RegisterMapping("_wxPrintData","_class_wxPrintData",0);
961 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
962 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
963 SWIG_RegisterMapping("_wxMessageDialog","_class_wxMessageDialog",0);
964 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
965 SWIG_RegisterMapping("_wxTextEntryDialog","_class_wxTextEntryDialog",0);
966 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
967 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
968 SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
969 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
970 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
971 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
972 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
973 SWIG_RegisterMapping("_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0);
974 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
975 SWIG_RegisterMapping("_EBool","_signed_int",0);
976 SWIG_RegisterMapping("_EBool","_int",0);
977 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
978 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
979 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
980 SWIG_RegisterMapping("_class_wxPreviewFrame","_wxPreviewFrame",0);
981 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
982 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
983 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
984 SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
985 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
986 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
987 SWIG_RegisterMapping("_unsigned_long","_long",0);
988 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
989 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
990 SWIG_RegisterMapping("_class_wxProgressDialog","_wxProgressDialog",0);
991 SWIG_RegisterMapping("_wxPyApp","_class_wxPyApp",0);
992 SWIG_RegisterMapping("_wxMDIParentFrame","_class_wxMDIParentFrame",0);
993 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
994 SWIG_RegisterMapping("_class_wxDirDialog","_wxDirDialog",0);
995 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
996 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
997 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
998 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
999 SWIG_RegisterMapping("_wxHtmlWindow","_class_wxHtmlWindow",0);
1000 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
1001 SWIG_RegisterMapping("_class_wxPanel","_class_wxHtmlWindow",SwigwxHtmlWindowTowxPanel);
1002 SWIG_RegisterMapping("_class_wxPanel","_wxHtmlWindow",SwigwxHtmlWindowTowxPanel);
1003 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
1004 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
1005 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
1006 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
1007 SWIG_RegisterMapping("_class_wxMessageDialog","_wxMessageDialog",0);
1008 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
1009 SWIG_RegisterMapping("_signed_int","_EBool",0);
1010 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
1011 SWIG_RegisterMapping("_signed_int","_int",0);
1012 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
1013 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
1014 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
1015 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
1016 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
1017 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
1018 SWIG_RegisterMapping("_class_wxMDIChildFrame","_wxMDIChildFrame",0);
1019 SWIG_RegisterMapping("_WXTYPE","_short",0);
1020 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
1021 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
1022 SWIG_RegisterMapping("_wxFileDialog","_class_wxFileDialog",0);
1023 SWIG_RegisterMapping("_class_wxMDIClientWindow","_wxMDIClientWindow",0);
1024 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
1025 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
1026 SWIG_RegisterMapping("_unsigned_short","_short",0);
1027 SWIG_RegisterMapping("_class_wxWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxWindow);
1028 SWIG_RegisterMapping("_class_wxWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxWindow);
1029 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
1030 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
1031 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
1032 SWIG_RegisterMapping("_wxPrintDialogData","_class_wxPrintDialogData",0);
1033 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
1034 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
1035 SWIG_RegisterMapping("_wxSashEvent","_class_wxSashEvent",0);
1036 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
1037 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
1038 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
1039 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
1040 SWIG_RegisterMapping("_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0);
1041 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
1042 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
1043 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
1044 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
1045 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
1046 SWIG_RegisterMapping("_signed_short","_short",0);
1047 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
1048 SWIG_RegisterMapping("_class_wxPrintDialog","_wxPrintDialog",0);
1049 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
1050 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
1051 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
1052 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
1053 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
1054 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
1055 SWIG_RegisterMapping("_class_wxHtmlWindow","_wxHtmlWindow",0);
1056 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
1057 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
1058 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
1059 SWIG_RegisterMapping("_class_wxImageHandler","_wxImageHandler",0);
1060 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow);
1061 SWIG_RegisterMapping("_wxScrolledWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow);
1062 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
1063 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
1064 SWIG_RegisterMapping("_unsigned_char","_byte",0);
1065 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
1066 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
1067 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
1068 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
1069 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
1070 SWIG_RegisterMapping("_unsigned_int","_uint",0);
1071 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
1072 SWIG_RegisterMapping("_unsigned_int","_int",0);
1073 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
1074 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
1075 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
1076 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
1077 SWIG_RegisterMapping("_class_wxFileDialog","_wxFileDialog",0);
1078 SWIG_RegisterMapping("_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0);
1079 SWIG_RegisterMapping("_short","_WXTYPE",0);
1080 SWIG_RegisterMapping("_short","_unsigned_short",0);
1081 SWIG_RegisterMapping("_short","_signed_short",0);
1082 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
1083 SWIG_RegisterMapping("_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0);
1084 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
1085 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
1086 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
1087 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
1088 SWIG_RegisterMapping("_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0);
1089 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
1090 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
1091 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
1092 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
1093 SWIG_RegisterMapping("_wxJPEGHandler","_class_wxJPEGHandler",0);
1094 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
1095 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
1096 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
1097 SWIG_RegisterMapping("_wxWindowID","_uint",0);
1098 SWIG_RegisterMapping("_wxWindowID","_int",0);
1099 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
1100 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
1101 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
1102 SWIG_RegisterMapping("_int","_size_t",0);
1103 SWIG_RegisterMapping("_int","_EBool",0);
1104 SWIG_RegisterMapping("_int","_uint",0);
1105 SWIG_RegisterMapping("_int","_wxWindowID",0);
1106 SWIG_RegisterMapping("_int","_unsigned_int",0);
1107 SWIG_RegisterMapping("_int","_signed_int",0);
1108 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
1109 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
1110 SWIG_RegisterMapping("_class_wxPrintPreview","_wxPrintPreview",0);
1111 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
1112 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
1113 SWIG_RegisterMapping("_class_wxPyApp","_wxPyApp",0);
1114 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
1115 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
1116 SWIG_RegisterMapping("_class_wxMDIParentFrame","_wxMDIParentFrame",0);
1117 SWIG_RegisterMapping("_wxPyTreeItemData","_class_wxPyTreeItemData",0);
1118 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
1119 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
1120 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
1121 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
1122 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
1123 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
1124 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
1125 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
1126 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
1127 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
1128 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
1129 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
1130 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
1131 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
1132 SWIG_RegisterMapping("_class_wxPageSetupDialog","_wxPageSetupDialog",0);
1133 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
1134 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
1135 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
1136 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
1137 SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0);
1138 SWIG_RegisterMapping("_wxFontDialog","_class_wxFontDialog",0);
1139 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
1140 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
1141 SWIG_RegisterMapping("_wxPreviewFrame","_class_wxPreviewFrame",0);
1142 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
1143 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
1144 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
1145 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
1146 SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
1147 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
1148 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
1149 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
1150 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
1151 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
1152 SWIG_RegisterMapping("_HtmlHistoryItem","_class_HtmlHistoryItem",0);
1153 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
1154 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
1155 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
1156 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
1157 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
1158 SWIG_RegisterMapping("_wxDirDialog","_class_wxDirDialog",0);
1159 SWIG_RegisterMapping("_wxEvtHandler","_class_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler);
1160 SWIG_RegisterMapping("_wxEvtHandler","_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler);
1161 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
1162 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
1163 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
1164 SWIG_RegisterMapping("_class_wxColourDialog","_wxColourDialog",0);
1165 SWIG_RegisterMapping("_class_wxPrintData","_wxPrintData",0);
1166 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
1167 SWIG_RegisterMapping("_wxDash","_long",0);
1168 SWIG_RegisterMapping("_class_wxScrolledWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow);
1169 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow);
1170 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
1171 SWIG_RegisterMapping("_class_wxTextEntryDialog","_wxTextEntryDialog",0);
1172 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
1173 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
1174 SWIG_RegisterMapping("_wxColourData","_class_wxColourData",0);
1175 SWIG_RegisterMapping("_wxPageSetupDialogData","_class_wxPageSetupDialogData",0);
1176 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
1177 SWIG_RegisterMapping("_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0);
1178 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
1179 SWIG_RegisterMapping("_wxMDIClientWindow","_class_wxMDIClientWindow",0);
1180 SWIG_RegisterMapping("_class_wxFontDialog","_wxFontDialog",0);
1181 SWIG_RegisterMapping("_wxWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxWindow);
1182 SWIG_RegisterMapping("_wxWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxWindow);
1183 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
1184 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);
1185 }