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