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>
60 #include <wx/popupwin.h>
61 #include <wx/tipwin.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
92 DECLARE_DEF_STRING(SashNameStr
);
93 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
94 DECLARE_DEF_STRING(SashLayoutNameStr
);
98 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
100 wxCommandEvent
*dest
;
101 src
= (wxSashEvent
*) ptr
;
102 dest
= (wxCommandEvent
*) src
;
103 return (void *) dest
;
106 static void *SwigwxSashEventTowxEvent(void *ptr
) {
109 src
= (wxSashEvent
*) ptr
;
110 dest
= (wxEvent
*) src
;
111 return (void *) dest
;
114 static void *SwigwxSashEventTowxObject(void *ptr
) {
117 src
= (wxSashEvent
*) ptr
;
118 dest
= (wxObject
*) src
;
119 return (void *) dest
;
122 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
123 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
124 PyObject
* _resultobj
;
125 wxSashEvent
* _result
;
126 int _arg0
= (int ) 0;
127 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
128 char *_kwnames
[] = { "id","edge", NULL
};
132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
136 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
138 wxPyEndAllowThreads(__tstate
);
139 if (PyErr_Occurred()) return NULL
;
141 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
142 _resultobj
= Py_BuildValue("s",_ptemp
);
145 _resultobj
= Py_None
;
150 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
151 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
154 wxSashEdgePosition _arg1
;
155 PyObject
* _argo0
= 0;
156 char *_kwnames
[] = { "self","edge", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
170 wxSashEvent_SetEdge(_arg0
,_arg1
);
172 wxPyEndAllowThreads(__tstate
);
173 if (PyErr_Occurred()) return NULL
;
174 } Py_INCREF(Py_None
);
175 _resultobj
= Py_None
;
179 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
180 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
182 wxSashEdgePosition _result
;
184 PyObject
* _argo0
= 0;
185 char *_kwnames
[] = { "self", NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
199 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
201 wxPyEndAllowThreads(__tstate
);
202 if (PyErr_Occurred()) return NULL
;
203 } _resultobj
= Py_BuildValue("i",_result
);
207 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
208 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
212 PyObject
* _argo0
= 0;
214 PyObject
* _obj1
= 0;
215 char *_kwnames
[] = { "self","rect", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
229 if (! wxRect_helper(_obj1
, &_arg1
))
233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
234 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
236 wxPyEndAllowThreads(__tstate
);
237 if (PyErr_Occurred()) return NULL
;
238 } Py_INCREF(Py_None
);
239 _resultobj
= Py_None
;
243 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
244 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
245 PyObject
* _resultobj
;
248 PyObject
* _argo0
= 0;
249 char *_kwnames
[] = { "self", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
264 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
266 wxPyEndAllowThreads(__tstate
);
267 if (PyErr_Occurred()) return NULL
;
268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
269 _resultobj
= Py_BuildValue("s",_ptemp
);
273 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
274 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
277 wxSashDragStatus _arg1
;
278 PyObject
* _argo0
= 0;
279 char *_kwnames
[] = { "self","status", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
293 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
295 wxPyEndAllowThreads(__tstate
);
296 if (PyErr_Occurred()) return NULL
;
297 } Py_INCREF(Py_None
);
298 _resultobj
= Py_None
;
302 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
303 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
305 wxSashDragStatus _result
;
307 PyObject
* _argo0
= 0;
308 char *_kwnames
[] = { "self", NULL
};
311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
322 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
324 wxPyEndAllowThreads(__tstate
);
325 if (PyErr_Occurred()) return NULL
;
326 } _resultobj
= Py_BuildValue("i",_result
);
330 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
333 src
= (wxSashWindow
*) ptr
;
334 dest
= (wxWindow
*) src
;
335 return (void *) dest
;
338 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
341 src
= (wxSashWindow
*) ptr
;
342 dest
= (wxEvtHandler
*) src
;
343 return (void *) dest
;
346 static void *SwigwxSashWindowTowxObject(void *ptr
) {
349 src
= (wxSashWindow
*) ptr
;
350 dest
= (wxObject
*) src
;
351 return (void *) dest
;
354 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
355 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
357 wxSashWindow
* _result
;
360 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
361 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
362 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
363 wxString
* _arg5
= (wxString
*) &wxPySashNameStr
;
364 PyObject
* _argo0
= 0;
366 PyObject
* _obj2
= 0;
368 PyObject
* _obj3
= 0;
369 PyObject
* _obj5
= 0;
370 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
386 if (! wxPoint_helper(_obj2
, &_arg2
))
392 if (! wxSize_helper(_obj3
, &_arg3
))
397 _arg5
= wxString_in_helper(_obj5
);
402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
403 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
405 wxPyEndAllowThreads(__tstate
);
406 if (PyErr_Occurred()) return NULL
;
408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
409 _resultobj
= Py_BuildValue("s",_ptemp
);
412 _resultobj
= Py_None
;
421 #define new_wxPreSashWindow() (new wxSashWindow())
422 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
424 wxSashWindow
* _result
;
425 char *_kwnames
[] = { NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
433 _result
= (wxSashWindow
*)new_wxPreSashWindow();
435 wxPyEndAllowThreads(__tstate
);
436 if (PyErr_Occurred()) return NULL
;
438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
439 _resultobj
= Py_BuildValue("s",_ptemp
);
442 _resultobj
= Py_None
;
447 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
448 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
451 wxSashWindow
* _arg0
;
454 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
455 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
456 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
457 wxString
* _arg6
= (wxString
*) &wxPySashNameStr
;
458 PyObject
* _argo0
= 0;
459 PyObject
* _argo1
= 0;
461 PyObject
* _obj3
= 0;
463 PyObject
* _obj4
= 0;
464 PyObject
* _obj6
= 0;
465 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
487 if (! wxPoint_helper(_obj3
, &_arg3
))
493 if (! wxSize_helper(_obj4
, &_arg4
))
498 _arg6
= wxString_in_helper(_obj6
);
503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
504 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
506 wxPyEndAllowThreads(__tstate
);
507 if (PyErr_Occurred()) return NULL
;
508 } _resultobj
= Py_BuildValue("i",_result
);
516 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
517 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
520 wxSashWindow
* _arg0
;
521 wxSashEdgePosition _arg1
;
522 PyObject
* _argo0
= 0;
523 char *_kwnames
[] = { "self","edge", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
537 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
539 wxPyEndAllowThreads(__tstate
);
540 if (PyErr_Occurred()) return NULL
;
541 } _resultobj
= Py_BuildValue("i",_result
);
545 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
546 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxSashWindow
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
565 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
567 wxPyEndAllowThreads(__tstate
);
568 if (PyErr_Occurred()) return NULL
;
569 } _resultobj
= Py_BuildValue("i",_result
);
573 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
574 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
577 wxSashWindow
* _arg0
;
578 wxSashEdgePosition _arg1
;
579 PyObject
* _argo0
= 0;
580 char *_kwnames
[] = { "self","edge", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
594 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
596 wxPyEndAllowThreads(__tstate
);
597 if (PyErr_Occurred()) return NULL
;
598 } _resultobj
= Py_BuildValue("i",_result
);
602 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
603 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
606 wxSashWindow
* _arg0
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
622 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
624 wxPyEndAllowThreads(__tstate
);
625 if (PyErr_Occurred()) return NULL
;
626 } _resultobj
= Py_BuildValue("i",_result
);
630 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
631 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
634 wxSashWindow
* _arg0
;
635 PyObject
* _argo0
= 0;
636 char *_kwnames
[] = { "self", NULL
};
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
650 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
652 wxPyEndAllowThreads(__tstate
);
653 if (PyErr_Occurred()) return NULL
;
654 } _resultobj
= Py_BuildValue("i",_result
);
658 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
659 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
662 wxSashWindow
* _arg0
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } _resultobj
= Py_BuildValue("i",_result
);
686 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
687 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
690 wxSashWindow
* _arg0
;
691 PyObject
* _argo0
= 0;
692 char *_kwnames
[] = { "self", NULL
};
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
706 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
708 wxPyEndAllowThreads(__tstate
);
709 if (PyErr_Occurred()) return NULL
;
710 } _resultobj
= Py_BuildValue("i",_result
);
714 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
715 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 PyObject
* _resultobj
;
718 wxSashWindow
* _arg0
;
719 PyObject
* _argo0
= 0;
720 char *_kwnames
[] = { "self", NULL
};
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
734 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
736 wxPyEndAllowThreads(__tstate
);
737 if (PyErr_Occurred()) return NULL
;
738 } _resultobj
= Py_BuildValue("i",_result
);
742 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
743 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
746 wxSashWindow
* _arg0
;
747 wxSashEdgePosition _arg1
;
748 PyObject
* _argo0
= 0;
749 char *_kwnames
[] = { "self","edge", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
767 } _resultobj
= Py_BuildValue("i",_result
);
771 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
772 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
774 wxSashWindow
* _arg0
;
776 PyObject
* _argo0
= 0;
777 char *_kwnames
[] = { "self","width", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
791 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
793 wxPyEndAllowThreads(__tstate
);
794 if (PyErr_Occurred()) return NULL
;
795 } Py_INCREF(Py_None
);
796 _resultobj
= Py_None
;
800 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
801 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
803 wxSashWindow
* _arg0
;
805 PyObject
* _argo0
= 0;
806 char *_kwnames
[] = { "self","width", NULL
};
809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
820 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
822 wxPyEndAllowThreads(__tstate
);
823 if (PyErr_Occurred()) return NULL
;
824 } Py_INCREF(Py_None
);
825 _resultobj
= Py_None
;
829 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
830 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
832 wxSashWindow
* _arg0
;
834 PyObject
* _argo0
= 0;
835 char *_kwnames
[] = { "self","min", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
849 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
851 wxPyEndAllowThreads(__tstate
);
852 if (PyErr_Occurred()) return NULL
;
853 } Py_INCREF(Py_None
);
854 _resultobj
= Py_None
;
858 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
859 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
861 wxSashWindow
* _arg0
;
863 PyObject
* _argo0
= 0;
864 char *_kwnames
[] = { "self","min", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
878 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
880 wxPyEndAllowThreads(__tstate
);
881 if (PyErr_Occurred()) return NULL
;
882 } Py_INCREF(Py_None
);
883 _resultobj
= Py_None
;
887 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
888 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
890 wxSashWindow
* _arg0
;
892 PyObject
* _argo0
= 0;
893 char *_kwnames
[] = { "self","min", NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
907 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
909 wxPyEndAllowThreads(__tstate
);
910 if (PyErr_Occurred()) return NULL
;
911 } Py_INCREF(Py_None
);
912 _resultobj
= Py_None
;
916 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
917 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 PyObject
* _resultobj
;
919 wxSashWindow
* _arg0
;
921 PyObject
* _argo0
= 0;
922 char *_kwnames
[] = { "self","min", NULL
};
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
936 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) return NULL
;
940 } Py_INCREF(Py_None
);
941 _resultobj
= Py_None
;
945 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
946 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
948 wxSashWindow
* _arg0
;
949 wxSashEdgePosition _arg1
;
951 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self","edge","visible", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
965 _arg2
= (bool ) tempbool2
;
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) return NULL
;
972 } Py_INCREF(Py_None
);
973 _resultobj
= Py_None
;
977 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
978 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
980 wxSashWindow
* _arg0
;
981 wxSashEdgePosition _arg1
;
983 PyObject
* _argo0
= 0;
985 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
997 _arg2
= (bool ) tempbool2
;
999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1000 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1002 wxPyEndAllowThreads(__tstate
);
1003 if (PyErr_Occurred()) return NULL
;
1004 } Py_INCREF(Py_None
);
1005 _resultobj
= Py_None
;
1009 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1010 wxQueryLayoutInfoEvent
*src
;
1012 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1013 dest
= (wxEvent
*) src
;
1014 return (void *) dest
;
1017 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1018 wxQueryLayoutInfoEvent
*src
;
1020 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1021 dest
= (wxObject
*) src
;
1022 return (void *) dest
;
1025 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1026 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1028 wxQueryLayoutInfoEvent
* _result
;
1029 wxWindowID _arg0
= (wxWindowID
) 0;
1030 char *_kwnames
[] = { "id", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1038 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1040 wxPyEndAllowThreads(__tstate
);
1041 if (PyErr_Occurred()) return NULL
;
1043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1044 _resultobj
= Py_BuildValue("s",_ptemp
);
1047 _resultobj
= Py_None
;
1052 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1053 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1055 wxQueryLayoutInfoEvent
* _arg0
;
1057 PyObject
* _argo0
= 0;
1058 char *_kwnames
[] = { "self","length", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) return NULL
;
1076 } Py_INCREF(Py_None
);
1077 _resultobj
= Py_None
;
1081 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1082 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1085 wxQueryLayoutInfoEvent
* _arg0
;
1086 PyObject
* _argo0
= 0;
1087 char *_kwnames
[] = { "self", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1105 } _resultobj
= Py_BuildValue("i",_result
);
1109 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1110 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1112 wxQueryLayoutInfoEvent
* _arg0
;
1114 PyObject
* _argo0
= 0;
1115 char *_kwnames
[] = { "self","flags", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1129 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1131 wxPyEndAllowThreads(__tstate
);
1132 if (PyErr_Occurred()) return NULL
;
1133 } Py_INCREF(Py_None
);
1134 _resultobj
= Py_None
;
1138 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1139 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1142 wxQueryLayoutInfoEvent
* _arg0
;
1143 PyObject
* _argo0
= 0;
1144 char *_kwnames
[] = { "self", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1158 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1160 wxPyEndAllowThreads(__tstate
);
1161 if (PyErr_Occurred()) return NULL
;
1162 } _resultobj
= Py_BuildValue("i",_result
);
1166 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1167 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1169 wxQueryLayoutInfoEvent
* _arg0
;
1171 PyObject
* _argo0
= 0;
1173 PyObject
* _obj1
= 0;
1174 char *_kwnames
[] = { "self","size", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1188 if (! wxSize_helper(_obj1
, &_arg1
))
1192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1195 wxPyEndAllowThreads(__tstate
);
1196 if (PyErr_Occurred()) return NULL
;
1197 } Py_INCREF(Py_None
);
1198 _resultobj
= Py_None
;
1202 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1203 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1206 wxQueryLayoutInfoEvent
* _arg0
;
1207 PyObject
* _argo0
= 0;
1208 char *_kwnames
[] = { "self", NULL
};
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1223 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1225 wxPyEndAllowThreads(__tstate
);
1226 if (PyErr_Occurred()) return NULL
;
1227 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1228 _resultobj
= Py_BuildValue("s",_ptemp
);
1232 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1233 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1235 wxQueryLayoutInfoEvent
* _arg0
;
1236 wxLayoutOrientation _arg1
;
1237 PyObject
* _argo0
= 0;
1238 char *_kwnames
[] = { "self","orient", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) return NULL
;
1256 } Py_INCREF(Py_None
);
1257 _resultobj
= Py_None
;
1261 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1262 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1264 wxLayoutOrientation _result
;
1265 wxQueryLayoutInfoEvent
* _arg0
;
1266 PyObject
* _argo0
= 0;
1267 char *_kwnames
[] = { "self", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) return NULL
;
1285 } _resultobj
= Py_BuildValue("i",_result
);
1289 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1290 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
* _resultobj
;
1292 wxQueryLayoutInfoEvent
* _arg0
;
1293 wxLayoutAlignment _arg1
;
1294 PyObject
* _argo0
= 0;
1295 char *_kwnames
[] = { "self","align", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } Py_INCREF(Py_None
);
1314 _resultobj
= Py_None
;
1318 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1319 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1321 wxLayoutAlignment _result
;
1322 wxQueryLayoutInfoEvent
* _arg0
;
1323 PyObject
* _argo0
= 0;
1324 char *_kwnames
[] = { "self", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) return NULL
;
1342 } _resultobj
= Py_BuildValue("i",_result
);
1346 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1347 wxCalculateLayoutEvent
*src
;
1349 src
= (wxCalculateLayoutEvent
*) ptr
;
1350 dest
= (wxEvent
*) src
;
1351 return (void *) dest
;
1354 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1355 wxCalculateLayoutEvent
*src
;
1357 src
= (wxCalculateLayoutEvent
*) ptr
;
1358 dest
= (wxObject
*) src
;
1359 return (void *) dest
;
1362 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1363 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1365 wxCalculateLayoutEvent
* _result
;
1366 wxWindowID _arg0
= (wxWindowID
) 0;
1367 char *_kwnames
[] = { "id", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1375 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1377 wxPyEndAllowThreads(__tstate
);
1378 if (PyErr_Occurred()) return NULL
;
1380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 _resultobj
= Py_None
;
1389 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1390 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1392 wxCalculateLayoutEvent
* _arg0
;
1394 PyObject
* _argo0
= 0;
1395 char *_kwnames
[] = { "self","flags", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 } Py_INCREF(Py_None
);
1414 _resultobj
= Py_None
;
1418 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1419 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1422 wxCalculateLayoutEvent
* _arg0
;
1423 PyObject
* _argo0
= 0;
1424 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) return NULL
;
1442 } _resultobj
= Py_BuildValue("i",_result
);
1446 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1447 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1449 wxCalculateLayoutEvent
* _arg0
;
1451 PyObject
* _argo0
= 0;
1453 PyObject
* _obj1
= 0;
1454 char *_kwnames
[] = { "self","rect", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1468 if (! wxRect_helper(_obj1
, &_arg1
))
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1477 } Py_INCREF(Py_None
);
1478 _resultobj
= Py_None
;
1482 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1483 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1486 wxCalculateLayoutEvent
* _arg0
;
1487 PyObject
* _argo0
= 0;
1488 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) return NULL
;
1507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1513 wxSashLayoutWindow
*src
;
1515 src
= (wxSashLayoutWindow
*) ptr
;
1516 dest
= (wxSashWindow
*) src
;
1517 return (void *) dest
;
1520 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1521 wxSashLayoutWindow
*src
;
1523 src
= (wxSashLayoutWindow
*) ptr
;
1524 dest
= (wxWindow
*) src
;
1525 return (void *) dest
;
1528 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1529 wxSashLayoutWindow
*src
;
1531 src
= (wxSashLayoutWindow
*) ptr
;
1532 dest
= (wxEvtHandler
*) src
;
1533 return (void *) dest
;
1536 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1537 wxSashLayoutWindow
*src
;
1539 src
= (wxSashLayoutWindow
*) ptr
;
1540 dest
= (wxObject
*) src
;
1541 return (void *) dest
;
1544 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1545 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1547 wxSashLayoutWindow
* _result
;
1550 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1551 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1552 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1553 wxString
* _arg5
= (wxString
*) &wxPySashLayoutNameStr
;
1554 PyObject
* _argo0
= 0;
1556 PyObject
* _obj2
= 0;
1558 PyObject
* _obj3
= 0;
1559 PyObject
* _obj5
= 0;
1560 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1576 if (! wxPoint_helper(_obj2
, &_arg2
))
1582 if (! wxSize_helper(_obj3
, &_arg3
))
1587 _arg5
= wxString_in_helper(_obj5
);
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1599 _resultobj
= Py_BuildValue("s",_ptemp
);
1602 _resultobj
= Py_None
;
1611 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1612 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1614 wxSashLayoutWindow
* _result
;
1615 char *_kwnames
[] = { NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) return NULL
;
1628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1629 _resultobj
= Py_BuildValue("s",_ptemp
);
1632 _resultobj
= Py_None
;
1637 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1638 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1641 wxSashLayoutWindow
* _arg0
;
1644 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1645 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1646 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1647 wxString
* _arg6
= (wxString
*) &wxPySashLayoutNameStr
;
1648 PyObject
* _argo0
= 0;
1649 PyObject
* _argo1
= 0;
1651 PyObject
* _obj3
= 0;
1653 PyObject
* _obj4
= 0;
1654 PyObject
* _obj6
= 0;
1655 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1677 if (! wxPoint_helper(_obj3
, &_arg3
))
1683 if (! wxSize_helper(_obj4
, &_arg4
))
1688 _arg6
= wxString_in_helper(_obj6
);
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1698 } _resultobj
= Py_BuildValue("i",_result
);
1706 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1707 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 wxLayoutAlignment _result
;
1710 wxSashLayoutWindow
* _arg0
;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1730 } _resultobj
= Py_BuildValue("i",_result
);
1734 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1735 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxLayoutOrientation _result
;
1738 wxSashLayoutWindow
* _arg0
;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) return NULL
;
1758 } _resultobj
= Py_BuildValue("i",_result
);
1762 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1763 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1765 wxSashLayoutWindow
* _arg0
;
1766 wxLayoutAlignment _arg1
;
1767 PyObject
* _argo0
= 0;
1768 char *_kwnames
[] = { "self","alignment", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1786 } Py_INCREF(Py_None
);
1787 _resultobj
= Py_None
;
1791 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1792 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1794 wxSashLayoutWindow
* _arg0
;
1796 PyObject
* _argo0
= 0;
1798 PyObject
* _obj1
= 0;
1799 char *_kwnames
[] = { "self","size", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1813 if (! wxSize_helper(_obj1
, &_arg1
))
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) return NULL
;
1822 } Py_INCREF(Py_None
);
1823 _resultobj
= Py_None
;
1827 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1828 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1830 wxSashLayoutWindow
* _arg0
;
1831 wxLayoutOrientation _arg1
;
1832 PyObject
* _argo0
= 0;
1833 char *_kwnames
[] = { "self","orientation", NULL
};
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) return NULL
;
1851 } Py_INCREF(Py_None
);
1852 _resultobj
= Py_None
;
1856 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1857 wxLayoutAlgorithm
*src
;
1859 src
= (wxLayoutAlgorithm
*) ptr
;
1860 dest
= (wxObject
*) src
;
1861 return (void *) dest
;
1864 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1865 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxLayoutAlgorithm
* _result
;
1868 char *_kwnames
[] = { NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) return NULL
;
1881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1882 _resultobj
= Py_BuildValue("s",_ptemp
);
1885 _resultobj
= Py_None
;
1890 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1891 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1893 wxLayoutAlgorithm
* _arg0
;
1894 PyObject
* _argo0
= 0;
1895 char *_kwnames
[] = { "self", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 delete_wxLayoutAlgorithm(_arg0
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1913 } Py_INCREF(Py_None
);
1914 _resultobj
= Py_None
;
1918 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1919 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1922 wxLayoutAlgorithm
* _arg0
;
1923 wxMDIParentFrame
* _arg1
;
1924 wxRect
* _arg2
= (wxRect
*) NULL
;
1925 PyObject
* _argo0
= 0;
1926 PyObject
* _argo1
= 0;
1928 PyObject
* _obj2
= 0;
1929 char *_kwnames
[] = { "self","frame","rect", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1951 if (! wxRect_helper(_obj2
, &_arg2
))
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) return NULL
;
1960 } _resultobj
= Py_BuildValue("i",_result
);
1964 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1965 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1968 wxLayoutAlgorithm
* _arg0
;
1970 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1971 PyObject
* _argo0
= 0;
1972 PyObject
* _argo1
= 0;
1973 PyObject
* _argo2
= 0;
1974 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1987 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1988 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1994 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1995 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) return NULL
;
2006 } _resultobj
= Py_BuildValue("i",_result
);
2010 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
2011 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2014 wxLayoutAlgorithm
* _arg0
;
2016 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2017 PyObject
* _argo0
= 0;
2018 PyObject
* _argo1
= 0;
2019 PyObject
* _argo2
= 0;
2020 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2040 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) return NULL
;
2052 } _resultobj
= Py_BuildValue("i",_result
);
2056 static void *SwigwxTipWindowTowxFrame(void *ptr
) {
2059 src
= (wxTipWindow
*) ptr
;
2060 dest
= (wxFrame
*) src
;
2061 return (void *) dest
;
2064 static void *SwigwxTipWindowTowxTopLevelWindow(void *ptr
) {
2066 wxTopLevelWindow
*dest
;
2067 src
= (wxTipWindow
*) ptr
;
2068 dest
= (wxTopLevelWindow
*) src
;
2069 return (void *) dest
;
2072 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2075 src
= (wxTipWindow
*) ptr
;
2076 dest
= (wxWindow
*) src
;
2077 return (void *) dest
;
2080 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2083 src
= (wxTipWindow
*) ptr
;
2084 dest
= (wxEvtHandler
*) src
;
2085 return (void *) dest
;
2088 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2091 src
= (wxTipWindow
*) ptr
;
2092 dest
= (wxObject
*) src
;
2093 return (void *) dest
;
2096 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,const wxString
*text
,wxCoord maxLength
,wxRect
*rectBound
) {
2097 wxString tmp
= *text
;
2098 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
2101 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2103 wxTipWindow
* _result
;
2106 wxCoord _arg2
= (wxCoord
) 100;
2107 wxRect
* _arg3
= (wxRect
*) NULL
;
2108 PyObject
* _argo0
= 0;
2109 PyObject
* _obj1
= 0;
2111 PyObject
* _obj3
= 0;
2112 char *_kwnames
[] = { "parent","text","maxLength","rectBound", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iO:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2126 _arg1
= wxString_in_helper(_obj1
);
2133 if (! wxRect_helper(_obj3
, &_arg3
))
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) return NULL
;
2143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2144 _resultobj
= Py_BuildValue("s",_ptemp
);
2147 _resultobj
= Py_None
;
2156 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2157 static PyObject
*_wrap_wxTipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2159 wxTipWindow
* _arg0
;
2161 PyObject
* _argo0
= 0;
2163 PyObject
* _obj1
= 0;
2164 char *_kwnames
[] = { "self","rectBound", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipWindow_SetBoundingRect",_kwnames
,&_argo0
,&_obj1
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2178 if (! wxRect_helper(_obj1
, &_arg1
))
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 wxTipWindow_SetBoundingRect(_arg0
,*_arg1
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) return NULL
;
2187 } Py_INCREF(Py_None
);
2188 _resultobj
= Py_None
;
2192 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2193 static PyObject
*_wrap_wxTipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2195 wxTipWindow
* _arg0
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipWindow_Close",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 wxTipWindow_Close(_arg0
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } Py_INCREF(Py_None
);
2216 _resultobj
= Py_None
;
2220 static PyMethodDef windows3cMethods
[] = {
2221 { "wxTipWindow_Close", (PyCFunction
) _wrap_wxTipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
2222 { "wxTipWindow_SetBoundingRect", (PyCFunction
) _wrap_wxTipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
2223 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2224 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2225 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2226 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2227 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2228 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2229 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2230 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2231 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2232 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2233 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2234 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2235 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2236 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2237 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2238 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2239 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2240 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2241 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2242 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2243 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2244 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2245 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2246 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2247 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2248 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2249 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2250 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2251 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2252 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2253 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2254 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2255 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2256 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2257 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2258 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2259 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2260 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2261 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2262 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2263 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2264 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2265 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2266 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2267 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2268 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2269 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2270 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2271 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2272 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2273 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2274 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2275 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2276 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2277 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2278 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2279 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2286 * This table is used by the pointer type-checker
2288 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2289 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2290 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2291 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2292 { "_signed_long","_long",0},
2293 { "_wxPrintQuality","_wxCoord",0},
2294 { "_wxPrintQuality","_int",0},
2295 { "_wxPrintQuality","_signed_int",0},
2296 { "_wxPrintQuality","_unsigned_int",0},
2297 { "_wxPrintQuality","_wxWindowID",0},
2298 { "_wxPrintQuality","_uint",0},
2299 { "_wxPrintQuality","_EBool",0},
2300 { "_wxPrintQuality","_size_t",0},
2301 { "_wxPrintQuality","_time_t",0},
2302 { "_byte","_unsigned_char",0},
2303 { "_long","_unsigned_long",0},
2304 { "_long","_signed_long",0},
2305 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2306 { "_size_t","_wxCoord",0},
2307 { "_size_t","_wxPrintQuality",0},
2308 { "_size_t","_time_t",0},
2309 { "_size_t","_unsigned_int",0},
2310 { "_size_t","_int",0},
2311 { "_size_t","_wxWindowID",0},
2312 { "_size_t","_uint",0},
2313 { "_wxTopLevelWindow","_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
2314 { "_uint","_wxCoord",0},
2315 { "_uint","_wxPrintQuality",0},
2316 { "_uint","_time_t",0},
2317 { "_uint","_size_t",0},
2318 { "_uint","_unsigned_int",0},
2319 { "_uint","_int",0},
2320 { "_uint","_wxWindowID",0},
2321 { "_wxChar","_char",0},
2322 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2323 { "_char","_wxChar",0},
2324 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2325 { "_EBool","_wxCoord",0},
2326 { "_EBool","_wxPrintQuality",0},
2327 { "_EBool","_signed_int",0},
2328 { "_EBool","_int",0},
2329 { "_EBool","_wxWindowID",0},
2330 { "_unsigned_long","_long",0},
2331 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2332 { "_signed_int","_wxCoord",0},
2333 { "_signed_int","_wxPrintQuality",0},
2334 { "_signed_int","_EBool",0},
2335 { "_signed_int","_wxWindowID",0},
2336 { "_signed_int","_int",0},
2337 { "_WXTYPE","_short",0},
2338 { "_WXTYPE","_signed_short",0},
2339 { "_WXTYPE","_unsigned_short",0},
2340 { "_unsigned_short","_WXTYPE",0},
2341 { "_unsigned_short","_short",0},
2342 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2343 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2344 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2345 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2346 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2347 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2348 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2349 { "_signed_short","_WXTYPE",0},
2350 { "_signed_short","_short",0},
2351 { "_unsigned_char","_byte",0},
2352 { "_unsigned_int","_wxCoord",0},
2353 { "_unsigned_int","_wxPrintQuality",0},
2354 { "_unsigned_int","_time_t",0},
2355 { "_unsigned_int","_size_t",0},
2356 { "_unsigned_int","_uint",0},
2357 { "_unsigned_int","_wxWindowID",0},
2358 { "_unsigned_int","_int",0},
2359 { "_short","_WXTYPE",0},
2360 { "_short","_unsigned_short",0},
2361 { "_short","_signed_short",0},
2362 { "_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame
},
2363 { "_wxWindowID","_wxCoord",0},
2364 { "_wxWindowID","_wxPrintQuality",0},
2365 { "_wxWindowID","_time_t",0},
2366 { "_wxWindowID","_size_t",0},
2367 { "_wxWindowID","_EBool",0},
2368 { "_wxWindowID","_uint",0},
2369 { "_wxWindowID","_int",0},
2370 { "_wxWindowID","_signed_int",0},
2371 { "_wxWindowID","_unsigned_int",0},
2372 { "_int","_wxCoord",0},
2373 { "_int","_wxPrintQuality",0},
2374 { "_int","_time_t",0},
2375 { "_int","_size_t",0},
2376 { "_int","_EBool",0},
2377 { "_int","_uint",0},
2378 { "_int","_wxWindowID",0},
2379 { "_int","_unsigned_int",0},
2380 { "_int","_signed_int",0},
2381 { "_time_t","_wxCoord",0},
2382 { "_time_t","_wxPrintQuality",0},
2383 { "_time_t","_unsigned_int",0},
2384 { "_time_t","_int",0},
2385 { "_time_t","_wxWindowID",0},
2386 { "_time_t","_uint",0},
2387 { "_time_t","_size_t",0},
2388 { "_wxCoord","_int",0},
2389 { "_wxCoord","_signed_int",0},
2390 { "_wxCoord","_unsigned_int",0},
2391 { "_wxCoord","_wxWindowID",0},
2392 { "_wxCoord","_uint",0},
2393 { "_wxCoord","_EBool",0},
2394 { "_wxCoord","_size_t",0},
2395 { "_wxCoord","_time_t",0},
2396 { "_wxCoord","_wxPrintQuality",0},
2397 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2398 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2399 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2400 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2401 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2402 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2405 static PyObject
*SWIG_globals
;
2409 SWIGEXPORT(void) initwindows3c() {
2411 SWIG_globals
= SWIG_newvarlink();
2412 m
= Py_InitModule("windows3c", windows3cMethods
);
2413 d
= PyModule_GetDict(m
);
2414 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2415 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2416 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2417 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2418 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2419 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2420 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2421 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2422 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2423 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2424 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2425 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2426 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2427 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2428 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2429 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2430 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2431 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2432 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2433 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2434 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2437 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2438 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);