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