2 * FILE : src/mac/windows3.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows3c
56 #define SWIG_name "windows3c"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
62 #include <wx/popupwin.h>
63 #include <wx/tipwin.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "String type required";
101 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
103 wxCommandEvent
*dest
;
104 src
= (wxSashEvent
*) ptr
;
105 dest
= (wxCommandEvent
*) src
;
106 return (void *) dest
;
109 static void *SwigwxSashEventTowxEvent(void *ptr
) {
112 src
= (wxSashEvent
*) ptr
;
113 dest
= (wxEvent
*) src
;
114 return (void *) dest
;
117 static void *SwigwxSashEventTowxObject(void *ptr
) {
120 src
= (wxSashEvent
*) ptr
;
121 dest
= (wxObject
*) src
;
122 return (void *) dest
;
125 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
126 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
127 PyObject
* _resultobj
;
128 wxSashEvent
* _result
;
129 int _arg0
= (int ) 0;
130 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
131 char *_kwnames
[] = { "id","edge", NULL
};
135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
139 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
141 wxPyEndAllowThreads(__tstate
);
142 if (PyErr_Occurred()) return NULL
;
144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
145 _resultobj
= Py_BuildValue("s",_ptemp
);
148 _resultobj
= Py_None
;
153 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
154 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
157 wxSashEdgePosition _arg1
;
158 PyObject
* _argo0
= 0;
159 char *_kwnames
[] = { "self","edge", NULL
};
162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
173 wxSashEvent_SetEdge(_arg0
,_arg1
);
175 wxPyEndAllowThreads(__tstate
);
176 if (PyErr_Occurred()) return NULL
;
177 } Py_INCREF(Py_None
);
178 _resultobj
= Py_None
;
182 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
183 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
185 wxSashEdgePosition _result
;
187 PyObject
* _argo0
= 0;
188 char *_kwnames
[] = { "self", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
202 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
204 wxPyEndAllowThreads(__tstate
);
205 if (PyErr_Occurred()) return NULL
;
206 } _resultobj
= Py_BuildValue("i",_result
);
210 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
211 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
212 PyObject
* _resultobj
;
215 PyObject
* _argo0
= 0;
217 PyObject
* _obj1
= 0;
218 char *_kwnames
[] = { "self","rect", NULL
};
221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
232 if (! wxRect_helper(_obj1
, &_arg1
))
236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
237 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
239 wxPyEndAllowThreads(__tstate
);
240 if (PyErr_Occurred()) return NULL
;
241 } Py_INCREF(Py_None
);
242 _resultobj
= Py_None
;
246 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
247 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
251 PyObject
* _argo0
= 0;
252 char *_kwnames
[] = { "self", NULL
};
256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
271 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
272 _resultobj
= Py_BuildValue("s",_ptemp
);
276 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
277 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
280 wxSashDragStatus _arg1
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self","status", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } Py_INCREF(Py_None
);
301 _resultobj
= Py_None
;
305 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
306 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
308 wxSashDragStatus _result
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
325 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
327 wxPyEndAllowThreads(__tstate
);
328 if (PyErr_Occurred()) return NULL
;
329 } _resultobj
= Py_BuildValue("i",_result
);
333 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
336 src
= (wxSashWindow
*) ptr
;
337 dest
= (wxWindow
*) src
;
338 return (void *) dest
;
341 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
344 src
= (wxSashWindow
*) ptr
;
345 dest
= (wxEvtHandler
*) src
;
346 return (void *) dest
;
349 static void *SwigwxSashWindowTowxObject(void *ptr
) {
352 src
= (wxSashWindow
*) ptr
;
353 dest
= (wxObject
*) src
;
354 return (void *) dest
;
357 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
358 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
360 wxSashWindow
* _result
;
363 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
364 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
365 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
366 char * _arg5
= (char *) "sashWindow";
367 PyObject
* _argo0
= 0;
369 PyObject
* _obj2
= 0;
371 PyObject
* _obj3
= 0;
372 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
388 if (! wxPoint_helper(_obj2
, &_arg2
))
394 if (! wxSize_helper(_obj3
, &_arg3
))
398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
399 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
401 wxPyEndAllowThreads(__tstate
);
402 if (PyErr_Occurred()) return NULL
;
404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
405 _resultobj
= Py_BuildValue("s",_ptemp
);
408 _resultobj
= Py_None
;
413 #define new_wxPreSashWindow() (new wxSashWindow())
414 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
416 wxSashWindow
* _result
;
417 char *_kwnames
[] = { NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
425 _result
= (wxSashWindow
*)new_wxPreSashWindow();
427 wxPyEndAllowThreads(__tstate
);
428 if (PyErr_Occurred()) return NULL
;
430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
431 _resultobj
= Py_BuildValue("s",_ptemp
);
434 _resultobj
= Py_None
;
439 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
440 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
443 wxSashWindow
* _arg0
;
446 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
447 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
448 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
449 char * _arg6
= (char *) "sashWindow";
450 PyObject
* _argo0
= 0;
451 PyObject
* _argo1
= 0;
453 PyObject
* _obj3
= 0;
455 PyObject
* _obj4
= 0;
456 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
478 if (! wxPoint_helper(_obj3
, &_arg3
))
484 if (! wxSize_helper(_obj4
, &_arg4
))
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
491 wxPyEndAllowThreads(__tstate
);
492 if (PyErr_Occurred()) return NULL
;
493 } _resultobj
= Py_BuildValue("i",_result
);
497 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
498 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
501 wxSashWindow
* _arg0
;
502 wxSashEdgePosition _arg1
;
503 PyObject
* _argo0
= 0;
504 char *_kwnames
[] = { "self","edge", NULL
};
507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
518 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
520 wxPyEndAllowThreads(__tstate
);
521 if (PyErr_Occurred()) return NULL
;
522 } _resultobj
= Py_BuildValue("i",_result
);
526 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
527 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
530 wxSashWindow
* _arg0
;
531 PyObject
* _argo0
= 0;
532 char *_kwnames
[] = { "self", NULL
};
535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
546 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
548 wxPyEndAllowThreads(__tstate
);
549 if (PyErr_Occurred()) return NULL
;
550 } _resultobj
= Py_BuildValue("i",_result
);
554 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
555 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
558 wxSashWindow
* _arg0
;
559 wxSashEdgePosition _arg1
;
560 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "self","edge", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
575 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
577 wxPyEndAllowThreads(__tstate
);
578 if (PyErr_Occurred()) return NULL
;
579 } _resultobj
= Py_BuildValue("i",_result
);
583 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
584 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
585 PyObject
* _resultobj
;
587 wxSashWindow
* _arg0
;
588 PyObject
* _argo0
= 0;
589 char *_kwnames
[] = { "self", NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
603 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
605 wxPyEndAllowThreads(__tstate
);
606 if (PyErr_Occurred()) return NULL
;
607 } _resultobj
= Py_BuildValue("i",_result
);
611 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
612 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
613 PyObject
* _resultobj
;
615 wxSashWindow
* _arg0
;
616 PyObject
* _argo0
= 0;
617 char *_kwnames
[] = { "self", NULL
};
620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
631 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
633 wxPyEndAllowThreads(__tstate
);
634 if (PyErr_Occurred()) return NULL
;
635 } _resultobj
= Py_BuildValue("i",_result
);
639 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
640 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
643 wxSashWindow
* _arg0
;
644 PyObject
* _argo0
= 0;
645 char *_kwnames
[] = { "self", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
659 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
661 wxPyEndAllowThreads(__tstate
);
662 if (PyErr_Occurred()) return NULL
;
663 } _resultobj
= Py_BuildValue("i",_result
);
667 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
668 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
671 wxSashWindow
* _arg0
;
672 PyObject
* _argo0
= 0;
673 char *_kwnames
[] = { "self", NULL
};
676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
687 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
689 wxPyEndAllowThreads(__tstate
);
690 if (PyErr_Occurred()) return NULL
;
691 } _resultobj
= Py_BuildValue("i",_result
);
695 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
696 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
697 PyObject
* _resultobj
;
699 wxSashWindow
* _arg0
;
700 PyObject
* _argo0
= 0;
701 char *_kwnames
[] = { "self", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
715 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
717 wxPyEndAllowThreads(__tstate
);
718 if (PyErr_Occurred()) return NULL
;
719 } _resultobj
= Py_BuildValue("i",_result
);
723 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
724 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 wxSashWindow
* _arg0
;
728 wxSashEdgePosition _arg1
;
729 PyObject
* _argo0
= 0;
730 char *_kwnames
[] = { "self","edge", NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
744 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
746 wxPyEndAllowThreads(__tstate
);
747 if (PyErr_Occurred()) return NULL
;
748 } _resultobj
= Py_BuildValue("i",_result
);
752 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
753 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
755 wxSashWindow
* _arg0
;
757 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "self","width", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
772 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
774 wxPyEndAllowThreads(__tstate
);
775 if (PyErr_Occurred()) return NULL
;
776 } Py_INCREF(Py_None
);
777 _resultobj
= Py_None
;
781 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
782 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
784 wxSashWindow
* _arg0
;
786 PyObject
* _argo0
= 0;
787 char *_kwnames
[] = { "self","width", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
801 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
803 wxPyEndAllowThreads(__tstate
);
804 if (PyErr_Occurred()) return NULL
;
805 } Py_INCREF(Py_None
);
806 _resultobj
= Py_None
;
810 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
811 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
813 wxSashWindow
* _arg0
;
815 PyObject
* _argo0
= 0;
816 char *_kwnames
[] = { "self","min", NULL
};
819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
830 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
832 wxPyEndAllowThreads(__tstate
);
833 if (PyErr_Occurred()) return NULL
;
834 } Py_INCREF(Py_None
);
835 _resultobj
= Py_None
;
839 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
840 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
842 wxSashWindow
* _arg0
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self","min", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
859 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
861 wxPyEndAllowThreads(__tstate
);
862 if (PyErr_Occurred()) return NULL
;
863 } Py_INCREF(Py_None
);
864 _resultobj
= Py_None
;
868 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
869 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
871 wxSashWindow
* _arg0
;
873 PyObject
* _argo0
= 0;
874 char *_kwnames
[] = { "self","min", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
888 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) return NULL
;
892 } Py_INCREF(Py_None
);
893 _resultobj
= Py_None
;
897 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
898 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
900 wxSashWindow
* _arg0
;
902 PyObject
* _argo0
= 0;
903 char *_kwnames
[] = { "self","min", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
917 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
919 wxPyEndAllowThreads(__tstate
);
920 if (PyErr_Occurred()) return NULL
;
921 } Py_INCREF(Py_None
);
922 _resultobj
= Py_None
;
926 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
927 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
929 wxSashWindow
* _arg0
;
930 wxSashEdgePosition _arg1
;
932 PyObject
* _argo0
= 0;
934 char *_kwnames
[] = { "self","edge","visible", NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
946 _arg2
= (bool ) tempbool2
;
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
959 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
961 wxSashWindow
* _arg0
;
962 wxSashEdgePosition _arg1
;
964 PyObject
* _argo0
= 0;
966 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
978 _arg2
= (bool ) tempbool2
;
980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
981 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
983 wxPyEndAllowThreads(__tstate
);
984 if (PyErr_Occurred()) return NULL
;
985 } Py_INCREF(Py_None
);
986 _resultobj
= Py_None
;
990 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
991 wxQueryLayoutInfoEvent
*src
;
993 src
= (wxQueryLayoutInfoEvent
*) ptr
;
994 dest
= (wxEvent
*) src
;
995 return (void *) dest
;
998 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
999 wxQueryLayoutInfoEvent
*src
;
1001 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1002 dest
= (wxObject
*) src
;
1003 return (void *) dest
;
1006 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1007 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1009 wxQueryLayoutInfoEvent
* _result
;
1010 wxWindowID _arg0
= (wxWindowID
) 0;
1011 char *_kwnames
[] = { "id", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) return NULL
;
1024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1025 _resultobj
= Py_BuildValue("s",_ptemp
);
1028 _resultobj
= Py_None
;
1033 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1034 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1036 wxQueryLayoutInfoEvent
* _arg0
;
1038 PyObject
* _argo0
= 0;
1039 char *_kwnames
[] = { "self","length", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) return NULL
;
1057 } Py_INCREF(Py_None
);
1058 _resultobj
= Py_None
;
1062 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1063 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1066 wxQueryLayoutInfoEvent
* _arg0
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1082 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) return NULL
;
1086 } _resultobj
= Py_BuildValue("i",_result
);
1090 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1091 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1093 wxQueryLayoutInfoEvent
* _arg0
;
1095 PyObject
* _argo0
= 0;
1096 char *_kwnames
[] = { "self","flags", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) return NULL
;
1114 } Py_INCREF(Py_None
);
1115 _resultobj
= Py_None
;
1119 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1120 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1123 wxQueryLayoutInfoEvent
* _arg0
;
1124 PyObject
* _argo0
= 0;
1125 char *_kwnames
[] = { "self", NULL
};
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) return NULL
;
1143 } _resultobj
= Py_BuildValue("i",_result
);
1147 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1148 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1150 wxQueryLayoutInfoEvent
* _arg0
;
1152 PyObject
* _argo0
= 0;
1154 PyObject
* _obj1
= 0;
1155 char *_kwnames
[] = { "self","size", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1169 if (! wxSize_helper(_obj1
, &_arg1
))
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) return NULL
;
1178 } Py_INCREF(Py_None
);
1179 _resultobj
= Py_None
;
1183 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1184 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1187 wxQueryLayoutInfoEvent
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) return NULL
;
1208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1209 _resultobj
= Py_BuildValue("s",_ptemp
);
1213 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1214 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1216 wxQueryLayoutInfoEvent
* _arg0
;
1217 wxLayoutOrientation _arg1
;
1218 PyObject
* _argo0
= 0;
1219 char *_kwnames
[] = { "self","orient", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) return NULL
;
1237 } Py_INCREF(Py_None
);
1238 _resultobj
= Py_None
;
1242 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1243 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1245 wxLayoutOrientation _result
;
1246 wxQueryLayoutInfoEvent
* _arg0
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1271 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxQueryLayoutInfoEvent
* _arg0
;
1274 wxLayoutAlignment _arg1
;
1275 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self","align", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) return NULL
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1300 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1302 wxLayoutAlignment _result
;
1303 wxQueryLayoutInfoEvent
* _arg0
;
1304 PyObject
* _argo0
= 0;
1305 char *_kwnames
[] = { "self", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) return NULL
;
1323 } _resultobj
= Py_BuildValue("i",_result
);
1327 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1328 wxCalculateLayoutEvent
*src
;
1330 src
= (wxCalculateLayoutEvent
*) ptr
;
1331 dest
= (wxEvent
*) src
;
1332 return (void *) dest
;
1335 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1336 wxCalculateLayoutEvent
*src
;
1338 src
= (wxCalculateLayoutEvent
*) ptr
;
1339 dest
= (wxObject
*) src
;
1340 return (void *) dest
;
1343 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1344 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1346 wxCalculateLayoutEvent
* _result
;
1347 wxWindowID _arg0
= (wxWindowID
) 0;
1348 char *_kwnames
[] = { "id", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1362 _resultobj
= Py_BuildValue("s",_ptemp
);
1365 _resultobj
= Py_None
;
1370 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1371 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1373 wxCalculateLayoutEvent
* _arg0
;
1375 PyObject
* _argo0
= 0;
1376 char *_kwnames
[] = { "self","flags", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) return NULL
;
1394 } Py_INCREF(Py_None
);
1395 _resultobj
= Py_None
;
1399 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1400 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1403 wxCalculateLayoutEvent
* _arg0
;
1404 PyObject
* _argo0
= 0;
1405 char *_kwnames
[] = { "self", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) return NULL
;
1423 } _resultobj
= Py_BuildValue("i",_result
);
1427 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1428 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1430 wxCalculateLayoutEvent
* _arg0
;
1432 PyObject
* _argo0
= 0;
1434 PyObject
* _obj1
= 0;
1435 char *_kwnames
[] = { "self","rect", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1449 if (! wxRect_helper(_obj1
, &_arg1
))
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } Py_INCREF(Py_None
);
1459 _resultobj
= Py_None
;
1463 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1464 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1467 wxCalculateLayoutEvent
* _arg0
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) return NULL
;
1488 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1489 _resultobj
= Py_BuildValue("s",_ptemp
);
1493 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1494 wxSashLayoutWindow
*src
;
1496 src
= (wxSashLayoutWindow
*) ptr
;
1497 dest
= (wxSashWindow
*) src
;
1498 return (void *) dest
;
1501 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1502 wxSashLayoutWindow
*src
;
1504 src
= (wxSashLayoutWindow
*) ptr
;
1505 dest
= (wxWindow
*) src
;
1506 return (void *) dest
;
1509 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1510 wxSashLayoutWindow
*src
;
1512 src
= (wxSashLayoutWindow
*) ptr
;
1513 dest
= (wxEvtHandler
*) src
;
1514 return (void *) dest
;
1517 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1518 wxSashLayoutWindow
*src
;
1520 src
= (wxSashLayoutWindow
*) ptr
;
1521 dest
= (wxObject
*) src
;
1522 return (void *) dest
;
1525 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1526 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1528 wxSashLayoutWindow
* _result
;
1531 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1532 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1533 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1534 char * _arg5
= (char *) "layoutWindow";
1535 PyObject
* _argo0
= 0;
1537 PyObject
* _obj2
= 0;
1539 PyObject
* _obj3
= 0;
1540 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1556 if (! wxPoint_helper(_obj2
, &_arg2
))
1562 if (! wxSize_helper(_obj3
, &_arg3
))
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) return NULL
;
1572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1573 _resultobj
= Py_BuildValue("s",_ptemp
);
1576 _resultobj
= Py_None
;
1581 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1582 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1584 wxSashLayoutWindow
* _result
;
1585 char *_kwnames
[] = { NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
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
;
1607 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1608 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1611 wxSashLayoutWindow
* _arg0
;
1614 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1615 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1616 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1617 char * _arg6
= (char *) "layoutWindow";
1618 PyObject
* _argo0
= 0;
1619 PyObject
* _argo1
= 0;
1621 PyObject
* _obj3
= 0;
1623 PyObject
* _obj4
= 0;
1624 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1646 if (! wxPoint_helper(_obj3
, &_arg3
))
1652 if (! wxSize_helper(_obj4
, &_arg4
))
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) return NULL
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1666 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 wxLayoutAlignment _result
;
1669 wxSashLayoutWindow
* _arg0
;
1670 PyObject
* _argo0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) return NULL
;
1689 } _resultobj
= Py_BuildValue("i",_result
);
1693 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1694 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxLayoutOrientation _result
;
1697 wxSashLayoutWindow
* _arg0
;
1698 PyObject
* _argo0
= 0;
1699 char *_kwnames
[] = { "self", NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) return NULL
;
1717 } _resultobj
= Py_BuildValue("i",_result
);
1721 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1722 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
* _resultobj
;
1724 wxSashLayoutWindow
* _arg0
;
1725 wxLayoutAlignment _arg1
;
1726 PyObject
* _argo0
= 0;
1727 char *_kwnames
[] = { "self","alignment", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) return NULL
;
1745 } Py_INCREF(Py_None
);
1746 _resultobj
= Py_None
;
1750 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1751 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1753 wxSashLayoutWindow
* _arg0
;
1755 PyObject
* _argo0
= 0;
1757 PyObject
* _obj1
= 0;
1758 char *_kwnames
[] = { "self","size", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1772 if (! wxSize_helper(_obj1
, &_arg1
))
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) return NULL
;
1781 } Py_INCREF(Py_None
);
1782 _resultobj
= Py_None
;
1786 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1787 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1789 wxSashLayoutWindow
* _arg0
;
1790 wxLayoutOrientation _arg1
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self","orientation", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1810 } Py_INCREF(Py_None
);
1811 _resultobj
= Py_None
;
1815 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1816 wxLayoutAlgorithm
*src
;
1818 src
= (wxLayoutAlgorithm
*) ptr
;
1819 dest
= (wxObject
*) src
;
1820 return (void *) dest
;
1823 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1824 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1826 wxLayoutAlgorithm
* _result
;
1827 char *_kwnames
[] = { NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) return NULL
;
1840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1841 _resultobj
= Py_BuildValue("s",_ptemp
);
1844 _resultobj
= Py_None
;
1849 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1850 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1852 wxLayoutAlgorithm
* _arg0
;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 delete_wxLayoutAlgorithm(_arg0
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) return NULL
;
1872 } Py_INCREF(Py_None
);
1873 _resultobj
= Py_None
;
1877 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1878 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1881 wxLayoutAlgorithm
* _arg0
;
1882 wxMDIParentFrame
* _arg1
;
1883 wxRect
* _arg2
= (wxRect
*) NULL
;
1884 PyObject
* _argo0
= 0;
1885 PyObject
* _argo1
= 0;
1887 PyObject
* _obj2
= 0;
1888 char *_kwnames
[] = { "self","frame","rect", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1910 if (! wxRect_helper(_obj2
, &_arg2
))
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) return NULL
;
1919 } _resultobj
= Py_BuildValue("i",_result
);
1923 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1924 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1927 wxLayoutAlgorithm
* _arg0
;
1929 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1930 PyObject
* _argo0
= 0;
1931 PyObject
* _argo1
= 0;
1932 PyObject
* _argo2
= 0;
1933 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1953 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1954 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) return NULL
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1969 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1970 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1973 wxLayoutAlgorithm
* _arg0
;
1975 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1976 PyObject
* _argo0
= 0;
1977 PyObject
* _argo1
= 0;
1978 PyObject
* _argo2
= 0;
1979 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
1992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1999 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } _resultobj
= Py_BuildValue("i",_result
);
2015 static PyMethodDef windows3cMethods
[] = {
2016 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2017 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2018 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2019 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2020 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2021 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2022 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2023 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2024 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2025 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2026 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2027 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2028 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2029 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2030 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2031 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2032 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2033 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2034 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2035 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2036 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2037 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2038 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2039 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2040 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2041 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2042 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2043 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2044 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2045 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2046 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2047 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2048 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2049 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2050 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2051 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2052 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2053 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2054 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2055 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2056 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2057 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2058 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2059 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2060 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2066 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2068 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2069 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2070 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2071 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2078 * This table is used by the pointer type-checker
2080 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2081 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2082 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2083 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2084 { "_signed_long","_long",0},
2085 { "_wxPrintQuality","_wxCoord",0},
2086 { "_wxPrintQuality","_int",0},
2087 { "_wxPrintQuality","_signed_int",0},
2088 { "_wxPrintQuality","_unsigned_int",0},
2089 { "_wxPrintQuality","_wxWindowID",0},
2090 { "_wxPrintQuality","_uint",0},
2091 { "_wxPrintQuality","_EBool",0},
2092 { "_wxPrintQuality","_size_t",0},
2093 { "_wxPrintQuality","_time_t",0},
2094 { "_byte","_unsigned_char",0},
2095 { "_long","_unsigned_long",0},
2096 { "_long","_signed_long",0},
2097 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2098 { "_size_t","_wxCoord",0},
2099 { "_size_t","_wxPrintQuality",0},
2100 { "_size_t","_time_t",0},
2101 { "_size_t","_unsigned_int",0},
2102 { "_size_t","_int",0},
2103 { "_size_t","_wxWindowID",0},
2104 { "_size_t","_uint",0},
2105 { "_uint","_wxCoord",0},
2106 { "_uint","_wxPrintQuality",0},
2107 { "_uint","_time_t",0},
2108 { "_uint","_size_t",0},
2109 { "_uint","_unsigned_int",0},
2110 { "_uint","_int",0},
2111 { "_uint","_wxWindowID",0},
2112 { "_wxChar","_char",0},
2113 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2114 { "_char","_wxChar",0},
2115 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2116 { "_EBool","_wxCoord",0},
2117 { "_EBool","_wxPrintQuality",0},
2118 { "_EBool","_signed_int",0},
2119 { "_EBool","_int",0},
2120 { "_EBool","_wxWindowID",0},
2121 { "_unsigned_long","_long",0},
2122 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2123 { "_signed_int","_wxCoord",0},
2124 { "_signed_int","_wxPrintQuality",0},
2125 { "_signed_int","_EBool",0},
2126 { "_signed_int","_wxWindowID",0},
2127 { "_signed_int","_int",0},
2128 { "_WXTYPE","_short",0},
2129 { "_WXTYPE","_signed_short",0},
2130 { "_WXTYPE","_unsigned_short",0},
2131 { "_unsigned_short","_WXTYPE",0},
2132 { "_unsigned_short","_short",0},
2133 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2134 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2135 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2136 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2137 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2138 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2139 { "_signed_short","_WXTYPE",0},
2140 { "_signed_short","_short",0},
2141 { "_unsigned_char","_byte",0},
2142 { "_unsigned_int","_wxCoord",0},
2143 { "_unsigned_int","_wxPrintQuality",0},
2144 { "_unsigned_int","_time_t",0},
2145 { "_unsigned_int","_size_t",0},
2146 { "_unsigned_int","_uint",0},
2147 { "_unsigned_int","_wxWindowID",0},
2148 { "_unsigned_int","_int",0},
2149 { "_short","_WXTYPE",0},
2150 { "_short","_unsigned_short",0},
2151 { "_short","_signed_short",0},
2152 { "_wxWindowID","_wxCoord",0},
2153 { "_wxWindowID","_wxPrintQuality",0},
2154 { "_wxWindowID","_time_t",0},
2155 { "_wxWindowID","_size_t",0},
2156 { "_wxWindowID","_EBool",0},
2157 { "_wxWindowID","_uint",0},
2158 { "_wxWindowID","_int",0},
2159 { "_wxWindowID","_signed_int",0},
2160 { "_wxWindowID","_unsigned_int",0},
2161 { "_int","_wxCoord",0},
2162 { "_int","_wxPrintQuality",0},
2163 { "_int","_time_t",0},
2164 { "_int","_size_t",0},
2165 { "_int","_EBool",0},
2166 { "_int","_uint",0},
2167 { "_int","_wxWindowID",0},
2168 { "_int","_unsigned_int",0},
2169 { "_int","_signed_int",0},
2170 { "_time_t","_wxCoord",0},
2171 { "_time_t","_wxPrintQuality",0},
2172 { "_time_t","_unsigned_int",0},
2173 { "_time_t","_int",0},
2174 { "_time_t","_wxWindowID",0},
2175 { "_time_t","_uint",0},
2176 { "_time_t","_size_t",0},
2177 { "_wxCoord","_int",0},
2178 { "_wxCoord","_signed_int",0},
2179 { "_wxCoord","_unsigned_int",0},
2180 { "_wxCoord","_wxWindowID",0},
2181 { "_wxCoord","_uint",0},
2182 { "_wxCoord","_EBool",0},
2183 { "_wxCoord","_size_t",0},
2184 { "_wxCoord","_time_t",0},
2185 { "_wxCoord","_wxPrintQuality",0},
2186 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2187 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2188 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2189 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2192 static PyObject
*SWIG_globals
;
2196 SWIGEXPORT(void) initwindows3c() {
2198 SWIG_globals
= SWIG_newvarlink();
2199 m
= Py_InitModule("windows3c", windows3cMethods
);
2200 d
= PyModule_GetDict(m
);
2201 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2202 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2203 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2204 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2205 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2206 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2207 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2208 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2209 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2210 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2211 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2212 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2213 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2214 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2215 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2216 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2217 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2218 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2219 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2220 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2221 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2224 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2225 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);