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