]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows3.cpp
Finished the changes necessary to use the new event system.
[wxWidgets.git] / wxPython / src / gtk / windows3.cpp
1 /*
2 * FILE : src/gtk/windows3.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 #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 initwindows3c
53
54 #define SWIG_name "windows3c"
55
56 #include "helpers.h"
57 #include <wx/sashwin.h>
58 #include <wx/laywin.h>
59
60 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
61 PyObject* o2;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106 static char* wxStringErrorMsg = "string type is required for parameter";
107 #ifdef __cplusplus
108 extern "C" {
109 #endif
110 static void *SwigwxSashEventTowxCommandEvent(void *ptr) {
111 wxSashEvent *src;
112 wxCommandEvent *dest;
113 src = (wxSashEvent *) ptr;
114 dest = (wxCommandEvent *) src;
115 return (void *) dest;
116 }
117
118 static void *SwigwxSashEventTowxEvent(void *ptr) {
119 wxSashEvent *src;
120 wxEvent *dest;
121 src = (wxSashEvent *) ptr;
122 dest = (wxEvent *) src;
123 return (void *) dest;
124 }
125
126 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
127 static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
128 PyObject * _resultobj;
129 wxSashEvent * _arg0;
130 wxSashEdgePosition _arg1;
131 PyObject * _argo0 = 0;
132 char *_kwnames[] = { "self","edge", NULL };
133
134 self = self;
135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetEdge",_kwnames,&_argo0,&_arg1))
136 return NULL;
137 if (_argo0) {
138 if (_argo0 == Py_None) { _arg0 = NULL; }
139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
141 return NULL;
142 }
143 }
144 {
145 wxPy_BEGIN_ALLOW_THREADS;
146 wxSashEvent_SetEdge(_arg0,_arg1);
147
148 wxPy_END_ALLOW_THREADS;
149 } Py_INCREF(Py_None);
150 _resultobj = Py_None;
151 return _resultobj;
152 }
153
154 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
155 static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
156 PyObject * _resultobj;
157 wxSashEdgePosition _result;
158 wxSashEvent * _arg0;
159 PyObject * _argo0 = 0;
160 char *_kwnames[] = { "self", NULL };
161
162 self = self;
163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetEdge",_kwnames,&_argo0))
164 return NULL;
165 if (_argo0) {
166 if (_argo0 == Py_None) { _arg0 = NULL; }
167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
169 return NULL;
170 }
171 }
172 {
173 wxPy_BEGIN_ALLOW_THREADS;
174 _result = (wxSashEdgePosition )wxSashEvent_GetEdge(_arg0);
175
176 wxPy_END_ALLOW_THREADS;
177 } _resultobj = Py_BuildValue("i",_result);
178 return _resultobj;
179 }
180
181 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
182 static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
183 PyObject * _resultobj;
184 wxSashEvent * _arg0;
185 wxRect * _arg1;
186 PyObject * _argo0 = 0;
187 wxRect temp;
188 PyObject * _obj1 = 0;
189 char *_kwnames[] = { "self","rect", NULL };
190
191 self = self;
192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_obj1))
193 return NULL;
194 if (_argo0) {
195 if (_argo0 == Py_None) { _arg0 = NULL; }
196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
198 return NULL;
199 }
200 }
201 {
202 _arg1 = &temp;
203 if (! wxRect_helper(_obj1, &_arg1))
204 return NULL;
205 }
206 {
207 wxPy_BEGIN_ALLOW_THREADS;
208 wxSashEvent_SetDragRect(_arg0,*_arg1);
209
210 wxPy_END_ALLOW_THREADS;
211 } Py_INCREF(Py_None);
212 _resultobj = Py_None;
213 return _resultobj;
214 }
215
216 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
217 static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
218 PyObject * _resultobj;
219 wxRect * _result;
220 wxSashEvent * _arg0;
221 PyObject * _argo0 = 0;
222 char *_kwnames[] = { "self", NULL };
223 char _ptemp[128];
224
225 self = self;
226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragRect",_kwnames,&_argo0))
227 return NULL;
228 if (_argo0) {
229 if (_argo0 == Py_None) { _arg0 = NULL; }
230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
232 return NULL;
233 }
234 }
235 {
236 wxPy_BEGIN_ALLOW_THREADS;
237 _result = new wxRect (wxSashEvent_GetDragRect(_arg0));
238
239 wxPy_END_ALLOW_THREADS;
240 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
241 _resultobj = Py_BuildValue("s",_ptemp);
242 return _resultobj;
243 }
244
245 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
246 static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
247 PyObject * _resultobj;
248 wxSashEvent * _arg0;
249 wxSashDragStatus _arg1;
250 PyObject * _argo0 = 0;
251 char *_kwnames[] = { "self","status", NULL };
252
253 self = self;
254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetDragStatus",_kwnames,&_argo0,&_arg1))
255 return NULL;
256 if (_argo0) {
257 if (_argo0 == Py_None) { _arg0 = NULL; }
258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
260 return NULL;
261 }
262 }
263 {
264 wxPy_BEGIN_ALLOW_THREADS;
265 wxSashEvent_SetDragStatus(_arg0,_arg1);
266
267 wxPy_END_ALLOW_THREADS;
268 } Py_INCREF(Py_None);
269 _resultobj = Py_None;
270 return _resultobj;
271 }
272
273 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
274 static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
275 PyObject * _resultobj;
276 wxSashDragStatus _result;
277 wxSashEvent * _arg0;
278 PyObject * _argo0 = 0;
279 char *_kwnames[] = { "self", NULL };
280
281 self = self;
282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragStatus",_kwnames,&_argo0))
283 return NULL;
284 if (_argo0) {
285 if (_argo0 == Py_None) { _arg0 = NULL; }
286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
288 return NULL;
289 }
290 }
291 {
292 wxPy_BEGIN_ALLOW_THREADS;
293 _result = (wxSashDragStatus )wxSashEvent_GetDragStatus(_arg0);
294
295 wxPy_END_ALLOW_THREADS;
296 } _resultobj = Py_BuildValue("i",_result);
297 return _resultobj;
298 }
299
300 static void *SwigwxSashWindowTowxWindow(void *ptr) {
301 wxSashWindow *src;
302 wxWindow *dest;
303 src = (wxSashWindow *) ptr;
304 dest = (wxWindow *) src;
305 return (void *) dest;
306 }
307
308 static void *SwigwxSashWindowTowxEvtHandler(void *ptr) {
309 wxSashWindow *src;
310 wxEvtHandler *dest;
311 src = (wxSashWindow *) ptr;
312 dest = (wxEvtHandler *) src;
313 return (void *) dest;
314 }
315
316 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
317 static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
318 PyObject * _resultobj;
319 wxSashWindow * _result;
320 wxWindow * _arg0;
321 wxWindowID _arg1;
322 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
323 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
324 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
325 char * _arg5 = (char *) "sashWindow";
326 PyObject * _argo0 = 0;
327 wxPoint temp;
328 PyObject * _obj2 = 0;
329 wxSize temp0;
330 PyObject * _obj3 = 0;
331 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
332 char _ptemp[128];
333
334 self = self;
335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
336 return NULL;
337 if (_argo0) {
338 if (_argo0 == Py_None) { _arg0 = NULL; }
339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
341 return NULL;
342 }
343 }
344 if (_obj2)
345 {
346 _arg2 = &temp;
347 if (! wxPoint_helper(_obj2, &_arg2))
348 return NULL;
349 }
350 if (_obj3)
351 {
352 _arg3 = &temp0;
353 if (! wxSize_helper(_obj3, &_arg3))
354 return NULL;
355 }
356 {
357 wxPy_BEGIN_ALLOW_THREADS;
358 _result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
359
360 wxPy_END_ALLOW_THREADS;
361 } if (_result) {
362 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
363 _resultobj = Py_BuildValue("s",_ptemp);
364 } else {
365 Py_INCREF(Py_None);
366 _resultobj = Py_None;
367 }
368 return _resultobj;
369 }
370
371 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
372 static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
373 PyObject * _resultobj;
374 bool _result;
375 wxSashWindow * _arg0;
376 wxSashEdgePosition _arg1;
377 PyObject * _argo0 = 0;
378 char *_kwnames[] = { "self","edge", NULL };
379
380 self = self;
381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetSashVisible",_kwnames,&_argo0,&_arg1))
382 return NULL;
383 if (_argo0) {
384 if (_argo0 == Py_None) { _arg0 = NULL; }
385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
387 return NULL;
388 }
389 }
390 {
391 wxPy_BEGIN_ALLOW_THREADS;
392 _result = (bool )wxSashWindow_GetSashVisible(_arg0,_arg1);
393
394 wxPy_END_ALLOW_THREADS;
395 } _resultobj = Py_BuildValue("i",_result);
396 return _resultobj;
397 }
398
399 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
400 static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
401 PyObject * _resultobj;
402 int _result;
403 wxSashWindow * _arg0;
404 PyObject * _argo0 = 0;
405 char *_kwnames[] = { "self", NULL };
406
407 self = self;
408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetDefaultBorderSize",_kwnames,&_argo0))
409 return NULL;
410 if (_argo0) {
411 if (_argo0 == Py_None) { _arg0 = NULL; }
412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
414 return NULL;
415 }
416 }
417 {
418 wxPy_BEGIN_ALLOW_THREADS;
419 _result = (int )wxSashWindow_GetDefaultBorderSize(_arg0);
420
421 wxPy_END_ALLOW_THREADS;
422 } _resultobj = Py_BuildValue("i",_result);
423 return _resultobj;
424 }
425
426 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
427 static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
428 PyObject * _resultobj;
429 int _result;
430 wxSashWindow * _arg0;
431 wxSashEdgePosition _arg1;
432 PyObject * _argo0 = 0;
433 char *_kwnames[] = { "self","edge", NULL };
434
435 self = self;
436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetEdgeMargin",_kwnames,&_argo0,&_arg1))
437 return NULL;
438 if (_argo0) {
439 if (_argo0 == Py_None) { _arg0 = NULL; }
440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
442 return NULL;
443 }
444 }
445 {
446 wxPy_BEGIN_ALLOW_THREADS;
447 _result = (int )wxSashWindow_GetEdgeMargin(_arg0,_arg1);
448
449 wxPy_END_ALLOW_THREADS;
450 } _resultobj = Py_BuildValue("i",_result);
451 return _resultobj;
452 }
453
454 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
455 static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
456 PyObject * _resultobj;
457 int _result;
458 wxSashWindow * _arg0;
459 PyObject * _argo0 = 0;
460 char *_kwnames[] = { "self", NULL };
461
462 self = self;
463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetExtraBorderSize",_kwnames,&_argo0))
464 return NULL;
465 if (_argo0) {
466 if (_argo0 == Py_None) { _arg0 = NULL; }
467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
469 return NULL;
470 }
471 }
472 {
473 wxPy_BEGIN_ALLOW_THREADS;
474 _result = (int )wxSashWindow_GetExtraBorderSize(_arg0);
475
476 wxPy_END_ALLOW_THREADS;
477 } _resultobj = Py_BuildValue("i",_result);
478 return _resultobj;
479 }
480
481 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
482 static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
483 PyObject * _resultobj;
484 int _result;
485 wxSashWindow * _arg0;
486 PyObject * _argo0 = 0;
487 char *_kwnames[] = { "self", NULL };
488
489 self = self;
490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeX",_kwnames,&_argo0))
491 return NULL;
492 if (_argo0) {
493 if (_argo0 == Py_None) { _arg0 = NULL; }
494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
496 return NULL;
497 }
498 }
499 {
500 wxPy_BEGIN_ALLOW_THREADS;
501 _result = (int )wxSashWindow_GetMaximumSizeX(_arg0);
502
503 wxPy_END_ALLOW_THREADS;
504 } _resultobj = Py_BuildValue("i",_result);
505 return _resultobj;
506 }
507
508 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
509 static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
510 PyObject * _resultobj;
511 int _result;
512 wxSashWindow * _arg0;
513 PyObject * _argo0 = 0;
514 char *_kwnames[] = { "self", NULL };
515
516 self = self;
517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeY",_kwnames,&_argo0))
518 return NULL;
519 if (_argo0) {
520 if (_argo0 == Py_None) { _arg0 = NULL; }
521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
523 return NULL;
524 }
525 }
526 {
527 wxPy_BEGIN_ALLOW_THREADS;
528 _result = (int )wxSashWindow_GetMaximumSizeY(_arg0);
529
530 wxPy_END_ALLOW_THREADS;
531 } _resultobj = Py_BuildValue("i",_result);
532 return _resultobj;
533 }
534
535 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
536 static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
537 PyObject * _resultobj;
538 int _result;
539 wxSashWindow * _arg0;
540 PyObject * _argo0 = 0;
541 char *_kwnames[] = { "self", NULL };
542
543 self = self;
544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeX",_kwnames,&_argo0))
545 return NULL;
546 if (_argo0) {
547 if (_argo0 == Py_None) { _arg0 = NULL; }
548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
550 return NULL;
551 }
552 }
553 {
554 wxPy_BEGIN_ALLOW_THREADS;
555 _result = (int )wxSashWindow_GetMinimumSizeX(_arg0);
556
557 wxPy_END_ALLOW_THREADS;
558 } _resultobj = Py_BuildValue("i",_result);
559 return _resultobj;
560 }
561
562 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
563 static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
564 PyObject * _resultobj;
565 int _result;
566 wxSashWindow * _arg0;
567 PyObject * _argo0 = 0;
568 char *_kwnames[] = { "self", NULL };
569
570 self = self;
571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeY",_kwnames,&_argo0))
572 return NULL;
573 if (_argo0) {
574 if (_argo0 == Py_None) { _arg0 = NULL; }
575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
577 return NULL;
578 }
579 }
580 {
581 wxPy_BEGIN_ALLOW_THREADS;
582 _result = (int )wxSashWindow_GetMinimumSizeY(_arg0);
583
584 wxPy_END_ALLOW_THREADS;
585 } _resultobj = Py_BuildValue("i",_result);
586 return _resultobj;
587 }
588
589 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
590 static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
591 PyObject * _resultobj;
592 bool _result;
593 wxSashWindow * _arg0;
594 wxSashEdgePosition _arg1;
595 PyObject * _argo0 = 0;
596 char *_kwnames[] = { "self","edge", NULL };
597
598 self = self;
599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_HasBorder",_kwnames,&_argo0,&_arg1))
600 return NULL;
601 if (_argo0) {
602 if (_argo0 == Py_None) { _arg0 = NULL; }
603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
605 return NULL;
606 }
607 }
608 {
609 wxPy_BEGIN_ALLOW_THREADS;
610 _result = (bool )wxSashWindow_HasBorder(_arg0,_arg1);
611
612 wxPy_END_ALLOW_THREADS;
613 } _resultobj = Py_BuildValue("i",_result);
614 return _resultobj;
615 }
616
617 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
618 static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
619 PyObject * _resultobj;
620 wxSashWindow * _arg0;
621 int _arg1;
622 PyObject * _argo0 = 0;
623 char *_kwnames[] = { "self","width", NULL };
624
625 self = self;
626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames,&_argo0,&_arg1))
627 return NULL;
628 if (_argo0) {
629 if (_argo0 == Py_None) { _arg0 = NULL; }
630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
632 return NULL;
633 }
634 }
635 {
636 wxPy_BEGIN_ALLOW_THREADS;
637 wxSashWindow_SetDefaultBorderSize(_arg0,_arg1);
638
639 wxPy_END_ALLOW_THREADS;
640 } Py_INCREF(Py_None);
641 _resultobj = Py_None;
642 return _resultobj;
643 }
644
645 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
646 static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
647 PyObject * _resultobj;
648 wxSashWindow * _arg0;
649 int _arg1;
650 PyObject * _argo0 = 0;
651 char *_kwnames[] = { "self","width", NULL };
652
653 self = self;
654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames,&_argo0,&_arg1))
655 return NULL;
656 if (_argo0) {
657 if (_argo0 == Py_None) { _arg0 = NULL; }
658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
660 return NULL;
661 }
662 }
663 {
664 wxPy_BEGIN_ALLOW_THREADS;
665 wxSashWindow_SetExtraBorderSize(_arg0,_arg1);
666
667 wxPy_END_ALLOW_THREADS;
668 } Py_INCREF(Py_None);
669 _resultobj = Py_None;
670 return _resultobj;
671 }
672
673 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
674 static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
675 PyObject * _resultobj;
676 wxSashWindow * _arg0;
677 int _arg1;
678 PyObject * _argo0 = 0;
679 char *_kwnames[] = { "self","min", NULL };
680
681 self = self;
682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames,&_argo0,&_arg1))
683 return NULL;
684 if (_argo0) {
685 if (_argo0 == Py_None) { _arg0 = NULL; }
686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
688 return NULL;
689 }
690 }
691 {
692 wxPy_BEGIN_ALLOW_THREADS;
693 wxSashWindow_SetMaximumSizeX(_arg0,_arg1);
694
695 wxPy_END_ALLOW_THREADS;
696 } Py_INCREF(Py_None);
697 _resultobj = Py_None;
698 return _resultobj;
699 }
700
701 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
702 static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
703 PyObject * _resultobj;
704 wxSashWindow * _arg0;
705 int _arg1;
706 PyObject * _argo0 = 0;
707 char *_kwnames[] = { "self","min", NULL };
708
709 self = self;
710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames,&_argo0,&_arg1))
711 return NULL;
712 if (_argo0) {
713 if (_argo0 == Py_None) { _arg0 = NULL; }
714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
716 return NULL;
717 }
718 }
719 {
720 wxPy_BEGIN_ALLOW_THREADS;
721 wxSashWindow_SetMaximumSizeY(_arg0,_arg1);
722
723 wxPy_END_ALLOW_THREADS;
724 } Py_INCREF(Py_None);
725 _resultobj = Py_None;
726 return _resultobj;
727 }
728
729 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
730 static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
731 PyObject * _resultobj;
732 wxSashWindow * _arg0;
733 int _arg1;
734 PyObject * _argo0 = 0;
735 char *_kwnames[] = { "self","min", NULL };
736
737 self = self;
738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames,&_argo0,&_arg1))
739 return NULL;
740 if (_argo0) {
741 if (_argo0 == Py_None) { _arg0 = NULL; }
742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
744 return NULL;
745 }
746 }
747 {
748 wxPy_BEGIN_ALLOW_THREADS;
749 wxSashWindow_SetMinimumSizeX(_arg0,_arg1);
750
751 wxPy_END_ALLOW_THREADS;
752 } Py_INCREF(Py_None);
753 _resultobj = Py_None;
754 return _resultobj;
755 }
756
757 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
758 static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
759 PyObject * _resultobj;
760 wxSashWindow * _arg0;
761 int _arg1;
762 PyObject * _argo0 = 0;
763 char *_kwnames[] = { "self","min", NULL };
764
765 self = self;
766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames,&_argo0,&_arg1))
767 return NULL;
768 if (_argo0) {
769 if (_argo0 == Py_None) { _arg0 = NULL; }
770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
772 return NULL;
773 }
774 }
775 {
776 wxPy_BEGIN_ALLOW_THREADS;
777 wxSashWindow_SetMinimumSizeY(_arg0,_arg1);
778
779 wxPy_END_ALLOW_THREADS;
780 } Py_INCREF(Py_None);
781 _resultobj = Py_None;
782 return _resultobj;
783 }
784
785 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
786 static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
787 PyObject * _resultobj;
788 wxSashWindow * _arg0;
789 wxSashEdgePosition _arg1;
790 bool _arg2;
791 PyObject * _argo0 = 0;
792 int tempbool2;
793 char *_kwnames[] = { "self","edge","visible", NULL };
794
795 self = self;
796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
797 return NULL;
798 if (_argo0) {
799 if (_argo0 == Py_None) { _arg0 = NULL; }
800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
802 return NULL;
803 }
804 }
805 _arg2 = (bool ) tempbool2;
806 {
807 wxPy_BEGIN_ALLOW_THREADS;
808 wxSashWindow_SetSashVisible(_arg0,_arg1,_arg2);
809
810 wxPy_END_ALLOW_THREADS;
811 } Py_INCREF(Py_None);
812 _resultobj = Py_None;
813 return _resultobj;
814 }
815
816 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
817 static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
818 PyObject * _resultobj;
819 wxSashWindow * _arg0;
820 wxSashEdgePosition _arg1;
821 bool _arg2;
822 PyObject * _argo0 = 0;
823 int tempbool2;
824 char *_kwnames[] = { "self","edge","hasBorder", NULL };
825
826 self = self;
827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashBorder",_kwnames,&_argo0,&_arg1,&tempbool2))
828 return NULL;
829 if (_argo0) {
830 if (_argo0 == Py_None) { _arg0 = NULL; }
831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
833 return NULL;
834 }
835 }
836 _arg2 = (bool ) tempbool2;
837 {
838 wxPy_BEGIN_ALLOW_THREADS;
839 wxSashWindow_SetSashBorder(_arg0,_arg1,_arg2);
840
841 wxPy_END_ALLOW_THREADS;
842 } Py_INCREF(Py_None);
843 _resultobj = Py_None;
844 return _resultobj;
845 }
846
847 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) {
848 wxQueryLayoutInfoEvent *src;
849 wxEvent *dest;
850 src = (wxQueryLayoutInfoEvent *) ptr;
851 dest = (wxEvent *) src;
852 return (void *) dest;
853 }
854
855 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
856 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
857 PyObject * _resultobj;
858 wxQueryLayoutInfoEvent * _arg0;
859 int _arg1;
860 PyObject * _argo0 = 0;
861 char *_kwnames[] = { "self","length", NULL };
862
863 self = self;
864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames,&_argo0,&_arg1))
865 return NULL;
866 if (_argo0) {
867 if (_argo0 == Py_None) { _arg0 = NULL; }
868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
870 return NULL;
871 }
872 }
873 {
874 wxPy_BEGIN_ALLOW_THREADS;
875 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0,_arg1);
876
877 wxPy_END_ALLOW_THREADS;
878 } Py_INCREF(Py_None);
879 _resultobj = Py_None;
880 return _resultobj;
881 }
882
883 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
884 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
885 PyObject * _resultobj;
886 int _result;
887 wxQueryLayoutInfoEvent * _arg0;
888 PyObject * _argo0 = 0;
889 char *_kwnames[] = { "self", NULL };
890
891 self = self;
892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames,&_argo0))
893 return NULL;
894 if (_argo0) {
895 if (_argo0 == Py_None) { _arg0 = NULL; }
896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
898 return NULL;
899 }
900 }
901 {
902 wxPy_BEGIN_ALLOW_THREADS;
903 _result = (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0);
904
905 wxPy_END_ALLOW_THREADS;
906 } _resultobj = Py_BuildValue("i",_result);
907 return _resultobj;
908 }
909
910 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
911 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
912 PyObject * _resultobj;
913 wxQueryLayoutInfoEvent * _arg0;
914 int _arg1;
915 PyObject * _argo0 = 0;
916 char *_kwnames[] = { "self","flags", NULL };
917
918 self = self;
919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames,&_argo0,&_arg1))
920 return NULL;
921 if (_argo0) {
922 if (_argo0 == Py_None) { _arg0 = NULL; }
923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
925 return NULL;
926 }
927 }
928 {
929 wxPy_BEGIN_ALLOW_THREADS;
930 wxQueryLayoutInfoEvent_SetFlags(_arg0,_arg1);
931
932 wxPy_END_ALLOW_THREADS;
933 } Py_INCREF(Py_None);
934 _resultobj = Py_None;
935 return _resultobj;
936 }
937
938 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
939 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
940 PyObject * _resultobj;
941 int _result;
942 wxQueryLayoutInfoEvent * _arg0;
943 PyObject * _argo0 = 0;
944 char *_kwnames[] = { "self", NULL };
945
946 self = self;
947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames,&_argo0))
948 return NULL;
949 if (_argo0) {
950 if (_argo0 == Py_None) { _arg0 = NULL; }
951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
953 return NULL;
954 }
955 }
956 {
957 wxPy_BEGIN_ALLOW_THREADS;
958 _result = (int )wxQueryLayoutInfoEvent_GetFlags(_arg0);
959
960 wxPy_END_ALLOW_THREADS;
961 } _resultobj = Py_BuildValue("i",_result);
962 return _resultobj;
963 }
964
965 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
966 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
967 PyObject * _resultobj;
968 wxQueryLayoutInfoEvent * _arg0;
969 wxSize * _arg1;
970 PyObject * _argo0 = 0;
971 wxSize temp;
972 PyObject * _obj1 = 0;
973 char *_kwnames[] = { "self","size", NULL };
974
975 self = self;
976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_obj1))
977 return NULL;
978 if (_argo0) {
979 if (_argo0 == Py_None) { _arg0 = NULL; }
980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
982 return NULL;
983 }
984 }
985 {
986 _arg1 = &temp;
987 if (! wxSize_helper(_obj1, &_arg1))
988 return NULL;
989 }
990 {
991 wxPy_BEGIN_ALLOW_THREADS;
992 wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
993
994 wxPy_END_ALLOW_THREADS;
995 } Py_INCREF(Py_None);
996 _resultobj = Py_None;
997 return _resultobj;
998 }
999
1000 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1001 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1002 PyObject * _resultobj;
1003 wxSize * _result;
1004 wxQueryLayoutInfoEvent * _arg0;
1005 PyObject * _argo0 = 0;
1006 char *_kwnames[] = { "self", NULL };
1007 char _ptemp[128];
1008
1009 self = self;
1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames,&_argo0))
1011 return NULL;
1012 if (_argo0) {
1013 if (_argo0 == Py_None) { _arg0 = NULL; }
1014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1016 return NULL;
1017 }
1018 }
1019 {
1020 wxPy_BEGIN_ALLOW_THREADS;
1021 _result = new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0));
1022
1023 wxPy_END_ALLOW_THREADS;
1024 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1025 _resultobj = Py_BuildValue("s",_ptemp);
1026 return _resultobj;
1027 }
1028
1029 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1030 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1031 PyObject * _resultobj;
1032 wxQueryLayoutInfoEvent * _arg0;
1033 wxLayoutOrientation _arg1;
1034 PyObject * _argo0 = 0;
1035 char *_kwnames[] = { "self","orient", NULL };
1036
1037 self = self;
1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames,&_argo0,&_arg1))
1039 return NULL;
1040 if (_argo0) {
1041 if (_argo0 == Py_None) { _arg0 = NULL; }
1042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1044 return NULL;
1045 }
1046 }
1047 {
1048 wxPy_BEGIN_ALLOW_THREADS;
1049 wxQueryLayoutInfoEvent_SetOrientation(_arg0,_arg1);
1050
1051 wxPy_END_ALLOW_THREADS;
1052 } Py_INCREF(Py_None);
1053 _resultobj = Py_None;
1054 return _resultobj;
1055 }
1056
1057 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1058 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject * _resultobj;
1060 wxLayoutOrientation _result;
1061 wxQueryLayoutInfoEvent * _arg0;
1062 PyObject * _argo0 = 0;
1063 char *_kwnames[] = { "self", NULL };
1064
1065 self = self;
1066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames,&_argo0))
1067 return NULL;
1068 if (_argo0) {
1069 if (_argo0 == Py_None) { _arg0 = NULL; }
1070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1072 return NULL;
1073 }
1074 }
1075 {
1076 wxPy_BEGIN_ALLOW_THREADS;
1077 _result = (wxLayoutOrientation )wxQueryLayoutInfoEvent_GetOrientation(_arg0);
1078
1079 wxPy_END_ALLOW_THREADS;
1080 } _resultobj = Py_BuildValue("i",_result);
1081 return _resultobj;
1082 }
1083
1084 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1085 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1086 PyObject * _resultobj;
1087 wxQueryLayoutInfoEvent * _arg0;
1088 wxLayoutAlignment _arg1;
1089 PyObject * _argo0 = 0;
1090 char *_kwnames[] = { "self","align", NULL };
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames,&_argo0,&_arg1))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1099 return NULL;
1100 }
1101 }
1102 {
1103 wxPy_BEGIN_ALLOW_THREADS;
1104 wxQueryLayoutInfoEvent_SetAlignment(_arg0,_arg1);
1105
1106 wxPy_END_ALLOW_THREADS;
1107 } Py_INCREF(Py_None);
1108 _resultobj = Py_None;
1109 return _resultobj;
1110 }
1111
1112 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1113 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1114 PyObject * _resultobj;
1115 wxLayoutAlignment _result;
1116 wxQueryLayoutInfoEvent * _arg0;
1117 PyObject * _argo0 = 0;
1118 char *_kwnames[] = { "self", NULL };
1119
1120 self = self;
1121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames,&_argo0))
1122 return NULL;
1123 if (_argo0) {
1124 if (_argo0 == Py_None) { _arg0 = NULL; }
1125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1127 return NULL;
1128 }
1129 }
1130 {
1131 wxPy_BEGIN_ALLOW_THREADS;
1132 _result = (wxLayoutAlignment )wxQueryLayoutInfoEvent_GetAlignment(_arg0);
1133
1134 wxPy_END_ALLOW_THREADS;
1135 } _resultobj = Py_BuildValue("i",_result);
1136 return _resultobj;
1137 }
1138
1139 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) {
1140 wxCalculateLayoutEvent *src;
1141 wxEvent *dest;
1142 src = (wxCalculateLayoutEvent *) ptr;
1143 dest = (wxEvent *) src;
1144 return (void *) dest;
1145 }
1146
1147 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1148 static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1149 PyObject * _resultobj;
1150 wxCalculateLayoutEvent * _arg0;
1151 int _arg1;
1152 PyObject * _argo0 = 0;
1153 char *_kwnames[] = { "self","flags", NULL };
1154
1155 self = self;
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames,&_argo0,&_arg1))
1157 return NULL;
1158 if (_argo0) {
1159 if (_argo0 == Py_None) { _arg0 = NULL; }
1160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1162 return NULL;
1163 }
1164 }
1165 {
1166 wxPy_BEGIN_ALLOW_THREADS;
1167 wxCalculateLayoutEvent_SetFlags(_arg0,_arg1);
1168
1169 wxPy_END_ALLOW_THREADS;
1170 } Py_INCREF(Py_None);
1171 _resultobj = Py_None;
1172 return _resultobj;
1173 }
1174
1175 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1176 static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject * _resultobj;
1178 int _result;
1179 wxCalculateLayoutEvent * _arg0;
1180 PyObject * _argo0 = 0;
1181 char *_kwnames[] = { "self", NULL };
1182
1183 self = self;
1184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetFlags",_kwnames,&_argo0))
1185 return NULL;
1186 if (_argo0) {
1187 if (_argo0 == Py_None) { _arg0 = NULL; }
1188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1190 return NULL;
1191 }
1192 }
1193 {
1194 wxPy_BEGIN_ALLOW_THREADS;
1195 _result = (int )wxCalculateLayoutEvent_GetFlags(_arg0);
1196
1197 wxPy_END_ALLOW_THREADS;
1198 } _resultobj = Py_BuildValue("i",_result);
1199 return _resultobj;
1200 }
1201
1202 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1203 static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1204 PyObject * _resultobj;
1205 wxCalculateLayoutEvent * _arg0;
1206 wxRect * _arg1;
1207 PyObject * _argo0 = 0;
1208 wxRect temp;
1209 PyObject * _obj1 = 0;
1210 char *_kwnames[] = { "self","rect", NULL };
1211
1212 self = self;
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_obj1))
1214 return NULL;
1215 if (_argo0) {
1216 if (_argo0 == Py_None) { _arg0 = NULL; }
1217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1219 return NULL;
1220 }
1221 }
1222 {
1223 _arg1 = &temp;
1224 if (! wxRect_helper(_obj1, &_arg1))
1225 return NULL;
1226 }
1227 {
1228 wxPy_BEGIN_ALLOW_THREADS;
1229 wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
1230
1231 wxPy_END_ALLOW_THREADS;
1232 } Py_INCREF(Py_None);
1233 _resultobj = Py_None;
1234 return _resultobj;
1235 }
1236
1237 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1238 static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject * _resultobj;
1240 wxRect * _result;
1241 wxCalculateLayoutEvent * _arg0;
1242 PyObject * _argo0 = 0;
1243 char *_kwnames[] = { "self", NULL };
1244 char _ptemp[128];
1245
1246 self = self;
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetRect",_kwnames,&_argo0))
1248 return NULL;
1249 if (_argo0) {
1250 if (_argo0 == Py_None) { _arg0 = NULL; }
1251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1253 return NULL;
1254 }
1255 }
1256 {
1257 wxPy_BEGIN_ALLOW_THREADS;
1258 _result = new wxRect (wxCalculateLayoutEvent_GetRect(_arg0));
1259
1260 wxPy_END_ALLOW_THREADS;
1261 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1262 _resultobj = Py_BuildValue("s",_ptemp);
1263 return _resultobj;
1264 }
1265
1266 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr) {
1267 wxSashLayoutWindow *src;
1268 wxSashWindow *dest;
1269 src = (wxSashLayoutWindow *) ptr;
1270 dest = (wxSashWindow *) src;
1271 return (void *) dest;
1272 }
1273
1274 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr) {
1275 wxSashLayoutWindow *src;
1276 wxWindow *dest;
1277 src = (wxSashLayoutWindow *) ptr;
1278 dest = (wxWindow *) src;
1279 return (void *) dest;
1280 }
1281
1282 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) {
1283 wxSashLayoutWindow *src;
1284 wxEvtHandler *dest;
1285 src = (wxSashLayoutWindow *) ptr;
1286 dest = (wxEvtHandler *) src;
1287 return (void *) dest;
1288 }
1289
1290 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1291 static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject * _resultobj;
1293 wxSashLayoutWindow * _result;
1294 wxWindow * _arg0;
1295 wxWindowID _arg1;
1296 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1297 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1298 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
1299 char * _arg5 = (char *) "layoutWindow";
1300 PyObject * _argo0 = 0;
1301 wxPoint temp;
1302 PyObject * _obj2 = 0;
1303 wxSize temp0;
1304 PyObject * _obj3 = 0;
1305 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1306 char _ptemp[128];
1307
1308 self = self;
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
1310 return NULL;
1311 if (_argo0) {
1312 if (_argo0 == Py_None) { _arg0 = NULL; }
1313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1315 return NULL;
1316 }
1317 }
1318 if (_obj2)
1319 {
1320 _arg2 = &temp;
1321 if (! wxPoint_helper(_obj2, &_arg2))
1322 return NULL;
1323 }
1324 if (_obj3)
1325 {
1326 _arg3 = &temp0;
1327 if (! wxSize_helper(_obj3, &_arg3))
1328 return NULL;
1329 }
1330 {
1331 wxPy_BEGIN_ALLOW_THREADS;
1332 _result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1333
1334 wxPy_END_ALLOW_THREADS;
1335 } if (_result) {
1336 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1337 _resultobj = Py_BuildValue("s",_ptemp);
1338 } else {
1339 Py_INCREF(Py_None);
1340 _resultobj = Py_None;
1341 }
1342 return _resultobj;
1343 }
1344
1345 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1346 static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1347 PyObject * _resultobj;
1348 wxLayoutAlignment _result;
1349 wxSashLayoutWindow * _arg0;
1350 PyObject * _argo0 = 0;
1351 char *_kwnames[] = { "self", NULL };
1352
1353 self = self;
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetAlignment",_kwnames,&_argo0))
1355 return NULL;
1356 if (_argo0) {
1357 if (_argo0 == Py_None) { _arg0 = NULL; }
1358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1360 return NULL;
1361 }
1362 }
1363 {
1364 wxPy_BEGIN_ALLOW_THREADS;
1365 _result = (wxLayoutAlignment )wxSashLayoutWindow_GetAlignment(_arg0);
1366
1367 wxPy_END_ALLOW_THREADS;
1368 } _resultobj = Py_BuildValue("i",_result);
1369 return _resultobj;
1370 }
1371
1372 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1373 static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1374 PyObject * _resultobj;
1375 wxLayoutOrientation _result;
1376 wxSashLayoutWindow * _arg0;
1377 PyObject * _argo0 = 0;
1378 char *_kwnames[] = { "self", NULL };
1379
1380 self = self;
1381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetOrientation",_kwnames,&_argo0))
1382 return NULL;
1383 if (_argo0) {
1384 if (_argo0 == Py_None) { _arg0 = NULL; }
1385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1387 return NULL;
1388 }
1389 }
1390 {
1391 wxPy_BEGIN_ALLOW_THREADS;
1392 _result = (wxLayoutOrientation )wxSashLayoutWindow_GetOrientation(_arg0);
1393
1394 wxPy_END_ALLOW_THREADS;
1395 } _resultobj = Py_BuildValue("i",_result);
1396 return _resultobj;
1397 }
1398
1399 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1400 static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject * _resultobj;
1402 wxSashLayoutWindow * _arg0;
1403 wxLayoutAlignment _arg1;
1404 PyObject * _argo0 = 0;
1405 char *_kwnames[] = { "self","alignment", NULL };
1406
1407 self = self;
1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames,&_argo0,&_arg1))
1409 return NULL;
1410 if (_argo0) {
1411 if (_argo0 == Py_None) { _arg0 = NULL; }
1412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1414 return NULL;
1415 }
1416 }
1417 {
1418 wxPy_BEGIN_ALLOW_THREADS;
1419 wxSashLayoutWindow_SetAlignment(_arg0,_arg1);
1420
1421 wxPy_END_ALLOW_THREADS;
1422 } Py_INCREF(Py_None);
1423 _resultobj = Py_None;
1424 return _resultobj;
1425 }
1426
1427 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1428 static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject * _resultobj;
1430 wxSashLayoutWindow * _arg0;
1431 wxSize * _arg1;
1432 PyObject * _argo0 = 0;
1433 wxSize temp;
1434 PyObject * _obj1 = 0;
1435 char *_kwnames[] = { "self","size", NULL };
1436
1437 self = self;
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_obj1))
1439 return NULL;
1440 if (_argo0) {
1441 if (_argo0 == Py_None) { _arg0 = NULL; }
1442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1444 return NULL;
1445 }
1446 }
1447 {
1448 _arg1 = &temp;
1449 if (! wxSize_helper(_obj1, &_arg1))
1450 return NULL;
1451 }
1452 {
1453 wxPy_BEGIN_ALLOW_THREADS;
1454 wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
1455
1456 wxPy_END_ALLOW_THREADS;
1457 } Py_INCREF(Py_None);
1458 _resultobj = Py_None;
1459 return _resultobj;
1460 }
1461
1462 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1463 static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1464 PyObject * _resultobj;
1465 wxSashLayoutWindow * _arg0;
1466 wxLayoutOrientation _arg1;
1467 PyObject * _argo0 = 0;
1468 char *_kwnames[] = { "self","orientation", NULL };
1469
1470 self = self;
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames,&_argo0,&_arg1))
1472 return NULL;
1473 if (_argo0) {
1474 if (_argo0 == Py_None) { _arg0 = NULL; }
1475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1477 return NULL;
1478 }
1479 }
1480 {
1481 wxPy_BEGIN_ALLOW_THREADS;
1482 wxSashLayoutWindow_SetOrientation(_arg0,_arg1);
1483
1484 wxPy_END_ALLOW_THREADS;
1485 } Py_INCREF(Py_None);
1486 _resultobj = Py_None;
1487 return _resultobj;
1488 }
1489
1490 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1491 static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject * _resultobj;
1493 wxLayoutAlgorithm * _result;
1494 char *_kwnames[] = { NULL };
1495 char _ptemp[128];
1496
1497 self = self;
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutAlgorithm",_kwnames))
1499 return NULL;
1500 {
1501 wxPy_BEGIN_ALLOW_THREADS;
1502 _result = (wxLayoutAlgorithm *)new_wxLayoutAlgorithm();
1503
1504 wxPy_END_ALLOW_THREADS;
1505 } if (_result) {
1506 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutAlgorithm_p");
1507 _resultobj = Py_BuildValue("s",_ptemp);
1508 } else {
1509 Py_INCREF(Py_None);
1510 _resultobj = Py_None;
1511 }
1512 return _resultobj;
1513 }
1514
1515 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1516 static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject * _resultobj;
1518 wxLayoutAlgorithm * _arg0;
1519 PyObject * _argo0 = 0;
1520 char *_kwnames[] = { "self", NULL };
1521
1522 self = self;
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLayoutAlgorithm",_kwnames,&_argo0))
1524 return NULL;
1525 if (_argo0) {
1526 if (_argo0 == Py_None) { _arg0 = NULL; }
1527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1529 return NULL;
1530 }
1531 }
1532 {
1533 wxPy_BEGIN_ALLOW_THREADS;
1534 delete_wxLayoutAlgorithm(_arg0);
1535
1536 wxPy_END_ALLOW_THREADS;
1537 } Py_INCREF(Py_None);
1538 _resultobj = Py_None;
1539 return _resultobj;
1540 }
1541
1542 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1543 static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1544 PyObject * _resultobj;
1545 bool _result;
1546 wxLayoutAlgorithm * _arg0;
1547 wxMDIParentFrame * _arg1;
1548 wxRect * _arg2 = (wxRect *) NULL;
1549 PyObject * _argo0 = 0;
1550 PyObject * _argo1 = 0;
1551 wxRect temp;
1552 PyObject * _obj2 = 0;
1553 char *_kwnames[] = { "self","frame","rect", NULL };
1554
1555 self = self;
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_obj2))
1557 return NULL;
1558 if (_argo0) {
1559 if (_argo0 == Py_None) { _arg0 = NULL; }
1560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1562 return NULL;
1563 }
1564 }
1565 if (_argo1) {
1566 if (_argo1 == Py_None) { _arg1 = NULL; }
1567 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
1568 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1569 return NULL;
1570 }
1571 }
1572 if (_obj2)
1573 {
1574 _arg2 = &temp;
1575 if (! wxRect_helper(_obj2, &_arg2))
1576 return NULL;
1577 }
1578 {
1579 wxPy_BEGIN_ALLOW_THREADS;
1580 _result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
1581
1582 wxPy_END_ALLOW_THREADS;
1583 } _resultobj = Py_BuildValue("i",_result);
1584 return _resultobj;
1585 }
1586
1587 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1588 static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1589 PyObject * _resultobj;
1590 bool _result;
1591 wxLayoutAlgorithm * _arg0;
1592 wxFrame * _arg1;
1593 wxWindow * _arg2 = (wxWindow *) NULL;
1594 PyObject * _argo0 = 0;
1595 PyObject * _argo1 = 0;
1596 PyObject * _argo2 = 0;
1597 char *_kwnames[] = { "self","frame","mainWindow", NULL };
1598
1599 self = self;
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames,&_argo0,&_argo1,&_argo2))
1601 return NULL;
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1606 return NULL;
1607 }
1608 }
1609 if (_argo1) {
1610 if (_argo1 == Py_None) { _arg1 = NULL; }
1611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
1612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1613 return NULL;
1614 }
1615 }
1616 if (_argo2) {
1617 if (_argo2 == Py_None) { _arg2 = NULL; }
1618 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1619 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1620 return NULL;
1621 }
1622 }
1623 {
1624 wxPy_BEGIN_ALLOW_THREADS;
1625 _result = (bool )wxLayoutAlgorithm_LayoutFrame(_arg0,_arg1,_arg2);
1626
1627 wxPy_END_ALLOW_THREADS;
1628 } _resultobj = Py_BuildValue("i",_result);
1629 return _resultobj;
1630 }
1631
1632 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1633 static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1634 PyObject * _resultobj;
1635 bool _result;
1636 wxLayoutAlgorithm * _arg0;
1637 wxWindow * _arg1;
1638 wxWindow * _arg2 = (wxWindow *) NULL;
1639 PyObject * _argo0 = 0;
1640 PyObject * _argo1 = 0;
1641 PyObject * _argo2 = 0;
1642 char *_kwnames[] = { "self","parent","mainWindow", NULL };
1643
1644 self = self;
1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames,&_argo0,&_argo1,&_argo2))
1646 return NULL;
1647 if (_argo0) {
1648 if (_argo0 == Py_None) { _arg0 = NULL; }
1649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
1651 return NULL;
1652 }
1653 }
1654 if (_argo1) {
1655 if (_argo1 == Py_None) { _arg1 = NULL; }
1656 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1658 return NULL;
1659 }
1660 }
1661 if (_argo2) {
1662 if (_argo2 == Py_None) { _arg2 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1664 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1665 return NULL;
1666 }
1667 }
1668 {
1669 wxPy_BEGIN_ALLOW_THREADS;
1670 _result = (bool )wxLayoutAlgorithm_LayoutWindow(_arg0,_arg1,_arg2);
1671
1672 wxPy_END_ALLOW_THREADS;
1673 } _resultobj = Py_BuildValue("i",_result);
1674 return _resultobj;
1675 }
1676
1677 static PyMethodDef windows3cMethods[] = {
1678 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
1679 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
1680 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
1681 { "delete_wxLayoutAlgorithm", (PyCFunction) _wrap_delete_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
1682 { "new_wxLayoutAlgorithm", (PyCFunction) _wrap_new_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
1683 { "wxSashLayoutWindow_SetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
1684 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
1685 { "wxSashLayoutWindow_SetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
1686 { "wxSashLayoutWindow_GetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
1687 { "wxSashLayoutWindow_GetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
1688 { "new_wxSashLayoutWindow", (PyCFunction) _wrap_new_wxSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
1689 { "wxCalculateLayoutEvent_GetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
1690 { "wxCalculateLayoutEvent_SetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
1691 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
1692 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
1693 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
1694 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
1695 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
1696 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
1697 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
1698 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
1699 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
1700 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
1701 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
1702 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
1703 { "wxSashWindow_SetSashBorder", (PyCFunction) _wrap_wxSashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
1704 { "wxSashWindow_SetSashVisible", (PyCFunction) _wrap_wxSashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
1705 { "wxSashWindow_SetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
1706 { "wxSashWindow_SetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
1707 { "wxSashWindow_SetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
1708 { "wxSashWindow_SetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
1709 { "wxSashWindow_SetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
1710 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
1711 { "wxSashWindow_HasBorder", (PyCFunction) _wrap_wxSashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
1712 { "wxSashWindow_GetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
1713 { "wxSashWindow_GetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
1714 { "wxSashWindow_GetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
1715 { "wxSashWindow_GetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
1716 { "wxSashWindow_GetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
1717 { "wxSashWindow_GetEdgeMargin", (PyCFunction) _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
1718 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
1719 { "wxSashWindow_GetSashVisible", (PyCFunction) _wrap_wxSashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
1720 { "new_wxSashWindow", (PyCFunction) _wrap_new_wxSashWindow, METH_VARARGS | METH_KEYWORDS },
1721 { "wxSashEvent_GetDragStatus", (PyCFunction) _wrap_wxSashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
1722 { "wxSashEvent_SetDragStatus", (PyCFunction) _wrap_wxSashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
1723 { "wxSashEvent_GetDragRect", (PyCFunction) _wrap_wxSashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
1724 { "wxSashEvent_SetDragRect", (PyCFunction) _wrap_wxSashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
1725 { "wxSashEvent_GetEdge", (PyCFunction) _wrap_wxSashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
1726 { "wxSashEvent_SetEdge", (PyCFunction) _wrap_wxSashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
1727 { NULL, NULL }
1728 };
1729 #ifdef __cplusplus
1730 }
1731 #endif
1732 /*
1733 * This table is used by the pointer type-checker
1734 */
1735 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1736 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1737 { "_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1738 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1739 { "_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1740 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1741 { "_wxEvent","_class_wxSashEvent",SwigwxSashEventTowxEvent},
1742 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
1743 { "_wxEvent","_class_wxEvent",0},
1744 { "_class_wxActivateEvent","_wxActivateEvent",0},
1745 { "_signed_long","_long",0},
1746 { "_wxMenuEvent","_class_wxMenuEvent",0},
1747 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1748 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1749 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1750 { "_wxPrintQuality","_wxCoord",0},
1751 { "_wxPrintQuality","_int",0},
1752 { "_wxPrintQuality","_signed_int",0},
1753 { "_wxPrintQuality","_unsigned_int",0},
1754 { "_wxPrintQuality","_wxWindowID",0},
1755 { "_wxPrintQuality","_uint",0},
1756 { "_wxPrintQuality","_EBool",0},
1757 { "_wxPrintQuality","_size_t",0},
1758 { "_wxPrintQuality","_time_t",0},
1759 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1760 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1761 { "_class_wxRegionIterator","_wxRegionIterator",0},
1762 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1763 { "_class_wxMenuBar","_wxMenuBar",0},
1764 { "_class_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
1765 { "_class_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
1766 { "_class_wxEvtHandler","_class_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
1767 { "_class_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
1768 { "_class_wxEvtHandler","_wxEvtHandler",0},
1769 { "_wxPaintEvent","_class_wxPaintEvent",0},
1770 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1771 { "_wxCursor","_class_wxCursor",0},
1772 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1773 { "_class_wxToolBarBase","_wxToolBarBase",0},
1774 { "_wxMask","_class_wxMask",0},
1775 { "_wxPen","_class_wxPen",0},
1776 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1777 { "_byte","_unsigned_char",0},
1778 { "_wxDataObject","_class_wxDataObject",0},
1779 { "_wxStaticBox","_class_wxStaticBox",0},
1780 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1781 { "_wxPyDropSource","_class_wxPyDropSource",0},
1782 { "_wxChoice","_class_wxChoice",0},
1783 { "_wxSlider","_class_wxSlider",0},
1784 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
1785 { "_long","_unsigned_long",0},
1786 { "_long","_signed_long",0},
1787 { "_wxImageList","_class_wxImageList",0},
1788 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1789 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1790 { "_wxBitmapButton","_class_wxBitmapButton",0},
1791 { "_wxSashWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
1792 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
1793 { "_wxSashWindow","_class_wxSashWindow",0},
1794 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1795 { "_class_wxClipboard","_wxClipboard",0},
1796 { "_class_wxGauge","_wxGauge",0},
1797 { "_class_wxSashEvent","_wxSashEvent",0},
1798 { "_wxDC","_class_wxDC",0},
1799 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1800 { "_wxSpinEvent","_class_wxSpinEvent",0},
1801 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
1802 { "_size_t","_wxCoord",0},
1803 { "_size_t","_wxPrintQuality",0},
1804 { "_size_t","_time_t",0},
1805 { "_size_t","_unsigned_int",0},
1806 { "_size_t","_int",0},
1807 { "_size_t","_wxWindowID",0},
1808 { "_size_t","_uint",0},
1809 { "_class_wxRealPoint","_wxRealPoint",0},
1810 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1811 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1812 { "_class_wxMenuItem","_wxMenuItem",0},
1813 { "_class_wxPaintEvent","_wxPaintEvent",0},
1814 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1815 { "_class_wxStatusBar","_wxStatusBar",0},
1816 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1817 { "_wxPanel","_class_wxPanel",0},
1818 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1819 { "_wxCheckBox","_class_wxCheckBox",0},
1820 { "_wxPyEvent","_class_wxPyEvent",0},
1821 { "_wxTextCtrl","_class_wxTextCtrl",0},
1822 { "_class_wxMask","_wxMask",0},
1823 { "_wxTextDataObject","_class_wxTextDataObject",0},
1824 { "_class_wxKeyEvent","_wxKeyEvent",0},
1825 { "_wxColour","_class_wxColour",0},
1826 { "_class_wxDialog","_wxDialog",0},
1827 { "_class_wxFileDataObject","_wxFileDataObject",0},
1828 { "_wxIdleEvent","_class_wxIdleEvent",0},
1829 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1830 { "_wxToolBar","_class_wxToolBar",0},
1831 { "_class_wxDataObject","_wxDataObject",0},
1832 { "_wxStaticLine","_class_wxStaticLine",0},
1833 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
1834 { "_wxBrush","_class_wxBrush",0},
1835 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
1836 { "_wxMiniFrame","_class_wxMiniFrame",0},
1837 { "_wxDataFormat","_class_wxDataFormat",0},
1838 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1839 { "_class_wxSashWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
1840 { "_class_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
1841 { "_class_wxSashWindow","_wxSashWindow",0},
1842 { "_wxShowEvent","_class_wxShowEvent",0},
1843 { "_uint","_wxCoord",0},
1844 { "_uint","_wxPrintQuality",0},
1845 { "_uint","_time_t",0},
1846 { "_uint","_size_t",0},
1847 { "_uint","_unsigned_int",0},
1848 { "_uint","_int",0},
1849 { "_uint","_wxWindowID",0},
1850 { "_wxChar","_char",0},
1851 { "_wxPyValidator","_class_wxPyValidator",0},
1852 { "_class_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1853 { "_class_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1854 { "_class_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1855 { "_class_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1856 { "_class_wxEvent","_class_wxSashEvent",SwigwxSashEventTowxEvent},
1857 { "_class_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
1858 { "_class_wxEvent","_wxEvent",0},
1859 { "_wxCheckListBox","_class_wxCheckListBox",0},
1860 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
1861 { "_wxRect","_class_wxRect",0},
1862 { "_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent},
1863 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
1864 { "_wxCommandEvent","_class_wxCommandEvent",0},
1865 { "_wxSizeEvent","_class_wxSizeEvent",0},
1866 { "_wxPoint","_class_wxPoint",0},
1867 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
1868 { "_class_wxButton","_wxButton",0},
1869 { "_wxRadioBox","_class_wxRadioBox",0},
1870 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1871 { "_char","_wxChar",0},
1872 { "_wxBitmap","_class_wxBitmap",0},
1873 { "_wxWindowDC","_class_wxWindowDC",0},
1874 { "_wxTimerEvent","_class_wxTimerEvent",0},
1875 { "_wxScrollBar","_class_wxScrollBar",0},
1876 { "_wxSpinButton","_class_wxSpinButton",0},
1877 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1878 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1879 { "_class_wxValidator","_wxValidator",0},
1880 { "_class_wxPyEvent","_wxPyEvent",0},
1881 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1882 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1883 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
1884 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
1885 { "_class_wxToolBar","_wxToolBar",0},
1886 { "_wxDropTarget","_class_wxDropTarget",0},
1887 { "_class_wxStaticLine","_wxStaticLine",0},
1888 { "_wxScrollEvent","_class_wxScrollEvent",0},
1889 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
1890 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
1891 { "_EBool","_wxCoord",0},
1892 { "_EBool","_wxPrintQuality",0},
1893 { "_EBool","_signed_int",0},
1894 { "_EBool","_int",0},
1895 { "_EBool","_wxWindowID",0},
1896 { "_class_wxRegion","_wxRegion",0},
1897 { "_class_wxDataFormat","_wxDataFormat",0},
1898 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1899 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1900 { "_wxStaticText","_class_wxStaticText",0},
1901 { "_wxFont","_class_wxFont",0},
1902 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1903 { "_wxCloseEvent","_class_wxCloseEvent",0},
1904 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
1905 { "_wxNotebook","_class_wxNotebook",0},
1906 { "_unsigned_long","_long",0},
1907 { "_class_wxRect","_wxRect",0},
1908 { "_class_wxDC","_wxDC",0},
1909 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1910 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1911 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1912 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
1913 { "_wxFocusEvent","_class_wxFocusEvent",0},
1914 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1915 { "_class_wxTimerEvent","_wxTimerEvent",0},
1916 { "_class_wxSpinButton","_wxSpinButton",0},
1917 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1918 { "_class_wxPanel","_wxPanel",0},
1919 { "_class_wxCheckBox","_wxCheckBox",0},
1920 { "_wxComboBox","_class_wxComboBox",0},
1921 { "_wxRadioButton","_class_wxRadioButton",0},
1922 { "_signed_int","_wxCoord",0},
1923 { "_signed_int","_wxPrintQuality",0},
1924 { "_signed_int","_EBool",0},
1925 { "_signed_int","_wxWindowID",0},
1926 { "_signed_int","_int",0},
1927 { "_class_wxTextCtrl","_wxTextCtrl",0},
1928 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1929 { "_class_wxTextDataObject","_wxTextDataObject",0},
1930 { "_wxMenu","_class_wxMenu",0},
1931 { "_class_wxMoveEvent","_wxMoveEvent",0},
1932 { "_wxListBox","_class_wxListBox",0},
1933 { "_wxScreenDC","_class_wxScreenDC",0},
1934 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
1935 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
1936 { "_WXTYPE","_short",0},
1937 { "_WXTYPE","_signed_short",0},
1938 { "_WXTYPE","_unsigned_short",0},
1939 { "_class_wxDropTarget","_wxDropTarget",0},
1940 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
1941 { "_class_wxBrush","_wxBrush",0},
1942 { "_unsigned_short","_WXTYPE",0},
1943 { "_unsigned_short","_short",0},
1944 { "_class_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
1945 { "_class_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
1946 { "_class_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow},
1947 { "_class_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
1948 { "_class_wxWindow","_wxWindow",0},
1949 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
1950 { "_class_wxStaticText","_wxStaticText",0},
1951 { "_class_wxFont","_wxFont",0},
1952 { "_wxClipboard","_class_wxClipboard",0},
1953 { "_class_wxPyValidator","_wxPyValidator",0},
1954 { "_class_wxCloseEvent","_wxCloseEvent",0},
1955 { "_wxSashEvent","_class_wxSashEvent",0},
1956 { "_wxBusyInfo","_class_wxBusyInfo",0},
1957 { "_class_wxMenuEvent","_wxMenuEvent",0},
1958 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1959 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1960 { "_wxClientDC","_class_wxClientDC",0},
1961 { "_wxMouseEvent","_class_wxMouseEvent",0},
1962 { "_class_wxPoint","_wxPoint",0},
1963 { "_wxRealPoint","_class_wxRealPoint",0},
1964 { "_class_wxRadioBox","_wxRadioBox",0},
1965 { "_signed_short","_WXTYPE",0},
1966 { "_signed_short","_short",0},
1967 { "_wxMemoryDC","_class_wxMemoryDC",0},
1968 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1969 { "_wxPaintDC","_class_wxPaintDC",0},
1970 { "_class_wxWindowDC","_wxWindowDC",0},
1971 { "_class_wxFocusEvent","_wxFocusEvent",0},
1972 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1973 { "_wxStatusBar","_class_wxStatusBar",0},
1974 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1975 { "_class_wxCursor","_wxCursor",0},
1976 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1977 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1978 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1979 { "_unsigned_char","_byte",0},
1980 { "_class_wxMenu","_wxMenu",0},
1981 { "_wxControl","_class_wxControl",0},
1982 { "_class_wxListBox","_wxListBox",0},
1983 { "_unsigned_int","_wxCoord",0},
1984 { "_unsigned_int","_wxPrintQuality",0},
1985 { "_unsigned_int","_time_t",0},
1986 { "_unsigned_int","_size_t",0},
1987 { "_unsigned_int","_uint",0},
1988 { "_unsigned_int","_wxWindowID",0},
1989 { "_unsigned_int","_int",0},
1990 { "_wxIcon","_class_wxIcon",0},
1991 { "_wxDialog","_class_wxDialog",0},
1992 { "_class_wxPen","_wxPen",0},
1993 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
1994 { "_short","_WXTYPE",0},
1995 { "_short","_unsigned_short",0},
1996 { "_short","_signed_short",0},
1997 { "_class_wxStaticBox","_wxStaticBox",0},
1998 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
1999 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2000 { "_class_wxPyDropSource","_wxPyDropSource",0},
2001 { "_class_wxScrollEvent","_wxScrollEvent",0},
2002 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2003 { "_class_wxChoice","_wxChoice",0},
2004 { "_class_wxSlider","_wxSlider",0},
2005 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2006 { "_class_wxImageList","_wxImageList",0},
2007 { "_class_wxBitmapButton","_wxBitmapButton",0},
2008 { "_wxFrame","_class_wxFrame",0},
2009 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2010 { "_class_wxNotebook","_wxNotebook",0},
2011 { "_wxWindowID","_wxCoord",0},
2012 { "_wxWindowID","_wxPrintQuality",0},
2013 { "_wxWindowID","_time_t",0},
2014 { "_wxWindowID","_size_t",0},
2015 { "_wxWindowID","_EBool",0},
2016 { "_wxWindowID","_uint",0},
2017 { "_wxWindowID","_int",0},
2018 { "_wxWindowID","_signed_int",0},
2019 { "_wxWindowID","_unsigned_int",0},
2020 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2021 { "_int","_wxCoord",0},
2022 { "_int","_wxPrintQuality",0},
2023 { "_int","_time_t",0},
2024 { "_int","_size_t",0},
2025 { "_int","_EBool",0},
2026 { "_int","_uint",0},
2027 { "_int","_wxWindowID",0},
2028 { "_int","_unsigned_int",0},
2029 { "_int","_signed_int",0},
2030 { "_class_wxMouseEvent","_wxMouseEvent",0},
2031 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2032 { "_class_wxSpinEvent","_wxSpinEvent",0},
2033 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2034 { "_time_t","_wxCoord",0},
2035 { "_time_t","_wxPrintQuality",0},
2036 { "_time_t","_unsigned_int",0},
2037 { "_time_t","_int",0},
2038 { "_time_t","_wxWindowID",0},
2039 { "_time_t","_uint",0},
2040 { "_time_t","_size_t",0},
2041 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2042 { "_wxButton","_class_wxButton",0},
2043 { "_wxSize","_class_wxSize",0},
2044 { "_wxRegionIterator","_class_wxRegionIterator",0},
2045 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2046 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2047 { "_class_wxPaintDC","_wxPaintDC",0},
2048 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2049 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2050 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2051 { "_class_wxComboBox","_wxComboBox",0},
2052 { "_class_wxRadioButton","_wxRadioButton",0},
2053 { "_wxValidator","_class_wxValidator",0},
2054 { "_wxToolBarBase","_class_wxToolBarBase",0},
2055 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2056 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2057 { "_class_wxControl","_wxControl",0},
2058 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2059 { "_class_wxIcon","_wxIcon",0},
2060 { "_class_wxColour","_wxColour",0},
2061 { "_class_wxScreenDC","_wxScreenDC",0},
2062 { "_wxPalette","_class_wxPalette",0},
2063 { "_class_wxIdleEvent","_wxIdleEvent",0},
2064 { "_wxCoord","_int",0},
2065 { "_wxCoord","_signed_int",0},
2066 { "_wxCoord","_unsigned_int",0},
2067 { "_wxCoord","_wxWindowID",0},
2068 { "_wxCoord","_uint",0},
2069 { "_wxCoord","_EBool",0},
2070 { "_wxCoord","_size_t",0},
2071 { "_wxCoord","_time_t",0},
2072 { "_wxCoord","_wxPrintQuality",0},
2073 { "_wxEraseEvent","_class_wxEraseEvent",0},
2074 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2075 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2076 { "_class_wxMiniFrame","_wxMiniFrame",0},
2077 { "_wxRegion","_class_wxRegion",0},
2078 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2079 { "_class_wxShowEvent","_wxShowEvent",0},
2080 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2081 { "_wxActivateEvent","_class_wxActivateEvent",0},
2082 { "_wxGauge","_class_wxGauge",0},
2083 { "_class_wxCheckListBox","_wxCheckListBox",0},
2084 { "_class_wxBusyInfo","_wxBusyInfo",0},
2085 { "_class_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent},
2086 { "_class_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
2087 { "_class_wxCommandEvent","_wxCommandEvent",0},
2088 { "_class_wxClientDC","_wxClientDC",0},
2089 { "_class_wxSizeEvent","_wxSizeEvent",0},
2090 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2091 { "_class_wxSize","_wxSize",0},
2092 { "_class_wxBitmap","_wxBitmap",0},
2093 { "_class_wxMemoryDC","_wxMemoryDC",0},
2094 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2095 { "_wxMenuBar","_class_wxMenuBar",0},
2096 { "_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
2097 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
2098 { "_wxEvtHandler","_class_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
2099 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
2100 { "_wxEvtHandler","_class_wxEvtHandler",0},
2101 { "_wxMenuItem","_class_wxMenuItem",0},
2102 { "_class_wxScrollBar","_wxScrollBar",0},
2103 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2104 { "_wxKeyEvent","_class_wxKeyEvent",0},
2105 { "_wxMoveEvent","_class_wxMoveEvent",0},
2106 { "_class_wxPalette","_wxPalette",0},
2107 { "_wxFileDataObject","_class_wxFileDataObject",0},
2108 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
2109 { "_class_wxEraseEvent","_wxEraseEvent",0},
2110 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
2111 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2112 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
2113 { "_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
2114 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
2115 { "_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow},
2116 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
2117 { "_wxWindow","_class_wxWindow",0},
2118 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2119 { "_class_wxFrame","_wxFrame",0},
2120 {0,0,0}};
2121
2122 static PyObject *SWIG_globals;
2123 #ifdef __cplusplus
2124 extern "C"
2125 #endif
2126 SWIGEXPORT(void) initwindows3c() {
2127 PyObject *m, *d;
2128 SWIG_globals = SWIG_newvarlink();
2129 m = Py_InitModule("windows3c", windows3cMethods);
2130 d = PyModule_GetDict(m);
2131 PyDict_SetItemString(d,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP));
2132 PyDict_SetItemString(d,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT));
2133 PyDict_SetItemString(d,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM));
2134 PyDict_SetItemString(d,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT));
2135 PyDict_SetItemString(d,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE));
2136 PyDict_SetItemString(d,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED));
2137 PyDict_SetItemString(d,"wxSW_3D", PyInt_FromLong((long) wxSW_3D));
2138 PyDict_SetItemString(d,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH));
2139 PyDict_SetItemString(d,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER));
2140 PyDict_SetItemString(d,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER));
2141 PyDict_SetItemString(d,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK));
2142 PyDict_SetItemString(d,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE));
2143 PyDict_SetItemString(d,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL));
2144 PyDict_SetItemString(d,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL));
2145 PyDict_SetItemString(d,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE));
2146 PyDict_SetItemString(d,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP));
2147 PyDict_SetItemString(d,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT));
2148 PyDict_SetItemString(d,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT));
2149 PyDict_SetItemString(d,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM));
2150 PyDict_SetItemString(d,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO));
2151 PyDict_SetItemString(d,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT));
2152 {
2153 int i;
2154 for (i = 0; _swig_mapping[i].n1; i++)
2155 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2156 }
2157 }