2 * FILE : src/mac/windows3.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows3c
56 #define SWIG_name "windows3c"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
62 #include <wx/popupwin.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg
= "String or Unicode type required";
95 static char* wxStringErrorMsg
= "String type required";
100 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
102 wxCommandEvent
*dest
;
103 src
= (wxSashEvent
*) ptr
;
104 dest
= (wxCommandEvent
*) src
;
105 return (void *) dest
;
108 static void *SwigwxSashEventTowxEvent(void *ptr
) {
111 src
= (wxSashEvent
*) ptr
;
112 dest
= (wxEvent
*) src
;
113 return (void *) dest
;
116 static void *SwigwxSashEventTowxObject(void *ptr
) {
119 src
= (wxSashEvent
*) ptr
;
120 dest
= (wxObject
*) src
;
121 return (void *) dest
;
124 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
125 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
126 PyObject
* _resultobj
;
127 wxSashEvent
* _result
;
128 int _arg0
= (int ) 0;
129 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
130 char *_kwnames
[] = { "id","edge", NULL
};
134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
137 wxPy_BEGIN_ALLOW_THREADS
;
138 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
140 wxPy_END_ALLOW_THREADS
;
141 if (PyErr_Occurred()) return NULL
;
143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
144 _resultobj
= Py_BuildValue("s",_ptemp
);
147 _resultobj
= Py_None
;
152 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
153 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
154 PyObject
* _resultobj
;
156 wxSashEdgePosition _arg1
;
157 PyObject
* _argo0
= 0;
158 char *_kwnames
[] = { "self","edge", NULL
};
161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
171 wxPy_BEGIN_ALLOW_THREADS
;
172 wxSashEvent_SetEdge(_arg0
,_arg1
);
174 wxPy_END_ALLOW_THREADS
;
175 if (PyErr_Occurred()) return NULL
;
176 } Py_INCREF(Py_None
);
177 _resultobj
= Py_None
;
181 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
182 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
184 wxSashEdgePosition _result
;
186 PyObject
* _argo0
= 0;
187 char *_kwnames
[] = { "self", NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
200 wxPy_BEGIN_ALLOW_THREADS
;
201 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
203 wxPy_END_ALLOW_THREADS
;
204 if (PyErr_Occurred()) return NULL
;
205 } _resultobj
= Py_BuildValue("i",_result
);
209 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
210 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
214 PyObject
* _argo0
= 0;
216 PyObject
* _obj1
= 0;
217 char *_kwnames
[] = { "self","rect", NULL
};
220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
231 if (! wxRect_helper(_obj1
, &_arg1
))
235 wxPy_BEGIN_ALLOW_THREADS
;
236 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
238 wxPy_END_ALLOW_THREADS
;
239 if (PyErr_Occurred()) return NULL
;
240 } Py_INCREF(Py_None
);
241 _resultobj
= Py_None
;
245 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
246 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
250 PyObject
* _argo0
= 0;
251 char *_kwnames
[] = { "self", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
268 wxPy_END_ALLOW_THREADS
;
269 if (PyErr_Occurred()) return NULL
;
270 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
271 _resultobj
= Py_BuildValue("s",_ptemp
);
275 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
276 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
279 wxSashDragStatus _arg1
;
280 PyObject
* _argo0
= 0;
281 char *_kwnames
[] = { "self","status", NULL
};
284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
294 wxPy_BEGIN_ALLOW_THREADS
;
295 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
297 wxPy_END_ALLOW_THREADS
;
298 if (PyErr_Occurred()) return NULL
;
299 } Py_INCREF(Py_None
);
300 _resultobj
= Py_None
;
304 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
305 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
307 wxSashDragStatus _result
;
309 PyObject
* _argo0
= 0;
310 char *_kwnames
[] = { "self", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
323 wxPy_BEGIN_ALLOW_THREADS
;
324 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
326 wxPy_END_ALLOW_THREADS
;
327 if (PyErr_Occurred()) return NULL
;
328 } _resultobj
= Py_BuildValue("i",_result
);
332 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
335 src
= (wxSashWindow
*) ptr
;
336 dest
= (wxWindow
*) src
;
337 return (void *) dest
;
340 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
343 src
= (wxSashWindow
*) ptr
;
344 dest
= (wxEvtHandler
*) src
;
345 return (void *) dest
;
348 static void *SwigwxSashWindowTowxObject(void *ptr
) {
351 src
= (wxSashWindow
*) ptr
;
352 dest
= (wxObject
*) src
;
353 return (void *) dest
;
356 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
357 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
359 wxSashWindow
* _result
;
362 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
363 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
364 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
365 char * _arg5
= (char *) "sashWindow";
366 PyObject
* _argo0
= 0;
368 PyObject
* _obj2
= 0;
370 PyObject
* _obj3
= 0;
371 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
387 if (! wxPoint_helper(_obj2
, &_arg2
))
393 if (! wxSize_helper(_obj3
, &_arg3
))
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
400 wxPy_END_ALLOW_THREADS
;
401 if (PyErr_Occurred()) return NULL
;
403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
404 _resultobj
= Py_BuildValue("s",_ptemp
);
407 _resultobj
= Py_None
;
412 #define new_wxPreSashWindow() (new wxSashWindow())
413 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
415 wxSashWindow
* _result
;
416 char *_kwnames
[] = { NULL
};
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
423 wxPy_BEGIN_ALLOW_THREADS
;
424 _result
= (wxSashWindow
*)new_wxPreSashWindow();
426 wxPy_END_ALLOW_THREADS
;
427 if (PyErr_Occurred()) return NULL
;
429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
430 _resultobj
= Py_BuildValue("s",_ptemp
);
433 _resultobj
= Py_None
;
438 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
439 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
442 wxSashWindow
* _arg0
;
445 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
446 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
447 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
448 char * _arg6
= (char *) "sashWindow";
449 PyObject
* _argo0
= 0;
450 PyObject
* _argo1
= 0;
452 PyObject
* _obj3
= 0;
454 PyObject
* _obj4
= 0;
455 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
468 if (_argo1
== Py_None
) { _arg1
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
477 if (! wxPoint_helper(_obj3
, &_arg3
))
483 if (! wxSize_helper(_obj4
, &_arg4
))
487 wxPy_BEGIN_ALLOW_THREADS
;
488 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
490 wxPy_END_ALLOW_THREADS
;
491 if (PyErr_Occurred()) return NULL
;
492 } _resultobj
= Py_BuildValue("i",_result
);
496 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
497 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
500 wxSashWindow
* _arg0
;
501 wxSashEdgePosition _arg1
;
502 PyObject
* _argo0
= 0;
503 char *_kwnames
[] = { "self","edge", NULL
};
506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
516 wxPy_BEGIN_ALLOW_THREADS
;
517 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
519 wxPy_END_ALLOW_THREADS
;
520 if (PyErr_Occurred()) return NULL
;
521 } _resultobj
= Py_BuildValue("i",_result
);
525 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
526 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
527 PyObject
* _resultobj
;
529 wxSashWindow
* _arg0
;
530 PyObject
* _argo0
= 0;
531 char *_kwnames
[] = { "self", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
544 wxPy_BEGIN_ALLOW_THREADS
;
545 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
547 wxPy_END_ALLOW_THREADS
;
548 if (PyErr_Occurred()) return NULL
;
549 } _resultobj
= Py_BuildValue("i",_result
);
553 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
554 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
557 wxSashWindow
* _arg0
;
558 wxSashEdgePosition _arg1
;
559 PyObject
* _argo0
= 0;
560 char *_kwnames
[] = { "self","edge", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
573 wxPy_BEGIN_ALLOW_THREADS
;
574 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
576 wxPy_END_ALLOW_THREADS
;
577 if (PyErr_Occurred()) return NULL
;
578 } _resultobj
= Py_BuildValue("i",_result
);
582 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
583 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
586 wxSashWindow
* _arg0
;
587 PyObject
* _argo0
= 0;
588 char *_kwnames
[] = { "self", NULL
};
591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
601 wxPy_BEGIN_ALLOW_THREADS
;
602 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
604 wxPy_END_ALLOW_THREADS
;
605 if (PyErr_Occurred()) return NULL
;
606 } _resultobj
= Py_BuildValue("i",_result
);
610 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
611 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
614 wxSashWindow
* _arg0
;
615 PyObject
* _argo0
= 0;
616 char *_kwnames
[] = { "self", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
629 wxPy_BEGIN_ALLOW_THREADS
;
630 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
632 wxPy_END_ALLOW_THREADS
;
633 if (PyErr_Occurred()) return NULL
;
634 } _resultobj
= Py_BuildValue("i",_result
);
638 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
639 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
642 wxSashWindow
* _arg0
;
643 PyObject
* _argo0
= 0;
644 char *_kwnames
[] = { "self", NULL
};
647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
657 wxPy_BEGIN_ALLOW_THREADS
;
658 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
660 wxPy_END_ALLOW_THREADS
;
661 if (PyErr_Occurred()) return NULL
;
662 } _resultobj
= Py_BuildValue("i",_result
);
666 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
667 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
670 wxSashWindow
* _arg0
;
671 PyObject
* _argo0
= 0;
672 char *_kwnames
[] = { "self", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
685 wxPy_BEGIN_ALLOW_THREADS
;
686 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
688 wxPy_END_ALLOW_THREADS
;
689 if (PyErr_Occurred()) return NULL
;
690 } _resultobj
= Py_BuildValue("i",_result
);
694 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
695 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 PyObject
* _resultobj
;
698 wxSashWindow
* _arg0
;
699 PyObject
* _argo0
= 0;
700 char *_kwnames
[] = { "self", NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
713 wxPy_BEGIN_ALLOW_THREADS
;
714 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
716 wxPy_END_ALLOW_THREADS
;
717 if (PyErr_Occurred()) return NULL
;
718 } _resultobj
= Py_BuildValue("i",_result
);
722 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
723 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
726 wxSashWindow
* _arg0
;
727 wxSashEdgePosition _arg1
;
728 PyObject
* _argo0
= 0;
729 char *_kwnames
[] = { "self","edge", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
742 wxPy_BEGIN_ALLOW_THREADS
;
743 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
745 wxPy_END_ALLOW_THREADS
;
746 if (PyErr_Occurred()) return NULL
;
747 } _resultobj
= Py_BuildValue("i",_result
);
751 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
752 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
754 wxSashWindow
* _arg0
;
756 PyObject
* _argo0
= 0;
757 char *_kwnames
[] = { "self","width", NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
770 wxPy_BEGIN_ALLOW_THREADS
;
771 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
773 wxPy_END_ALLOW_THREADS
;
774 if (PyErr_Occurred()) return NULL
;
775 } Py_INCREF(Py_None
);
776 _resultobj
= Py_None
;
780 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
781 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
782 PyObject
* _resultobj
;
783 wxSashWindow
* _arg0
;
785 PyObject
* _argo0
= 0;
786 char *_kwnames
[] = { "self","width", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
799 wxPy_BEGIN_ALLOW_THREADS
;
800 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
802 wxPy_END_ALLOW_THREADS
;
803 if (PyErr_Occurred()) return NULL
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
809 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
810 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
811 PyObject
* _resultobj
;
812 wxSashWindow
* _arg0
;
814 PyObject
* _argo0
= 0;
815 char *_kwnames
[] = { "self","min", NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
831 wxPy_END_ALLOW_THREADS
;
832 if (PyErr_Occurred()) return NULL
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
838 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
839 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
841 wxSashWindow
* _arg0
;
843 PyObject
* _argo0
= 0;
844 char *_kwnames
[] = { "self","min", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
857 wxPy_BEGIN_ALLOW_THREADS
;
858 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
860 wxPy_END_ALLOW_THREADS
;
861 if (PyErr_Occurred()) return NULL
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
867 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
868 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
870 wxSashWindow
* _arg0
;
872 PyObject
* _argo0
= 0;
873 char *_kwnames
[] = { "self","min", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
886 wxPy_BEGIN_ALLOW_THREADS
;
887 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
889 wxPy_END_ALLOW_THREADS
;
890 if (PyErr_Occurred()) return NULL
;
891 } Py_INCREF(Py_None
);
892 _resultobj
= Py_None
;
896 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
897 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxSashWindow
* _arg0
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self","min", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
918 wxPy_END_ALLOW_THREADS
;
919 if (PyErr_Occurred()) return NULL
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
926 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
928 wxSashWindow
* _arg0
;
929 wxSashEdgePosition _arg1
;
931 PyObject
* _argo0
= 0;
933 char *_kwnames
[] = { "self","edge","visible", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
945 _arg2
= (bool ) tempbool2
;
947 wxPy_BEGIN_ALLOW_THREADS
;
948 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
950 wxPy_END_ALLOW_THREADS
;
951 if (PyErr_Occurred()) return NULL
;
952 } Py_INCREF(Py_None
);
953 _resultobj
= Py_None
;
957 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
958 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
960 wxSashWindow
* _arg0
;
961 wxSashEdgePosition _arg1
;
963 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
977 _arg2
= (bool ) tempbool2
;
979 wxPy_BEGIN_ALLOW_THREADS
;
980 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
982 wxPy_END_ALLOW_THREADS
;
983 if (PyErr_Occurred()) return NULL
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
990 wxQueryLayoutInfoEvent
*src
;
992 src
= (wxQueryLayoutInfoEvent
*) ptr
;
993 dest
= (wxEvent
*) src
;
994 return (void *) dest
;
997 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
998 wxQueryLayoutInfoEvent
*src
;
1000 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1001 dest
= (wxObject
*) src
;
1002 return (void *) dest
;
1005 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1006 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1008 wxQueryLayoutInfoEvent
* _result
;
1009 wxWindowID _arg0
= (wxWindowID
) 0;
1010 char *_kwnames
[] = { "id", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1017 wxPy_BEGIN_ALLOW_THREADS
;
1018 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1020 wxPy_END_ALLOW_THREADS
;
1021 if (PyErr_Occurred()) return NULL
;
1023 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1024 _resultobj
= Py_BuildValue("s",_ptemp
);
1027 _resultobj
= Py_None
;
1032 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1033 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1035 wxQueryLayoutInfoEvent
* _arg0
;
1037 PyObject
* _argo0
= 0;
1038 char *_kwnames
[] = { "self","length", NULL
};
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1051 wxPy_BEGIN_ALLOW_THREADS
;
1052 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1054 wxPy_END_ALLOW_THREADS
;
1055 if (PyErr_Occurred()) return NULL
;
1056 } Py_INCREF(Py_None
);
1057 _resultobj
= Py_None
;
1061 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1062 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
* _resultobj
;
1065 wxQueryLayoutInfoEvent
* _arg0
;
1066 PyObject
* _argo0
= 0;
1067 char *_kwnames
[] = { "self", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1083 wxPy_END_ALLOW_THREADS
;
1084 if (PyErr_Occurred()) return NULL
;
1085 } _resultobj
= Py_BuildValue("i",_result
);
1089 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1090 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1092 wxQueryLayoutInfoEvent
* _arg0
;
1094 PyObject
* _argo0
= 0;
1095 char *_kwnames
[] = { "self","flags", NULL
};
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1111 wxPy_END_ALLOW_THREADS
;
1112 if (PyErr_Occurred()) return NULL
;
1113 } Py_INCREF(Py_None
);
1114 _resultobj
= Py_None
;
1118 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1119 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1122 wxQueryLayoutInfoEvent
* _arg0
;
1123 PyObject
* _argo0
= 0;
1124 char *_kwnames
[] = { "self", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1140 wxPy_END_ALLOW_THREADS
;
1141 if (PyErr_Occurred()) return NULL
;
1142 } _resultobj
= Py_BuildValue("i",_result
);
1146 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1147 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
* _resultobj
;
1149 wxQueryLayoutInfoEvent
* _arg0
;
1151 PyObject
* _argo0
= 0;
1153 PyObject
* _obj1
= 0;
1154 char *_kwnames
[] = { "self","size", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1168 if (! wxSize_helper(_obj1
, &_arg1
))
1172 wxPy_BEGIN_ALLOW_THREADS
;
1173 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1175 wxPy_END_ALLOW_THREADS
;
1176 if (PyErr_Occurred()) return NULL
;
1177 } Py_INCREF(Py_None
);
1178 _resultobj
= Py_None
;
1182 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1183 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1186 wxQueryLayoutInfoEvent
* _arg0
;
1187 PyObject
* _argo0
= 0;
1188 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1205 wxPy_END_ALLOW_THREADS
;
1206 if (PyErr_Occurred()) return NULL
;
1207 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1208 _resultobj
= Py_BuildValue("s",_ptemp
);
1212 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1213 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1215 wxQueryLayoutInfoEvent
* _arg0
;
1216 wxLayoutOrientation _arg1
;
1217 PyObject
* _argo0
= 0;
1218 char *_kwnames
[] = { "self","orient", NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1231 wxPy_BEGIN_ALLOW_THREADS
;
1232 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1234 wxPy_END_ALLOW_THREADS
;
1235 if (PyErr_Occurred()) return NULL
;
1236 } Py_INCREF(Py_None
);
1237 _resultobj
= Py_None
;
1241 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1242 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1244 wxLayoutOrientation _result
;
1245 wxQueryLayoutInfoEvent
* _arg0
;
1246 PyObject
* _argo0
= 0;
1247 char *_kwnames
[] = { "self", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1263 wxPy_END_ALLOW_THREADS
;
1264 if (PyErr_Occurred()) return NULL
;
1265 } _resultobj
= Py_BuildValue("i",_result
);
1269 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1270 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxQueryLayoutInfoEvent
* _arg0
;
1273 wxLayoutAlignment _arg1
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "self","align", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1291 wxPy_END_ALLOW_THREADS
;
1292 if (PyErr_Occurred()) return NULL
;
1293 } Py_INCREF(Py_None
);
1294 _resultobj
= Py_None
;
1298 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1299 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxLayoutAlignment _result
;
1302 wxQueryLayoutInfoEvent
* _arg0
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1320 wxPy_END_ALLOW_THREADS
;
1321 if (PyErr_Occurred()) return NULL
;
1322 } _resultobj
= Py_BuildValue("i",_result
);
1326 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1327 wxCalculateLayoutEvent
*src
;
1329 src
= (wxCalculateLayoutEvent
*) ptr
;
1330 dest
= (wxEvent
*) src
;
1331 return (void *) dest
;
1334 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1335 wxCalculateLayoutEvent
*src
;
1337 src
= (wxCalculateLayoutEvent
*) ptr
;
1338 dest
= (wxObject
*) src
;
1339 return (void *) dest
;
1342 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1343 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1345 wxCalculateLayoutEvent
* _result
;
1346 wxWindowID _arg0
= (wxWindowID
) 0;
1347 char *_kwnames
[] = { "id", NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1357 wxPy_END_ALLOW_THREADS
;
1358 if (PyErr_Occurred()) return NULL
;
1360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1364 _resultobj
= Py_None
;
1369 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1370 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1372 wxCalculateLayoutEvent
* _arg0
;
1374 PyObject
* _argo0
= 0;
1375 char *_kwnames
[] = { "self","flags", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1391 wxPy_END_ALLOW_THREADS
;
1392 if (PyErr_Occurred()) return NULL
;
1393 } Py_INCREF(Py_None
);
1394 _resultobj
= Py_None
;
1398 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1399 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1402 wxCalculateLayoutEvent
* _arg0
;
1403 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1417 wxPy_BEGIN_ALLOW_THREADS
;
1418 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1420 wxPy_END_ALLOW_THREADS
;
1421 if (PyErr_Occurred()) return NULL
;
1422 } _resultobj
= Py_BuildValue("i",_result
);
1426 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1427 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1429 wxCalculateLayoutEvent
* _arg0
;
1431 PyObject
* _argo0
= 0;
1433 PyObject
* _obj1
= 0;
1434 char *_kwnames
[] = { "self","rect", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1448 if (! wxRect_helper(_obj1
, &_arg1
))
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1455 wxPy_END_ALLOW_THREADS
;
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1463 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1466 wxCalculateLayoutEvent
* _arg0
;
1467 PyObject
* _argo0
= 0;
1468 char *_kwnames
[] = { "self", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1482 wxPy_BEGIN_ALLOW_THREADS
;
1483 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1485 wxPy_END_ALLOW_THREADS
;
1486 if (PyErr_Occurred()) return NULL
;
1487 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1488 _resultobj
= Py_BuildValue("s",_ptemp
);
1492 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1493 wxSashLayoutWindow
*src
;
1495 src
= (wxSashLayoutWindow
*) ptr
;
1496 dest
= (wxSashWindow
*) src
;
1497 return (void *) dest
;
1500 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1501 wxSashLayoutWindow
*src
;
1503 src
= (wxSashLayoutWindow
*) ptr
;
1504 dest
= (wxWindow
*) src
;
1505 return (void *) dest
;
1508 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1509 wxSashLayoutWindow
*src
;
1511 src
= (wxSashLayoutWindow
*) ptr
;
1512 dest
= (wxEvtHandler
*) src
;
1513 return (void *) dest
;
1516 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1517 wxSashLayoutWindow
*src
;
1519 src
= (wxSashLayoutWindow
*) ptr
;
1520 dest
= (wxObject
*) src
;
1521 return (void *) dest
;
1524 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1525 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1527 wxSashLayoutWindow
* _result
;
1530 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1531 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1532 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1533 char * _arg5
= (char *) "layoutWindow";
1534 PyObject
* _argo0
= 0;
1536 PyObject
* _obj2
= 0;
1538 PyObject
* _obj3
= 0;
1539 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1555 if (! wxPoint_helper(_obj2
, &_arg2
))
1561 if (! wxSize_helper(_obj3
, &_arg3
))
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1568 wxPy_END_ALLOW_THREADS
;
1569 if (PyErr_Occurred()) return NULL
;
1571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1572 _resultobj
= Py_BuildValue("s",_ptemp
);
1575 _resultobj
= Py_None
;
1580 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1581 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1583 wxSashLayoutWindow
* _result
;
1584 char *_kwnames
[] = { NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1594 wxPy_END_ALLOW_THREADS
;
1595 if (PyErr_Occurred()) return NULL
;
1597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1601 _resultobj
= Py_None
;
1606 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1607 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1610 wxSashLayoutWindow
* _arg0
;
1613 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1614 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1615 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1616 char * _arg6
= (char *) "layoutWindow";
1617 PyObject
* _argo0
= 0;
1618 PyObject
* _argo1
= 0;
1620 PyObject
* _obj3
= 0;
1622 PyObject
* _obj4
= 0;
1623 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1636 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1645 if (! wxPoint_helper(_obj3
, &_arg3
))
1651 if (! wxSize_helper(_obj4
, &_arg4
))
1655 wxPy_BEGIN_ALLOW_THREADS
;
1656 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1658 wxPy_END_ALLOW_THREADS
;
1659 if (PyErr_Occurred()) return NULL
;
1660 } _resultobj
= Py_BuildValue("i",_result
);
1664 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1665 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1667 wxLayoutAlignment _result
;
1668 wxSashLayoutWindow
* _arg0
;
1669 PyObject
* _argo0
= 0;
1670 char *_kwnames
[] = { "self", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1683 wxPy_BEGIN_ALLOW_THREADS
;
1684 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1686 wxPy_END_ALLOW_THREADS
;
1687 if (PyErr_Occurred()) return NULL
;
1688 } _resultobj
= Py_BuildValue("i",_result
);
1692 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1693 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
* _resultobj
;
1695 wxLayoutOrientation _result
;
1696 wxSashLayoutWindow
* _arg0
;
1697 PyObject
* _argo0
= 0;
1698 char *_kwnames
[] = { "self", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1711 wxPy_BEGIN_ALLOW_THREADS
;
1712 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1714 wxPy_END_ALLOW_THREADS
;
1715 if (PyErr_Occurred()) return NULL
;
1716 } _resultobj
= Py_BuildValue("i",_result
);
1720 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1721 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1723 wxSashLayoutWindow
* _arg0
;
1724 wxLayoutAlignment _arg1
;
1725 PyObject
* _argo0
= 0;
1726 char *_kwnames
[] = { "self","alignment", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1739 wxPy_BEGIN_ALLOW_THREADS
;
1740 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1742 wxPy_END_ALLOW_THREADS
;
1743 if (PyErr_Occurred()) return NULL
;
1744 } Py_INCREF(Py_None
);
1745 _resultobj
= Py_None
;
1749 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1750 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1752 wxSashLayoutWindow
* _arg0
;
1754 PyObject
* _argo0
= 0;
1756 PyObject
* _obj1
= 0;
1757 char *_kwnames
[] = { "self","size", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1771 if (! wxSize_helper(_obj1
, &_arg1
))
1775 wxPy_BEGIN_ALLOW_THREADS
;
1776 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1778 wxPy_END_ALLOW_THREADS
;
1779 if (PyErr_Occurred()) return NULL
;
1780 } Py_INCREF(Py_None
);
1781 _resultobj
= Py_None
;
1785 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1786 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1788 wxSashLayoutWindow
* _arg0
;
1789 wxLayoutOrientation _arg1
;
1790 PyObject
* _argo0
= 0;
1791 char *_kwnames
[] = { "self","orientation", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1804 wxPy_BEGIN_ALLOW_THREADS
;
1805 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1807 wxPy_END_ALLOW_THREADS
;
1808 if (PyErr_Occurred()) return NULL
;
1809 } Py_INCREF(Py_None
);
1810 _resultobj
= Py_None
;
1814 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1815 wxLayoutAlgorithm
*src
;
1817 src
= (wxLayoutAlgorithm
*) ptr
;
1818 dest
= (wxObject
*) src
;
1819 return (void *) dest
;
1822 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1823 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1825 wxLayoutAlgorithm
* _result
;
1826 char *_kwnames
[] = { NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1836 wxPy_END_ALLOW_THREADS
;
1837 if (PyErr_Occurred()) return NULL
;
1839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1840 _resultobj
= Py_BuildValue("s",_ptemp
);
1843 _resultobj
= Py_None
;
1848 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1849 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1851 wxLayoutAlgorithm
* _arg0
;
1852 PyObject
* _argo0
= 0;
1853 char *_kwnames
[] = { "self", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 delete_wxLayoutAlgorithm(_arg0
);
1869 wxPy_END_ALLOW_THREADS
;
1870 if (PyErr_Occurred()) return NULL
;
1871 } Py_INCREF(Py_None
);
1872 _resultobj
= Py_None
;
1876 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1877 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1880 wxLayoutAlgorithm
* _arg0
;
1881 wxMDIParentFrame
* _arg1
;
1882 wxRect
* _arg2
= (wxRect
*) NULL
;
1883 PyObject
* _argo0
= 0;
1884 PyObject
* _argo1
= 0;
1886 PyObject
* _obj2
= 0;
1887 char *_kwnames
[] = { "self","frame","rect", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1909 if (! wxRect_helper(_obj2
, &_arg2
))
1913 wxPy_BEGIN_ALLOW_THREADS
;
1914 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1916 wxPy_END_ALLOW_THREADS
;
1917 if (PyErr_Occurred()) return NULL
;
1918 } _resultobj
= Py_BuildValue("i",_result
);
1922 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1923 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1926 wxLayoutAlgorithm
* _arg0
;
1928 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1929 PyObject
* _argo0
= 0;
1930 PyObject
* _argo1
= 0;
1931 PyObject
* _argo2
= 0;
1932 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1952 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1962 wxPy_END_ALLOW_THREADS
;
1963 if (PyErr_Occurred()) return NULL
;
1964 } _resultobj
= Py_BuildValue("i",_result
);
1968 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1969 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1972 wxLayoutAlgorithm
* _arg0
;
1974 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1975 PyObject
* _argo0
= 0;
1976 PyObject
* _argo1
= 0;
1977 PyObject
* _argo2
= 0;
1978 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
1991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1998 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2005 wxPy_BEGIN_ALLOW_THREADS
;
2006 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2008 wxPy_END_ALLOW_THREADS
;
2009 if (PyErr_Occurred()) return NULL
;
2010 } _resultobj
= Py_BuildValue("i",_result
);
2014 static PyMethodDef windows3cMethods
[] = {
2015 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2016 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2017 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2018 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2019 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2020 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2021 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2022 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2023 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2024 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2025 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2026 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2027 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2028 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2029 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2030 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2031 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2032 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2033 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2034 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2035 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2036 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2037 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2038 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2039 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2040 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2041 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2042 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2043 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2044 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2045 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2046 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2047 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2048 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2049 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2050 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2051 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2052 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2053 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2054 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2055 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2056 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2057 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2058 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2059 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2060 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2066 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2068 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2069 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2070 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2077 * This table is used by the pointer type-checker
2079 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2080 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2081 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2082 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2083 { "_signed_long","_long",0},
2084 { "_wxPrintQuality","_wxCoord",0},
2085 { "_wxPrintQuality","_int",0},
2086 { "_wxPrintQuality","_signed_int",0},
2087 { "_wxPrintQuality","_unsigned_int",0},
2088 { "_wxPrintQuality","_wxWindowID",0},
2089 { "_wxPrintQuality","_uint",0},
2090 { "_wxPrintQuality","_EBool",0},
2091 { "_wxPrintQuality","_size_t",0},
2092 { "_wxPrintQuality","_time_t",0},
2093 { "_byte","_unsigned_char",0},
2094 { "_long","_unsigned_long",0},
2095 { "_long","_signed_long",0},
2096 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2097 { "_size_t","_wxCoord",0},
2098 { "_size_t","_wxPrintQuality",0},
2099 { "_size_t","_time_t",0},
2100 { "_size_t","_unsigned_int",0},
2101 { "_size_t","_int",0},
2102 { "_size_t","_wxWindowID",0},
2103 { "_size_t","_uint",0},
2104 { "_uint","_wxCoord",0},
2105 { "_uint","_wxPrintQuality",0},
2106 { "_uint","_time_t",0},
2107 { "_uint","_size_t",0},
2108 { "_uint","_unsigned_int",0},
2109 { "_uint","_int",0},
2110 { "_uint","_wxWindowID",0},
2111 { "_wxChar","_char",0},
2112 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2113 { "_char","_wxChar",0},
2114 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2115 { "_EBool","_wxCoord",0},
2116 { "_EBool","_wxPrintQuality",0},
2117 { "_EBool","_signed_int",0},
2118 { "_EBool","_int",0},
2119 { "_EBool","_wxWindowID",0},
2120 { "_unsigned_long","_long",0},
2121 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2122 { "_signed_int","_wxCoord",0},
2123 { "_signed_int","_wxPrintQuality",0},
2124 { "_signed_int","_EBool",0},
2125 { "_signed_int","_wxWindowID",0},
2126 { "_signed_int","_int",0},
2127 { "_WXTYPE","_short",0},
2128 { "_WXTYPE","_signed_short",0},
2129 { "_WXTYPE","_unsigned_short",0},
2130 { "_unsigned_short","_WXTYPE",0},
2131 { "_unsigned_short","_short",0},
2132 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2133 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2134 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2135 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2136 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2137 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2138 { "_signed_short","_WXTYPE",0},
2139 { "_signed_short","_short",0},
2140 { "_unsigned_char","_byte",0},
2141 { "_unsigned_int","_wxCoord",0},
2142 { "_unsigned_int","_wxPrintQuality",0},
2143 { "_unsigned_int","_time_t",0},
2144 { "_unsigned_int","_size_t",0},
2145 { "_unsigned_int","_uint",0},
2146 { "_unsigned_int","_wxWindowID",0},
2147 { "_unsigned_int","_int",0},
2148 { "_short","_WXTYPE",0},
2149 { "_short","_unsigned_short",0},
2150 { "_short","_signed_short",0},
2151 { "_wxWindowID","_wxCoord",0},
2152 { "_wxWindowID","_wxPrintQuality",0},
2153 { "_wxWindowID","_time_t",0},
2154 { "_wxWindowID","_size_t",0},
2155 { "_wxWindowID","_EBool",0},
2156 { "_wxWindowID","_uint",0},
2157 { "_wxWindowID","_int",0},
2158 { "_wxWindowID","_signed_int",0},
2159 { "_wxWindowID","_unsigned_int",0},
2160 { "_int","_wxCoord",0},
2161 { "_int","_wxPrintQuality",0},
2162 { "_int","_time_t",0},
2163 { "_int","_size_t",0},
2164 { "_int","_EBool",0},
2165 { "_int","_uint",0},
2166 { "_int","_wxWindowID",0},
2167 { "_int","_unsigned_int",0},
2168 { "_int","_signed_int",0},
2169 { "_time_t","_wxCoord",0},
2170 { "_time_t","_wxPrintQuality",0},
2171 { "_time_t","_unsigned_int",0},
2172 { "_time_t","_int",0},
2173 { "_time_t","_wxWindowID",0},
2174 { "_time_t","_uint",0},
2175 { "_time_t","_size_t",0},
2176 { "_wxCoord","_int",0},
2177 { "_wxCoord","_signed_int",0},
2178 { "_wxCoord","_unsigned_int",0},
2179 { "_wxCoord","_wxWindowID",0},
2180 { "_wxCoord","_uint",0},
2181 { "_wxCoord","_EBool",0},
2182 { "_wxCoord","_size_t",0},
2183 { "_wxCoord","_time_t",0},
2184 { "_wxCoord","_wxPrintQuality",0},
2185 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2186 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2187 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2188 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2191 static PyObject
*SWIG_globals
;
2195 SWIGEXPORT(void) initwindows3c() {
2197 SWIG_globals
= SWIG_newvarlink();
2198 m
= Py_InitModule("windows3c", windows3cMethods
);
2199 d
= PyModule_GetDict(m
);
2200 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2201 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2202 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2203 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2204 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2205 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2206 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2207 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2208 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2209 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2210 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2211 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2212 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2213 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2214 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2215 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2216 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2217 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2218 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2219 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2220 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2223 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2224 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);