]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/gizmos.cpp
Added wxDynamicSashWindow to wxPython, plus other odds and ends.
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.cpp
1 /*
2 * FILE : contrib/gizmos/gizmos.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initgizmosc
55
56 #define SWIG_name "gizmosc"
57
58 #include "export.h"
59 #include "wx/gizmos/dynamicsash.h"
60
61
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90 #else
91 static char* wxStringErrorMsg = "String type required";
92 #endif
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr) {
97 wxDynamicSashSplitEvent *src;
98 wxCommandEvent *dest;
99 src = (wxDynamicSashSplitEvent *) ptr;
100 dest = (wxCommandEvent *) src;
101 return (void *) dest;
102 }
103
104 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr) {
105 wxDynamicSashSplitEvent *src;
106 wxEvent *dest;
107 src = (wxDynamicSashSplitEvent *) ptr;
108 dest = (wxEvent *) src;
109 return (void *) dest;
110 }
111
112 static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr) {
113 wxDynamicSashSplitEvent *src;
114 wxObject *dest;
115 src = (wxDynamicSashSplitEvent *) ptr;
116 dest = (wxObject *) src;
117 return (void *) dest;
118 }
119
120 #define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
121 static PyObject *_wrap_new_wxDynamicSashSplitEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
122 PyObject * _resultobj;
123 wxDynamicSashSplitEvent * _result;
124 wxObject * _arg0;
125 PyObject * _argo0 = 0;
126 char *_kwnames[] = { "target", NULL };
127 char _ptemp[128];
128
129 self = self;
130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxDynamicSashSplitEvent",_kwnames,&_argo0))
131 return NULL;
132 if (_argo0) {
133 if (_argo0 == Py_None) { _arg0 = NULL; }
134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
136 return NULL;
137 }
138 }
139 {
140 wxPy_BEGIN_ALLOW_THREADS;
141 _result = (wxDynamicSashSplitEvent *)new_wxDynamicSashSplitEvent(_arg0);
142
143 wxPy_END_ALLOW_THREADS;
144 } if (_result) {
145 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashSplitEvent_p");
146 _resultobj = Py_BuildValue("s",_ptemp);
147 } else {
148 Py_INCREF(Py_None);
149 _resultobj = Py_None;
150 }
151 return _resultobj;
152 }
153
154 static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr) {
155 wxDynamicSashUnifyEvent *src;
156 wxCommandEvent *dest;
157 src = (wxDynamicSashUnifyEvent *) ptr;
158 dest = (wxCommandEvent *) src;
159 return (void *) dest;
160 }
161
162 static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr) {
163 wxDynamicSashUnifyEvent *src;
164 wxEvent *dest;
165 src = (wxDynamicSashUnifyEvent *) ptr;
166 dest = (wxEvent *) src;
167 return (void *) dest;
168 }
169
170 static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr) {
171 wxDynamicSashUnifyEvent *src;
172 wxObject *dest;
173 src = (wxDynamicSashUnifyEvent *) ptr;
174 dest = (wxObject *) src;
175 return (void *) dest;
176 }
177
178 #define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
179 static PyObject *_wrap_new_wxDynamicSashUnifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
180 PyObject * _resultobj;
181 wxDynamicSashUnifyEvent * _result;
182 wxObject * _arg0;
183 PyObject * _argo0 = 0;
184 char *_kwnames[] = { "target", NULL };
185 char _ptemp[128];
186
187 self = self;
188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxDynamicSashUnifyEvent",_kwnames,&_argo0))
189 return NULL;
190 if (_argo0) {
191 if (_argo0 == Py_None) { _arg0 = NULL; }
192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashUnifyEvent. Expected _wxObject_p.");
194 return NULL;
195 }
196 }
197 {
198 wxPy_BEGIN_ALLOW_THREADS;
199 _result = (wxDynamicSashUnifyEvent *)new_wxDynamicSashUnifyEvent(_arg0);
200
201 wxPy_END_ALLOW_THREADS;
202 } if (_result) {
203 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashUnifyEvent_p");
204 _resultobj = Py_BuildValue("s",_ptemp);
205 } else {
206 Py_INCREF(Py_None);
207 _resultobj = Py_None;
208 }
209 return _resultobj;
210 }
211
212 static void *SwigwxDynamicSashWindowTowxWindow(void *ptr) {
213 wxDynamicSashWindow *src;
214 wxWindow *dest;
215 src = (wxDynamicSashWindow *) ptr;
216 dest = (wxWindow *) src;
217 return (void *) dest;
218 }
219
220 static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr) {
221 wxDynamicSashWindow *src;
222 wxEvtHandler *dest;
223 src = (wxDynamicSashWindow *) ptr;
224 dest = (wxEvtHandler *) src;
225 return (void *) dest;
226 }
227
228 static void *SwigwxDynamicSashWindowTowxObject(void *ptr) {
229 wxDynamicSashWindow *src;
230 wxObject *dest;
231 src = (wxDynamicSashWindow *) ptr;
232 dest = (wxObject *) src;
233 return (void *) dest;
234 }
235
236 #define new_wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
237 static PyObject *_wrap_new_wxDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
238 PyObject * _resultobj;
239 wxDynamicSashWindow * _result;
240 wxWindow * _arg0;
241 wxWindowID _arg1;
242 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
243 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
244 long _arg4 = (long ) wxCLIP_CHILDREN|(wxDS_MANAGE_SCROLLBARS)|(wxDS_DRAG_CORNER);
245 char * _arg5 = (char *) "dynamicSashWindow";
246 PyObject * _argo0 = 0;
247 wxPoint temp;
248 PyObject * _obj2 = 0;
249 wxSize temp0;
250 PyObject * _obj3 = 0;
251 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
252 char _ptemp[128];
253
254 self = self;
255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxDynamicSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
256 return NULL;
257 if (_argo0) {
258 if (_argo0 == Py_None) { _arg0 = NULL; }
259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
261 return NULL;
262 }
263 }
264 if (_obj2)
265 {
266 _arg2 = &temp;
267 if (! wxPoint_helper(_obj2, &_arg2))
268 return NULL;
269 }
270 if (_obj3)
271 {
272 _arg3 = &temp0;
273 if (! wxSize_helper(_obj3, &_arg3))
274 return NULL;
275 }
276 {
277 wxPy_BEGIN_ALLOW_THREADS;
278 _result = (wxDynamicSashWindow *)new_wxDynamicSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
279
280 wxPy_END_ALLOW_THREADS;
281 } if (_result) {
282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashWindow_p");
283 _resultobj = Py_BuildValue("s",_ptemp);
284 } else {
285 Py_INCREF(Py_None);
286 _resultobj = Py_None;
287 }
288 return _resultobj;
289 }
290
291 #define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
292 static PyObject *_wrap_new_wxPreDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
293 PyObject * _resultobj;
294 wxDynamicSashWindow * _result;
295 char *_kwnames[] = { NULL };
296 char _ptemp[128];
297
298 self = self;
299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDynamicSashWindow",_kwnames))
300 return NULL;
301 {
302 wxPy_BEGIN_ALLOW_THREADS;
303 _result = (wxDynamicSashWindow *)new_wxPreDynamicSashWindow();
304
305 wxPy_END_ALLOW_THREADS;
306 } if (_result) {
307 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashWindow_p");
308 _resultobj = Py_BuildValue("s",_ptemp);
309 } else {
310 Py_INCREF(Py_None);
311 _resultobj = Py_None;
312 }
313 return _resultobj;
314 }
315
316 #define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
317 static PyObject *_wrap_wxDynamicSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
318 PyObject * _resultobj;
319 bool _result;
320 wxDynamicSashWindow * _arg0;
321 wxWindow * _arg1;
322 wxWindowID _arg2;
323 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
324 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
325 long _arg5 = (long ) wxCLIP_CHILDREN|(wxDS_MANAGE_SCROLLBARS)|(wxDS_DRAG_CORNER);
326 char * _arg6 = (char *) "dynamicSashWindow";
327 PyObject * _argo0 = 0;
328 PyObject * _argo1 = 0;
329 wxPoint temp;
330 PyObject * _obj3 = 0;
331 wxSize temp0;
332 PyObject * _obj4 = 0;
333 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
334
335 self = self;
336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxDynamicSashWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
337 return NULL;
338 if (_argo0) {
339 if (_argo0 == Py_None) { _arg0 = NULL; }
340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
342 return NULL;
343 }
344 }
345 if (_argo1) {
346 if (_argo1 == Py_None) { _arg1 = NULL; }
347 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
348 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
349 return NULL;
350 }
351 }
352 if (_obj3)
353 {
354 _arg3 = &temp;
355 if (! wxPoint_helper(_obj3, &_arg3))
356 return NULL;
357 }
358 if (_obj4)
359 {
360 _arg4 = &temp0;
361 if (! wxSize_helper(_obj4, &_arg4))
362 return NULL;
363 }
364 {
365 wxPy_BEGIN_ALLOW_THREADS;
366 _result = (bool )wxDynamicSashWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
367
368 wxPy_END_ALLOW_THREADS;
369 } _resultobj = Py_BuildValue("i",_result);
370 return _resultobj;
371 }
372
373 #define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
374 static PyObject *_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
375 PyObject * _resultobj;
376 wxScrollBar * _result;
377 wxDynamicSashWindow * _arg0;
378 wxWindow * _arg1;
379 PyObject * _argo0 = 0;
380 PyObject * _argo1 = 0;
381 char *_kwnames[] = { "self","child", NULL };
382 char _ptemp[128];
383
384 self = self;
385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames,&_argo0,&_argo1))
386 return NULL;
387 if (_argo0) {
388 if (_argo0 == Py_None) { _arg0 = NULL; }
389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
391 return NULL;
392 }
393 }
394 if (_argo1) {
395 if (_argo1 == Py_None) { _arg1 = NULL; }
396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
398 return NULL;
399 }
400 }
401 {
402 wxPy_BEGIN_ALLOW_THREADS;
403 _result = (wxScrollBar *)wxDynamicSashWindow_GetHScrollBar(_arg0,_arg1);
404
405 wxPy_END_ALLOW_THREADS;
406 } if (_result) {
407 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
408 _resultobj = Py_BuildValue("s",_ptemp);
409 } else {
410 Py_INCREF(Py_None);
411 _resultobj = Py_None;
412 }
413 return _resultobj;
414 }
415
416 #define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
417 static PyObject *_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
418 PyObject * _resultobj;
419 wxScrollBar * _result;
420 wxDynamicSashWindow * _arg0;
421 wxWindow * _arg1;
422 PyObject * _argo0 = 0;
423 PyObject * _argo1 = 0;
424 char *_kwnames[] = { "self","child", NULL };
425 char _ptemp[128];
426
427 self = self;
428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames,&_argo0,&_argo1))
429 return NULL;
430 if (_argo0) {
431 if (_argo0 == Py_None) { _arg0 = NULL; }
432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_GetVScrollBar. Expected _wxDynamicSashWindow_p.");
434 return NULL;
435 }
436 }
437 if (_argo1) {
438 if (_argo1 == Py_None) { _arg1 = NULL; }
439 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_GetVScrollBar. Expected _wxWindow_p.");
441 return NULL;
442 }
443 }
444 {
445 wxPy_BEGIN_ALLOW_THREADS;
446 _result = (wxScrollBar *)wxDynamicSashWindow_GetVScrollBar(_arg0,_arg1);
447
448 wxPy_END_ALLOW_THREADS;
449 } if (_result) {
450 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
451 _resultobj = Py_BuildValue("s",_ptemp);
452 } else {
453 Py_INCREF(Py_None);
454 _resultobj = Py_None;
455 }
456 return _resultobj;
457 }
458
459 static PyMethodDef gizmoscMethods[] = {
460 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_wxDynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS },
461 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_wxDynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS },
462 { "wxDynamicSashWindow_Create", (PyCFunction) _wrap_wxDynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
463 { "new_wxPreDynamicSashWindow", (PyCFunction) _wrap_new_wxPreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
464 { "new_wxDynamicSashWindow", (PyCFunction) _wrap_new_wxDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
465 { "new_wxDynamicSashUnifyEvent", (PyCFunction) _wrap_new_wxDynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS },
466 { "new_wxDynamicSashSplitEvent", (PyCFunction) _wrap_new_wxDynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS },
467 { NULL, NULL }
468 };
469 #ifdef __cplusplus
470 }
471 #endif
472 /*
473 * This table is used by the pointer type-checker
474 */
475 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
476 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent},
477 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent},
478 { "_signed_long","_long",0},
479 { "_wxPrintQuality","_wxCoord",0},
480 { "_wxPrintQuality","_int",0},
481 { "_wxPrintQuality","_signed_int",0},
482 { "_wxPrintQuality","_unsigned_int",0},
483 { "_wxPrintQuality","_wxWindowID",0},
484 { "_wxPrintQuality","_uint",0},
485 { "_wxPrintQuality","_EBool",0},
486 { "_wxPrintQuality","_size_t",0},
487 { "_wxPrintQuality","_time_t",0},
488 { "_byte","_unsigned_char",0},
489 { "_long","_unsigned_long",0},
490 { "_long","_signed_long",0},
491 { "_size_t","_wxCoord",0},
492 { "_size_t","_wxPrintQuality",0},
493 { "_size_t","_time_t",0},
494 { "_size_t","_unsigned_int",0},
495 { "_size_t","_int",0},
496 { "_size_t","_wxWindowID",0},
497 { "_size_t","_uint",0},
498 { "_uint","_wxCoord",0},
499 { "_uint","_wxPrintQuality",0},
500 { "_uint","_time_t",0},
501 { "_uint","_size_t",0},
502 { "_uint","_unsigned_int",0},
503 { "_uint","_int",0},
504 { "_uint","_wxWindowID",0},
505 { "_wxChar","_char",0},
506 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent},
507 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent},
508 { "_char","_wxChar",0},
509 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
510 { "_EBool","_wxCoord",0},
511 { "_EBool","_wxPrintQuality",0},
512 { "_EBool","_signed_int",0},
513 { "_EBool","_int",0},
514 { "_EBool","_wxWindowID",0},
515 { "_unsigned_long","_long",0},
516 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
517 { "_signed_int","_wxCoord",0},
518 { "_signed_int","_wxPrintQuality",0},
519 { "_signed_int","_EBool",0},
520 { "_signed_int","_wxWindowID",0},
521 { "_signed_int","_int",0},
522 { "_WXTYPE","_wxDateTime_t",0},
523 { "_WXTYPE","_short",0},
524 { "_WXTYPE","_signed_short",0},
525 { "_WXTYPE","_unsigned_short",0},
526 { "_unsigned_short","_wxDateTime_t",0},
527 { "_unsigned_short","_WXTYPE",0},
528 { "_unsigned_short","_short",0},
529 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject},
530 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject},
531 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject},
532 { "_signed_short","_WXTYPE",0},
533 { "_signed_short","_short",0},
534 { "_unsigned_char","_byte",0},
535 { "_unsigned_int","_wxCoord",0},
536 { "_unsigned_int","_wxPrintQuality",0},
537 { "_unsigned_int","_time_t",0},
538 { "_unsigned_int","_size_t",0},
539 { "_unsigned_int","_uint",0},
540 { "_unsigned_int","_wxWindowID",0},
541 { "_unsigned_int","_int",0},
542 { "_short","_wxDateTime_t",0},
543 { "_short","_WXTYPE",0},
544 { "_short","_unsigned_short",0},
545 { "_short","_signed_short",0},
546 { "_wxWindowID","_wxCoord",0},
547 { "_wxWindowID","_wxPrintQuality",0},
548 { "_wxWindowID","_time_t",0},
549 { "_wxWindowID","_size_t",0},
550 { "_wxWindowID","_EBool",0},
551 { "_wxWindowID","_uint",0},
552 { "_wxWindowID","_int",0},
553 { "_wxWindowID","_signed_int",0},
554 { "_wxWindowID","_unsigned_int",0},
555 { "_int","_wxCoord",0},
556 { "_int","_wxPrintQuality",0},
557 { "_int","_time_t",0},
558 { "_int","_size_t",0},
559 { "_int","_EBool",0},
560 { "_int","_uint",0},
561 { "_int","_wxWindowID",0},
562 { "_int","_unsigned_int",0},
563 { "_int","_signed_int",0},
564 { "_wxDateTime_t","_unsigned_short",0},
565 { "_wxDateTime_t","_short",0},
566 { "_wxDateTime_t","_WXTYPE",0},
567 { "_time_t","_wxCoord",0},
568 { "_time_t","_wxPrintQuality",0},
569 { "_time_t","_unsigned_int",0},
570 { "_time_t","_int",0},
571 { "_time_t","_wxWindowID",0},
572 { "_time_t","_uint",0},
573 { "_time_t","_size_t",0},
574 { "_wxCoord","_int",0},
575 { "_wxCoord","_signed_int",0},
576 { "_wxCoord","_unsigned_int",0},
577 { "_wxCoord","_wxWindowID",0},
578 { "_wxCoord","_uint",0},
579 { "_wxCoord","_EBool",0},
580 { "_wxCoord","_size_t",0},
581 { "_wxCoord","_time_t",0},
582 { "_wxCoord","_wxPrintQuality",0},
583 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler},
584 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow},
585 {0,0,0}};
586
587 static PyObject *SWIG_globals;
588 #ifdef __cplusplus
589 extern "C"
590 #endif
591 SWIGEXPORT(void) initgizmosc() {
592 PyObject *m, *d;
593 SWIG_globals = SWIG_newvarlink();
594 m = Py_InitModule("gizmosc", gizmoscMethods);
595 d = PyModule_GetDict(m);
596 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT));
597 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY));
598 PyDict_SetItemString(d,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS));
599 PyDict_SetItemString(d,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER));
600
601
602 wxClassInfo::CleanUpClasses();
603 wxClassInfo::InitializeClasses();
604
605 {
606 int i;
607 for (i = 0; _swig_mapping[i].n1; i++)
608 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
609 }
610 }