]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/misc2.cpp
Prep for wxPython 2.1b3 release
[wxWidgets.git] / utils / wxPython / src / msw / misc2.cpp
CommitLineData
bb0054cd
RD
1/*
2 * FILE : msw/misc2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
efc5f224 6 * Version 1.1 (Build 794)
bb0054cd
RD
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)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
bb0054cd
RD
28# else
29# if defined(__BORLANDC__)
1d99702e 30# define SWIGEXPORT(a) a _export
bb0054cd 31# else
1d99702e 32# define SWIGEXPORT(a) a
bb0054cd
RD
33# endif
34# endif
35#else
1d99702e 36# define SWIGEXPORT(a) a
bb0054cd
RD
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
bb0054cd
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
bb0054cd
RD
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
60static PyObject* l_output_helper(PyObject* target, PyObject* o) {
61 PyObject* o2;
1d99702e
RD
62 PyObject* o3;
63 if (!target) {
bb0054cd 64 target = o;
1d99702e 65 } else if (target == Py_None) {
bb0054cd
RD
66 Py_DECREF(Py_None);
67 target = o;
1d99702e 68 } else {
bb0054cd
RD
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79}
80
81static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
1d99702e 85 if (!target) {
bb0054cd 86 target = o;
1d99702e 87 } else if (target == Py_None) {
bb0054cd
RD
88 Py_DECREF(Py_None);
89 target = o;
1d99702e 90 } else {
bb0054cd
RD
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
1d99702e
RD
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
bb0054cd
RD
98
99 o2 = target;
1d99702e
RD
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
bb0054cd
RD
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
107
108extern byte* byte_LIST_helper(PyObject* source);
109extern int* int_LIST_helper(PyObject* source);
110extern long* long_LIST_helper(PyObject* source);
111extern char** string_LIST_helper(PyObject* source);
112extern wxPoint* wxPoint_LIST_helper(PyObject* source);
113extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
114extern wxString* wxString_LIST_helper(PyObject* source);
115extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
116
117
118static char* wxStringErrorMsg = "string type is required for parameter";
119
120 void wxToolTip_Enable(bool flag) {
121 wxToolTip::Enable(flag);
122 }
123
124 void wxToolTip_SetDelay(long milliseconds) {
125 wxToolTip::SetDelay(milliseconds);
126 }
1d99702e
RD
127#ifdef __cplusplus
128extern "C" {
129#endif
efc5f224 130static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
131 PyObject * _resultobj;
132 wxWindow * _result;
133 wxString * _arg0;
1d99702e 134 wxWindow * _arg1 = (wxWindow *) NULL;
bb0054cd 135 PyObject * _obj0 = 0;
1d99702e 136 PyObject * _argo1 = 0;
efc5f224 137 char *_kwnames[] = { "label","parent", NULL };
bb0054cd
RD
138 char _ptemp[128];
139
140 self = self;
efc5f224 141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
bb0054cd
RD
142 return NULL;
143{
144 if (!PyString_Check(_obj0)) {
145 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
146 return NULL;
147 }
148 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
149}
1d99702e
RD
150 if (_argo1) {
151 if (_argo1 == Py_None) { _arg1 = NULL; }
152 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
bb0054cd
RD
153 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
154 return NULL;
155 }
156 }
157{
158 wxPy_BEGIN_ALLOW_THREADS;
159 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
160
161 wxPy_END_ALLOW_THREADS;
1d99702e
RD
162} if (_result) {
163 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
164 _resultobj = Py_BuildValue("s",_ptemp);
165 } else {
166 Py_INCREF(Py_None);
167 _resultobj = Py_None;
168 }
bb0054cd
RD
169{
170 if (_obj0)
171 delete _arg0;
172}
173 return _resultobj;
174}
175
efc5f224 176static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
177 PyObject * _resultobj;
178 wxWindow * _result;
179 wxString * _arg0;
1d99702e 180 wxWindow * _arg1 = (wxWindow *) NULL;
bb0054cd 181 PyObject * _obj0 = 0;
1d99702e 182 PyObject * _argo1 = 0;
efc5f224 183 char *_kwnames[] = { "name","parent", NULL };
bb0054cd
RD
184 char _ptemp[128];
185
186 self = self;
efc5f224 187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
bb0054cd
RD
188 return NULL;
189{
190 if (!PyString_Check(_obj0)) {
191 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
192 return NULL;
193 }
194 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
195}
1d99702e
RD
196 if (_argo1) {
197 if (_argo1 == Py_None) { _arg1 = NULL; }
198 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
bb0054cd
RD
199 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
200 return NULL;
201 }
202 }
203{
204 wxPy_BEGIN_ALLOW_THREADS;
205 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
206
207 wxPy_END_ALLOW_THREADS;
1d99702e
RD
208} if (_result) {
209 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
210 _resultobj = Py_BuildValue("s",_ptemp);
211 } else {
212 Py_INCREF(Py_None);
213 _resultobj = Py_None;
214 }
bb0054cd
RD
215{
216 if (_obj0)
217 delete _arg0;
218}
219 return _resultobj;
220}
221
efc5f224 222static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
223 PyObject * _resultobj;
224 bool _arg0;
225 int tempbool0;
efc5f224 226 char *_kwnames[] = { "flag", NULL };
bb0054cd
RD
227
228 self = self;
efc5f224 229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
bb0054cd
RD
230 return NULL;
231 _arg0 = (bool ) tempbool0;
232{
233 wxPy_BEGIN_ALLOW_THREADS;
234 wxToolTip_Enable(_arg0);
235
236 wxPy_END_ALLOW_THREADS;
237} Py_INCREF(Py_None);
238 _resultobj = Py_None;
239 return _resultobj;
240}
241
efc5f224 242static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
243 PyObject * _resultobj;
244 long _arg0;
efc5f224 245 char *_kwnames[] = { "milliseconds", NULL };
bb0054cd
RD
246
247 self = self;
efc5f224 248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
bb0054cd
RD
249 return NULL;
250{
251 wxPy_BEGIN_ALLOW_THREADS;
252 wxToolTip_SetDelay(_arg0);
253
254 wxPy_END_ALLOW_THREADS;
255} Py_INCREF(Py_None);
256 _resultobj = Py_None;
257 return _resultobj;
258}
259
260#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
efc5f224 261static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
262 PyObject * _resultobj;
263 wxToolTip * _result;
264 wxString * _arg0;
265 PyObject * _obj0 = 0;
efc5f224 266 char *_kwnames[] = { "tip", NULL };
bb0054cd
RD
267 char _ptemp[128];
268
269 self = self;
efc5f224 270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
bb0054cd
RD
271 return NULL;
272{
273 if (!PyString_Check(_obj0)) {
274 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
275 return NULL;
276 }
277 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
278}
279{
280 wxPy_BEGIN_ALLOW_THREADS;
281 _result = (wxToolTip *)new_wxToolTip(*_arg0);
282
283 wxPy_END_ALLOW_THREADS;
1d99702e
RD
284} if (_result) {
285 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
286 _resultobj = Py_BuildValue("s",_ptemp);
287 } else {
288 Py_INCREF(Py_None);
289 _resultobj = Py_None;
290 }
bb0054cd
RD
291{
292 if (_obj0)
293 delete _arg0;
294}
295 return _resultobj;
296}
297
298#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
efc5f224 299static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
300 PyObject * _resultobj;
301 wxToolTip * _arg0;
302 wxString * _arg1;
1d99702e 303 PyObject * _argo0 = 0;
bb0054cd 304 PyObject * _obj1 = 0;
efc5f224 305 char *_kwnames[] = { "self","tip", NULL };
bb0054cd
RD
306
307 self = self;
efc5f224 308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
bb0054cd 309 return NULL;
1d99702e
RD
310 if (_argo0) {
311 if (_argo0 == Py_None) { _arg0 = NULL; }
312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
bb0054cd
RD
313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
314 return NULL;
315 }
316 }
317{
318 if (!PyString_Check(_obj1)) {
319 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
320 return NULL;
321 }
322 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
323}
324{
325 wxPy_BEGIN_ALLOW_THREADS;
326 wxToolTip_SetTip(_arg0,*_arg1);
327
328 wxPy_END_ALLOW_THREADS;
329} Py_INCREF(Py_None);
330 _resultobj = Py_None;
331{
332 if (_obj1)
333 delete _arg1;
334}
335 return _resultobj;
336}
337
338#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
efc5f224 339static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
340 PyObject * _resultobj;
341 wxString * _result;
342 wxToolTip * _arg0;
1d99702e 343 PyObject * _argo0 = 0;
efc5f224 344 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
345
346 self = self;
efc5f224 347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
bb0054cd 348 return NULL;
1d99702e
RD
349 if (_argo0) {
350 if (_argo0 == Py_None) { _arg0 = NULL; }
351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
bb0054cd
RD
352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
353 return NULL;
354 }
355 }
356{
357 wxPy_BEGIN_ALLOW_THREADS;
358 _result = new wxString (wxToolTip_GetTip(_arg0));
359
360 wxPy_END_ALLOW_THREADS;
361}{
362 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
363}
364{
365 delete _result;
366}
367 return _resultobj;
368}
369
370#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
efc5f224 371static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
372 PyObject * _resultobj;
373 wxWindow * _result;
374 wxToolTip * _arg0;
1d99702e 375 PyObject * _argo0 = 0;
efc5f224 376 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
377 char _ptemp[128];
378
379 self = self;
efc5f224 380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
bb0054cd 381 return NULL;
1d99702e
RD
382 if (_argo0) {
383 if (_argo0 == Py_None) { _arg0 = NULL; }
384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
bb0054cd
RD
385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
386 return NULL;
387 }
388 }
389{
390 wxPy_BEGIN_ALLOW_THREADS;
391 _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
392
393 wxPy_END_ALLOW_THREADS;
1d99702e
RD
394} if (_result) {
395 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
396 _resultobj = Py_BuildValue("s",_ptemp);
397 } else {
398 Py_INCREF(Py_None);
399 _resultobj = Py_None;
400 }
bb0054cd
RD
401 return _resultobj;
402}
403
404static PyMethodDef misc2cMethods[] = {
efc5f224
RD
405 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
406 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
407 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
408 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
409 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
410 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
411 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
412 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
bb0054cd
RD
413 { NULL, NULL }
414};
1d99702e
RD
415#ifdef __cplusplus
416}
417#endif
418/*
419 * This table is used by the pointer type-checker
420 */
421static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
422 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
423 { "_signed_long","_long",0},
424 { "_wxPrintQuality","_int",0},
425 { "_wxPrintQuality","_signed_int",0},
426 { "_wxPrintQuality","_unsigned_int",0},
427 { "_wxPrintQuality","_wxWindowID",0},
428 { "_wxPrintQuality","_uint",0},
429 { "_wxPrintQuality","_EBool",0},
430 { "_wxPrintQuality","_size_t",0},
431 { "_class_wxRegionIterator","_wxRegionIterator",0},
432 { "_class_wxMenuBar","_wxMenuBar",0},
433 { "_class_wxEvtHandler","_wxEvtHandler",0},
434 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
435 { "_wxCursor","_class_wxCursor",0},
436 { "_wxMask","_class_wxMask",0},
437 { "_wxToolTip","_class_wxToolTip",0},
438 { "_wxPen","_class_wxPen",0},
439 { "_byte","_unsigned_char",0},
440 { "_long","_wxDash",0},
441 { "_long","_unsigned_long",0},
442 { "_long","_signed_long",0},
443 { "_wxImageList","_class_wxImageList",0},
444 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
445 { "_wxDC","_class_wxDC",0},
446 { "_size_t","_wxPrintQuality",0},
447 { "_size_t","_unsigned_int",0},
448 { "_size_t","_int",0},
449 { "_size_t","_wxWindowID",0},
450 { "_size_t","_uint",0},
451 { "_class_wxRealPoint","_wxRealPoint",0},
452 { "_wxPrinterDC","_class_wxPrinterDC",0},
453 { "_class_wxMenuItem","_wxMenuItem",0},
454 { "_wxPanel","_class_wxPanel",0},
455 { "_class_wxMask","_wxMask",0},
456 { "_class_wxToolTip","_wxToolTip",0},
457 { "_wxColour","_class_wxColour",0},
458 { "_class_wxDialog","_wxDialog",0},
459 { "_wxBrush","_class_wxBrush",0},
460 { "_uint","_wxPrintQuality",0},
461 { "_uint","_size_t",0},
462 { "_uint","_unsigned_int",0},
463 { "_uint","_int",0},
464 { "_uint","_wxWindowID",0},
465 { "_wxRect","_class_wxRect",0},
466 { "_wxPoint","_class_wxPoint",0},
467 { "_wxBitmap","_class_wxBitmap",0},
468 { "_wxPyTimer","_class_wxPyTimer",0},
469 { "_wxWindowDC","_class_wxWindowDC",0},
470 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
471 { "_EBool","_wxPrintQuality",0},
472 { "_EBool","_signed_int",0},
473 { "_EBool","_int",0},
474 { "_EBool","_wxWindowID",0},
475 { "_class_wxRegion","_wxRegion",0},
476 { "_wxFont","_class_wxFont",0},
477 { "_unsigned_long","_wxDash",0},
478 { "_unsigned_long","_long",0},
479 { "_class_wxRect","_wxRect",0},
480 { "_class_wxDC","_wxDC",0},
481 { "_class_wxPyTimer","_wxPyTimer",0},
482 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
483 { "_class_wxPanel","_wxPanel",0},
484 { "_signed_int","_wxPrintQuality",0},
485 { "_signed_int","_EBool",0},
486 { "_signed_int","_wxWindowID",0},
487 { "_signed_int","_int",0},
488 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
489 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
490 { "_wxMenu","_class_wxMenu",0},
491 { "_wxScreenDC","_class_wxScreenDC",0},
492 { "_WXTYPE","_short",0},
493 { "_WXTYPE","_signed_short",0},
494 { "_WXTYPE","_unsigned_short",0},
495 { "_class_wxBrush","_wxBrush",0},
496 { "_unsigned_short","_WXTYPE",0},
497 { "_unsigned_short","_short",0},
498 { "_class_wxWindow","_wxWindow",0},
499 { "_class_wxFont","_wxFont",0},
500 { "_wxClientDC","_class_wxClientDC",0},
501 { "_class_wxPoint","_wxPoint",0},
502 { "_wxRealPoint","_class_wxRealPoint",0},
503 { "_signed_short","_WXTYPE",0},
504 { "_signed_short","_short",0},
505 { "_wxMemoryDC","_class_wxMemoryDC",0},
506 { "_wxPaintDC","_class_wxPaintDC",0},
507 { "_class_wxWindowDC","_wxWindowDC",0},
508 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
509 { "_class_wxCursor","_wxCursor",0},
510 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
511 { "_unsigned_char","_byte",0},
512 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
513 { "_class_wxMenu","_wxMenu",0},
514 { "_unsigned_int","_wxPrintQuality",0},
515 { "_unsigned_int","_size_t",0},
516 { "_unsigned_int","_uint",0},
517 { "_unsigned_int","_wxWindowID",0},
518 { "_unsigned_int","_int",0},
519 { "_wxIcon","_class_wxIcon",0},
520 { "_wxDialog","_class_wxDialog",0},
521 { "_class_wxPen","_wxPen",0},
522 { "_short","_WXTYPE",0},
523 { "_short","_unsigned_short",0},
524 { "_short","_signed_short",0},
525 { "_class_wxImageList","_wxImageList",0},
526 { "_wxWindowID","_wxPrintQuality",0},
527 { "_wxWindowID","_size_t",0},
528 { "_wxWindowID","_EBool",0},
529 { "_wxWindowID","_uint",0},
530 { "_wxWindowID","_int",0},
531 { "_wxWindowID","_signed_int",0},
532 { "_wxWindowID","_unsigned_int",0},
533 { "_int","_wxPrintQuality",0},
534 { "_int","_size_t",0},
535 { "_int","_EBool",0},
536 { "_int","_uint",0},
537 { "_int","_wxWindowID",0},
538 { "_int","_unsigned_int",0},
539 { "_int","_signed_int",0},
540 { "_wxSize","_class_wxSize",0},
541 { "_wxRegionIterator","_class_wxRegionIterator",0},
542 { "_class_wxPrinterDC","_wxPrinterDC",0},
543 { "_class_wxPaintDC","_wxPaintDC",0},
544 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
545 { "_class_wxIcon","_wxIcon",0},
546 { "_class_wxColour","_wxColour",0},
547 { "_class_wxScreenDC","_wxScreenDC",0},
548 { "_wxPalette","_class_wxPalette",0},
549 { "_wxRegion","_class_wxRegion",0},
550 { "_class_wxClientDC","_wxClientDC",0},
551 { "_class_wxSize","_wxSize",0},
552 { "_class_wxBitmap","_wxBitmap",0},
553 { "_class_wxMemoryDC","_wxMemoryDC",0},
554 { "_wxMenuBar","_class_wxMenuBar",0},
555 { "_wxEvtHandler","_class_wxEvtHandler",0},
556 { "_wxMenuItem","_class_wxMenuItem",0},
557 { "_wxDash","_unsigned_long",0},
558 { "_wxDash","_long",0},
559 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
560 { "_class_wxPalette","_wxPalette",0},
561 { "_wxWindow","_class_wxWindow",0},
562{0,0,0}};
563
bb0054cd
RD
564static PyObject *SWIG_globals;
565#ifdef __cplusplus
566extern "C"
567#endif
1d99702e 568SWIGEXPORT(void) initmisc2c() {
bb0054cd
RD
569 PyObject *m, *d;
570 SWIG_globals = SWIG_newvarlink();
571 m = Py_InitModule("misc2c", misc2cMethods);
572 d = PyModule_GetDict(m);
1d99702e
RD
573{
574 int i;
575 for (i = 0; _swig_mapping[i].n1; i++)
576 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
577}
bb0054cd 578}