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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows3c
55 #define SWIG_name "windows3c"
58 #include <wx/sashwin.h>
59 #include <wx/laywin.h>
61 #include <wx/popupwin.h>
62 #include <wx/tipwin.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 // Put some wx default wxChar* values into wxStrings.
93 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
94 DECLARE_DEF_STRING(SashNameStr
);
95 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
96 DECLARE_DEF_STRING(SashLayoutNameStr
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
138 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
140 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
172 wxSashEvent_SetEdge(_arg0
,_arg1
);
174 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
203 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
236 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
238 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
266 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
268 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
295 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
297 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
324 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
326 wxPyEndAllowThreads(__tstate
);
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 wxString
* _arg5
= (wxString
*) &wxPySashNameStr
;
366 PyObject
* _argo0
= 0;
368 PyObject
* _obj2
= 0;
370 PyObject
* _obj3
= 0;
371 PyObject
* _obj5
= 0;
372 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
388 if (! wxPoint_helper(_obj2
, &_arg2
))
394 if (! wxSize_helper(_obj3
, &_arg3
))
399 _arg5
= wxString_in_helper(_obj5
);
404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
405 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
407 wxPyEndAllowThreads(__tstate
);
408 if (PyErr_Occurred()) return NULL
;
410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
411 _resultobj
= Py_BuildValue("s",_ptemp
);
414 _resultobj
= Py_None
;
423 #define new_wxPreSashWindow() (new wxSashWindow())
424 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
426 wxSashWindow
* _result
;
427 char *_kwnames
[] = { NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
435 _result
= (wxSashWindow
*)new_wxPreSashWindow();
437 wxPyEndAllowThreads(__tstate
);
438 if (PyErr_Occurred()) return NULL
;
440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
441 _resultobj
= Py_BuildValue("s",_ptemp
);
444 _resultobj
= Py_None
;
449 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
450 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
453 wxSashWindow
* _arg0
;
456 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
457 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
458 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
459 wxString
* _arg6
= (wxString
*) &wxPySashNameStr
;
460 PyObject
* _argo0
= 0;
461 PyObject
* _argo1
= 0;
463 PyObject
* _obj3
= 0;
465 PyObject
* _obj4
= 0;
466 PyObject
* _obj6
= 0;
467 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
489 if (! wxPoint_helper(_obj3
, &_arg3
))
495 if (! wxSize_helper(_obj4
, &_arg4
))
500 _arg6
= wxString_in_helper(_obj6
);
505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
506 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
508 wxPyEndAllowThreads(__tstate
);
509 if (PyErr_Occurred()) return NULL
;
510 } _resultobj
= Py_BuildValue("i",_result
);
518 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
519 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 wxSashWindow
* _arg0
;
523 wxSashEdgePosition _arg1
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self","edge", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
541 wxPyEndAllowThreads(__tstate
);
542 if (PyErr_Occurred()) return NULL
;
543 } _resultobj
= Py_BuildValue("i",_result
);
547 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
548 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
551 wxSashWindow
* _arg0
;
552 PyObject
* _argo0
= 0;
553 char *_kwnames
[] = { "self", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
567 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
569 wxPyEndAllowThreads(__tstate
);
570 if (PyErr_Occurred()) return NULL
;
571 } _resultobj
= Py_BuildValue("i",_result
);
575 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
576 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
579 wxSashWindow
* _arg0
;
580 wxSashEdgePosition _arg1
;
581 PyObject
* _argo0
= 0;
582 char *_kwnames
[] = { "self","edge", NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
596 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
598 wxPyEndAllowThreads(__tstate
);
599 if (PyErr_Occurred()) return NULL
;
600 } _resultobj
= Py_BuildValue("i",_result
);
604 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
605 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
608 wxSashWindow
* _arg0
;
609 PyObject
* _argo0
= 0;
610 char *_kwnames
[] = { "self", NULL
};
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
624 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
626 wxPyEndAllowThreads(__tstate
);
627 if (PyErr_Occurred()) return NULL
;
628 } _resultobj
= Py_BuildValue("i",_result
);
632 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
633 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 PyObject
* _resultobj
;
636 wxSashWindow
* _arg0
;
637 PyObject
* _argo0
= 0;
638 char *_kwnames
[] = { "self", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
652 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
654 wxPyEndAllowThreads(__tstate
);
655 if (PyErr_Occurred()) return NULL
;
656 } _resultobj
= Py_BuildValue("i",_result
);
660 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
661 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
662 PyObject
* _resultobj
;
664 wxSashWindow
* _arg0
;
665 PyObject
* _argo0
= 0;
666 char *_kwnames
[] = { "self", NULL
};
669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
680 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
682 wxPyEndAllowThreads(__tstate
);
683 if (PyErr_Occurred()) return NULL
;
684 } _resultobj
= Py_BuildValue("i",_result
);
688 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
689 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
692 wxSashWindow
* _arg0
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
708 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
710 wxPyEndAllowThreads(__tstate
);
711 if (PyErr_Occurred()) return NULL
;
712 } _resultobj
= Py_BuildValue("i",_result
);
716 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
717 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
720 wxSashWindow
* _arg0
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
740 } _resultobj
= Py_BuildValue("i",_result
);
744 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
745 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
748 wxSashWindow
* _arg0
;
749 wxSashEdgePosition _arg1
;
750 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "self","edge", NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) return NULL
;
769 } _resultobj
= Py_BuildValue("i",_result
);
773 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
774 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
776 wxSashWindow
* _arg0
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self","width", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
797 } Py_INCREF(Py_None
);
798 _resultobj
= Py_None
;
802 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
803 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 PyObject
* _resultobj
;
805 wxSashWindow
* _arg0
;
807 PyObject
* _argo0
= 0;
808 char *_kwnames
[] = { "self","width", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } Py_INCREF(Py_None
);
827 _resultobj
= Py_None
;
831 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
832 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
834 wxSashWindow
* _arg0
;
836 PyObject
* _argo0
= 0;
837 char *_kwnames
[] = { "self","min", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
853 wxPyEndAllowThreads(__tstate
);
854 if (PyErr_Occurred()) return NULL
;
855 } Py_INCREF(Py_None
);
856 _resultobj
= Py_None
;
860 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
861 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
863 wxSashWindow
* _arg0
;
865 PyObject
* _argo0
= 0;
866 char *_kwnames
[] = { "self","min", NULL
};
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
880 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
882 wxPyEndAllowThreads(__tstate
);
883 if (PyErr_Occurred()) return NULL
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
889 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
890 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
892 wxSashWindow
* _arg0
;
894 PyObject
* _argo0
= 0;
895 char *_kwnames
[] = { "self","min", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
909 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
911 wxPyEndAllowThreads(__tstate
);
912 if (PyErr_Occurred()) return NULL
;
913 } Py_INCREF(Py_None
);
914 _resultobj
= Py_None
;
918 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
919 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
921 wxSashWindow
* _arg0
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self","min", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
938 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) return NULL
;
942 } Py_INCREF(Py_None
);
943 _resultobj
= Py_None
;
947 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
948 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
950 wxSashWindow
* _arg0
;
951 wxSashEdgePosition _arg1
;
953 PyObject
* _argo0
= 0;
955 char *_kwnames
[] = { "self","edge","visible", NULL
};
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
967 _arg2
= (bool ) tempbool2
;
969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
970 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
972 wxPyEndAllowThreads(__tstate
);
973 if (PyErr_Occurred()) return NULL
;
974 } Py_INCREF(Py_None
);
975 _resultobj
= Py_None
;
979 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
980 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
982 wxSashWindow
* _arg0
;
983 wxSashEdgePosition _arg1
;
985 PyObject
* _argo0
= 0;
987 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
999 _arg2
= (bool ) tempbool2
;
1001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1002 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1004 wxPyEndAllowThreads(__tstate
);
1005 if (PyErr_Occurred()) return NULL
;
1006 } Py_INCREF(Py_None
);
1007 _resultobj
= Py_None
;
1011 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1012 wxQueryLayoutInfoEvent
*src
;
1014 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1015 dest
= (wxEvent
*) src
;
1016 return (void *) dest
;
1019 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1020 wxQueryLayoutInfoEvent
*src
;
1022 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1023 dest
= (wxObject
*) src
;
1024 return (void *) dest
;
1027 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1028 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1030 wxQueryLayoutInfoEvent
* _result
;
1031 wxWindowID _arg0
= (wxWindowID
) 0;
1032 char *_kwnames
[] = { "id", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1040 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1042 wxPyEndAllowThreads(__tstate
);
1043 if (PyErr_Occurred()) return NULL
;
1045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1046 _resultobj
= Py_BuildValue("s",_ptemp
);
1049 _resultobj
= Py_None
;
1054 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1055 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1057 wxQueryLayoutInfoEvent
* _arg0
;
1059 PyObject
* _argo0
= 0;
1060 char *_kwnames
[] = { "self","length", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1074 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1076 wxPyEndAllowThreads(__tstate
);
1077 if (PyErr_Occurred()) return NULL
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1084 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1087 wxQueryLayoutInfoEvent
* _arg0
;
1088 PyObject
* _argo0
= 0;
1089 char *_kwnames
[] = { "self", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1103 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1105 wxPyEndAllowThreads(__tstate
);
1106 if (PyErr_Occurred()) return NULL
;
1107 } _resultobj
= Py_BuildValue("i",_result
);
1111 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1112 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1114 wxQueryLayoutInfoEvent
* _arg0
;
1116 PyObject
* _argo0
= 0;
1117 char *_kwnames
[] = { "self","flags", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) return NULL
;
1135 } Py_INCREF(Py_None
);
1136 _resultobj
= Py_None
;
1140 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1141 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1144 wxQueryLayoutInfoEvent
* _arg0
;
1145 PyObject
* _argo0
= 0;
1146 char *_kwnames
[] = { "self", NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) return NULL
;
1164 } _resultobj
= Py_BuildValue("i",_result
);
1168 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1169 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
* _resultobj
;
1171 wxQueryLayoutInfoEvent
* _arg0
;
1173 PyObject
* _argo0
= 0;
1175 PyObject
* _obj1
= 0;
1176 char *_kwnames
[] = { "self","size", NULL
};
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1190 if (! wxSize_helper(_obj1
, &_arg1
))
1194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1195 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1197 wxPyEndAllowThreads(__tstate
);
1198 if (PyErr_Occurred()) return NULL
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1204 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1205 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1208 wxQueryLayoutInfoEvent
* _arg0
;
1209 PyObject
* _argo0
= 0;
1210 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) return NULL
;
1229 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1230 _resultobj
= Py_BuildValue("s",_ptemp
);
1234 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1235 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1237 wxQueryLayoutInfoEvent
* _arg0
;
1238 wxLayoutOrientation _arg1
;
1239 PyObject
* _argo0
= 0;
1240 char *_kwnames
[] = { "self","orient", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1254 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1256 wxPyEndAllowThreads(__tstate
);
1257 if (PyErr_Occurred()) return NULL
;
1258 } Py_INCREF(Py_None
);
1259 _resultobj
= Py_None
;
1263 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1264 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1266 wxLayoutOrientation _result
;
1267 wxQueryLayoutInfoEvent
* _arg0
;
1268 PyObject
* _argo0
= 0;
1269 char *_kwnames
[] = { "self", NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) return NULL
;
1287 } _resultobj
= Py_BuildValue("i",_result
);
1291 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1292 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
* _resultobj
;
1294 wxQueryLayoutInfoEvent
* _arg0
;
1295 wxLayoutAlignment _arg1
;
1296 PyObject
* _argo0
= 0;
1297 char *_kwnames
[] = { "self","align", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) return NULL
;
1315 } Py_INCREF(Py_None
);
1316 _resultobj
= Py_None
;
1320 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1321 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1323 wxLayoutAlignment _result
;
1324 wxQueryLayoutInfoEvent
* _arg0
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) return NULL
;
1344 } _resultobj
= Py_BuildValue("i",_result
);
1348 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1349 wxCalculateLayoutEvent
*src
;
1351 src
= (wxCalculateLayoutEvent
*) ptr
;
1352 dest
= (wxEvent
*) src
;
1353 return (void *) dest
;
1356 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1357 wxCalculateLayoutEvent
*src
;
1359 src
= (wxCalculateLayoutEvent
*) ptr
;
1360 dest
= (wxObject
*) src
;
1361 return (void *) dest
;
1364 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1365 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1367 wxCalculateLayoutEvent
* _result
;
1368 wxWindowID _arg0
= (wxWindowID
) 0;
1369 char *_kwnames
[] = { "id", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) return NULL
;
1382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1383 _resultobj
= Py_BuildValue("s",_ptemp
);
1386 _resultobj
= Py_None
;
1391 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1392 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1394 wxCalculateLayoutEvent
* _arg0
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "self","flags", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) return NULL
;
1415 } Py_INCREF(Py_None
);
1416 _resultobj
= Py_None
;
1420 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1421 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1424 wxCalculateLayoutEvent
* _arg0
;
1425 PyObject
* _argo0
= 0;
1426 char *_kwnames
[] = { "self", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) return NULL
;
1444 } _resultobj
= Py_BuildValue("i",_result
);
1448 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1449 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1451 wxCalculateLayoutEvent
* _arg0
;
1453 PyObject
* _argo0
= 0;
1455 PyObject
* _obj1
= 0;
1456 char *_kwnames
[] = { "self","rect", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1470 if (! wxRect_helper(_obj1
, &_arg1
))
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1484 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1485 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1488 wxCalculateLayoutEvent
* _arg0
;
1489 PyObject
* _argo0
= 0;
1490 char *_kwnames
[] = { "self", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) return NULL
;
1509 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1510 _resultobj
= Py_BuildValue("s",_ptemp
);
1514 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1515 wxSashLayoutWindow
*src
;
1517 src
= (wxSashLayoutWindow
*) ptr
;
1518 dest
= (wxSashWindow
*) src
;
1519 return (void *) dest
;
1522 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1523 wxSashLayoutWindow
*src
;
1525 src
= (wxSashLayoutWindow
*) ptr
;
1526 dest
= (wxWindow
*) src
;
1527 return (void *) dest
;
1530 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1531 wxSashLayoutWindow
*src
;
1533 src
= (wxSashLayoutWindow
*) ptr
;
1534 dest
= (wxEvtHandler
*) src
;
1535 return (void *) dest
;
1538 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1539 wxSashLayoutWindow
*src
;
1541 src
= (wxSashLayoutWindow
*) ptr
;
1542 dest
= (wxObject
*) src
;
1543 return (void *) dest
;
1546 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1547 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1549 wxSashLayoutWindow
* _result
;
1552 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1553 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1554 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1555 wxString
* _arg5
= (wxString
*) &wxPySashLayoutNameStr
;
1556 PyObject
* _argo0
= 0;
1558 PyObject
* _obj2
= 0;
1560 PyObject
* _obj3
= 0;
1561 PyObject
* _obj5
= 0;
1562 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1578 if (! wxPoint_helper(_obj2
, &_arg2
))
1584 if (! wxSize_helper(_obj3
, &_arg3
))
1589 _arg5
= wxString_in_helper(_obj5
);
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) return NULL
;
1600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1601 _resultobj
= Py_BuildValue("s",_ptemp
);
1604 _resultobj
= Py_None
;
1613 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1614 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
* _resultobj
;
1616 wxSashLayoutWindow
* _result
;
1617 char *_kwnames
[] = { NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) return NULL
;
1630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1631 _resultobj
= Py_BuildValue("s",_ptemp
);
1634 _resultobj
= Py_None
;
1639 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1640 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1643 wxSashLayoutWindow
* _arg0
;
1646 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1647 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1648 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1649 wxString
* _arg6
= (wxString
*) &wxPySashLayoutNameStr
;
1650 PyObject
* _argo0
= 0;
1651 PyObject
* _argo1
= 0;
1653 PyObject
* _obj3
= 0;
1655 PyObject
* _obj4
= 0;
1656 PyObject
* _obj6
= 0;
1657 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1679 if (! wxPoint_helper(_obj3
, &_arg3
))
1685 if (! wxSize_helper(_obj4
, &_arg4
))
1690 _arg6
= wxString_in_helper(_obj6
);
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) return NULL
;
1700 } _resultobj
= Py_BuildValue("i",_result
);
1708 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1709 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1711 wxLayoutAlignment _result
;
1712 wxSashLayoutWindow
* _arg0
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1737 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxLayoutOrientation _result
;
1740 wxSashLayoutWindow
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } _resultobj
= Py_BuildValue("i",_result
);
1764 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1765 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1767 wxSashLayoutWindow
* _arg0
;
1768 wxLayoutAlignment _arg1
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self","alignment", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } Py_INCREF(Py_None
);
1789 _resultobj
= Py_None
;
1793 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1794 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
* _resultobj
;
1796 wxSashLayoutWindow
* _arg0
;
1798 PyObject
* _argo0
= 0;
1800 PyObject
* _obj1
= 0;
1801 char *_kwnames
[] = { "self","size", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1815 if (! wxSize_helper(_obj1
, &_arg1
))
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) return NULL
;
1824 } Py_INCREF(Py_None
);
1825 _resultobj
= Py_None
;
1829 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1830 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1832 wxSashLayoutWindow
* _arg0
;
1833 wxLayoutOrientation _arg1
;
1834 PyObject
* _argo0
= 0;
1835 char *_kwnames
[] = { "self","orientation", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) return NULL
;
1853 } Py_INCREF(Py_None
);
1854 _resultobj
= Py_None
;
1858 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1859 wxLayoutAlgorithm
*src
;
1861 src
= (wxLayoutAlgorithm
*) ptr
;
1862 dest
= (wxObject
*) src
;
1863 return (void *) dest
;
1866 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1867 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 wxLayoutAlgorithm
* _result
;
1870 char *_kwnames
[] = { NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) return NULL
;
1883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1884 _resultobj
= Py_BuildValue("s",_ptemp
);
1887 _resultobj
= Py_None
;
1892 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1893 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1895 wxLayoutAlgorithm
* _arg0
;
1896 PyObject
* _argo0
= 0;
1897 char *_kwnames
[] = { "self", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 delete_wxLayoutAlgorithm(_arg0
);
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) return NULL
;
1915 } Py_INCREF(Py_None
);
1916 _resultobj
= Py_None
;
1920 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1921 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
* _resultobj
;
1924 wxLayoutAlgorithm
* _arg0
;
1925 wxMDIParentFrame
* _arg1
;
1926 wxRect
* _arg2
= (wxRect
*) NULL
;
1927 PyObject
* _argo0
= 0;
1928 PyObject
* _argo1
= 0;
1930 PyObject
* _obj2
= 0;
1931 char *_kwnames
[] = { "self","frame","rect", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1953 if (! wxRect_helper(_obj2
, &_arg2
))
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 } _resultobj
= Py_BuildValue("i",_result
);
1966 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1967 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1970 wxLayoutAlgorithm
* _arg0
;
1972 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1973 PyObject
* _argo0
= 0;
1974 PyObject
* _argo1
= 0;
1975 PyObject
* _argo2
= 0;
1976 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1996 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) return NULL
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
2013 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2016 wxLayoutAlgorithm
* _arg0
;
2018 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2019 PyObject
* _argo0
= 0;
2020 PyObject
* _argo1
= 0;
2021 PyObject
* _argo2
= 0;
2022 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2042 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) return NULL
;
2054 } _resultobj
= Py_BuildValue("i",_result
);
2058 static PyMethodDef windows3cMethods
[] = {
2059 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2060 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2066 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2068 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2069 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2070 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2071 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2072 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2073 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2074 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2075 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2076 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2077 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2078 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2079 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2080 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2081 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2082 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2083 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2084 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2085 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2086 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2087 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2088 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2089 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2090 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2091 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2092 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2093 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2094 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2095 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2096 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2097 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2098 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2099 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2100 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2101 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2102 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2103 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2104 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2105 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2106 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2107 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2108 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2109 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2110 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2111 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2112 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2113 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2114 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2121 * This table is used by the pointer type-checker
2123 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2124 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2125 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2126 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2127 { "_signed_long","_long",0},
2128 { "_wxPrintQuality","_wxCoord",0},
2129 { "_wxPrintQuality","_int",0},
2130 { "_wxPrintQuality","_signed_int",0},
2131 { "_wxPrintQuality","_unsigned_int",0},
2132 { "_wxPrintQuality","_wxWindowID",0},
2133 { "_wxPrintQuality","_uint",0},
2134 { "_wxPrintQuality","_EBool",0},
2135 { "_wxPrintQuality","_size_t",0},
2136 { "_wxPrintQuality","_time_t",0},
2137 { "_byte","_unsigned_char",0},
2138 { "_long","_unsigned_long",0},
2139 { "_long","_signed_long",0},
2140 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2141 { "_size_t","_wxCoord",0},
2142 { "_size_t","_wxPrintQuality",0},
2143 { "_size_t","_time_t",0},
2144 { "_size_t","_unsigned_int",0},
2145 { "_size_t","_int",0},
2146 { "_size_t","_wxWindowID",0},
2147 { "_size_t","_uint",0},
2148 { "_uint","_wxCoord",0},
2149 { "_uint","_wxPrintQuality",0},
2150 { "_uint","_time_t",0},
2151 { "_uint","_size_t",0},
2152 { "_uint","_unsigned_int",0},
2153 { "_uint","_int",0},
2154 { "_uint","_wxWindowID",0},
2155 { "_wxChar","_char",0},
2156 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2157 { "_char","_wxChar",0},
2158 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2159 { "_EBool","_wxCoord",0},
2160 { "_EBool","_wxPrintQuality",0},
2161 { "_EBool","_signed_int",0},
2162 { "_EBool","_int",0},
2163 { "_EBool","_wxWindowID",0},
2164 { "_unsigned_long","_long",0},
2165 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2166 { "_signed_int","_wxCoord",0},
2167 { "_signed_int","_wxPrintQuality",0},
2168 { "_signed_int","_EBool",0},
2169 { "_signed_int","_wxWindowID",0},
2170 { "_signed_int","_int",0},
2171 { "_WXTYPE","_short",0},
2172 { "_WXTYPE","_signed_short",0},
2173 { "_WXTYPE","_unsigned_short",0},
2174 { "_unsigned_short","_WXTYPE",0},
2175 { "_unsigned_short","_short",0},
2176 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2177 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2178 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2179 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2180 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2181 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2182 { "_signed_short","_WXTYPE",0},
2183 { "_signed_short","_short",0},
2184 { "_unsigned_char","_byte",0},
2185 { "_unsigned_int","_wxCoord",0},
2186 { "_unsigned_int","_wxPrintQuality",0},
2187 { "_unsigned_int","_time_t",0},
2188 { "_unsigned_int","_size_t",0},
2189 { "_unsigned_int","_uint",0},
2190 { "_unsigned_int","_wxWindowID",0},
2191 { "_unsigned_int","_int",0},
2192 { "_short","_WXTYPE",0},
2193 { "_short","_unsigned_short",0},
2194 { "_short","_signed_short",0},
2195 { "_wxWindowID","_wxCoord",0},
2196 { "_wxWindowID","_wxPrintQuality",0},
2197 { "_wxWindowID","_time_t",0},
2198 { "_wxWindowID","_size_t",0},
2199 { "_wxWindowID","_EBool",0},
2200 { "_wxWindowID","_uint",0},
2201 { "_wxWindowID","_int",0},
2202 { "_wxWindowID","_signed_int",0},
2203 { "_wxWindowID","_unsigned_int",0},
2204 { "_int","_wxCoord",0},
2205 { "_int","_wxPrintQuality",0},
2206 { "_int","_time_t",0},
2207 { "_int","_size_t",0},
2208 { "_int","_EBool",0},
2209 { "_int","_uint",0},
2210 { "_int","_wxWindowID",0},
2211 { "_int","_unsigned_int",0},
2212 { "_int","_signed_int",0},
2213 { "_time_t","_wxCoord",0},
2214 { "_time_t","_wxPrintQuality",0},
2215 { "_time_t","_unsigned_int",0},
2216 { "_time_t","_int",0},
2217 { "_time_t","_wxWindowID",0},
2218 { "_time_t","_uint",0},
2219 { "_time_t","_size_t",0},
2220 { "_wxCoord","_int",0},
2221 { "_wxCoord","_signed_int",0},
2222 { "_wxCoord","_unsigned_int",0},
2223 { "_wxCoord","_wxWindowID",0},
2224 { "_wxCoord","_uint",0},
2225 { "_wxCoord","_EBool",0},
2226 { "_wxCoord","_size_t",0},
2227 { "_wxCoord","_time_t",0},
2228 { "_wxCoord","_wxPrintQuality",0},
2229 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2230 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2231 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2232 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2235 static PyObject
*SWIG_globals
;
2239 SWIGEXPORT(void) initwindows3c() {
2241 SWIG_globals
= SWIG_newvarlink();
2242 m
= Py_InitModule("windows3c", windows3cMethods
);
2243 d
= PyModule_GetDict(m
);
2244 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2245 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2246 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2247 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2248 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2249 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2250 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2251 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2252 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2253 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2254 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2255 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2256 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2257 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2258 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2259 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2260 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2261 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2262 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2263 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2264 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2267 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2268 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);