]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/misc2.cpp
added font encoding support
[wxWidgets.git] / utils / wxPython / src / msw / misc2.cpp
1 /*
2 * FILE : msw/misc2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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 initmisc2c
53
54 #define SWIG_name "misc2c"
55
56 #include "helpers.h"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
59 #include <wx/caret.h>
60 #include <wx/fontenum.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 static char* wxStringErrorMsg = "string type is required for parameter";
110
111 void wxToolTip_Enable(bool flag) {
112 wxToolTip::Enable(flag);
113 }
114
115 void wxToolTip_SetDelay(long milliseconds) {
116 wxToolTip::SetDelay(milliseconds);
117 }
118
119 int wxCaret_GetBlinkTime() {
120 return wxCaret::GetBlinkTime();
121 }
122
123 void wxCaret_SetBlinkTime(int milliseconds) {
124 wxCaret::SetBlinkTime(milliseconds);
125 }
126 #ifdef __cplusplus
127 extern "C" {
128 #endif
129 static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
130 PyObject * _resultobj;
131 wxWindow * _result;
132 wxString * _arg0;
133 wxWindow * _arg1 = (wxWindow *) NULL;
134 PyObject * _obj0 = 0;
135 PyObject * _argo1 = 0;
136 char *_kwnames[] = { "label","parent", NULL };
137 char _ptemp[128];
138
139 self = self;
140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
141 return NULL;
142 {
143 if (!PyString_Check(_obj0)) {
144 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
145 return NULL;
146 }
147 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
148 }
149 if (_argo1) {
150 if (_argo1 == Py_None) { _arg1 = NULL; }
151 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
152 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
153 return NULL;
154 }
155 }
156 {
157 wxPy_BEGIN_ALLOW_THREADS;
158 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
159
160 wxPy_END_ALLOW_THREADS;
161 } if (_result) {
162 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
163 _resultobj = Py_BuildValue("s",_ptemp);
164 } else {
165 Py_INCREF(Py_None);
166 _resultobj = Py_None;
167 }
168 {
169 if (_obj0)
170 delete _arg0;
171 }
172 return _resultobj;
173 }
174
175 static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
176 PyObject * _resultobj;
177 wxWindow * _result;
178 wxString * _arg0;
179 wxWindow * _arg1 = (wxWindow *) NULL;
180 PyObject * _obj0 = 0;
181 PyObject * _argo1 = 0;
182 char *_kwnames[] = { "name","parent", NULL };
183 char _ptemp[128];
184
185 self = self;
186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
187 return NULL;
188 {
189 if (!PyString_Check(_obj0)) {
190 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
191 return NULL;
192 }
193 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
194 }
195 if (_argo1) {
196 if (_argo1 == Py_None) { _arg1 = NULL; }
197 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
198 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
199 return NULL;
200 }
201 }
202 {
203 wxPy_BEGIN_ALLOW_THREADS;
204 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
205
206 wxPy_END_ALLOW_THREADS;
207 } if (_result) {
208 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
209 _resultobj = Py_BuildValue("s",_ptemp);
210 } else {
211 Py_INCREF(Py_None);
212 _resultobj = Py_None;
213 }
214 {
215 if (_obj0)
216 delete _arg0;
217 }
218 return _resultobj;
219 }
220
221 static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
222 PyObject * _resultobj;
223 bool _arg0;
224 int tempbool0;
225 char *_kwnames[] = { "flag", NULL };
226
227 self = self;
228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
229 return NULL;
230 _arg0 = (bool ) tempbool0;
231 {
232 wxPy_BEGIN_ALLOW_THREADS;
233 wxToolTip_Enable(_arg0);
234
235 wxPy_END_ALLOW_THREADS;
236 } Py_INCREF(Py_None);
237 _resultobj = Py_None;
238 return _resultobj;
239 }
240
241 static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
242 PyObject * _resultobj;
243 long _arg0;
244 char *_kwnames[] = { "milliseconds", NULL };
245
246 self = self;
247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
248 return NULL;
249 {
250 wxPy_BEGIN_ALLOW_THREADS;
251 wxToolTip_SetDelay(_arg0);
252
253 wxPy_END_ALLOW_THREADS;
254 } Py_INCREF(Py_None);
255 _resultobj = Py_None;
256 return _resultobj;
257 }
258
259 static PyObject *_wrap_wxCaret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
260 PyObject * _resultobj;
261 int _result;
262 char *_kwnames[] = { NULL };
263
264 self = self;
265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxCaret_GetBlinkTime",_kwnames))
266 return NULL;
267 {
268 wxPy_BEGIN_ALLOW_THREADS;
269 _result = (int )wxCaret_GetBlinkTime();
270
271 wxPy_END_ALLOW_THREADS;
272 } _resultobj = Py_BuildValue("i",_result);
273 return _resultobj;
274 }
275
276 static PyObject *_wrap_wxCaret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
277 PyObject * _resultobj;
278 int _arg0;
279 char *_kwnames[] = { "milliseconds", NULL };
280
281 self = self;
282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxCaret_SetBlinkTime",_kwnames,&_arg0))
283 return NULL;
284 {
285 wxPy_BEGIN_ALLOW_THREADS;
286 wxCaret_SetBlinkTime(_arg0);
287
288 wxPy_END_ALLOW_THREADS;
289 } Py_INCREF(Py_None);
290 _resultobj = Py_None;
291 return _resultobj;
292 }
293
294 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
295 static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
296 PyObject * _resultobj;
297 wxToolTip * _result;
298 wxString * _arg0;
299 PyObject * _obj0 = 0;
300 char *_kwnames[] = { "tip", NULL };
301 char _ptemp[128];
302
303 self = self;
304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
305 return NULL;
306 {
307 if (!PyString_Check(_obj0)) {
308 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
309 return NULL;
310 }
311 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
312 }
313 {
314 wxPy_BEGIN_ALLOW_THREADS;
315 _result = (wxToolTip *)new_wxToolTip(*_arg0);
316
317 wxPy_END_ALLOW_THREADS;
318 } if (_result) {
319 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
320 _resultobj = Py_BuildValue("s",_ptemp);
321 } else {
322 Py_INCREF(Py_None);
323 _resultobj = Py_None;
324 }
325 {
326 if (_obj0)
327 delete _arg0;
328 }
329 return _resultobj;
330 }
331
332 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
333 static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
334 PyObject * _resultobj;
335 wxToolTip * _arg0;
336 wxString * _arg1;
337 PyObject * _argo0 = 0;
338 PyObject * _obj1 = 0;
339 char *_kwnames[] = { "self","tip", NULL };
340
341 self = self;
342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
343 return NULL;
344 if (_argo0) {
345 if (_argo0 == Py_None) { _arg0 = NULL; }
346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
348 return NULL;
349 }
350 }
351 {
352 if (!PyString_Check(_obj1)) {
353 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
354 return NULL;
355 }
356 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
357 }
358 {
359 wxPy_BEGIN_ALLOW_THREADS;
360 wxToolTip_SetTip(_arg0,*_arg1);
361
362 wxPy_END_ALLOW_THREADS;
363 } Py_INCREF(Py_None);
364 _resultobj = Py_None;
365 {
366 if (_obj1)
367 delete _arg1;
368 }
369 return _resultobj;
370 }
371
372 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
373 static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
374 PyObject * _resultobj;
375 wxString * _result;
376 wxToolTip * _arg0;
377 PyObject * _argo0 = 0;
378 char *_kwnames[] = { "self", NULL };
379
380 self = self;
381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
382 return NULL;
383 if (_argo0) {
384 if (_argo0 == Py_None) { _arg0 = NULL; }
385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
387 return NULL;
388 }
389 }
390 {
391 wxPy_BEGIN_ALLOW_THREADS;
392 _result = new wxString (wxToolTip_GetTip(_arg0));
393
394 wxPy_END_ALLOW_THREADS;
395 }{
396 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
397 }
398 {
399 delete _result;
400 }
401 return _resultobj;
402 }
403
404 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
405 static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
406 PyObject * _resultobj;
407 wxWindow * _result;
408 wxToolTip * _arg0;
409 PyObject * _argo0 = 0;
410 char *_kwnames[] = { "self", NULL };
411 char _ptemp[128];
412
413 self = self;
414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
415 return NULL;
416 if (_argo0) {
417 if (_argo0 == Py_None) { _arg0 = NULL; }
418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
420 return NULL;
421 }
422 }
423 {
424 wxPy_BEGIN_ALLOW_THREADS;
425 _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
426
427 wxPy_END_ALLOW_THREADS;
428 } if (_result) {
429 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
430 _resultobj = Py_BuildValue("s",_ptemp);
431 } else {
432 Py_INCREF(Py_None);
433 _resultobj = Py_None;
434 }
435 return _resultobj;
436 }
437
438 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
439 static PyObject *_wrap_new_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
440 PyObject * _resultobj;
441 wxCaret * _result;
442 wxWindow * _arg0;
443 wxSize * _arg1;
444 PyObject * _argo0 = 0;
445 wxSize temp;
446 PyObject * _obj1 = 0;
447 char *_kwnames[] = { "window","size", NULL };
448 char _ptemp[128];
449
450 self = self;
451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxCaret",_kwnames,&_argo0,&_obj1))
452 return NULL;
453 if (_argo0) {
454 if (_argo0 == Py_None) { _arg0 = NULL; }
455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
457 return NULL;
458 }
459 }
460 {
461 _arg1 = &temp;
462 if (! wxSize_helper(_obj1, &_arg1))
463 return NULL;
464 }
465 {
466 wxPy_BEGIN_ALLOW_THREADS;
467 _result = (wxCaret *)new_wxCaret(_arg0,*_arg1);
468
469 wxPy_END_ALLOW_THREADS;
470 } if (_result) {
471 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
472 _resultobj = Py_BuildValue("s",_ptemp);
473 } else {
474 Py_INCREF(Py_None);
475 _resultobj = Py_None;
476 }
477 return _resultobj;
478 }
479
480 #define delete_wxCaret(_swigobj) (delete _swigobj)
481 static PyObject *_wrap_delete_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
482 PyObject * _resultobj;
483 wxCaret * _arg0;
484 PyObject * _argo0 = 0;
485 char *_kwnames[] = { "self", NULL };
486
487 self = self;
488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCaret",_kwnames,&_argo0))
489 return NULL;
490 if (_argo0) {
491 if (_argo0 == Py_None) { _arg0 = NULL; }
492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
494 return NULL;
495 }
496 }
497 {
498 wxPy_BEGIN_ALLOW_THREADS;
499 delete_wxCaret(_arg0);
500
501 wxPy_END_ALLOW_THREADS;
502 } Py_INCREF(Py_None);
503 _resultobj = Py_None;
504 return _resultobj;
505 }
506
507 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
508 static PyObject *_wrap_wxCaret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
509 PyObject * _resultobj;
510 bool _result;
511 wxCaret * _arg0;
512 PyObject * _argo0 = 0;
513 char *_kwnames[] = { "self", NULL };
514
515 self = self;
516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsOk",_kwnames,&_argo0))
517 return NULL;
518 if (_argo0) {
519 if (_argo0 == Py_None) { _arg0 = NULL; }
520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
522 return NULL;
523 }
524 }
525 {
526 wxPy_BEGIN_ALLOW_THREADS;
527 _result = (bool )wxCaret_IsOk(_arg0);
528
529 wxPy_END_ALLOW_THREADS;
530 } _resultobj = Py_BuildValue("i",_result);
531 return _resultobj;
532 }
533
534 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
535 static PyObject *_wrap_wxCaret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
536 PyObject * _resultobj;
537 bool _result;
538 wxCaret * _arg0;
539 PyObject * _argo0 = 0;
540 char *_kwnames[] = { "self", NULL };
541
542 self = self;
543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsVisible",_kwnames,&_argo0))
544 return NULL;
545 if (_argo0) {
546 if (_argo0 == Py_None) { _arg0 = NULL; }
547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
549 return NULL;
550 }
551 }
552 {
553 wxPy_BEGIN_ALLOW_THREADS;
554 _result = (bool )wxCaret_IsVisible(_arg0);
555
556 wxPy_END_ALLOW_THREADS;
557 } _resultobj = Py_BuildValue("i",_result);
558 return _resultobj;
559 }
560
561 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
562 static PyObject *_wrap_wxCaret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
563 PyObject * _resultobj;
564 wxCaret * _arg0;
565 int * _arg1;
566 int temp;
567 int * _arg2;
568 int temp0;
569 PyObject * _argo0 = 0;
570 char *_kwnames[] = { "self", NULL };
571
572 self = self;
573 {
574 _arg1 = &temp;
575 }
576 {
577 _arg2 = &temp0;
578 }
579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPositionTuple",_kwnames,&_argo0))
580 return NULL;
581 if (_argo0) {
582 if (_argo0 == Py_None) { _arg0 = NULL; }
583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
585 return NULL;
586 }
587 }
588 {
589 wxPy_BEGIN_ALLOW_THREADS;
590 wxCaret_GetPositionTuple(_arg0,_arg1,_arg2);
591
592 wxPy_END_ALLOW_THREADS;
593 } Py_INCREF(Py_None);
594 _resultobj = Py_None;
595 {
596 PyObject *o;
597 o = PyInt_FromLong((long) (*_arg1));
598 _resultobj = t_output_helper(_resultobj, o);
599 }
600 {
601 PyObject *o;
602 o = PyInt_FromLong((long) (*_arg2));
603 _resultobj = t_output_helper(_resultobj, o);
604 }
605 return _resultobj;
606 }
607
608 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
609 static PyObject *_wrap_wxCaret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
610 PyObject * _resultobj;
611 wxPoint * _result;
612 wxCaret * _arg0;
613 PyObject * _argo0 = 0;
614 char *_kwnames[] = { "self", NULL };
615 char _ptemp[128];
616
617 self = self;
618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPosition",_kwnames,&_argo0))
619 return NULL;
620 if (_argo0) {
621 if (_argo0 == Py_None) { _arg0 = NULL; }
622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
624 return NULL;
625 }
626 }
627 {
628 wxPy_BEGIN_ALLOW_THREADS;
629 _result = new wxPoint (wxCaret_GetPosition(_arg0));
630
631 wxPy_END_ALLOW_THREADS;
632 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
633 _resultobj = Py_BuildValue("s",_ptemp);
634 return _resultobj;
635 }
636
637 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
638 static PyObject *_wrap_wxCaret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
639 PyObject * _resultobj;
640 wxCaret * _arg0;
641 int * _arg1;
642 int temp;
643 int * _arg2;
644 int temp0;
645 PyObject * _argo0 = 0;
646 char *_kwnames[] = { "self", NULL };
647
648 self = self;
649 {
650 _arg1 = &temp;
651 }
652 {
653 _arg2 = &temp0;
654 }
655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSizeTuple",_kwnames,&_argo0))
656 return NULL;
657 if (_argo0) {
658 if (_argo0 == Py_None) { _arg0 = NULL; }
659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
661 return NULL;
662 }
663 }
664 {
665 wxPy_BEGIN_ALLOW_THREADS;
666 wxCaret_GetSizeTuple(_arg0,_arg1,_arg2);
667
668 wxPy_END_ALLOW_THREADS;
669 } Py_INCREF(Py_None);
670 _resultobj = Py_None;
671 {
672 PyObject *o;
673 o = PyInt_FromLong((long) (*_arg1));
674 _resultobj = t_output_helper(_resultobj, o);
675 }
676 {
677 PyObject *o;
678 o = PyInt_FromLong((long) (*_arg2));
679 _resultobj = t_output_helper(_resultobj, o);
680 }
681 return _resultobj;
682 }
683
684 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
685 static PyObject *_wrap_wxCaret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
686 PyObject * _resultobj;
687 wxSize * _result;
688 wxCaret * _arg0;
689 PyObject * _argo0 = 0;
690 char *_kwnames[] = { "self", NULL };
691 char _ptemp[128];
692
693 self = self;
694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSize",_kwnames,&_argo0))
695 return NULL;
696 if (_argo0) {
697 if (_argo0 == Py_None) { _arg0 = NULL; }
698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
700 return NULL;
701 }
702 }
703 {
704 wxPy_BEGIN_ALLOW_THREADS;
705 _result = new wxSize (wxCaret_GetSize(_arg0));
706
707 wxPy_END_ALLOW_THREADS;
708 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
709 _resultobj = Py_BuildValue("s",_ptemp);
710 return _resultobj;
711 }
712
713 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
714 static PyObject *_wrap_wxCaret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
715 PyObject * _resultobj;
716 wxWindow * _result;
717 wxCaret * _arg0;
718 PyObject * _argo0 = 0;
719 char *_kwnames[] = { "self", NULL };
720 char _ptemp[128];
721
722 self = self;
723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetWindow",_kwnames,&_argo0))
724 return NULL;
725 if (_argo0) {
726 if (_argo0 == Py_None) { _arg0 = NULL; }
727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
729 return NULL;
730 }
731 }
732 {
733 wxPy_BEGIN_ALLOW_THREADS;
734 _result = (wxWindow *)wxCaret_GetWindow(_arg0);
735
736 wxPy_END_ALLOW_THREADS;
737 } if (_result) {
738 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
739 _resultobj = Py_BuildValue("s",_ptemp);
740 } else {
741 Py_INCREF(Py_None);
742 _resultobj = Py_None;
743 }
744 return _resultobj;
745 }
746
747 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
748 static PyObject *_wrap_wxCaret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
749 PyObject * _resultobj;
750 wxCaret * _arg0;
751 int _arg1;
752 int _arg2;
753 PyObject * _argo0 = 0;
754 char *_kwnames[] = { "self","x","y", NULL };
755
756 self = self;
757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
758 return NULL;
759 if (_argo0) {
760 if (_argo0 == Py_None) { _arg0 = NULL; }
761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
763 return NULL;
764 }
765 }
766 {
767 wxPy_BEGIN_ALLOW_THREADS;
768 wxCaret_MoveXY(_arg0,_arg1,_arg2);
769
770 wxPy_END_ALLOW_THREADS;
771 } Py_INCREF(Py_None);
772 _resultobj = Py_None;
773 return _resultobj;
774 }
775
776 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
777 static PyObject *_wrap_wxCaret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
778 PyObject * _resultobj;
779 wxCaret * _arg0;
780 wxPoint * _arg1;
781 PyObject * _argo0 = 0;
782 wxPoint temp;
783 PyObject * _obj1 = 0;
784 char *_kwnames[] = { "self","pt", NULL };
785
786 self = self;
787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_Move",_kwnames,&_argo0,&_obj1))
788 return NULL;
789 if (_argo0) {
790 if (_argo0 == Py_None) { _arg0 = NULL; }
791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
793 return NULL;
794 }
795 }
796 {
797 _arg1 = &temp;
798 if (! wxPoint_helper(_obj1, &_arg1))
799 return NULL;
800 }
801 {
802 wxPy_BEGIN_ALLOW_THREADS;
803 wxCaret_Move(_arg0,*_arg1);
804
805 wxPy_END_ALLOW_THREADS;
806 } Py_INCREF(Py_None);
807 _resultobj = Py_None;
808 return _resultobj;
809 }
810
811 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
812 static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
813 PyObject * _resultobj;
814 wxCaret * _arg0;
815 int _arg1 = (int ) TRUE;
816 PyObject * _argo0 = 0;
817 char *_kwnames[] = { "self","show", NULL };
818
819 self = self;
820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1))
821 return NULL;
822 if (_argo0) {
823 if (_argo0 == Py_None) { _arg0 = NULL; }
824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
826 return NULL;
827 }
828 }
829 {
830 wxPy_BEGIN_ALLOW_THREADS;
831 wxCaret_Show(_arg0,_arg1);
832
833 wxPy_END_ALLOW_THREADS;
834 } Py_INCREF(Py_None);
835 _resultobj = Py_None;
836 return _resultobj;
837 }
838
839 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
840 static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
841 PyObject * _resultobj;
842 wxCaret * _arg0;
843 PyObject * _argo0 = 0;
844 char *_kwnames[] = { "self", NULL };
845
846 self = self;
847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0))
848 return NULL;
849 if (_argo0) {
850 if (_argo0 == Py_None) { _arg0 = NULL; }
851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
853 return NULL;
854 }
855 }
856 {
857 wxPy_BEGIN_ALLOW_THREADS;
858 wxCaret_Hide(_arg0);
859
860 wxPy_END_ALLOW_THREADS;
861 } Py_INCREF(Py_None);
862 _resultobj = Py_None;
863 return _resultobj;
864 }
865
866 #define wxCaret_OnSetFocus(_swigobj) (_swigobj->OnSetFocus())
867 static PyObject *_wrap_wxCaret_OnSetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
868 PyObject * _resultobj;
869 wxCaret * _arg0;
870 PyObject * _argo0 = 0;
871 char *_kwnames[] = { "self", NULL };
872
873 self = self;
874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_OnSetFocus",_kwnames,&_argo0))
875 return NULL;
876 if (_argo0) {
877 if (_argo0 == Py_None) { _arg0 = NULL; }
878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_OnSetFocus. Expected _wxCaret_p.");
880 return NULL;
881 }
882 }
883 {
884 wxPy_BEGIN_ALLOW_THREADS;
885 wxCaret_OnSetFocus(_arg0);
886
887 wxPy_END_ALLOW_THREADS;
888 } Py_INCREF(Py_None);
889 _resultobj = Py_None;
890 return _resultobj;
891 }
892
893 #define wxCaret_OnKillFocus(_swigobj) (_swigobj->OnKillFocus())
894 static PyObject *_wrap_wxCaret_OnKillFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
895 PyObject * _resultobj;
896 wxCaret * _arg0;
897 PyObject * _argo0 = 0;
898 char *_kwnames[] = { "self", NULL };
899
900 self = self;
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_OnKillFocus",_kwnames,&_argo0))
902 return NULL;
903 if (_argo0) {
904 if (_argo0 == Py_None) { _arg0 = NULL; }
905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_OnKillFocus. Expected _wxCaret_p.");
907 return NULL;
908 }
909 }
910 {
911 wxPy_BEGIN_ALLOW_THREADS;
912 wxCaret_OnKillFocus(_arg0);
913
914 wxPy_END_ALLOW_THREADS;
915 } Py_INCREF(Py_None);
916 _resultobj = Py_None;
917 return _resultobj;
918 }
919
920 static PyMethodDef misc2cMethods[] = {
921 { "wxCaret_OnKillFocus", (PyCFunction) _wrap_wxCaret_OnKillFocus, METH_VARARGS | METH_KEYWORDS },
922 { "wxCaret_OnSetFocus", (PyCFunction) _wrap_wxCaret_OnSetFocus, METH_VARARGS | METH_KEYWORDS },
923 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
924 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
925 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
926 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
927 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
928 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
929 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
930 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
931 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
932 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
933 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
934 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
935 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
936 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
937 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
938 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
939 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
940 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
941 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
942 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
943 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
944 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
945 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
946 { NULL, NULL }
947 };
948 #ifdef __cplusplus
949 }
950 #endif
951 /*
952 * This table is used by the pointer type-checker
953 */
954 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
955 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
956 { "_signed_long","_long",0},
957 { "_wxPrintQuality","_int",0},
958 { "_wxPrintQuality","_signed_int",0},
959 { "_wxPrintQuality","_unsigned_int",0},
960 { "_wxPrintQuality","_wxWindowID",0},
961 { "_wxPrintQuality","_uint",0},
962 { "_wxPrintQuality","_EBool",0},
963 { "_wxPrintQuality","_size_t",0},
964 { "_class_wxRegionIterator","_wxRegionIterator",0},
965 { "_class_wxMenuBar","_wxMenuBar",0},
966 { "_class_wxEvtHandler","_wxEvtHandler",0},
967 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
968 { "_wxCursor","_class_wxCursor",0},
969 { "_wxMask","_class_wxMask",0},
970 { "_wxToolTip","_class_wxToolTip",0},
971 { "_wxPen","_class_wxPen",0},
972 { "_byte","_unsigned_char",0},
973 { "_long","_wxDash",0},
974 { "_long","_unsigned_long",0},
975 { "_long","_signed_long",0},
976 { "_wxImageList","_class_wxImageList",0},
977 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
978 { "_wxDC","_class_wxDC",0},
979 { "_size_t","_wxPrintQuality",0},
980 { "_size_t","_unsigned_int",0},
981 { "_size_t","_int",0},
982 { "_size_t","_wxWindowID",0},
983 { "_size_t","_uint",0},
984 { "_class_wxRealPoint","_wxRealPoint",0},
985 { "_wxPrinterDC","_class_wxPrinterDC",0},
986 { "_class_wxMenuItem","_wxMenuItem",0},
987 { "_wxPanel","_class_wxPanel",0},
988 { "_class_wxMask","_wxMask",0},
989 { "_class_wxToolTip","_wxToolTip",0},
990 { "_wxColour","_class_wxColour",0},
991 { "_class_wxDialog","_wxDialog",0},
992 { "_wxCaret","_class_wxCaret",0},
993 { "_wxBrush","_class_wxBrush",0},
994 { "_uint","_wxPrintQuality",0},
995 { "_uint","_size_t",0},
996 { "_uint","_unsigned_int",0},
997 { "_uint","_int",0},
998 { "_uint","_wxWindowID",0},
999 { "_wxPyValidator","_class_wxPyValidator",0},
1000 { "_wxRect","_class_wxRect",0},
1001 { "_wxPoint","_class_wxPoint",0},
1002 { "_wxBitmap","_class_wxBitmap",0},
1003 { "_wxPyTimer","_class_wxPyTimer",0},
1004 { "_wxWindowDC","_class_wxWindowDC",0},
1005 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1006 { "_class_wxValidator","_wxValidator",0},
1007 { "_EBool","_wxPrintQuality",0},
1008 { "_EBool","_signed_int",0},
1009 { "_EBool","_int",0},
1010 { "_EBool","_wxWindowID",0},
1011 { "_class_wxRegion","_wxRegion",0},
1012 { "_wxFont","_class_wxFont",0},
1013 { "_unsigned_long","_wxDash",0},
1014 { "_unsigned_long","_long",0},
1015 { "_class_wxRect","_wxRect",0},
1016 { "_class_wxDC","_wxDC",0},
1017 { "_class_wxPyTimer","_wxPyTimer",0},
1018 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1019 { "_class_wxPanel","_wxPanel",0},
1020 { "_signed_int","_wxPrintQuality",0},
1021 { "_signed_int","_EBool",0},
1022 { "_signed_int","_wxWindowID",0},
1023 { "_signed_int","_int",0},
1024 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1025 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1026 { "_wxMenu","_class_wxMenu",0},
1027 { "_wxScreenDC","_class_wxScreenDC",0},
1028 { "_WXTYPE","_short",0},
1029 { "_WXTYPE","_signed_short",0},
1030 { "_WXTYPE","_unsigned_short",0},
1031 { "_class_wxCaret","_wxCaret",0},
1032 { "_class_wxBrush","_wxBrush",0},
1033 { "_unsigned_short","_WXTYPE",0},
1034 { "_unsigned_short","_short",0},
1035 { "_class_wxWindow","_wxWindow",0},
1036 { "_class_wxFont","_wxFont",0},
1037 { "_class_wxPyValidator","_wxPyValidator",0},
1038 { "_wxClientDC","_class_wxClientDC",0},
1039 { "_class_wxPoint","_wxPoint",0},
1040 { "_wxRealPoint","_class_wxRealPoint",0},
1041 { "_signed_short","_WXTYPE",0},
1042 { "_signed_short","_short",0},
1043 { "_wxMemoryDC","_class_wxMemoryDC",0},
1044 { "_wxPaintDC","_class_wxPaintDC",0},
1045 { "_class_wxWindowDC","_wxWindowDC",0},
1046 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1047 { "_class_wxCursor","_wxCursor",0},
1048 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1049 { "_unsigned_char","_byte",0},
1050 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1051 { "_class_wxMenu","_wxMenu",0},
1052 { "_unsigned_int","_wxPrintQuality",0},
1053 { "_unsigned_int","_size_t",0},
1054 { "_unsigned_int","_uint",0},
1055 { "_unsigned_int","_wxWindowID",0},
1056 { "_unsigned_int","_int",0},
1057 { "_wxIcon","_class_wxIcon",0},
1058 { "_wxDialog","_class_wxDialog",0},
1059 { "_class_wxPen","_wxPen",0},
1060 { "_short","_WXTYPE",0},
1061 { "_short","_unsigned_short",0},
1062 { "_short","_signed_short",0},
1063 { "_class_wxImageList","_wxImageList",0},
1064 { "_wxWindowID","_wxPrintQuality",0},
1065 { "_wxWindowID","_size_t",0},
1066 { "_wxWindowID","_EBool",0},
1067 { "_wxWindowID","_uint",0},
1068 { "_wxWindowID","_int",0},
1069 { "_wxWindowID","_signed_int",0},
1070 { "_wxWindowID","_unsigned_int",0},
1071 { "_int","_wxPrintQuality",0},
1072 { "_int","_size_t",0},
1073 { "_int","_EBool",0},
1074 { "_int","_uint",0},
1075 { "_int","_wxWindowID",0},
1076 { "_int","_unsigned_int",0},
1077 { "_int","_signed_int",0},
1078 { "_wxSize","_class_wxSize",0},
1079 { "_wxRegionIterator","_class_wxRegionIterator",0},
1080 { "_class_wxPrinterDC","_wxPrinterDC",0},
1081 { "_class_wxPaintDC","_wxPaintDC",0},
1082 { "_wxValidator","_class_wxValidator",0},
1083 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1084 { "_class_wxIcon","_wxIcon",0},
1085 { "_class_wxColour","_wxColour",0},
1086 { "_class_wxScreenDC","_wxScreenDC",0},
1087 { "_wxPalette","_class_wxPalette",0},
1088 { "_wxRegion","_class_wxRegion",0},
1089 { "_class_wxClientDC","_wxClientDC",0},
1090 { "_class_wxSize","_wxSize",0},
1091 { "_class_wxBitmap","_wxBitmap",0},
1092 { "_class_wxMemoryDC","_wxMemoryDC",0},
1093 { "_wxMenuBar","_class_wxMenuBar",0},
1094 { "_wxEvtHandler","_class_wxEvtHandler",0},
1095 { "_wxMenuItem","_class_wxMenuItem",0},
1096 { "_wxDash","_unsigned_long",0},
1097 { "_wxDash","_long",0},
1098 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1099 { "_class_wxPalette","_wxPalette",0},
1100 { "_wxWindow","_class_wxWindow",0},
1101 {0,0,0}};
1102
1103 static PyObject *SWIG_globals;
1104 #ifdef __cplusplus
1105 extern "C"
1106 #endif
1107 SWIGEXPORT(void) initmisc2c() {
1108 PyObject *m, *d;
1109 SWIG_globals = SWIG_newvarlink();
1110 m = Py_InitModule("misc2c", misc2cMethods);
1111 d = PyModule_GetDict(m);
1112 {
1113 int i;
1114 for (i = 0; _swig_mapping[i].n1; i++)
1115 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1116 }
1117 }