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
);
95 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
98 src
= (wxSashEvent
*) ptr
;
99 dest
= (wxCommandEvent
*) src
;
100 return (void *) dest
;
103 static void *SwigwxSashEventTowxEvent(void *ptr
) {
106 src
= (wxSashEvent
*) ptr
;
107 dest
= (wxEvent
*) src
;
108 return (void *) dest
;
111 static void *SwigwxSashEventTowxObject(void *ptr
) {
114 src
= (wxSashEvent
*) ptr
;
115 dest
= (wxObject
*) src
;
116 return (void *) dest
;
119 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
120 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
121 PyObject
* _resultobj
;
122 wxSashEvent
* _result
;
123 int _arg0
= (int ) 0;
124 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
125 char *_kwnames
[] = { "id","edge", NULL
};
129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
133 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
135 wxPyEndAllowThreads(__tstate
);
136 if (PyErr_Occurred()) return NULL
;
138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
139 _resultobj
= Py_BuildValue("s",_ptemp
);
142 _resultobj
= Py_None
;
147 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
148 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
149 PyObject
* _resultobj
;
151 wxSashEdgePosition _arg1
;
152 PyObject
* _argo0
= 0;
153 char *_kwnames
[] = { "self","edge", NULL
};
156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
167 wxSashEvent_SetEdge(_arg0
,_arg1
);
169 wxPyEndAllowThreads(__tstate
);
170 if (PyErr_Occurred()) return NULL
;
171 } Py_INCREF(Py_None
);
172 _resultobj
= Py_None
;
176 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
177 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
179 wxSashEdgePosition _result
;
181 PyObject
* _argo0
= 0;
182 char *_kwnames
[] = { "self", NULL
};
185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
196 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
198 wxPyEndAllowThreads(__tstate
);
199 if (PyErr_Occurred()) return NULL
;
200 } _resultobj
= Py_BuildValue("i",_result
);
204 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
205 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
206 PyObject
* _resultobj
;
209 PyObject
* _argo0
= 0;
211 PyObject
* _obj1
= 0;
212 char *_kwnames
[] = { "self","rect", NULL
};
215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
226 if (! wxRect_helper(_obj1
, &_arg1
))
230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
231 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
233 wxPyEndAllowThreads(__tstate
);
234 if (PyErr_Occurred()) return NULL
;
235 } Py_INCREF(Py_None
);
236 _resultobj
= Py_None
;
240 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
241 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
245 PyObject
* _argo0
= 0;
246 char *_kwnames
[] = { "self", NULL
};
250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
261 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
263 wxPyEndAllowThreads(__tstate
);
264 if (PyErr_Occurred()) return NULL
;
265 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
266 _resultobj
= Py_BuildValue("s",_ptemp
);
270 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
271 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
274 wxSashDragStatus _arg1
;
275 PyObject
* _argo0
= 0;
276 char *_kwnames
[] = { "self","status", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
290 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
292 wxPyEndAllowThreads(__tstate
);
293 if (PyErr_Occurred()) return NULL
;
294 } Py_INCREF(Py_None
);
295 _resultobj
= Py_None
;
299 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
300 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
301 PyObject
* _resultobj
;
302 wxSashDragStatus _result
;
304 PyObject
* _argo0
= 0;
305 char *_kwnames
[] = { "self", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
323 } _resultobj
= Py_BuildValue("i",_result
);
327 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
330 src
= (wxSashWindow
*) ptr
;
331 dest
= (wxWindow
*) src
;
332 return (void *) dest
;
335 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
338 src
= (wxSashWindow
*) ptr
;
339 dest
= (wxEvtHandler
*) src
;
340 return (void *) dest
;
343 static void *SwigwxSashWindowTowxObject(void *ptr
) {
346 src
= (wxSashWindow
*) ptr
;
347 dest
= (wxObject
*) src
;
348 return (void *) dest
;
351 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
352 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
354 wxSashWindow
* _result
;
357 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
358 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
359 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
360 char * _arg5
= (char *) "sashWindow";
361 PyObject
* _argo0
= 0;
363 PyObject
* _obj2
= 0;
365 PyObject
* _obj3
= 0;
366 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
382 if (! wxPoint_helper(_obj2
, &_arg2
))
388 if (! wxSize_helper(_obj3
, &_arg3
))
392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
393 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
395 wxPyEndAllowThreads(__tstate
);
396 if (PyErr_Occurred()) return NULL
;
398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
399 _resultobj
= Py_BuildValue("s",_ptemp
);
402 _resultobj
= Py_None
;
407 #define new_wxPreSashWindow() (new wxSashWindow())
408 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
410 wxSashWindow
* _result
;
411 char *_kwnames
[] = { NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= (wxSashWindow
*)new_wxPreSashWindow();
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
425 _resultobj
= Py_BuildValue("s",_ptemp
);
428 _resultobj
= Py_None
;
433 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
434 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
437 wxSashWindow
* _arg0
;
440 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
441 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
442 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
443 char * _arg6
= (char *) "sashWindow";
444 PyObject
* _argo0
= 0;
445 PyObject
* _argo1
= 0;
447 PyObject
* _obj3
= 0;
449 PyObject
* _obj4
= 0;
450 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
463 if (_argo1
== Py_None
) { _arg1
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
472 if (! wxPoint_helper(_obj3
, &_arg3
))
478 if (! wxSize_helper(_obj4
, &_arg4
))
482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
483 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
485 wxPyEndAllowThreads(__tstate
);
486 if (PyErr_Occurred()) return NULL
;
487 } _resultobj
= Py_BuildValue("i",_result
);
491 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
492 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
495 wxSashWindow
* _arg0
;
496 wxSashEdgePosition _arg1
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self","edge", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
512 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
514 wxPyEndAllowThreads(__tstate
);
515 if (PyErr_Occurred()) return NULL
;
516 } _resultobj
= Py_BuildValue("i",_result
);
520 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
521 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
524 wxSashWindow
* _arg0
;
525 PyObject
* _argo0
= 0;
526 char *_kwnames
[] = { "self", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
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_GetDefaultBorderSize. Expected _wxSashWindow_p.");
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
544 } _resultobj
= Py_BuildValue("i",_result
);
548 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
549 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
552 wxSashWindow
* _arg0
;
553 wxSashEdgePosition _arg1
;
554 PyObject
* _argo0
= 0;
555 char *_kwnames
[] = { "self","edge", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
573 } _resultobj
= Py_BuildValue("i",_result
);
577 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
578 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
581 wxSashWindow
* _arg0
;
582 PyObject
* _argo0
= 0;
583 char *_kwnames
[] = { "self", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
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_GetExtraBorderSize. Expected _wxSashWindow_p.");
596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
597 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
599 wxPyEndAllowThreads(__tstate
);
600 if (PyErr_Occurred()) return NULL
;
601 } _resultobj
= Py_BuildValue("i",_result
);
605 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
606 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(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_GetMaximumSizeX",_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_GetMaximumSizeX. Expected _wxSashWindow_p.");
624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
625 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
627 wxPyEndAllowThreads(__tstate
);
628 if (PyErr_Occurred()) return NULL
;
629 } _resultobj
= Py_BuildValue("i",_result
);
633 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
634 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(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_GetMaximumSizeY",_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_GetMaximumSizeY. Expected _wxSashWindow_p.");
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) return NULL
;
657 } _resultobj
= Py_BuildValue("i",_result
);
661 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
662 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(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_GetMinimumSizeX",_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_GetMinimumSizeX. Expected _wxSashWindow_p.");
680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
681 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
683 wxPyEndAllowThreads(__tstate
);
684 if (PyErr_Occurred()) return NULL
;
685 } _resultobj
= Py_BuildValue("i",_result
);
689 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
690 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(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_GetMinimumSizeY",_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_GetMinimumSizeY. Expected _wxSashWindow_p.");
708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
709 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
711 wxPyEndAllowThreads(__tstate
);
712 if (PyErr_Occurred()) return NULL
;
713 } _resultobj
= Py_BuildValue("i",_result
);
717 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
718 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
719 PyObject
* _resultobj
;
721 wxSashWindow
* _arg0
;
722 wxSashEdgePosition _arg1
;
723 PyObject
* _argo0
= 0;
724 char *_kwnames
[] = { "self","edge", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) return NULL
;
742 } _resultobj
= Py_BuildValue("i",_result
);
746 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
747 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
748 PyObject
* _resultobj
;
749 wxSashWindow
* _arg0
;
751 PyObject
* _argo0
= 0;
752 char *_kwnames
[] = { "self","width", NULL
};
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_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_SetDefaultBorderSize. Expected _wxSashWindow_p.");
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
766 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) return NULL
;
770 } Py_INCREF(Py_None
);
771 _resultobj
= Py_None
;
775 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
776 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
778 wxSashWindow
* _arg0
;
780 PyObject
* _argo0
= 0;
781 char *_kwnames
[] = { "self","width", NULL
};
784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) return NULL
;
799 } Py_INCREF(Py_None
);
800 _resultobj
= Py_None
;
804 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
805 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
807 wxSashWindow
* _arg0
;
809 PyObject
* _argo0
= 0;
810 char *_kwnames
[] = { "self","min", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
824 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
826 wxPyEndAllowThreads(__tstate
);
827 if (PyErr_Occurred()) return NULL
;
828 } Py_INCREF(Py_None
);
829 _resultobj
= Py_None
;
833 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
834 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
836 wxSashWindow
* _arg0
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self","min", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
853 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
855 wxPyEndAllowThreads(__tstate
);
856 if (PyErr_Occurred()) return NULL
;
857 } Py_INCREF(Py_None
);
858 _resultobj
= Py_None
;
862 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
863 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
865 wxSashWindow
* _arg0
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self","min", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
882 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
884 wxPyEndAllowThreads(__tstate
);
885 if (PyErr_Occurred()) return NULL
;
886 } Py_INCREF(Py_None
);
887 _resultobj
= Py_None
;
891 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
892 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 PyObject
* _resultobj
;
894 wxSashWindow
* _arg0
;
896 PyObject
* _argo0
= 0;
897 char *_kwnames
[] = { "self","min", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) return NULL
;
915 } Py_INCREF(Py_None
);
916 _resultobj
= Py_None
;
920 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
921 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 PyObject
* _resultobj
;
923 wxSashWindow
* _arg0
;
924 wxSashEdgePosition _arg1
;
926 PyObject
* _argo0
= 0;
928 char *_kwnames
[] = { "self","edge","visible", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
940 _arg2
= (bool ) tempbool2
;
942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
943 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
945 wxPyEndAllowThreads(__tstate
);
946 if (PyErr_Occurred()) return NULL
;
947 } Py_INCREF(Py_None
);
948 _resultobj
= Py_None
;
952 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
953 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
955 wxSashWindow
* _arg0
;
956 wxSashEdgePosition _arg1
;
958 PyObject
* _argo0
= 0;
960 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
972 _arg2
= (bool ) tempbool2
;
974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
975 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
977 wxPyEndAllowThreads(__tstate
);
978 if (PyErr_Occurred()) return NULL
;
979 } Py_INCREF(Py_None
);
980 _resultobj
= Py_None
;
984 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
985 wxQueryLayoutInfoEvent
*src
;
987 src
= (wxQueryLayoutInfoEvent
*) ptr
;
988 dest
= (wxEvent
*) src
;
989 return (void *) dest
;
992 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
993 wxQueryLayoutInfoEvent
*src
;
995 src
= (wxQueryLayoutInfoEvent
*) ptr
;
996 dest
= (wxObject
*) src
;
997 return (void *) dest
;
1000 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1001 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1003 wxQueryLayoutInfoEvent
* _result
;
1004 wxWindowID _arg0
= (wxWindowID
) 0;
1005 char *_kwnames
[] = { "id", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1013 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1015 wxPyEndAllowThreads(__tstate
);
1016 if (PyErr_Occurred()) return NULL
;
1018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1019 _resultobj
= Py_BuildValue("s",_ptemp
);
1022 _resultobj
= Py_None
;
1027 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1028 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1030 wxQueryLayoutInfoEvent
* _arg0
;
1032 PyObject
* _argo0
= 0;
1033 char *_kwnames
[] = { "self","length", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1047 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1049 wxPyEndAllowThreads(__tstate
);
1050 if (PyErr_Occurred()) return NULL
;
1051 } Py_INCREF(Py_None
);
1052 _resultobj
= Py_None
;
1056 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1057 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 wxQueryLayoutInfoEvent
* _arg0
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } _resultobj
= Py_BuildValue("i",_result
);
1084 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1085 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1087 wxQueryLayoutInfoEvent
* _arg0
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","flags", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
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_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1114 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 wxQueryLayoutInfoEvent
* _arg0
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } _resultobj
= Py_BuildValue("i",_result
);
1141 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1142 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1144 wxQueryLayoutInfoEvent
* _arg0
;
1146 PyObject
* _argo0
= 0;
1148 PyObject
* _obj1
= 0;
1149 char *_kwnames
[] = { "self","size", NULL
};
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1163 if (! wxSize_helper(_obj1
, &_arg1
))
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) return NULL
;
1172 } Py_INCREF(Py_None
);
1173 _resultobj
= Py_None
;
1177 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1178 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1181 wxQueryLayoutInfoEvent
* _arg0
;
1182 PyObject
* _argo0
= 0;
1183 char *_kwnames
[] = { "self", NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1198 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1200 wxPyEndAllowThreads(__tstate
);
1201 if (PyErr_Occurred()) return NULL
;
1202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1203 _resultobj
= Py_BuildValue("s",_ptemp
);
1207 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1208 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1210 wxQueryLayoutInfoEvent
* _arg0
;
1211 wxLayoutOrientation _arg1
;
1212 PyObject
* _argo0
= 0;
1213 char *_kwnames
[] = { "self","orient", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) return NULL
;
1231 } Py_INCREF(Py_None
);
1232 _resultobj
= Py_None
;
1236 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1237 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1239 wxLayoutOrientation _result
;
1240 wxQueryLayoutInfoEvent
* _arg0
;
1241 PyObject
* _argo0
= 0;
1242 char *_kwnames
[] = { "self", NULL
};
1245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) return NULL
;
1260 } _resultobj
= Py_BuildValue("i",_result
);
1264 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1265 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1267 wxQueryLayoutInfoEvent
* _arg0
;
1268 wxLayoutAlignment _arg1
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self","align", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
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_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1284 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1286 wxPyEndAllowThreads(__tstate
);
1287 if (PyErr_Occurred()) return NULL
;
1288 } Py_INCREF(Py_None
);
1289 _resultobj
= Py_None
;
1293 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1294 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1296 wxLayoutAlignment _result
;
1297 wxQueryLayoutInfoEvent
* _arg0
;
1298 PyObject
* _argo0
= 0;
1299 char *_kwnames
[] = { "self", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) return NULL
;
1317 } _resultobj
= Py_BuildValue("i",_result
);
1321 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1322 wxCalculateLayoutEvent
*src
;
1324 src
= (wxCalculateLayoutEvent
*) ptr
;
1325 dest
= (wxEvent
*) src
;
1326 return (void *) dest
;
1329 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1330 wxCalculateLayoutEvent
*src
;
1332 src
= (wxCalculateLayoutEvent
*) ptr
;
1333 dest
= (wxObject
*) src
;
1334 return (void *) dest
;
1337 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1338 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1340 wxCalculateLayoutEvent
* _result
;
1341 wxWindowID _arg0
= (wxWindowID
) 0;
1342 char *_kwnames
[] = { "id", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) return NULL
;
1355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1356 _resultobj
= Py_BuildValue("s",_ptemp
);
1359 _resultobj
= Py_None
;
1364 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1365 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1367 wxCalculateLayoutEvent
* _arg0
;
1369 PyObject
* _argo0
= 0;
1370 char *_kwnames
[] = { "self","flags", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) return NULL
;
1388 } Py_INCREF(Py_None
);
1389 _resultobj
= Py_None
;
1393 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1394 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1397 wxCalculateLayoutEvent
* _arg0
;
1398 PyObject
* _argo0
= 0;
1399 char *_kwnames
[] = { "self", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) return NULL
;
1417 } _resultobj
= Py_BuildValue("i",_result
);
1421 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1422 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 wxCalculateLayoutEvent
* _arg0
;
1426 PyObject
* _argo0
= 0;
1428 PyObject
* _obj1
= 0;
1429 char *_kwnames
[] = { "self","rect", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1443 if (! wxRect_helper(_obj1
, &_arg1
))
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) return NULL
;
1452 } Py_INCREF(Py_None
);
1453 _resultobj
= Py_None
;
1457 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1458 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1461 wxCalculateLayoutEvent
* _arg0
;
1462 PyObject
* _argo0
= 0;
1463 char *_kwnames
[] = { "self", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) return NULL
;
1482 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1483 _resultobj
= Py_BuildValue("s",_ptemp
);
1487 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1488 wxSashLayoutWindow
*src
;
1490 src
= (wxSashLayoutWindow
*) ptr
;
1491 dest
= (wxSashWindow
*) src
;
1492 return (void *) dest
;
1495 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1496 wxSashLayoutWindow
*src
;
1498 src
= (wxSashLayoutWindow
*) ptr
;
1499 dest
= (wxWindow
*) src
;
1500 return (void *) dest
;
1503 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1504 wxSashLayoutWindow
*src
;
1506 src
= (wxSashLayoutWindow
*) ptr
;
1507 dest
= (wxEvtHandler
*) src
;
1508 return (void *) dest
;
1511 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1512 wxSashLayoutWindow
*src
;
1514 src
= (wxSashLayoutWindow
*) ptr
;
1515 dest
= (wxObject
*) src
;
1516 return (void *) dest
;
1519 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1520 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1522 wxSashLayoutWindow
* _result
;
1525 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1526 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1527 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1528 char * _arg5
= (char *) "layoutWindow";
1529 PyObject
* _argo0
= 0;
1531 PyObject
* _obj2
= 0;
1533 PyObject
* _obj3
= 0;
1534 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1550 if (! wxPoint_helper(_obj2
, &_arg2
))
1556 if (! wxSize_helper(_obj3
, &_arg3
))
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1567 _resultobj
= Py_BuildValue("s",_ptemp
);
1570 _resultobj
= Py_None
;
1575 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1576 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1578 wxSashLayoutWindow
* _result
;
1579 char *_kwnames
[] = { NULL
};
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) return NULL
;
1592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1593 _resultobj
= Py_BuildValue("s",_ptemp
);
1596 _resultobj
= Py_None
;
1601 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1602 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1605 wxSashLayoutWindow
* _arg0
;
1608 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1609 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1610 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1611 char * _arg6
= (char *) "layoutWindow";
1612 PyObject
* _argo0
= 0;
1613 PyObject
* _argo1
= 0;
1615 PyObject
* _obj3
= 0;
1617 PyObject
* _obj4
= 0;
1618 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1640 if (! wxPoint_helper(_obj3
, &_arg3
))
1646 if (! wxSize_helper(_obj4
, &_arg4
))
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) return NULL
;
1655 } _resultobj
= Py_BuildValue("i",_result
);
1659 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1660 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1662 wxLayoutAlignment _result
;
1663 wxSashLayoutWindow
* _arg0
;
1664 PyObject
* _argo0
= 0;
1665 char *_kwnames
[] = { "self", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) return NULL
;
1683 } _resultobj
= Py_BuildValue("i",_result
);
1687 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1688 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxLayoutOrientation _result
;
1691 wxSashLayoutWindow
* _arg0
;
1692 PyObject
* _argo0
= 0;
1693 char *_kwnames
[] = { "self", NULL
};
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) return NULL
;
1711 } _resultobj
= Py_BuildValue("i",_result
);
1715 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1716 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1718 wxSashLayoutWindow
* _arg0
;
1719 wxLayoutAlignment _arg1
;
1720 PyObject
* _argo0
= 0;
1721 char *_kwnames
[] = { "self","alignment", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1735 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) return NULL
;
1739 } Py_INCREF(Py_None
);
1740 _resultobj
= Py_None
;
1744 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1745 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1747 wxSashLayoutWindow
* _arg0
;
1749 PyObject
* _argo0
= 0;
1751 PyObject
* _obj1
= 0;
1752 char *_kwnames
[] = { "self","size", NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1766 if (! wxSize_helper(_obj1
, &_arg1
))
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1781 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1783 wxSashLayoutWindow
* _arg0
;
1784 wxLayoutOrientation _arg1
;
1785 PyObject
* _argo0
= 0;
1786 char *_kwnames
[] = { "self","orientation", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) return NULL
;
1804 } Py_INCREF(Py_None
);
1805 _resultobj
= Py_None
;
1809 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1810 wxLayoutAlgorithm
*src
;
1812 src
= (wxLayoutAlgorithm
*) ptr
;
1813 dest
= (wxObject
*) src
;
1814 return (void *) dest
;
1817 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1818 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 wxLayoutAlgorithm
* _result
;
1821 char *_kwnames
[] = { NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1835 _resultobj
= Py_BuildValue("s",_ptemp
);
1838 _resultobj
= Py_None
;
1843 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1844 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1846 wxLayoutAlgorithm
* _arg0
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 delete_wxLayoutAlgorithm(_arg0
);
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) return NULL
;
1866 } Py_INCREF(Py_None
);
1867 _resultobj
= Py_None
;
1871 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1872 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1875 wxLayoutAlgorithm
* _arg0
;
1876 wxMDIParentFrame
* _arg1
;
1877 wxRect
* _arg2
= (wxRect
*) NULL
;
1878 PyObject
* _argo0
= 0;
1879 PyObject
* _argo1
= 0;
1881 PyObject
* _obj2
= 0;
1882 char *_kwnames
[] = { "self","frame","rect", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1904 if (! wxRect_helper(_obj2
, &_arg2
))
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1913 } _resultobj
= Py_BuildValue("i",_result
);
1917 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1918 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1921 wxLayoutAlgorithm
* _arg0
;
1923 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1924 PyObject
* _argo0
= 0;
1925 PyObject
* _argo1
= 0;
1926 PyObject
* _argo2
= 0;
1927 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1947 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1959 } _resultobj
= Py_BuildValue("i",_result
);
1963 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1964 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1967 wxLayoutAlgorithm
* _arg0
;
1969 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1970 PyObject
* _argo0
= 0;
1971 PyObject
* _argo1
= 0;
1972 PyObject
* _argo2
= 0;
1973 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
1986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1993 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1994 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2003 wxPyEndAllowThreads(__tstate
);
2004 if (PyErr_Occurred()) return NULL
;
2005 } _resultobj
= Py_BuildValue("i",_result
);
2009 static PyMethodDef windows3cMethods
[] = {
2010 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2011 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2012 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2013 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2014 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2015 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2016 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2017 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2018 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2019 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2020 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2021 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2022 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2023 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2024 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2025 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2026 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2027 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2028 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2029 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2030 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2031 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2032 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2033 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2034 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2035 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2036 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2037 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2038 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2039 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2040 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2041 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2042 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2043 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2044 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2045 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2046 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2047 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2048 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2049 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2050 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2051 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2052 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2053 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2054 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2055 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2056 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2057 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2058 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2059 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2060 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2072 * This table is used by the pointer type-checker
2074 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2075 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2076 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2077 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2078 { "_signed_long","_long",0},
2079 { "_wxPrintQuality","_wxCoord",0},
2080 { "_wxPrintQuality","_int",0},
2081 { "_wxPrintQuality","_signed_int",0},
2082 { "_wxPrintQuality","_unsigned_int",0},
2083 { "_wxPrintQuality","_wxWindowID",0},
2084 { "_wxPrintQuality","_uint",0},
2085 { "_wxPrintQuality","_EBool",0},
2086 { "_wxPrintQuality","_size_t",0},
2087 { "_wxPrintQuality","_time_t",0},
2088 { "_byte","_unsigned_char",0},
2089 { "_long","_unsigned_long",0},
2090 { "_long","_signed_long",0},
2091 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2092 { "_size_t","_wxCoord",0},
2093 { "_size_t","_wxPrintQuality",0},
2094 { "_size_t","_time_t",0},
2095 { "_size_t","_unsigned_int",0},
2096 { "_size_t","_int",0},
2097 { "_size_t","_wxWindowID",0},
2098 { "_size_t","_uint",0},
2099 { "_uint","_wxCoord",0},
2100 { "_uint","_wxPrintQuality",0},
2101 { "_uint","_time_t",0},
2102 { "_uint","_size_t",0},
2103 { "_uint","_unsigned_int",0},
2104 { "_uint","_int",0},
2105 { "_uint","_wxWindowID",0},
2106 { "_wxChar","_char",0},
2107 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2108 { "_char","_wxChar",0},
2109 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2110 { "_EBool","_wxCoord",0},
2111 { "_EBool","_wxPrintQuality",0},
2112 { "_EBool","_signed_int",0},
2113 { "_EBool","_int",0},
2114 { "_EBool","_wxWindowID",0},
2115 { "_unsigned_long","_long",0},
2116 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2117 { "_signed_int","_wxCoord",0},
2118 { "_signed_int","_wxPrintQuality",0},
2119 { "_signed_int","_EBool",0},
2120 { "_signed_int","_wxWindowID",0},
2121 { "_signed_int","_int",0},
2122 { "_WXTYPE","_short",0},
2123 { "_WXTYPE","_signed_short",0},
2124 { "_WXTYPE","_unsigned_short",0},
2125 { "_unsigned_short","_WXTYPE",0},
2126 { "_unsigned_short","_short",0},
2127 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2128 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2129 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2130 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2131 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2132 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2133 { "_signed_short","_WXTYPE",0},
2134 { "_signed_short","_short",0},
2135 { "_unsigned_char","_byte",0},
2136 { "_unsigned_int","_wxCoord",0},
2137 { "_unsigned_int","_wxPrintQuality",0},
2138 { "_unsigned_int","_time_t",0},
2139 { "_unsigned_int","_size_t",0},
2140 { "_unsigned_int","_uint",0},
2141 { "_unsigned_int","_wxWindowID",0},
2142 { "_unsigned_int","_int",0},
2143 { "_short","_WXTYPE",0},
2144 { "_short","_unsigned_short",0},
2145 { "_short","_signed_short",0},
2146 { "_wxWindowID","_wxCoord",0},
2147 { "_wxWindowID","_wxPrintQuality",0},
2148 { "_wxWindowID","_time_t",0},
2149 { "_wxWindowID","_size_t",0},
2150 { "_wxWindowID","_EBool",0},
2151 { "_wxWindowID","_uint",0},
2152 { "_wxWindowID","_int",0},
2153 { "_wxWindowID","_signed_int",0},
2154 { "_wxWindowID","_unsigned_int",0},
2155 { "_int","_wxCoord",0},
2156 { "_int","_wxPrintQuality",0},
2157 { "_int","_time_t",0},
2158 { "_int","_size_t",0},
2159 { "_int","_EBool",0},
2160 { "_int","_uint",0},
2161 { "_int","_wxWindowID",0},
2162 { "_int","_unsigned_int",0},
2163 { "_int","_signed_int",0},
2164 { "_time_t","_wxCoord",0},
2165 { "_time_t","_wxPrintQuality",0},
2166 { "_time_t","_unsigned_int",0},
2167 { "_time_t","_int",0},
2168 { "_time_t","_wxWindowID",0},
2169 { "_time_t","_uint",0},
2170 { "_time_t","_size_t",0},
2171 { "_wxCoord","_int",0},
2172 { "_wxCoord","_signed_int",0},
2173 { "_wxCoord","_unsigned_int",0},
2174 { "_wxCoord","_wxWindowID",0},
2175 { "_wxCoord","_uint",0},
2176 { "_wxCoord","_EBool",0},
2177 { "_wxCoord","_size_t",0},
2178 { "_wxCoord","_time_t",0},
2179 { "_wxCoord","_wxPrintQuality",0},
2180 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2181 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2182 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2183 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2186 static PyObject
*SWIG_globals
;
2190 SWIGEXPORT(void) initwindows3c() {
2192 SWIG_globals
= SWIG_newvarlink();
2193 m
= Py_InitModule("windows3c", windows3cMethods
);
2194 d
= PyModule_GetDict(m
);
2195 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2196 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2197 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2198 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2199 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2200 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2201 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2202 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2203 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2204 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2205 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2206 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2207 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2208 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2209 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2210 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2211 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2212 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2213 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2214 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2215 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2218 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2219 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);