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