]>
Commit | Line | Data |
---|---|---|
c731eb47 RD |
1 | /* |
2 | * FILE : contrib/iewin/iewin.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 883) | |
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 | #include "Python.h" | |
40 | ||
41 | #ifdef __cplusplus | |
42 | extern "C" { | |
43 | #endif | |
44 | ||
45 | extern void SWIG_MakePtr(char *, void *, char *); | |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initiewinc | |
55 | ||
56 | #define SWIG_name "iewinc" | |
57 | ||
58 | #include "wxPython.h" | |
59 | #include "IEHtmlWin.h" | |
60 | ||
61 | ||
62 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | ||
66 | if (!target) { | |
67 | target = o; | |
68 | } else if (target == Py_None) { | |
69 | Py_DECREF(Py_None); | |
70 | target = o; | |
71 | } else { | |
72 | if (!PyTuple_Check(target)) { | |
73 | o2 = target; | |
74 | target = PyTuple_New(1); | |
75 | PyTuple_SetItem(target, 0, o2); | |
76 | } | |
77 | o3 = PyTuple_New(1); | |
78 | PyTuple_SetItem(o3, 0, o); | |
79 | ||
80 | o2 = target; | |
81 | target = PySequence_Concat(o2, o3); | |
82 | Py_DECREF(o2); | |
83 | Py_DECREF(o3); | |
84 | } | |
85 | return target; | |
86 | } | |
87 | #ifdef __cplusplus | |
88 | extern "C" { | |
89 | #endif | |
90 | static void *SwigwxMSHTMLEventTowxNotifyEvent(void *ptr) { | |
91 | wxMSHTMLEvent *src; | |
92 | wxNotifyEvent *dest; | |
93 | src = (wxMSHTMLEvent *) ptr; | |
94 | dest = (wxNotifyEvent *) src; | |
95 | return (void *) dest; | |
96 | } | |
97 | ||
98 | static void *SwigwxMSHTMLEventTowxCommandEvent(void *ptr) { | |
99 | wxMSHTMLEvent *src; | |
100 | wxCommandEvent *dest; | |
101 | src = (wxMSHTMLEvent *) ptr; | |
102 | dest = (wxCommandEvent *) src; | |
103 | return (void *) dest; | |
104 | } | |
105 | ||
106 | static void *SwigwxMSHTMLEventTowxEvent(void *ptr) { | |
107 | wxMSHTMLEvent *src; | |
108 | wxEvent *dest; | |
109 | src = (wxMSHTMLEvent *) ptr; | |
110 | dest = (wxEvent *) src; | |
111 | return (void *) dest; | |
112 | } | |
113 | ||
114 | static void *SwigwxMSHTMLEventTowxObject(void *ptr) { | |
115 | wxMSHTMLEvent *src; | |
116 | wxObject *dest; | |
117 | src = (wxMSHTMLEvent *) ptr; | |
118 | dest = (wxObject *) src; | |
119 | return (void *) dest; | |
120 | } | |
121 | ||
122 | #define new_wxMSHTMLEvent(_swigarg0,_swigarg1) (new wxMSHTMLEvent(_swigarg0,_swigarg1)) | |
123 | static PyObject *_wrap_new_wxMSHTMLEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
124 | PyObject * _resultobj; | |
125 | wxMSHTMLEvent * _result; | |
126 | wxEventType _arg0 = (wxEventType ) wxEVT_NULL; | |
127 | int _arg1 = (int ) 0; | |
128 | char *_kwnames[] = { "commandType","id", NULL }; | |
129 | char _ptemp[128]; | |
130 | ||
131 | self = self; | |
132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxMSHTMLEvent",_kwnames,&_arg0,&_arg1)) | |
133 | return NULL; | |
134 | { | |
135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
136 | _result = (wxMSHTMLEvent *)new_wxMSHTMLEvent(_arg0,_arg1); | |
137 | ||
138 | wxPyEndAllowThreads(__tstate); | |
139 | if (PyErr_Occurred()) return NULL; | |
140 | } if (_result) { | |
141 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMSHTMLEvent_p"); | |
142 | _resultobj = Py_BuildValue("s",_ptemp); | |
143 | } else { | |
144 | Py_INCREF(Py_None); | |
145 | _resultobj = Py_None; | |
146 | } | |
147 | return _resultobj; | |
148 | } | |
149 | ||
150 | #define wxMSHTMLEvent_GetText(_swigobj) (_swigobj->GetText()) | |
151 | static PyObject *_wrap_wxMSHTMLEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
152 | PyObject * _resultobj; | |
153 | wxString * _result; | |
154 | wxMSHTMLEvent * _arg0; | |
155 | PyObject * _argo0 = 0; | |
156 | char *_kwnames[] = { "self", NULL }; | |
157 | ||
158 | self = self; | |
159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMSHTMLEvent_GetText",_kwnames,&_argo0)) | |
160 | return NULL; | |
161 | if (_argo0) { | |
162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMSHTMLEvent_p")) { | |
164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMSHTMLEvent_GetText. Expected _wxMSHTMLEvent_p."); | |
165 | return NULL; | |
166 | } | |
167 | } | |
168 | { | |
169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
170 | _result = new wxString (wxMSHTMLEvent_GetText(_arg0)); | |
171 | ||
172 | wxPyEndAllowThreads(__tstate); | |
173 | if (PyErr_Occurred()) return NULL; | |
174 | }{ | |
175 | #if wxUSE_UNICODE | |
176 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
177 | #else | |
178 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
179 | #endif | |
180 | } | |
181 | { | |
182 | delete _result; | |
183 | } | |
184 | return _resultobj; | |
185 | } | |
186 | ||
187 | #define wxMSHTMLEvent_GetLong1(_swigobj) (_swigobj->GetLong1()) | |
188 | static PyObject *_wrap_wxMSHTMLEvent_GetLong1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
189 | PyObject * _resultobj; | |
190 | long _result; | |
191 | wxMSHTMLEvent * _arg0; | |
192 | PyObject * _argo0 = 0; | |
193 | char *_kwnames[] = { "self", NULL }; | |
194 | ||
195 | self = self; | |
196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMSHTMLEvent_GetLong1",_kwnames,&_argo0)) | |
197 | return NULL; | |
198 | if (_argo0) { | |
199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMSHTMLEvent_p")) { | |
201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMSHTMLEvent_GetLong1. Expected _wxMSHTMLEvent_p."); | |
202 | return NULL; | |
203 | } | |
204 | } | |
205 | { | |
206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
207 | _result = (long )wxMSHTMLEvent_GetLong1(_arg0); | |
208 | ||
209 | wxPyEndAllowThreads(__tstate); | |
210 | if (PyErr_Occurred()) return NULL; | |
211 | } _resultobj = Py_BuildValue("l",_result); | |
212 | return _resultobj; | |
213 | } | |
214 | ||
215 | #define wxMSHTMLEvent_GetLong2(_swigobj) (_swigobj->GetLong2()) | |
216 | static PyObject *_wrap_wxMSHTMLEvent_GetLong2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
217 | PyObject * _resultobj; | |
218 | long _result; | |
219 | wxMSHTMLEvent * _arg0; | |
220 | PyObject * _argo0 = 0; | |
221 | char *_kwnames[] = { "self", NULL }; | |
222 | ||
223 | self = self; | |
224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMSHTMLEvent_GetLong2",_kwnames,&_argo0)) | |
225 | return NULL; | |
226 | if (_argo0) { | |
227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMSHTMLEvent_p")) { | |
229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMSHTMLEvent_GetLong2. Expected _wxMSHTMLEvent_p."); | |
230 | return NULL; | |
231 | } | |
232 | } | |
233 | { | |
234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
235 | _result = (long )wxMSHTMLEvent_GetLong2(_arg0); | |
236 | ||
237 | wxPyEndAllowThreads(__tstate); | |
238 | if (PyErr_Occurred()) return NULL; | |
239 | } _resultobj = Py_BuildValue("l",_result); | |
240 | return _resultobj; | |
241 | } | |
242 | ||
243 | static void *SwigwxIEHtmlWinTowxWindow(void *ptr) { | |
244 | wxIEHtmlWin *src; | |
245 | wxWindow *dest; | |
246 | src = (wxIEHtmlWin *) ptr; | |
247 | dest = (wxWindow *) src; | |
248 | return (void *) dest; | |
249 | } | |
250 | ||
251 | static void *SwigwxIEHtmlWinTowxEvtHandler(void *ptr) { | |
252 | wxIEHtmlWin *src; | |
253 | wxEvtHandler *dest; | |
254 | src = (wxIEHtmlWin *) ptr; | |
255 | dest = (wxEvtHandler *) src; | |
256 | return (void *) dest; | |
257 | } | |
258 | ||
259 | static void *SwigwxIEHtmlWinTowxObject(void *ptr) { | |
260 | wxIEHtmlWin *src; | |
261 | wxObject *dest; | |
262 | src = (wxIEHtmlWin *) ptr; | |
263 | dest = (wxObject *) src; | |
264 | return (void *) dest; | |
265 | } | |
266 | ||
267 | #define new_wxIEHtmlWin(_swigarg0,_swigarg1) (new wxIEHtmlWin(_swigarg0,_swigarg1)) | |
268 | static PyObject *_wrap_new_wxIEHtmlWin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
269 | PyObject * _resultobj; | |
270 | wxIEHtmlWin * _result; | |
271 | wxWindow * _arg0; | |
272 | wxWindowID _arg1 = (wxWindowID ) -1; | |
273 | PyObject * _argo0 = 0; | |
274 | char *_kwnames[] = { "parent","id", NULL }; | |
275 | char _ptemp[128]; | |
276 | ||
277 | self = self; | |
278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxIEHtmlWin",_kwnames,&_argo0,&_arg1)) | |
279 | return NULL; | |
280 | if (_argo0) { | |
281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxIEHtmlWin. Expected _wxWindow_p."); | |
284 | return NULL; | |
285 | } | |
286 | } | |
287 | { | |
288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
289 | _result = (wxIEHtmlWin *)new_wxIEHtmlWin(_arg0,_arg1); | |
290 | ||
291 | wxPyEndAllowThreads(__tstate); | |
292 | if (PyErr_Occurred()) return NULL; | |
293 | } if (_result) { | |
294 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIEHtmlWin_p"); | |
295 | _resultobj = Py_BuildValue("s",_ptemp); | |
296 | } else { | |
297 | Py_INCREF(Py_None); | |
298 | _resultobj = Py_None; | |
299 | } | |
300 | return _resultobj; | |
301 | } | |
302 | ||
303 | #define wxIEHtmlWin_LoadUrl(_swigobj,_swigarg0) (_swigobj->LoadUrl(_swigarg0)) | |
304 | static PyObject *_wrap_wxIEHtmlWin_LoadUrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
305 | PyObject * _resultobj; | |
306 | wxIEHtmlWin * _arg0; | |
307 | wxString * _arg1; | |
308 | PyObject * _argo0 = 0; | |
309 | PyObject * _obj1 = 0; | |
310 | char *_kwnames[] = { "self","arg2", NULL }; | |
311 | ||
312 | self = self; | |
313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIEHtmlWin_LoadUrl",_kwnames,&_argo0,&_obj1)) | |
314 | return NULL; | |
315 | if (_argo0) { | |
316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_LoadUrl. Expected _wxIEHtmlWin_p."); | |
319 | return NULL; | |
320 | } | |
321 | } | |
322 | { | |
323 | _arg1 = wxString_in_helper(_obj1); | |
324 | if (_arg1 == NULL) | |
325 | return NULL; | |
326 | } | |
327 | { | |
328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
329 | wxIEHtmlWin_LoadUrl(_arg0,*_arg1); | |
330 | ||
331 | wxPyEndAllowThreads(__tstate); | |
332 | if (PyErr_Occurred()) return NULL; | |
333 | } Py_INCREF(Py_None); | |
334 | _resultobj = Py_None; | |
335 | { | |
336 | if (_obj1) | |
337 | delete _arg1; | |
338 | } | |
339 | return _resultobj; | |
340 | } | |
341 | ||
342 | #define wxIEHtmlWin_LoadString(_swigobj,_swigarg0) (_swigobj->LoadString(_swigarg0)) | |
343 | static PyObject *_wrap_wxIEHtmlWin_LoadString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
344 | PyObject * _resultobj; | |
345 | bool _result; | |
346 | wxIEHtmlWin * _arg0; | |
347 | wxString * _arg1; | |
348 | PyObject * _argo0 = 0; | |
349 | PyObject * _obj1 = 0; | |
350 | char *_kwnames[] = { "self","html", NULL }; | |
351 | ||
352 | self = self; | |
353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIEHtmlWin_LoadString",_kwnames,&_argo0,&_obj1)) | |
354 | return NULL; | |
355 | if (_argo0) { | |
356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_LoadString. Expected _wxIEHtmlWin_p."); | |
359 | return NULL; | |
360 | } | |
361 | } | |
362 | { | |
363 | _arg1 = wxString_in_helper(_obj1); | |
364 | if (_arg1 == NULL) | |
365 | return NULL; | |
366 | } | |
367 | { | |
368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
369 | _result = (bool )wxIEHtmlWin_LoadString(_arg0,*_arg1); | |
370 | ||
371 | wxPyEndAllowThreads(__tstate); | |
372 | if (PyErr_Occurred()) return NULL; | |
373 | } _resultobj = Py_BuildValue("i",_result); | |
374 | { | |
375 | if (_obj1) | |
376 | delete _arg1; | |
377 | } | |
378 | return _resultobj; | |
379 | } | |
380 | ||
381 | #define wxIEHtmlWin_SetCharset(_swigobj,_swigarg0) (_swigobj->SetCharset(_swigarg0)) | |
382 | static PyObject *_wrap_wxIEHtmlWin_SetCharset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
383 | PyObject * _resultobj; | |
384 | wxIEHtmlWin * _arg0; | |
385 | wxString * _arg1; | |
386 | PyObject * _argo0 = 0; | |
387 | PyObject * _obj1 = 0; | |
388 | char *_kwnames[] = { "self","charset", NULL }; | |
389 | ||
390 | self = self; | |
391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIEHtmlWin_SetCharset",_kwnames,&_argo0,&_obj1)) | |
392 | return NULL; | |
393 | if (_argo0) { | |
394 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
395 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_SetCharset. Expected _wxIEHtmlWin_p."); | |
397 | return NULL; | |
398 | } | |
399 | } | |
400 | { | |
401 | _arg1 = wxString_in_helper(_obj1); | |
402 | if (_arg1 == NULL) | |
403 | return NULL; | |
404 | } | |
405 | { | |
406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
407 | wxIEHtmlWin_SetCharset(_arg0,*_arg1); | |
408 | ||
409 | wxPyEndAllowThreads(__tstate); | |
410 | if (PyErr_Occurred()) return NULL; | |
411 | } Py_INCREF(Py_None); | |
412 | _resultobj = Py_None; | |
413 | { | |
414 | if (_obj1) | |
415 | delete _arg1; | |
416 | } | |
417 | return _resultobj; | |
418 | } | |
419 | ||
420 | #define wxIEHtmlWin_SetEditMode(_swigobj,_swigarg0) (_swigobj->SetEditMode(_swigarg0)) | |
421 | static PyObject *_wrap_wxIEHtmlWin_SetEditMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
422 | PyObject * _resultobj; | |
423 | wxIEHtmlWin * _arg0; | |
424 | bool _arg1; | |
425 | PyObject * _argo0 = 0; | |
426 | int tempbool1; | |
427 | char *_kwnames[] = { "self","seton", NULL }; | |
428 | ||
429 | self = self; | |
430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIEHtmlWin_SetEditMode",_kwnames,&_argo0,&tempbool1)) | |
431 | return NULL; | |
432 | if (_argo0) { | |
433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_SetEditMode. Expected _wxIEHtmlWin_p."); | |
436 | return NULL; | |
437 | } | |
438 | } | |
439 | _arg1 = (bool ) tempbool1; | |
440 | { | |
441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
442 | wxIEHtmlWin_SetEditMode(_arg0,_arg1); | |
443 | ||
444 | wxPyEndAllowThreads(__tstate); | |
445 | if (PyErr_Occurred()) return NULL; | |
446 | } Py_INCREF(Py_None); | |
447 | _resultobj = Py_None; | |
448 | return _resultobj; | |
449 | } | |
450 | ||
451 | #define wxIEHtmlWin_GetEditMode(_swigobj) (_swigobj->GetEditMode()) | |
452 | static PyObject *_wrap_wxIEHtmlWin_GetEditMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
453 | PyObject * _resultobj; | |
454 | bool _result; | |
455 | wxIEHtmlWin * _arg0; | |
456 | PyObject * _argo0 = 0; | |
457 | char *_kwnames[] = { "self", NULL }; | |
458 | ||
459 | self = self; | |
460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIEHtmlWin_GetEditMode",_kwnames,&_argo0)) | |
461 | return NULL; | |
462 | if (_argo0) { | |
463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_GetEditMode. Expected _wxIEHtmlWin_p."); | |
466 | return NULL; | |
467 | } | |
468 | } | |
469 | { | |
470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
471 | _result = (bool )wxIEHtmlWin_GetEditMode(_arg0); | |
472 | ||
473 | wxPyEndAllowThreads(__tstate); | |
474 | if (PyErr_Occurred()) return NULL; | |
475 | } _resultobj = Py_BuildValue("i",_result); | |
476 | return _resultobj; | |
477 | } | |
478 | ||
479 | #define wxIEHtmlWin_GetStringSelection(_swigobj,_swigarg0) (_swigobj->GetStringSelection(_swigarg0)) | |
480 | static PyObject *_wrap_wxIEHtmlWin_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
481 | PyObject * _resultobj; | |
482 | wxString * _result; | |
483 | wxIEHtmlWin * _arg0; | |
484 | bool _arg1 = (bool ) FALSE; | |
485 | PyObject * _argo0 = 0; | |
486 | int tempbool1 = (int) FALSE; | |
487 | char *_kwnames[] = { "self","asHTML", NULL }; | |
488 | ||
489 | self = self; | |
490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIEHtmlWin_GetStringSelection",_kwnames,&_argo0,&tempbool1)) | |
491 | return NULL; | |
492 | if (_argo0) { | |
493 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
494 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_GetStringSelection. Expected _wxIEHtmlWin_p."); | |
496 | return NULL; | |
497 | } | |
498 | } | |
499 | _arg1 = (bool ) tempbool1; | |
500 | { | |
501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
502 | _result = new wxString (wxIEHtmlWin_GetStringSelection(_arg0,_arg1)); | |
503 | ||
504 | wxPyEndAllowThreads(__tstate); | |
505 | if (PyErr_Occurred()) return NULL; | |
506 | }{ | |
507 | #if wxUSE_UNICODE | |
508 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
509 | #else | |
510 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
511 | #endif | |
512 | } | |
513 | { | |
514 | delete _result; | |
515 | } | |
516 | return _resultobj; | |
517 | } | |
518 | ||
519 | #define wxIEHtmlWin_GetText(_swigobj,_swigarg0) (_swigobj->GetText(_swigarg0)) | |
520 | static PyObject *_wrap_wxIEHtmlWin_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
521 | PyObject * _resultobj; | |
522 | wxString * _result; | |
523 | wxIEHtmlWin * _arg0; | |
524 | bool _arg1 = (bool ) FALSE; | |
525 | PyObject * _argo0 = 0; | |
526 | int tempbool1 = (int) FALSE; | |
527 | char *_kwnames[] = { "self","asHTML", NULL }; | |
528 | ||
529 | self = self; | |
530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIEHtmlWin_GetText",_kwnames,&_argo0,&tempbool1)) | |
531 | return NULL; | |
532 | if (_argo0) { | |
533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_GetText. Expected _wxIEHtmlWin_p."); | |
536 | return NULL; | |
537 | } | |
538 | } | |
539 | _arg1 = (bool ) tempbool1; | |
540 | { | |
541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
542 | _result = new wxString (wxIEHtmlWin_GetText(_arg0,_arg1)); | |
543 | ||
544 | wxPyEndAllowThreads(__tstate); | |
545 | if (PyErr_Occurred()) return NULL; | |
546 | }{ | |
547 | #if wxUSE_UNICODE | |
548 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
549 | #else | |
550 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
551 | #endif | |
552 | } | |
553 | { | |
554 | delete _result; | |
555 | } | |
556 | return _resultobj; | |
557 | } | |
558 | ||
559 | #define wxIEHtmlWin_GoBack(_swigobj) (_swigobj->GoBack()) | |
560 | static PyObject *_wrap_wxIEHtmlWin_GoBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
561 | PyObject * _resultobj; | |
562 | bool _result; | |
563 | wxIEHtmlWin * _arg0; | |
564 | PyObject * _argo0 = 0; | |
565 | char *_kwnames[] = { "self", NULL }; | |
566 | ||
567 | self = self; | |
568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIEHtmlWin_GoBack",_kwnames,&_argo0)) | |
569 | return NULL; | |
570 | if (_argo0) { | |
571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_GoBack. Expected _wxIEHtmlWin_p."); | |
574 | return NULL; | |
575 | } | |
576 | } | |
577 | { | |
578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
579 | _result = (bool )wxIEHtmlWin_GoBack(_arg0); | |
580 | ||
581 | wxPyEndAllowThreads(__tstate); | |
582 | if (PyErr_Occurred()) return NULL; | |
583 | } _resultobj = Py_BuildValue("i",_result); | |
584 | return _resultobj; | |
585 | } | |
586 | ||
587 | #define wxIEHtmlWin_GoForward(_swigobj) (_swigobj->GoForward()) | |
588 | static PyObject *_wrap_wxIEHtmlWin_GoForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
589 | PyObject * _resultobj; | |
590 | bool _result; | |
591 | wxIEHtmlWin * _arg0; | |
592 | PyObject * _argo0 = 0; | |
593 | char *_kwnames[] = { "self", NULL }; | |
594 | ||
595 | self = self; | |
596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIEHtmlWin_GoForward",_kwnames,&_argo0)) | |
597 | return NULL; | |
598 | if (_argo0) { | |
599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_GoForward. Expected _wxIEHtmlWin_p."); | |
602 | return NULL; | |
603 | } | |
604 | } | |
605 | { | |
606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
607 | _result = (bool )wxIEHtmlWin_GoForward(_arg0); | |
608 | ||
609 | wxPyEndAllowThreads(__tstate); | |
610 | if (PyErr_Occurred()) return NULL; | |
611 | } _resultobj = Py_BuildValue("i",_result); | |
612 | return _resultobj; | |
613 | } | |
614 | ||
615 | #define wxIEHtmlWin_GoHome(_swigobj) (_swigobj->GoHome()) | |
616 | static PyObject *_wrap_wxIEHtmlWin_GoHome(PyObject *self, PyObject *args, PyObject *kwargs) { | |
617 | PyObject * _resultobj; | |
618 | bool _result; | |
619 | wxIEHtmlWin * _arg0; | |
620 | PyObject * _argo0 = 0; | |
621 | char *_kwnames[] = { "self", NULL }; | |
622 | ||
623 | self = self; | |
624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIEHtmlWin_GoHome",_kwnames,&_argo0)) | |
625 | return NULL; | |
626 | if (_argo0) { | |
627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_GoHome. Expected _wxIEHtmlWin_p."); | |
630 | return NULL; | |
631 | } | |
632 | } | |
633 | { | |
634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
635 | _result = (bool )wxIEHtmlWin_GoHome(_arg0); | |
636 | ||
637 | wxPyEndAllowThreads(__tstate); | |
638 | if (PyErr_Occurred()) return NULL; | |
639 | } _resultobj = Py_BuildValue("i",_result); | |
640 | return _resultobj; | |
641 | } | |
642 | ||
643 | #define wxIEHtmlWin_GoSearch(_swigobj) (_swigobj->GoSearch()) | |
644 | static PyObject *_wrap_wxIEHtmlWin_GoSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
645 | PyObject * _resultobj; | |
646 | bool _result; | |
647 | wxIEHtmlWin * _arg0; | |
648 | PyObject * _argo0 = 0; | |
649 | char *_kwnames[] = { "self", NULL }; | |
650 | ||
651 | self = self; | |
652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIEHtmlWin_GoSearch",_kwnames,&_argo0)) | |
653 | return NULL; | |
654 | if (_argo0) { | |
655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_GoSearch. Expected _wxIEHtmlWin_p."); | |
658 | return NULL; | |
659 | } | |
660 | } | |
661 | { | |
662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
663 | _result = (bool )wxIEHtmlWin_GoSearch(_arg0); | |
664 | ||
665 | wxPyEndAllowThreads(__tstate); | |
666 | if (PyErr_Occurred()) return NULL; | |
667 | } _resultobj = Py_BuildValue("i",_result); | |
668 | return _resultobj; | |
669 | } | |
670 | ||
671 | #define wxIEHtmlWin_Refresh(_swigobj,_swigarg0) (_swigobj->Refresh(_swigarg0)) | |
672 | static PyObject *_wrap_wxIEHtmlWin_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) { | |
673 | PyObject * _resultobj; | |
674 | bool _result; | |
675 | wxIEHtmlWin * _arg0; | |
676 | wxIEHtmlRefreshLevel _arg1; | |
677 | PyObject * _argo0 = 0; | |
678 | char *_kwnames[] = { "self","level", NULL }; | |
679 | ||
680 | self = self; | |
681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIEHtmlWin_Refresh",_kwnames,&_argo0,&_arg1)) | |
682 | return NULL; | |
683 | if (_argo0) { | |
684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_Refresh. Expected _wxIEHtmlWin_p."); | |
687 | return NULL; | |
688 | } | |
689 | } | |
690 | { | |
691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
692 | _result = (bool )wxIEHtmlWin_Refresh(_arg0,_arg1); | |
693 | ||
694 | wxPyEndAllowThreads(__tstate); | |
695 | if (PyErr_Occurred()) return NULL; | |
696 | } _resultobj = Py_BuildValue("i",_result); | |
697 | return _resultobj; | |
698 | } | |
699 | ||
700 | #define wxIEHtmlWin_Stop(_swigobj) (_swigobj->Stop()) | |
701 | static PyObject *_wrap_wxIEHtmlWin_Stop(PyObject *self, PyObject *args, PyObject *kwargs) { | |
702 | PyObject * _resultobj; | |
703 | bool _result; | |
704 | wxIEHtmlWin * _arg0; | |
705 | PyObject * _argo0 = 0; | |
706 | char *_kwnames[] = { "self", NULL }; | |
707 | ||
708 | self = self; | |
709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIEHtmlWin_Stop",_kwnames,&_argo0)) | |
710 | return NULL; | |
711 | if (_argo0) { | |
712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIEHtmlWin_p")) { | |
714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIEHtmlWin_Stop. Expected _wxIEHtmlWin_p."); | |
715 | return NULL; | |
716 | } | |
717 | } | |
718 | { | |
719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
720 | _result = (bool )wxIEHtmlWin_Stop(_arg0); | |
721 | ||
722 | wxPyEndAllowThreads(__tstate); | |
723 | if (PyErr_Occurred()) return NULL; | |
724 | } _resultobj = Py_BuildValue("i",_result); | |
725 | return _resultobj; | |
726 | } | |
727 | ||
728 | static PyMethodDef iewincMethods[] = { | |
729 | { "wxIEHtmlWin_Stop", (PyCFunction) _wrap_wxIEHtmlWin_Stop, METH_VARARGS | METH_KEYWORDS }, | |
730 | { "wxIEHtmlWin_Refresh", (PyCFunction) _wrap_wxIEHtmlWin_Refresh, METH_VARARGS | METH_KEYWORDS }, | |
731 | { "wxIEHtmlWin_GoSearch", (PyCFunction) _wrap_wxIEHtmlWin_GoSearch, METH_VARARGS | METH_KEYWORDS }, | |
732 | { "wxIEHtmlWin_GoHome", (PyCFunction) _wrap_wxIEHtmlWin_GoHome, METH_VARARGS | METH_KEYWORDS }, | |
733 | { "wxIEHtmlWin_GoForward", (PyCFunction) _wrap_wxIEHtmlWin_GoForward, METH_VARARGS | METH_KEYWORDS }, | |
734 | { "wxIEHtmlWin_GoBack", (PyCFunction) _wrap_wxIEHtmlWin_GoBack, METH_VARARGS | METH_KEYWORDS }, | |
735 | { "wxIEHtmlWin_GetText", (PyCFunction) _wrap_wxIEHtmlWin_GetText, METH_VARARGS | METH_KEYWORDS }, | |
736 | { "wxIEHtmlWin_GetStringSelection", (PyCFunction) _wrap_wxIEHtmlWin_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
737 | { "wxIEHtmlWin_GetEditMode", (PyCFunction) _wrap_wxIEHtmlWin_GetEditMode, METH_VARARGS | METH_KEYWORDS }, | |
738 | { "wxIEHtmlWin_SetEditMode", (PyCFunction) _wrap_wxIEHtmlWin_SetEditMode, METH_VARARGS | METH_KEYWORDS }, | |
739 | { "wxIEHtmlWin_SetCharset", (PyCFunction) _wrap_wxIEHtmlWin_SetCharset, METH_VARARGS | METH_KEYWORDS }, | |
740 | { "wxIEHtmlWin_LoadString", (PyCFunction) _wrap_wxIEHtmlWin_LoadString, METH_VARARGS | METH_KEYWORDS }, | |
741 | { "wxIEHtmlWin_LoadUrl", (PyCFunction) _wrap_wxIEHtmlWin_LoadUrl, METH_VARARGS | METH_KEYWORDS }, | |
742 | { "new_wxIEHtmlWin", (PyCFunction) _wrap_new_wxIEHtmlWin, METH_VARARGS | METH_KEYWORDS }, | |
743 | { "wxMSHTMLEvent_GetLong2", (PyCFunction) _wrap_wxMSHTMLEvent_GetLong2, METH_VARARGS | METH_KEYWORDS }, | |
744 | { "wxMSHTMLEvent_GetLong1", (PyCFunction) _wrap_wxMSHTMLEvent_GetLong1, METH_VARARGS | METH_KEYWORDS }, | |
745 | { "wxMSHTMLEvent_GetText", (PyCFunction) _wrap_wxMSHTMLEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
746 | { "new_wxMSHTMLEvent", (PyCFunction) _wrap_new_wxMSHTMLEvent, METH_VARARGS | METH_KEYWORDS }, | |
747 | { NULL, NULL } | |
748 | }; | |
749 | #ifdef __cplusplus | |
750 | } | |
751 | #endif | |
752 | /* | |
753 | * This table is used by the pointer type-checker | |
754 | */ | |
755 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
756 | { "_wxEvent","_wxMSHTMLEvent",SwigwxMSHTMLEventTowxEvent}, | |
757 | { "_signed_long","_long",0}, | |
758 | { "_wxPrintQuality","_wxCoord",0}, | |
759 | { "_wxPrintQuality","_int",0}, | |
760 | { "_wxPrintQuality","_signed_int",0}, | |
761 | { "_wxPrintQuality","_unsigned_int",0}, | |
762 | { "_wxPrintQuality","_wxWindowID",0}, | |
763 | { "_wxPrintQuality","_uint",0}, | |
764 | { "_wxPrintQuality","_EBool",0}, | |
765 | { "_wxPrintQuality","_size_t",0}, | |
766 | { "_wxPrintQuality","_time_t",0}, | |
767 | { "_wxNotifyEvent","_wxMSHTMLEvent",SwigwxMSHTMLEventTowxNotifyEvent}, | |
768 | { "_byte","_unsigned_char",0}, | |
769 | { "_long","_unsigned_long",0}, | |
770 | { "_long","_signed_long",0}, | |
771 | { "_size_t","_wxCoord",0}, | |
772 | { "_size_t","_wxPrintQuality",0}, | |
773 | { "_size_t","_time_t",0}, | |
774 | { "_size_t","_unsigned_int",0}, | |
775 | { "_size_t","_int",0}, | |
776 | { "_size_t","_wxWindowID",0}, | |
777 | { "_size_t","_uint",0}, | |
778 | { "_uint","_wxCoord",0}, | |
779 | { "_uint","_wxPrintQuality",0}, | |
780 | { "_uint","_time_t",0}, | |
781 | { "_uint","_size_t",0}, | |
782 | { "_uint","_unsigned_int",0}, | |
783 | { "_uint","_int",0}, | |
784 | { "_uint","_wxWindowID",0}, | |
785 | { "_wxChar","_char",0}, | |
786 | { "_wxCommandEvent","_wxMSHTMLEvent",SwigwxMSHTMLEventTowxCommandEvent}, | |
787 | { "_char","_wxChar",0}, | |
788 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, | |
789 | { "_EBool","_wxCoord",0}, | |
790 | { "_EBool","_wxPrintQuality",0}, | |
791 | { "_EBool","_signed_int",0}, | |
792 | { "_EBool","_int",0}, | |
793 | { "_EBool","_wxWindowID",0}, | |
794 | { "_unsigned_long","_long",0}, | |
795 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, | |
796 | { "_signed_int","_wxCoord",0}, | |
797 | { "_signed_int","_wxPrintQuality",0}, | |
798 | { "_signed_int","_EBool",0}, | |
799 | { "_signed_int","_wxWindowID",0}, | |
800 | { "_signed_int","_int",0}, | |
801 | { "_WXTYPE","_wxDateTime_t",0}, | |
802 | { "_WXTYPE","_short",0}, | |
803 | { "_WXTYPE","_signed_short",0}, | |
804 | { "_WXTYPE","_unsigned_short",0}, | |
805 | { "_unsigned_short","_wxDateTime_t",0}, | |
806 | { "_unsigned_short","_WXTYPE",0}, | |
807 | { "_unsigned_short","_short",0}, | |
808 | { "_wxObject","_wxIEHtmlWin",SwigwxIEHtmlWinTowxObject}, | |
809 | { "_wxObject","_wxMSHTMLEvent",SwigwxMSHTMLEventTowxObject}, | |
810 | { "_signed_short","_WXTYPE",0}, | |
811 | { "_signed_short","_short",0}, | |
812 | { "_unsigned_char","_byte",0}, | |
813 | { "_unsigned_int","_wxCoord",0}, | |
814 | { "_unsigned_int","_wxPrintQuality",0}, | |
815 | { "_unsigned_int","_time_t",0}, | |
816 | { "_unsigned_int","_size_t",0}, | |
817 | { "_unsigned_int","_uint",0}, | |
818 | { "_unsigned_int","_wxWindowID",0}, | |
819 | { "_unsigned_int","_int",0}, | |
820 | { "_short","_wxDateTime_t",0}, | |
821 | { "_short","_WXTYPE",0}, | |
822 | { "_short","_unsigned_short",0}, | |
823 | { "_short","_signed_short",0}, | |
824 | { "_wxWindowID","_wxCoord",0}, | |
825 | { "_wxWindowID","_wxPrintQuality",0}, | |
826 | { "_wxWindowID","_time_t",0}, | |
827 | { "_wxWindowID","_size_t",0}, | |
828 | { "_wxWindowID","_EBool",0}, | |
829 | { "_wxWindowID","_uint",0}, | |
830 | { "_wxWindowID","_int",0}, | |
831 | { "_wxWindowID","_signed_int",0}, | |
832 | { "_wxWindowID","_unsigned_int",0}, | |
833 | { "_int","_wxCoord",0}, | |
834 | { "_int","_wxPrintQuality",0}, | |
835 | { "_int","_time_t",0}, | |
836 | { "_int","_size_t",0}, | |
837 | { "_int","_EBool",0}, | |
838 | { "_int","_uint",0}, | |
839 | { "_int","_wxWindowID",0}, | |
840 | { "_int","_unsigned_int",0}, | |
841 | { "_int","_signed_int",0}, | |
842 | { "_wxDateTime_t","_unsigned_short",0}, | |
843 | { "_wxDateTime_t","_short",0}, | |
844 | { "_wxDateTime_t","_WXTYPE",0}, | |
845 | { "_time_t","_wxCoord",0}, | |
846 | { "_time_t","_wxPrintQuality",0}, | |
847 | { "_time_t","_unsigned_int",0}, | |
848 | { "_time_t","_int",0}, | |
849 | { "_time_t","_wxWindowID",0}, | |
850 | { "_time_t","_uint",0}, | |
851 | { "_time_t","_size_t",0}, | |
852 | { "_wxCoord","_int",0}, | |
853 | { "_wxCoord","_signed_int",0}, | |
854 | { "_wxCoord","_unsigned_int",0}, | |
855 | { "_wxCoord","_wxWindowID",0}, | |
856 | { "_wxCoord","_uint",0}, | |
857 | { "_wxCoord","_EBool",0}, | |
858 | { "_wxCoord","_size_t",0}, | |
859 | { "_wxCoord","_time_t",0}, | |
860 | { "_wxCoord","_wxPrintQuality",0}, | |
861 | { "_wxEvtHandler","_wxIEHtmlWin",SwigwxIEHtmlWinTowxEvtHandler}, | |
862 | { "_wxWindow","_wxIEHtmlWin",SwigwxIEHtmlWinTowxWindow}, | |
863 | {0,0,0}}; | |
864 | ||
865 | static PyObject *SWIG_globals; | |
866 | #ifdef __cplusplus | |
867 | extern "C" | |
868 | #endif | |
869 | SWIGEXPORT(void) initiewinc() { | |
870 | PyObject *m, *d; | |
871 | SWIG_globals = SWIG_newvarlink(); | |
872 | m = Py_InitModule("iewinc", iewincMethods); | |
873 | d = PyModule_GetDict(m); | |
874 | PyDict_SetItemString(d,"wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2)); | |
875 | PyDict_SetItemString(d,"wxEVT_COMMAND_MSHTML_NEWWINDOW2", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_NEWWINDOW2)); | |
876 | PyDict_SetItemString(d,"wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE)); | |
877 | PyDict_SetItemString(d,"wxEVT_COMMAND_MSHTML_PROGRESSCHANGE", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_PROGRESSCHANGE)); | |
878 | PyDict_SetItemString(d,"wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE)); | |
879 | PyDict_SetItemString(d,"wxEVT_COMMAND_MSHTML_TITLECHANGE", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_TITLECHANGE)); | |
880 | PyDict_SetItemString(d,"wxIEHTML_REFRESH_NORMAL", PyInt_FromLong((long) wxIEHTML_REFRESH_NORMAL)); | |
881 | PyDict_SetItemString(d,"wxIEHTML_REFRESH_IFEXPIRED", PyInt_FromLong((long) wxIEHTML_REFRESH_IFEXPIRED)); | |
882 | PyDict_SetItemString(d,"wxIEHTML_REFRESH_CONTINUE", PyInt_FromLong((long) wxIEHTML_REFRESH_CONTINUE)); | |
883 | PyDict_SetItemString(d,"wxIEHTML_REFRESH_COMPLETELY", PyInt_FromLong((long) wxIEHTML_REFRESH_COMPLETELY)); | |
884 | ||
885 | ||
886 | wxClassInfo::CleanUpClasses(); | |
887 | wxClassInfo::InitializeClasses(); | |
888 | ||
889 | { | |
890 | int i; | |
891 | for (i = 0; _swig_mapping[i].n1; i++) | |
892 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
893 | } | |
894 | } |