2 * FILE : src/mac/windows3.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows3c
56 #define SWIG_name "windows3c"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
62 #include <wx/popupwin.h>
63 #include <wx/tipwin.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 // Put some wx default wxChar* values into wxStrings.
94 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
95 DECLARE_DEF_STRING(SashNameStr
);
96 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
97 DECLARE_DEF_STRING(SashLayoutNameStr
);
101 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
103 wxCommandEvent
*dest
;
104 src
= (wxSashEvent
*) ptr
;
105 dest
= (wxCommandEvent
*) src
;
106 return (void *) dest
;
109 static void *SwigwxSashEventTowxEvent(void *ptr
) {
112 src
= (wxSashEvent
*) ptr
;
113 dest
= (wxEvent
*) src
;
114 return (void *) dest
;
117 static void *SwigwxSashEventTowxObject(void *ptr
) {
120 src
= (wxSashEvent
*) ptr
;
121 dest
= (wxObject
*) src
;
122 return (void *) dest
;
125 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
126 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
127 PyObject
* _resultobj
;
128 wxSashEvent
* _result
;
129 int _arg0
= (int ) 0;
130 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
131 char *_kwnames
[] = { "id","edge", NULL
};
135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
139 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
141 wxPyEndAllowThreads(__tstate
);
142 if (PyErr_Occurred()) return NULL
;
144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
145 _resultobj
= Py_BuildValue("s",_ptemp
);
148 _resultobj
= Py_None
;
153 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
154 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
157 wxSashEdgePosition _arg1
;
158 PyObject
* _argo0
= 0;
159 char *_kwnames
[] = { "self","edge", NULL
};
162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
173 wxSashEvent_SetEdge(_arg0
,_arg1
);
175 wxPyEndAllowThreads(__tstate
);
176 if (PyErr_Occurred()) return NULL
;
177 } Py_INCREF(Py_None
);
178 _resultobj
= Py_None
;
182 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
183 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
185 wxSashEdgePosition _result
;
187 PyObject
* _argo0
= 0;
188 char *_kwnames
[] = { "self", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
202 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
204 wxPyEndAllowThreads(__tstate
);
205 if (PyErr_Occurred()) return NULL
;
206 } _resultobj
= Py_BuildValue("i",_result
);
210 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
211 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
212 PyObject
* _resultobj
;
215 PyObject
* _argo0
= 0;
217 PyObject
* _obj1
= 0;
218 char *_kwnames
[] = { "self","rect", NULL
};
221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
232 if (! wxRect_helper(_obj1
, &_arg1
))
236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
237 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
239 wxPyEndAllowThreads(__tstate
);
240 if (PyErr_Occurred()) return NULL
;
241 } Py_INCREF(Py_None
);
242 _resultobj
= Py_None
;
246 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
247 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
251 PyObject
* _argo0
= 0;
252 char *_kwnames
[] = { "self", NULL
};
256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
271 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
272 _resultobj
= Py_BuildValue("s",_ptemp
);
276 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
277 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
280 wxSashDragStatus _arg1
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self","status", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } Py_INCREF(Py_None
);
301 _resultobj
= Py_None
;
305 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
306 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
308 wxSashDragStatus _result
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
325 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
327 wxPyEndAllowThreads(__tstate
);
328 if (PyErr_Occurred()) return NULL
;
329 } _resultobj
= Py_BuildValue("i",_result
);
333 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
336 src
= (wxSashWindow
*) ptr
;
337 dest
= (wxWindow
*) src
;
338 return (void *) dest
;
341 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
344 src
= (wxSashWindow
*) ptr
;
345 dest
= (wxEvtHandler
*) src
;
346 return (void *) dest
;
349 static void *SwigwxSashWindowTowxObject(void *ptr
) {
352 src
= (wxSashWindow
*) ptr
;
353 dest
= (wxObject
*) src
;
354 return (void *) dest
;
357 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
358 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
360 wxSashWindow
* _result
;
363 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
364 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
365 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
366 wxString
* _arg5
= (wxString
*) &wxPySashNameStr
;
367 PyObject
* _argo0
= 0;
369 PyObject
* _obj2
= 0;
371 PyObject
* _obj3
= 0;
372 PyObject
* _obj5
= 0;
373 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
389 if (! wxPoint_helper(_obj2
, &_arg2
))
395 if (! wxSize_helper(_obj3
, &_arg3
))
400 _arg5
= wxString_in_helper(_obj5
);
405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
406 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
408 wxPyEndAllowThreads(__tstate
);
409 if (PyErr_Occurred()) return NULL
;
411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
412 _resultobj
= Py_BuildValue("s",_ptemp
);
415 _resultobj
= Py_None
;
424 #define new_wxPreSashWindow() (new wxSashWindow())
425 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
427 wxSashWindow
* _result
;
428 char *_kwnames
[] = { NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
436 _result
= (wxSashWindow
*)new_wxPreSashWindow();
438 wxPyEndAllowThreads(__tstate
);
439 if (PyErr_Occurred()) return NULL
;
441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
442 _resultobj
= Py_BuildValue("s",_ptemp
);
445 _resultobj
= Py_None
;
450 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
451 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
454 wxSashWindow
* _arg0
;
457 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
458 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
459 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
460 wxString
* _arg6
= (wxString
*) &wxPySashNameStr
;
461 PyObject
* _argo0
= 0;
462 PyObject
* _argo1
= 0;
464 PyObject
* _obj3
= 0;
466 PyObject
* _obj4
= 0;
467 PyObject
* _obj6
= 0;
468 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
490 if (! wxPoint_helper(_obj3
, &_arg3
))
496 if (! wxSize_helper(_obj4
, &_arg4
))
501 _arg6
= wxString_in_helper(_obj6
);
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
511 } _resultobj
= Py_BuildValue("i",_result
);
519 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
520 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxSashWindow
* _arg0
;
524 wxSashEdgePosition _arg1
;
525 PyObject
* _argo0
= 0;
526 char *_kwnames
[] = { "self","edge", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
544 } _resultobj
= Py_BuildValue("i",_result
);
548 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
549 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
552 wxSashWindow
* _arg0
;
553 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
568 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
570 wxPyEndAllowThreads(__tstate
);
571 if (PyErr_Occurred()) return NULL
;
572 } _resultobj
= Py_BuildValue("i",_result
);
576 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
577 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
580 wxSashWindow
* _arg0
;
581 wxSashEdgePosition _arg1
;
582 PyObject
* _argo0
= 0;
583 char *_kwnames
[] = { "self","edge", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
597 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
599 wxPyEndAllowThreads(__tstate
);
600 if (PyErr_Occurred()) return NULL
;
601 } _resultobj
= Py_BuildValue("i",_result
);
605 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
606 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
609 wxSashWindow
* _arg0
;
610 PyObject
* _argo0
= 0;
611 char *_kwnames
[] = { "self", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
625 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
627 wxPyEndAllowThreads(__tstate
);
628 if (PyErr_Occurred()) return NULL
;
629 } _resultobj
= Py_BuildValue("i",_result
);
633 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
634 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
637 wxSashWindow
* _arg0
;
638 PyObject
* _argo0
= 0;
639 char *_kwnames
[] = { "self", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) return NULL
;
657 } _resultobj
= Py_BuildValue("i",_result
);
661 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
662 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
665 wxSashWindow
* _arg0
;
666 PyObject
* _argo0
= 0;
667 char *_kwnames
[] = { "self", NULL
};
670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
681 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
683 wxPyEndAllowThreads(__tstate
);
684 if (PyErr_Occurred()) return NULL
;
685 } _resultobj
= Py_BuildValue("i",_result
);
689 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
690 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
693 wxSashWindow
* _arg0
;
694 PyObject
* _argo0
= 0;
695 char *_kwnames
[] = { "self", NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
709 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
711 wxPyEndAllowThreads(__tstate
);
712 if (PyErr_Occurred()) return NULL
;
713 } _resultobj
= Py_BuildValue("i",_result
);
717 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
718 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
719 PyObject
* _resultobj
;
721 wxSashWindow
* _arg0
;
722 PyObject
* _argo0
= 0;
723 char *_kwnames
[] = { "self", NULL
};
726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
737 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
739 wxPyEndAllowThreads(__tstate
);
740 if (PyErr_Occurred()) return NULL
;
741 } _resultobj
= Py_BuildValue("i",_result
);
745 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
746 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
749 wxSashWindow
* _arg0
;
750 wxSashEdgePosition _arg1
;
751 PyObject
* _argo0
= 0;
752 char *_kwnames
[] = { "self","edge", NULL
};
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
766 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) return NULL
;
770 } _resultobj
= Py_BuildValue("i",_result
);
774 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
775 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
777 wxSashWindow
* _arg0
;
779 PyObject
* _argo0
= 0;
780 char *_kwnames
[] = { "self","width", NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
798 } Py_INCREF(Py_None
);
799 _resultobj
= Py_None
;
803 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
804 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
806 wxSashWindow
* _arg0
;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self","width", NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } Py_INCREF(Py_None
);
828 _resultobj
= Py_None
;
832 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
833 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
835 wxSashWindow
* _arg0
;
837 PyObject
* _argo0
= 0;
838 char *_kwnames
[] = { "self","min", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
852 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
854 wxPyEndAllowThreads(__tstate
);
855 if (PyErr_Occurred()) return NULL
;
856 } Py_INCREF(Py_None
);
857 _resultobj
= Py_None
;
861 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
862 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
864 wxSashWindow
* _arg0
;
866 PyObject
* _argo0
= 0;
867 char *_kwnames
[] = { "self","min", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) return NULL
;
885 } Py_INCREF(Py_None
);
886 _resultobj
= Py_None
;
890 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
891 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
893 wxSashWindow
* _arg0
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self","min", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
910 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) return NULL
;
914 } Py_INCREF(Py_None
);
915 _resultobj
= Py_None
;
919 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
920 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
922 wxSashWindow
* _arg0
;
924 PyObject
* _argo0
= 0;
925 char *_kwnames
[] = { "self","min", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
941 wxPyEndAllowThreads(__tstate
);
942 if (PyErr_Occurred()) return NULL
;
943 } Py_INCREF(Py_None
);
944 _resultobj
= Py_None
;
948 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
949 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
951 wxSashWindow
* _arg0
;
952 wxSashEdgePosition _arg1
;
954 PyObject
* _argo0
= 0;
956 char *_kwnames
[] = { "self","edge","visible", NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
968 _arg2
= (bool ) tempbool2
;
970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
971 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
973 wxPyEndAllowThreads(__tstate
);
974 if (PyErr_Occurred()) return NULL
;
975 } Py_INCREF(Py_None
);
976 _resultobj
= Py_None
;
980 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
981 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
983 wxSashWindow
* _arg0
;
984 wxSashEdgePosition _arg1
;
986 PyObject
* _argo0
= 0;
988 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
1000 _arg2
= (bool ) tempbool2
;
1002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1003 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1005 wxPyEndAllowThreads(__tstate
);
1006 if (PyErr_Occurred()) return NULL
;
1007 } Py_INCREF(Py_None
);
1008 _resultobj
= Py_None
;
1012 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1013 wxQueryLayoutInfoEvent
*src
;
1015 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1016 dest
= (wxEvent
*) src
;
1017 return (void *) dest
;
1020 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1021 wxQueryLayoutInfoEvent
*src
;
1023 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1024 dest
= (wxObject
*) src
;
1025 return (void *) dest
;
1028 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1029 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1031 wxQueryLayoutInfoEvent
* _result
;
1032 wxWindowID _arg0
= (wxWindowID
) 0;
1033 char *_kwnames
[] = { "id", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) return NULL
;
1046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1050 _resultobj
= Py_None
;
1055 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1056 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1058 wxQueryLayoutInfoEvent
* _arg0
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self","length", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1085 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1088 wxQueryLayoutInfoEvent
* _arg0
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } _resultobj
= Py_BuildValue("i",_result
);
1112 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1113 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
* _resultobj
;
1115 wxQueryLayoutInfoEvent
* _arg0
;
1117 PyObject
* _argo0
= 0;
1118 char *_kwnames
[] = { "self","flags", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) return NULL
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1141 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1142 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1145 wxQueryLayoutInfoEvent
* _arg0
;
1146 PyObject
* _argo0
= 0;
1147 char *_kwnames
[] = { "self", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1161 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1163 wxPyEndAllowThreads(__tstate
);
1164 if (PyErr_Occurred()) return NULL
;
1165 } _resultobj
= Py_BuildValue("i",_result
);
1169 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1170 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1172 wxQueryLayoutInfoEvent
* _arg0
;
1174 PyObject
* _argo0
= 0;
1176 PyObject
* _obj1
= 0;
1177 char *_kwnames
[] = { "self","size", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1191 if (! wxSize_helper(_obj1
, &_arg1
))
1195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1196 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1198 wxPyEndAllowThreads(__tstate
);
1199 if (PyErr_Occurred()) return NULL
;
1200 } Py_INCREF(Py_None
);
1201 _resultobj
= Py_None
;
1205 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1206 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1209 wxQueryLayoutInfoEvent
* _arg0
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1231 _resultobj
= Py_BuildValue("s",_ptemp
);
1235 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1236 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1238 wxQueryLayoutInfoEvent
* _arg0
;
1239 wxLayoutOrientation _arg1
;
1240 PyObject
* _argo0
= 0;
1241 char *_kwnames
[] = { "self","orient", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1255 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1257 wxPyEndAllowThreads(__tstate
);
1258 if (PyErr_Occurred()) return NULL
;
1259 } Py_INCREF(Py_None
);
1260 _resultobj
= Py_None
;
1264 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1265 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1267 wxLayoutOrientation _result
;
1268 wxQueryLayoutInfoEvent
* _arg0
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1284 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1286 wxPyEndAllowThreads(__tstate
);
1287 if (PyErr_Occurred()) return NULL
;
1288 } _resultobj
= Py_BuildValue("i",_result
);
1292 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1293 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1295 wxQueryLayoutInfoEvent
* _arg0
;
1296 wxLayoutAlignment _arg1
;
1297 PyObject
* _argo0
= 0;
1298 char *_kwnames
[] = { "self","align", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1312 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1314 wxPyEndAllowThreads(__tstate
);
1315 if (PyErr_Occurred()) return NULL
;
1316 } Py_INCREF(Py_None
);
1317 _resultobj
= Py_None
;
1321 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1322 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1324 wxLayoutAlignment _result
;
1325 wxQueryLayoutInfoEvent
* _arg0
;
1326 PyObject
* _argo0
= 0;
1327 char *_kwnames
[] = { "self", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1341 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1343 wxPyEndAllowThreads(__tstate
);
1344 if (PyErr_Occurred()) return NULL
;
1345 } _resultobj
= Py_BuildValue("i",_result
);
1349 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1350 wxCalculateLayoutEvent
*src
;
1352 src
= (wxCalculateLayoutEvent
*) ptr
;
1353 dest
= (wxEvent
*) src
;
1354 return (void *) dest
;
1357 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1358 wxCalculateLayoutEvent
*src
;
1360 src
= (wxCalculateLayoutEvent
*) ptr
;
1361 dest
= (wxObject
*) src
;
1362 return (void *) dest
;
1365 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1366 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1368 wxCalculateLayoutEvent
* _result
;
1369 wxWindowID _arg0
= (wxWindowID
) 0;
1370 char *_kwnames
[] = { "id", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) return NULL
;
1383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1384 _resultobj
= Py_BuildValue("s",_ptemp
);
1387 _resultobj
= Py_None
;
1392 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1393 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1395 wxCalculateLayoutEvent
* _arg0
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self","flags", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) return NULL
;
1416 } Py_INCREF(Py_None
);
1417 _resultobj
= Py_None
;
1421 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1422 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1425 wxCalculateLayoutEvent
* _arg0
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) return NULL
;
1445 } _resultobj
= Py_BuildValue("i",_result
);
1449 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1450 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1452 wxCalculateLayoutEvent
* _arg0
;
1454 PyObject
* _argo0
= 0;
1456 PyObject
* _obj1
= 0;
1457 char *_kwnames
[] = { "self","rect", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1471 if (! wxRect_helper(_obj1
, &_arg1
))
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) return NULL
;
1480 } Py_INCREF(Py_None
);
1481 _resultobj
= Py_None
;
1485 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1486 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1489 wxCalculateLayoutEvent
* _arg0
;
1490 PyObject
* _argo0
= 0;
1491 char *_kwnames
[] = { "self", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) return NULL
;
1510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1511 _resultobj
= Py_BuildValue("s",_ptemp
);
1515 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1516 wxSashLayoutWindow
*src
;
1518 src
= (wxSashLayoutWindow
*) ptr
;
1519 dest
= (wxSashWindow
*) src
;
1520 return (void *) dest
;
1523 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1524 wxSashLayoutWindow
*src
;
1526 src
= (wxSashLayoutWindow
*) ptr
;
1527 dest
= (wxWindow
*) src
;
1528 return (void *) dest
;
1531 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1532 wxSashLayoutWindow
*src
;
1534 src
= (wxSashLayoutWindow
*) ptr
;
1535 dest
= (wxEvtHandler
*) src
;
1536 return (void *) dest
;
1539 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1540 wxSashLayoutWindow
*src
;
1542 src
= (wxSashLayoutWindow
*) ptr
;
1543 dest
= (wxObject
*) src
;
1544 return (void *) dest
;
1547 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1548 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1550 wxSashLayoutWindow
* _result
;
1553 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1554 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1555 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1556 wxString
* _arg5
= (wxString
*) &wxPySashLayoutNameStr
;
1557 PyObject
* _argo0
= 0;
1559 PyObject
* _obj2
= 0;
1561 PyObject
* _obj3
= 0;
1562 PyObject
* _obj5
= 0;
1563 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1579 if (! wxPoint_helper(_obj2
, &_arg2
))
1585 if (! wxSize_helper(_obj3
, &_arg3
))
1590 _arg5
= wxString_in_helper(_obj5
);
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) return NULL
;
1601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1602 _resultobj
= Py_BuildValue("s",_ptemp
);
1605 _resultobj
= Py_None
;
1614 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1615 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1617 wxSashLayoutWindow
* _result
;
1618 char *_kwnames
[] = { NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) return NULL
;
1631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1632 _resultobj
= Py_BuildValue("s",_ptemp
);
1635 _resultobj
= Py_None
;
1640 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1641 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1644 wxSashLayoutWindow
* _arg0
;
1647 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1648 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1649 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1650 wxString
* _arg6
= (wxString
*) &wxPySashLayoutNameStr
;
1651 PyObject
* _argo0
= 0;
1652 PyObject
* _argo1
= 0;
1654 PyObject
* _obj3
= 0;
1656 PyObject
* _obj4
= 0;
1657 PyObject
* _obj6
= 0;
1658 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1680 if (! wxPoint_helper(_obj3
, &_arg3
))
1686 if (! wxSize_helper(_obj4
, &_arg4
))
1691 _arg6
= wxString_in_helper(_obj6
);
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1701 } _resultobj
= Py_BuildValue("i",_result
);
1709 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1710 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1712 wxLayoutAlignment _result
;
1713 wxSashLayoutWindow
* _arg0
;
1714 PyObject
* _argo0
= 0;
1715 char *_kwnames
[] = { "self", NULL
};
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) return NULL
;
1733 } _resultobj
= Py_BuildValue("i",_result
);
1737 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1738 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1740 wxLayoutOrientation _result
;
1741 wxSashLayoutWindow
* _arg0
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) return NULL
;
1761 } _resultobj
= Py_BuildValue("i",_result
);
1765 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1766 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxSashLayoutWindow
* _arg0
;
1769 wxLayoutAlignment _arg1
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self","alignment", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) return NULL
;
1789 } Py_INCREF(Py_None
);
1790 _resultobj
= Py_None
;
1794 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1795 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1797 wxSashLayoutWindow
* _arg0
;
1799 PyObject
* _argo0
= 0;
1801 PyObject
* _obj1
= 0;
1802 char *_kwnames
[] = { "self","size", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1816 if (! wxSize_helper(_obj1
, &_arg1
))
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) return NULL
;
1825 } Py_INCREF(Py_None
);
1826 _resultobj
= Py_None
;
1830 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1831 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1833 wxSashLayoutWindow
* _arg0
;
1834 wxLayoutOrientation _arg1
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self","orientation", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1854 } Py_INCREF(Py_None
);
1855 _resultobj
= Py_None
;
1859 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1860 wxLayoutAlgorithm
*src
;
1862 src
= (wxLayoutAlgorithm
*) ptr
;
1863 dest
= (wxObject
*) src
;
1864 return (void *) dest
;
1867 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1868 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1870 wxLayoutAlgorithm
* _result
;
1871 char *_kwnames
[] = { NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) return NULL
;
1884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1885 _resultobj
= Py_BuildValue("s",_ptemp
);
1888 _resultobj
= Py_None
;
1893 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1894 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1896 wxLayoutAlgorithm
* _arg0
;
1897 PyObject
* _argo0
= 0;
1898 char *_kwnames
[] = { "self", NULL
};
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 delete_wxLayoutAlgorithm(_arg0
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) return NULL
;
1916 } Py_INCREF(Py_None
);
1917 _resultobj
= Py_None
;
1921 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1922 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1925 wxLayoutAlgorithm
* _arg0
;
1926 wxMDIParentFrame
* _arg1
;
1927 wxRect
* _arg2
= (wxRect
*) NULL
;
1928 PyObject
* _argo0
= 0;
1929 PyObject
* _argo1
= 0;
1931 PyObject
* _obj2
= 0;
1932 char *_kwnames
[] = { "self","frame","rect", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1954 if (! wxRect_helper(_obj2
, &_arg2
))
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) return NULL
;
1963 } _resultobj
= Py_BuildValue("i",_result
);
1967 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1968 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1971 wxLayoutAlgorithm
* _arg0
;
1973 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1974 PyObject
* _argo0
= 0;
1975 PyObject
* _argo1
= 0;
1976 PyObject
* _argo2
= 0;
1977 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1997 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) return NULL
;
2009 } _resultobj
= Py_BuildValue("i",_result
);
2013 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
2014 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2017 wxLayoutAlgorithm
* _arg0
;
2019 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2020 PyObject
* _argo0
= 0;
2021 PyObject
* _argo1
= 0;
2022 PyObject
* _argo2
= 0;
2023 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2043 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) return NULL
;
2055 } _resultobj
= Py_BuildValue("i",_result
);
2059 static PyMethodDef windows3cMethods
[] = {
2060 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2066 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2068 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2069 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2070 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2071 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2072 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2073 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2074 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2075 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2076 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2077 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2078 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2079 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2080 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2081 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2082 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2083 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2084 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2085 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2086 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2087 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2088 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2089 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2090 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2091 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2092 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2093 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2094 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2095 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2096 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2097 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2098 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2099 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2100 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2101 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2102 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2103 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2104 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2105 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2106 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2107 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2108 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2109 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2110 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2111 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2112 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2113 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2114 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2115 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2122 * This table is used by the pointer type-checker
2124 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2125 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2126 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2127 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2128 { "_signed_long","_long",0},
2129 { "_wxPrintQuality","_wxCoord",0},
2130 { "_wxPrintQuality","_int",0},
2131 { "_wxPrintQuality","_signed_int",0},
2132 { "_wxPrintQuality","_unsigned_int",0},
2133 { "_wxPrintQuality","_wxWindowID",0},
2134 { "_wxPrintQuality","_uint",0},
2135 { "_wxPrintQuality","_EBool",0},
2136 { "_wxPrintQuality","_size_t",0},
2137 { "_wxPrintQuality","_time_t",0},
2138 { "_byte","_unsigned_char",0},
2139 { "_long","_unsigned_long",0},
2140 { "_long","_signed_long",0},
2141 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2142 { "_size_t","_wxCoord",0},
2143 { "_size_t","_wxPrintQuality",0},
2144 { "_size_t","_time_t",0},
2145 { "_size_t","_unsigned_int",0},
2146 { "_size_t","_int",0},
2147 { "_size_t","_wxWindowID",0},
2148 { "_size_t","_uint",0},
2149 { "_uint","_wxCoord",0},
2150 { "_uint","_wxPrintQuality",0},
2151 { "_uint","_time_t",0},
2152 { "_uint","_size_t",0},
2153 { "_uint","_unsigned_int",0},
2154 { "_uint","_int",0},
2155 { "_uint","_wxWindowID",0},
2156 { "_wxChar","_char",0},
2157 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2158 { "_char","_wxChar",0},
2159 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2160 { "_EBool","_wxCoord",0},
2161 { "_EBool","_wxPrintQuality",0},
2162 { "_EBool","_signed_int",0},
2163 { "_EBool","_int",0},
2164 { "_EBool","_wxWindowID",0},
2165 { "_unsigned_long","_long",0},
2166 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2167 { "_signed_int","_wxCoord",0},
2168 { "_signed_int","_wxPrintQuality",0},
2169 { "_signed_int","_EBool",0},
2170 { "_signed_int","_wxWindowID",0},
2171 { "_signed_int","_int",0},
2172 { "_WXTYPE","_short",0},
2173 { "_WXTYPE","_signed_short",0},
2174 { "_WXTYPE","_unsigned_short",0},
2175 { "_unsigned_short","_WXTYPE",0},
2176 { "_unsigned_short","_short",0},
2177 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2178 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2179 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2180 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2181 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2182 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2183 { "_signed_short","_WXTYPE",0},
2184 { "_signed_short","_short",0},
2185 { "_unsigned_char","_byte",0},
2186 { "_unsigned_int","_wxCoord",0},
2187 { "_unsigned_int","_wxPrintQuality",0},
2188 { "_unsigned_int","_time_t",0},
2189 { "_unsigned_int","_size_t",0},
2190 { "_unsigned_int","_uint",0},
2191 { "_unsigned_int","_wxWindowID",0},
2192 { "_unsigned_int","_int",0},
2193 { "_short","_WXTYPE",0},
2194 { "_short","_unsigned_short",0},
2195 { "_short","_signed_short",0},
2196 { "_wxWindowID","_wxCoord",0},
2197 { "_wxWindowID","_wxPrintQuality",0},
2198 { "_wxWindowID","_time_t",0},
2199 { "_wxWindowID","_size_t",0},
2200 { "_wxWindowID","_EBool",0},
2201 { "_wxWindowID","_uint",0},
2202 { "_wxWindowID","_int",0},
2203 { "_wxWindowID","_signed_int",0},
2204 { "_wxWindowID","_unsigned_int",0},
2205 { "_int","_wxCoord",0},
2206 { "_int","_wxPrintQuality",0},
2207 { "_int","_time_t",0},
2208 { "_int","_size_t",0},
2209 { "_int","_EBool",0},
2210 { "_int","_uint",0},
2211 { "_int","_wxWindowID",0},
2212 { "_int","_unsigned_int",0},
2213 { "_int","_signed_int",0},
2214 { "_time_t","_wxCoord",0},
2215 { "_time_t","_wxPrintQuality",0},
2216 { "_time_t","_unsigned_int",0},
2217 { "_time_t","_int",0},
2218 { "_time_t","_wxWindowID",0},
2219 { "_time_t","_uint",0},
2220 { "_time_t","_size_t",0},
2221 { "_wxCoord","_int",0},
2222 { "_wxCoord","_signed_int",0},
2223 { "_wxCoord","_unsigned_int",0},
2224 { "_wxCoord","_wxWindowID",0},
2225 { "_wxCoord","_uint",0},
2226 { "_wxCoord","_EBool",0},
2227 { "_wxCoord","_size_t",0},
2228 { "_wxCoord","_time_t",0},
2229 { "_wxCoord","_wxPrintQuality",0},
2230 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2231 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2232 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2233 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2236 static PyObject
*SWIG_globals
;
2240 SWIGEXPORT(void) initwindows3c() {
2242 SWIG_globals
= SWIG_newvarlink();
2243 m
= Py_InitModule("windows3c", windows3cMethods
);
2244 d
= PyModule_GetDict(m
);
2245 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2246 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2247 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2248 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2249 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2250 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2251 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2252 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2253 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2254 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2255 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2256 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2257 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2258 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2259 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2260 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2261 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2262 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2263 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2264 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2265 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2268 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2269 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);