2 * FILE : src/msw/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>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
97 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
100 src
= (wxSashEvent
*) ptr
;
101 dest
= (wxCommandEvent
*) src
;
102 return (void *) dest
;
105 static void *SwigwxSashEventTowxEvent(void *ptr
) {
108 src
= (wxSashEvent
*) ptr
;
109 dest
= (wxEvent
*) src
;
110 return (void *) dest
;
113 static void *SwigwxSashEventTowxObject(void *ptr
) {
116 src
= (wxSashEvent
*) ptr
;
117 dest
= (wxObject
*) src
;
118 return (void *) dest
;
121 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
122 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
125 wxSashEdgePosition _arg1
;
126 PyObject
* _argo0
= 0;
127 char *_kwnames
[] = { "self","edge", NULL
};
130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
140 wxPy_BEGIN_ALLOW_THREADS
;
141 wxSashEvent_SetEdge(_arg0
,_arg1
);
143 wxPy_END_ALLOW_THREADS
;
144 if (PyErr_Occurred()) return NULL
;
145 } Py_INCREF(Py_None
);
146 _resultobj
= Py_None
;
150 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
151 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
153 wxSashEdgePosition _result
;
155 PyObject
* _argo0
= 0;
156 char *_kwnames
[] = { "self", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
169 wxPy_BEGIN_ALLOW_THREADS
;
170 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
172 wxPy_END_ALLOW_THREADS
;
173 if (PyErr_Occurred()) return NULL
;
174 } _resultobj
= Py_BuildValue("i",_result
);
178 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
179 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
180 PyObject
* _resultobj
;
183 PyObject
* _argo0
= 0;
185 PyObject
* _obj1
= 0;
186 char *_kwnames
[] = { "self","rect", NULL
};
189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
200 if (! wxRect_helper(_obj1
, &_arg1
))
204 wxPy_BEGIN_ALLOW_THREADS
;
205 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
207 wxPy_END_ALLOW_THREADS
;
208 if (PyErr_Occurred()) return NULL
;
209 } Py_INCREF(Py_None
);
210 _resultobj
= Py_None
;
214 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
215 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
219 PyObject
* _argo0
= 0;
220 char *_kwnames
[] = { "self", NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
234 wxPy_BEGIN_ALLOW_THREADS
;
235 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
237 wxPy_END_ALLOW_THREADS
;
238 if (PyErr_Occurred()) return NULL
;
239 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
240 _resultobj
= Py_BuildValue("s",_ptemp
);
244 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
245 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
248 wxSashDragStatus _arg1
;
249 PyObject
* _argo0
= 0;
250 char *_kwnames
[] = { "self","status", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
263 wxPy_BEGIN_ALLOW_THREADS
;
264 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
266 wxPy_END_ALLOW_THREADS
;
267 if (PyErr_Occurred()) return NULL
;
268 } Py_INCREF(Py_None
);
269 _resultobj
= Py_None
;
273 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
274 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
276 wxSashDragStatus _result
;
278 PyObject
* _argo0
= 0;
279 char *_kwnames
[] = { "self", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
292 wxPy_BEGIN_ALLOW_THREADS
;
293 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
295 wxPy_END_ALLOW_THREADS
;
296 if (PyErr_Occurred()) return NULL
;
297 } _resultobj
= Py_BuildValue("i",_result
);
301 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
304 src
= (wxSashWindow
*) ptr
;
305 dest
= (wxWindow
*) src
;
306 return (void *) dest
;
309 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
312 src
= (wxSashWindow
*) ptr
;
313 dest
= (wxEvtHandler
*) src
;
314 return (void *) dest
;
317 static void *SwigwxSashWindowTowxObject(void *ptr
) {
320 src
= (wxSashWindow
*) ptr
;
321 dest
= (wxObject
*) src
;
322 return (void *) dest
;
325 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
326 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
328 wxSashWindow
* _result
;
331 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
332 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
333 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
334 char * _arg5
= (char *) "sashWindow";
335 PyObject
* _argo0
= 0;
337 PyObject
* _obj2
= 0;
339 PyObject
* _obj3
= 0;
340 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
356 if (! wxPoint_helper(_obj2
, &_arg2
))
362 if (! wxSize_helper(_obj3
, &_arg3
))
366 wxPy_BEGIN_ALLOW_THREADS
;
367 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
369 wxPy_END_ALLOW_THREADS
;
370 if (PyErr_Occurred()) return NULL
;
372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
373 _resultobj
= Py_BuildValue("s",_ptemp
);
376 _resultobj
= Py_None
;
381 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
382 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 PyObject
* _resultobj
;
385 wxSashWindow
* _arg0
;
386 wxSashEdgePosition _arg1
;
387 PyObject
* _argo0
= 0;
388 char *_kwnames
[] = { "self","edge", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
401 wxPy_BEGIN_ALLOW_THREADS
;
402 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
404 wxPy_END_ALLOW_THREADS
;
405 if (PyErr_Occurred()) return NULL
;
406 } _resultobj
= Py_BuildValue("i",_result
);
410 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
411 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
414 wxSashWindow
* _arg0
;
415 PyObject
* _argo0
= 0;
416 char *_kwnames
[] = { "self", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
432 wxPy_END_ALLOW_THREADS
;
433 if (PyErr_Occurred()) return NULL
;
434 } _resultobj
= Py_BuildValue("i",_result
);
438 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
439 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
442 wxSashWindow
* _arg0
;
443 wxSashEdgePosition _arg1
;
444 PyObject
* _argo0
= 0;
445 char *_kwnames
[] = { "self","edge", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
458 wxPy_BEGIN_ALLOW_THREADS
;
459 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
461 wxPy_END_ALLOW_THREADS
;
462 if (PyErr_Occurred()) return NULL
;
463 } _resultobj
= Py_BuildValue("i",_result
);
467 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
468 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
469 PyObject
* _resultobj
;
471 wxSashWindow
* _arg0
;
472 PyObject
* _argo0
= 0;
473 char *_kwnames
[] = { "self", NULL
};
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
486 wxPy_BEGIN_ALLOW_THREADS
;
487 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
489 wxPy_END_ALLOW_THREADS
;
490 if (PyErr_Occurred()) return NULL
;
491 } _resultobj
= Py_BuildValue("i",_result
);
495 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
496 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
497 PyObject
* _resultobj
;
499 wxSashWindow
* _arg0
;
500 PyObject
* _argo0
= 0;
501 char *_kwnames
[] = { "self", NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
514 wxPy_BEGIN_ALLOW_THREADS
;
515 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
517 wxPy_END_ALLOW_THREADS
;
518 if (PyErr_Occurred()) return NULL
;
519 } _resultobj
= Py_BuildValue("i",_result
);
523 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
524 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
527 wxSashWindow
* _arg0
;
528 PyObject
* _argo0
= 0;
529 char *_kwnames
[] = { "self", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
542 wxPy_BEGIN_ALLOW_THREADS
;
543 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
545 wxPy_END_ALLOW_THREADS
;
546 if (PyErr_Occurred()) return NULL
;
547 } _resultobj
= Py_BuildValue("i",_result
);
551 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
552 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
555 wxSashWindow
* _arg0
;
556 PyObject
* _argo0
= 0;
557 char *_kwnames
[] = { "self", NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
570 wxPy_BEGIN_ALLOW_THREADS
;
571 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
573 wxPy_END_ALLOW_THREADS
;
574 if (PyErr_Occurred()) return NULL
;
575 } _resultobj
= Py_BuildValue("i",_result
);
579 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
580 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
581 PyObject
* _resultobj
;
583 wxSashWindow
* _arg0
;
584 PyObject
* _argo0
= 0;
585 char *_kwnames
[] = { "self", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
598 wxPy_BEGIN_ALLOW_THREADS
;
599 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
601 wxPy_END_ALLOW_THREADS
;
602 if (PyErr_Occurred()) return NULL
;
603 } _resultobj
= Py_BuildValue("i",_result
);
607 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
608 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxSashWindow
* _arg0
;
612 wxSashEdgePosition _arg1
;
613 PyObject
* _argo0
= 0;
614 char *_kwnames
[] = { "self","edge", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
627 wxPy_BEGIN_ALLOW_THREADS
;
628 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
630 wxPy_END_ALLOW_THREADS
;
631 if (PyErr_Occurred()) return NULL
;
632 } _resultobj
= Py_BuildValue("i",_result
);
636 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
637 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
639 wxSashWindow
* _arg0
;
641 PyObject
* _argo0
= 0;
642 char *_kwnames
[] = { "self","width", NULL
};
645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
655 wxPy_BEGIN_ALLOW_THREADS
;
656 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
658 wxPy_END_ALLOW_THREADS
;
659 if (PyErr_Occurred()) return NULL
;
660 } Py_INCREF(Py_None
);
661 _resultobj
= Py_None
;
665 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
666 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 PyObject
* _resultobj
;
668 wxSashWindow
* _arg0
;
670 PyObject
* _argo0
= 0;
671 char *_kwnames
[] = { "self","width", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
684 wxPy_BEGIN_ALLOW_THREADS
;
685 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
687 wxPy_END_ALLOW_THREADS
;
688 if (PyErr_Occurred()) return NULL
;
689 } Py_INCREF(Py_None
);
690 _resultobj
= Py_None
;
694 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
695 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 PyObject
* _resultobj
;
697 wxSashWindow
* _arg0
;
699 PyObject
* _argo0
= 0;
700 char *_kwnames
[] = { "self","min", NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
713 wxPy_BEGIN_ALLOW_THREADS
;
714 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
716 wxPy_END_ALLOW_THREADS
;
717 if (PyErr_Occurred()) return NULL
;
718 } Py_INCREF(Py_None
);
719 _resultobj
= Py_None
;
723 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
724 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
726 wxSashWindow
* _arg0
;
728 PyObject
* _argo0
= 0;
729 char *_kwnames
[] = { "self","min", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_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_SetMaximumSizeY. Expected _wxSashWindow_p.");
742 wxPy_BEGIN_ALLOW_THREADS
;
743 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
745 wxPy_END_ALLOW_THREADS
;
746 if (PyErr_Occurred()) return NULL
;
747 } Py_INCREF(Py_None
);
748 _resultobj
= Py_None
;
752 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
753 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
755 wxSashWindow
* _arg0
;
757 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "self","min", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
771 wxPy_BEGIN_ALLOW_THREADS
;
772 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
774 wxPy_END_ALLOW_THREADS
;
775 if (PyErr_Occurred()) return NULL
;
776 } Py_INCREF(Py_None
);
777 _resultobj
= Py_None
;
781 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
782 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
784 wxSashWindow
* _arg0
;
786 PyObject
* _argo0
= 0;
787 char *_kwnames
[] = { "self","min", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
800 wxPy_BEGIN_ALLOW_THREADS
;
801 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
803 wxPy_END_ALLOW_THREADS
;
804 if (PyErr_Occurred()) return NULL
;
805 } Py_INCREF(Py_None
);
806 _resultobj
= Py_None
;
810 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
811 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
813 wxSashWindow
* _arg0
;
814 wxSashEdgePosition _arg1
;
816 PyObject
* _argo0
= 0;
818 char *_kwnames
[] = { "self","edge","visible", NULL
};
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
830 _arg2
= (bool ) tempbool2
;
832 wxPy_BEGIN_ALLOW_THREADS
;
833 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
835 wxPy_END_ALLOW_THREADS
;
836 if (PyErr_Occurred()) return NULL
;
837 } Py_INCREF(Py_None
);
838 _resultobj
= Py_None
;
842 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
843 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
845 wxSashWindow
* _arg0
;
846 wxSashEdgePosition _arg1
;
848 PyObject
* _argo0
= 0;
850 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
862 _arg2
= (bool ) tempbool2
;
864 wxPy_BEGIN_ALLOW_THREADS
;
865 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
867 wxPy_END_ALLOW_THREADS
;
868 if (PyErr_Occurred()) return NULL
;
869 } Py_INCREF(Py_None
);
870 _resultobj
= Py_None
;
874 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
875 wxQueryLayoutInfoEvent
*src
;
877 src
= (wxQueryLayoutInfoEvent
*) ptr
;
878 dest
= (wxEvent
*) src
;
879 return (void *) dest
;
882 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
883 wxQueryLayoutInfoEvent
*src
;
885 src
= (wxQueryLayoutInfoEvent
*) ptr
;
886 dest
= (wxObject
*) src
;
887 return (void *) dest
;
890 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
891 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
893 wxQueryLayoutInfoEvent
* _arg0
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self","length", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
909 wxPy_BEGIN_ALLOW_THREADS
;
910 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
912 wxPy_END_ALLOW_THREADS
;
913 if (PyErr_Occurred()) return NULL
;
914 } Py_INCREF(Py_None
);
915 _resultobj
= Py_None
;
919 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
920 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
923 wxQueryLayoutInfoEvent
* _arg0
;
924 PyObject
* _argo0
= 0;
925 char *_kwnames
[] = { "self", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
938 wxPy_BEGIN_ALLOW_THREADS
;
939 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
941 wxPy_END_ALLOW_THREADS
;
942 if (PyErr_Occurred()) return NULL
;
943 } _resultobj
= Py_BuildValue("i",_result
);
947 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
948 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
950 wxQueryLayoutInfoEvent
* _arg0
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self","flags", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
966 wxPy_BEGIN_ALLOW_THREADS
;
967 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
969 wxPy_END_ALLOW_THREADS
;
970 if (PyErr_Occurred()) return NULL
;
971 } Py_INCREF(Py_None
);
972 _resultobj
= Py_None
;
976 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
977 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
980 wxQueryLayoutInfoEvent
* _arg0
;
981 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
995 wxPy_BEGIN_ALLOW_THREADS
;
996 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
998 wxPy_END_ALLOW_THREADS
;
999 if (PyErr_Occurred()) return NULL
;
1000 } _resultobj
= Py_BuildValue("i",_result
);
1004 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1005 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1007 wxQueryLayoutInfoEvent
* _arg0
;
1009 PyObject
* _argo0
= 0;
1011 PyObject
* _obj1
= 0;
1012 char *_kwnames
[] = { "self","size", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1026 if (! wxSize_helper(_obj1
, &_arg1
))
1030 wxPy_BEGIN_ALLOW_THREADS
;
1031 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1033 wxPy_END_ALLOW_THREADS
;
1034 if (PyErr_Occurred()) return NULL
;
1035 } Py_INCREF(Py_None
);
1036 _resultobj
= Py_None
;
1040 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1041 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1044 wxQueryLayoutInfoEvent
* _arg0
;
1045 PyObject
* _argo0
= 0;
1046 char *_kwnames
[] = { "self", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1063 wxPy_END_ALLOW_THREADS
;
1064 if (PyErr_Occurred()) return NULL
;
1065 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1066 _resultobj
= Py_BuildValue("s",_ptemp
);
1070 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1071 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
* _resultobj
;
1073 wxQueryLayoutInfoEvent
* _arg0
;
1074 wxLayoutOrientation _arg1
;
1075 PyObject
* _argo0
= 0;
1076 char *_kwnames
[] = { "self","orient", NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1092 wxPy_END_ALLOW_THREADS
;
1093 if (PyErr_Occurred()) return NULL
;
1094 } Py_INCREF(Py_None
);
1095 _resultobj
= Py_None
;
1099 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1100 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1102 wxLayoutOrientation _result
;
1103 wxQueryLayoutInfoEvent
* _arg0
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1122 if (PyErr_Occurred()) return NULL
;
1123 } _resultobj
= Py_BuildValue("i",_result
);
1127 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1128 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1130 wxQueryLayoutInfoEvent
* _arg0
;
1131 wxLayoutAlignment _arg1
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self","align", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1146 wxPy_BEGIN_ALLOW_THREADS
;
1147 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1149 wxPy_END_ALLOW_THREADS
;
1150 if (PyErr_Occurred()) return NULL
;
1151 } Py_INCREF(Py_None
);
1152 _resultobj
= Py_None
;
1156 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1157 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxLayoutAlignment _result
;
1160 wxQueryLayoutInfoEvent
* _arg0
;
1161 PyObject
* _argo0
= 0;
1162 char *_kwnames
[] = { "self", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1178 wxPy_END_ALLOW_THREADS
;
1179 if (PyErr_Occurred()) return NULL
;
1180 } _resultobj
= Py_BuildValue("i",_result
);
1184 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1185 wxCalculateLayoutEvent
*src
;
1187 src
= (wxCalculateLayoutEvent
*) ptr
;
1188 dest
= (wxEvent
*) src
;
1189 return (void *) dest
;
1192 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1193 wxCalculateLayoutEvent
*src
;
1195 src
= (wxCalculateLayoutEvent
*) ptr
;
1196 dest
= (wxObject
*) src
;
1197 return (void *) dest
;
1200 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1201 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1203 wxCalculateLayoutEvent
* _arg0
;
1205 PyObject
* _argo0
= 0;
1206 char *_kwnames
[] = { "self","flags", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1219 wxPy_BEGIN_ALLOW_THREADS
;
1220 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1222 wxPy_END_ALLOW_THREADS
;
1223 if (PyErr_Occurred()) return NULL
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1229 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1230 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1233 wxCalculateLayoutEvent
* _arg0
;
1234 PyObject
* _argo0
= 0;
1235 char *_kwnames
[] = { "self", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1251 wxPy_END_ALLOW_THREADS
;
1252 if (PyErr_Occurred()) return NULL
;
1253 } _resultobj
= Py_BuildValue("i",_result
);
1257 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1258 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1260 wxCalculateLayoutEvent
* _arg0
;
1262 PyObject
* _argo0
= 0;
1264 PyObject
* _obj1
= 0;
1265 char *_kwnames
[] = { "self","rect", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1279 if (! wxRect_helper(_obj1
, &_arg1
))
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1286 wxPy_END_ALLOW_THREADS
;
1287 if (PyErr_Occurred()) return NULL
;
1288 } Py_INCREF(Py_None
);
1289 _resultobj
= Py_None
;
1293 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1294 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1297 wxCalculateLayoutEvent
* _arg0
;
1298 PyObject
* _argo0
= 0;
1299 char *_kwnames
[] = { "self", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1316 wxPy_END_ALLOW_THREADS
;
1317 if (PyErr_Occurred()) return NULL
;
1318 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1319 _resultobj
= Py_BuildValue("s",_ptemp
);
1323 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1324 wxSashLayoutWindow
*src
;
1326 src
= (wxSashLayoutWindow
*) ptr
;
1327 dest
= (wxSashWindow
*) src
;
1328 return (void *) dest
;
1331 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1332 wxSashLayoutWindow
*src
;
1334 src
= (wxSashLayoutWindow
*) ptr
;
1335 dest
= (wxWindow
*) src
;
1336 return (void *) dest
;
1339 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1340 wxSashLayoutWindow
*src
;
1342 src
= (wxSashLayoutWindow
*) ptr
;
1343 dest
= (wxEvtHandler
*) src
;
1344 return (void *) dest
;
1347 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1348 wxSashLayoutWindow
*src
;
1350 src
= (wxSashLayoutWindow
*) ptr
;
1351 dest
= (wxObject
*) src
;
1352 return (void *) dest
;
1355 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1356 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1358 wxSashLayoutWindow
* _result
;
1361 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1362 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1363 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1364 char * _arg5
= (char *) "layoutWindow";
1365 PyObject
* _argo0
= 0;
1367 PyObject
* _obj2
= 0;
1369 PyObject
* _obj3
= 0;
1370 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1386 if (! wxPoint_helper(_obj2
, &_arg2
))
1392 if (! wxSize_helper(_obj3
, &_arg3
))
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1399 wxPy_END_ALLOW_THREADS
;
1400 if (PyErr_Occurred()) return NULL
;
1402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1403 _resultobj
= Py_BuildValue("s",_ptemp
);
1406 _resultobj
= Py_None
;
1411 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1412 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1414 wxLayoutAlignment _result
;
1415 wxSashLayoutWindow
* _arg0
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1433 wxPy_END_ALLOW_THREADS
;
1434 if (PyErr_Occurred()) return NULL
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1440 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1442 wxLayoutOrientation _result
;
1443 wxSashLayoutWindow
* _arg0
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1458 wxPy_BEGIN_ALLOW_THREADS
;
1459 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1461 wxPy_END_ALLOW_THREADS
;
1462 if (PyErr_Occurred()) return NULL
;
1463 } _resultobj
= Py_BuildValue("i",_result
);
1467 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1468 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1470 wxSashLayoutWindow
* _arg0
;
1471 wxLayoutAlignment _arg1
;
1472 PyObject
* _argo0
= 0;
1473 char *_kwnames
[] = { "self","alignment", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1486 wxPy_BEGIN_ALLOW_THREADS
;
1487 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1489 wxPy_END_ALLOW_THREADS
;
1490 if (PyErr_Occurred()) return NULL
;
1491 } Py_INCREF(Py_None
);
1492 _resultobj
= Py_None
;
1496 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1497 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1499 wxSashLayoutWindow
* _arg0
;
1501 PyObject
* _argo0
= 0;
1503 PyObject
* _obj1
= 0;
1504 char *_kwnames
[] = { "self","size", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1518 if (! wxSize_helper(_obj1
, &_arg1
))
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1525 wxPy_END_ALLOW_THREADS
;
1526 if (PyErr_Occurred()) return NULL
;
1527 } Py_INCREF(Py_None
);
1528 _resultobj
= Py_None
;
1532 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1533 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1535 wxSashLayoutWindow
* _arg0
;
1536 wxLayoutOrientation _arg1
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self","orientation", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1554 wxPy_END_ALLOW_THREADS
;
1555 if (PyErr_Occurred()) return NULL
;
1556 } Py_INCREF(Py_None
);
1557 _resultobj
= Py_None
;
1561 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1562 wxLayoutAlgorithm
*src
;
1564 src
= (wxLayoutAlgorithm
*) ptr
;
1565 dest
= (wxObject
*) src
;
1566 return (void *) dest
;
1569 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1570 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1572 wxLayoutAlgorithm
* _result
;
1573 char *_kwnames
[] = { NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1583 wxPy_END_ALLOW_THREADS
;
1584 if (PyErr_Occurred()) return NULL
;
1586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1587 _resultobj
= Py_BuildValue("s",_ptemp
);
1590 _resultobj
= Py_None
;
1595 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1596 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1598 wxLayoutAlgorithm
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 delete_wxLayoutAlgorithm(_arg0
);
1616 wxPy_END_ALLOW_THREADS
;
1617 if (PyErr_Occurred()) return NULL
;
1618 } Py_INCREF(Py_None
);
1619 _resultobj
= Py_None
;
1623 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1624 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
* _resultobj
;
1627 wxLayoutAlgorithm
* _arg0
;
1628 wxMDIParentFrame
* _arg1
;
1629 wxRect
* _arg2
= (wxRect
*) NULL
;
1630 PyObject
* _argo0
= 0;
1631 PyObject
* _argo1
= 0;
1633 PyObject
* _obj2
= 0;
1634 char *_kwnames
[] = { "self","frame","rect", NULL
};
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1656 if (! wxRect_helper(_obj2
, &_arg2
))
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1663 wxPy_END_ALLOW_THREADS
;
1664 if (PyErr_Occurred()) return NULL
;
1665 } _resultobj
= Py_BuildValue("i",_result
);
1669 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1670 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1673 wxLayoutAlgorithm
* _arg0
;
1675 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1676 PyObject
* _argo0
= 0;
1677 PyObject
* _argo1
= 0;
1678 PyObject
* _argo2
= 0;
1679 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1692 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1699 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1709 wxPy_END_ALLOW_THREADS
;
1710 if (PyErr_Occurred()) return NULL
;
1711 } _resultobj
= Py_BuildValue("i",_result
);
1715 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1716 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1719 wxLayoutAlgorithm
* _arg0
;
1721 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1722 PyObject
* _argo0
= 0;
1723 PyObject
* _argo1
= 0;
1724 PyObject
* _argo2
= 0;
1725 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
1738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1745 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
1755 wxPy_END_ALLOW_THREADS
;
1756 if (PyErr_Occurred()) return NULL
;
1757 } _resultobj
= Py_BuildValue("i",_result
);
1761 static PyMethodDef windows3cMethods
[] = {
1762 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
1763 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
1764 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
1765 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
1766 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
1767 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
1768 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
1769 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1770 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
1771 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1772 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
1773 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
1774 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
1775 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
1776 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
1777 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1778 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1779 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
1780 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
1781 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
1782 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
1783 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
1784 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
1785 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
1786 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
1787 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
1788 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
1789 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
1790 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
1791 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
1792 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
1793 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1794 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1795 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1796 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
1797 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
1798 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
1799 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
1800 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1801 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
1802 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
1803 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
1804 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1805 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
1806 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
1807 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
1808 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
1809 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
1810 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
1817 * This table is used by the pointer type-checker
1819 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1820 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
1821 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
1822 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
1823 { "_signed_long","_long",0},
1824 { "_wxPrintQuality","_wxCoord",0},
1825 { "_wxPrintQuality","_int",0},
1826 { "_wxPrintQuality","_signed_int",0},
1827 { "_wxPrintQuality","_unsigned_int",0},
1828 { "_wxPrintQuality","_wxWindowID",0},
1829 { "_wxPrintQuality","_uint",0},
1830 { "_wxPrintQuality","_EBool",0},
1831 { "_wxPrintQuality","_size_t",0},
1832 { "_wxPrintQuality","_time_t",0},
1833 { "_byte","_unsigned_char",0},
1834 { "_long","_unsigned_long",0},
1835 { "_long","_signed_long",0},
1836 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
1837 { "_size_t","_wxCoord",0},
1838 { "_size_t","_wxPrintQuality",0},
1839 { "_size_t","_time_t",0},
1840 { "_size_t","_unsigned_int",0},
1841 { "_size_t","_int",0},
1842 { "_size_t","_wxWindowID",0},
1843 { "_size_t","_uint",0},
1844 { "_uint","_wxCoord",0},
1845 { "_uint","_wxPrintQuality",0},
1846 { "_uint","_time_t",0},
1847 { "_uint","_size_t",0},
1848 { "_uint","_unsigned_int",0},
1849 { "_uint","_int",0},
1850 { "_uint","_wxWindowID",0},
1851 { "_wxChar","_char",0},
1852 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
1853 { "_char","_wxChar",0},
1854 { "_EBool","_wxCoord",0},
1855 { "_EBool","_wxPrintQuality",0},
1856 { "_EBool","_signed_int",0},
1857 { "_EBool","_int",0},
1858 { "_EBool","_wxWindowID",0},
1859 { "_unsigned_long","_long",0},
1860 { "_signed_int","_wxCoord",0},
1861 { "_signed_int","_wxPrintQuality",0},
1862 { "_signed_int","_EBool",0},
1863 { "_signed_int","_wxWindowID",0},
1864 { "_signed_int","_int",0},
1865 { "_WXTYPE","_short",0},
1866 { "_WXTYPE","_signed_short",0},
1867 { "_WXTYPE","_unsigned_short",0},
1868 { "_unsigned_short","_WXTYPE",0},
1869 { "_unsigned_short","_short",0},
1870 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
1871 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
1872 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
1873 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
1874 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
1875 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
1876 { "_signed_short","_WXTYPE",0},
1877 { "_signed_short","_short",0},
1878 { "_unsigned_char","_byte",0},
1879 { "_unsigned_int","_wxCoord",0},
1880 { "_unsigned_int","_wxPrintQuality",0},
1881 { "_unsigned_int","_time_t",0},
1882 { "_unsigned_int","_size_t",0},
1883 { "_unsigned_int","_uint",0},
1884 { "_unsigned_int","_wxWindowID",0},
1885 { "_unsigned_int","_int",0},
1886 { "_short","_WXTYPE",0},
1887 { "_short","_unsigned_short",0},
1888 { "_short","_signed_short",0},
1889 { "_wxWindowID","_wxCoord",0},
1890 { "_wxWindowID","_wxPrintQuality",0},
1891 { "_wxWindowID","_time_t",0},
1892 { "_wxWindowID","_size_t",0},
1893 { "_wxWindowID","_EBool",0},
1894 { "_wxWindowID","_uint",0},
1895 { "_wxWindowID","_int",0},
1896 { "_wxWindowID","_signed_int",0},
1897 { "_wxWindowID","_unsigned_int",0},
1898 { "_int","_wxCoord",0},
1899 { "_int","_wxPrintQuality",0},
1900 { "_int","_time_t",0},
1901 { "_int","_size_t",0},
1902 { "_int","_EBool",0},
1903 { "_int","_uint",0},
1904 { "_int","_wxWindowID",0},
1905 { "_int","_unsigned_int",0},
1906 { "_int","_signed_int",0},
1907 { "_time_t","_wxCoord",0},
1908 { "_time_t","_wxPrintQuality",0},
1909 { "_time_t","_unsigned_int",0},
1910 { "_time_t","_int",0},
1911 { "_time_t","_wxWindowID",0},
1912 { "_time_t","_uint",0},
1913 { "_time_t","_size_t",0},
1914 { "_wxCoord","_int",0},
1915 { "_wxCoord","_signed_int",0},
1916 { "_wxCoord","_unsigned_int",0},
1917 { "_wxCoord","_wxWindowID",0},
1918 { "_wxCoord","_uint",0},
1919 { "_wxCoord","_EBool",0},
1920 { "_wxCoord","_size_t",0},
1921 { "_wxCoord","_time_t",0},
1922 { "_wxCoord","_wxPrintQuality",0},
1923 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
1924 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
1925 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
1926 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
1929 static PyObject
*SWIG_globals
;
1933 SWIGEXPORT(void) initwindows3c() {
1935 SWIG_globals
= SWIG_newvarlink();
1936 m
= Py_InitModule("windows3c", windows3cMethods
);
1937 d
= PyModule_GetDict(m
);
1938 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
1939 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
1940 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
1941 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
1942 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
1943 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
1944 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
1945 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
1946 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
1947 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
1948 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
1949 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
1950 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
1951 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
1952 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
1953 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
1954 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
1955 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
1956 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
1957 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
1958 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
1961 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1962 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);