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