2 * FILE : src/gtk/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>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
97 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
100 src
= (wxSashEvent
*) ptr
;
101 dest
= (wxCommandEvent
*) src
;
102 return (void *) dest
;
105 static void *SwigwxSashEventTowxEvent(void *ptr
) {
108 src
= (wxSashEvent
*) ptr
;
109 dest
= (wxEvent
*) src
;
110 return (void *) dest
;
113 static void *SwigwxSashEventTowxObject(void *ptr
) {
116 src
= (wxSashEvent
*) ptr
;
117 dest
= (wxObject
*) src
;
118 return (void *) dest
;
121 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
122 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
124 wxSashEvent
* _result
;
125 int _arg0
= (int ) 0;
126 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
127 char *_kwnames
[] = { "id","edge", NULL
};
131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
134 wxPy_BEGIN_ALLOW_THREADS
;
135 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
137 wxPy_END_ALLOW_THREADS
;
138 if (PyErr_Occurred()) return NULL
;
140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
141 _resultobj
= Py_BuildValue("s",_ptemp
);
144 _resultobj
= Py_None
;
149 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
150 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
153 wxSashEdgePosition _arg1
;
154 PyObject
* _argo0
= 0;
155 char *_kwnames
[] = { "self","edge", NULL
};
158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
168 wxPy_BEGIN_ALLOW_THREADS
;
169 wxSashEvent_SetEdge(_arg0
,_arg1
);
171 wxPy_END_ALLOW_THREADS
;
172 if (PyErr_Occurred()) return NULL
;
173 } Py_INCREF(Py_None
);
174 _resultobj
= Py_None
;
178 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
179 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
180 PyObject
* _resultobj
;
181 wxSashEdgePosition _result
;
183 PyObject
* _argo0
= 0;
184 char *_kwnames
[] = { "self", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
197 wxPy_BEGIN_ALLOW_THREADS
;
198 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
200 wxPy_END_ALLOW_THREADS
;
201 if (PyErr_Occurred()) return NULL
;
202 } _resultobj
= Py_BuildValue("i",_result
);
206 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
207 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
211 PyObject
* _argo0
= 0;
213 PyObject
* _obj1
= 0;
214 char *_kwnames
[] = { "self","rect", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
228 if (! wxRect_helper(_obj1
, &_arg1
))
232 wxPy_BEGIN_ALLOW_THREADS
;
233 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
235 wxPy_END_ALLOW_THREADS
;
236 if (PyErr_Occurred()) return NULL
;
237 } Py_INCREF(Py_None
);
238 _resultobj
= Py_None
;
242 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
243 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
247 PyObject
* _argo0
= 0;
248 char *_kwnames
[] = { "self", NULL
};
252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
262 wxPy_BEGIN_ALLOW_THREADS
;
263 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
265 wxPy_END_ALLOW_THREADS
;
266 if (PyErr_Occurred()) return NULL
;
267 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
268 _resultobj
= Py_BuildValue("s",_ptemp
);
272 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
273 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
276 wxSashDragStatus _arg1
;
277 PyObject
* _argo0
= 0;
278 char *_kwnames
[] = { "self","status", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
291 wxPy_BEGIN_ALLOW_THREADS
;
292 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
294 wxPy_END_ALLOW_THREADS
;
295 if (PyErr_Occurred()) return NULL
;
296 } Py_INCREF(Py_None
);
297 _resultobj
= Py_None
;
301 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
302 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
303 PyObject
* _resultobj
;
304 wxSashDragStatus _result
;
306 PyObject
* _argo0
= 0;
307 char *_kwnames
[] = { "self", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
320 wxPy_BEGIN_ALLOW_THREADS
;
321 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
323 wxPy_END_ALLOW_THREADS
;
324 if (PyErr_Occurred()) return NULL
;
325 } _resultobj
= Py_BuildValue("i",_result
);
329 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
332 src
= (wxSashWindow
*) ptr
;
333 dest
= (wxWindow
*) src
;
334 return (void *) dest
;
337 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
340 src
= (wxSashWindow
*) ptr
;
341 dest
= (wxEvtHandler
*) src
;
342 return (void *) dest
;
345 static void *SwigwxSashWindowTowxObject(void *ptr
) {
348 src
= (wxSashWindow
*) ptr
;
349 dest
= (wxObject
*) src
;
350 return (void *) dest
;
353 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
354 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
356 wxSashWindow
* _result
;
359 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
360 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
361 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
362 char * _arg5
= (char *) "sashWindow";
363 PyObject
* _argo0
= 0;
365 PyObject
* _obj2
= 0;
367 PyObject
* _obj3
= 0;
368 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
384 if (! wxPoint_helper(_obj2
, &_arg2
))
390 if (! wxSize_helper(_obj3
, &_arg3
))
394 wxPy_BEGIN_ALLOW_THREADS
;
395 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
397 wxPy_END_ALLOW_THREADS
;
398 if (PyErr_Occurred()) return NULL
;
400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
401 _resultobj
= Py_BuildValue("s",_ptemp
);
404 _resultobj
= Py_None
;
409 #define new_wxPreSashWindow() (new wxSashWindow())
410 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
411 PyObject
* _resultobj
;
412 wxSashWindow
* _result
;
413 char *_kwnames
[] = { NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
420 wxPy_BEGIN_ALLOW_THREADS
;
421 _result
= (wxSashWindow
*)new_wxPreSashWindow();
423 wxPy_END_ALLOW_THREADS
;
424 if (PyErr_Occurred()) return NULL
;
426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
427 _resultobj
= Py_BuildValue("s",_ptemp
);
430 _resultobj
= Py_None
;
435 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
436 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
437 PyObject
* _resultobj
;
439 wxSashWindow
* _arg0
;
442 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
443 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
444 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
445 char * _arg6
= (char *) "sashWindow";
446 PyObject
* _argo0
= 0;
447 PyObject
* _argo1
= 0;
449 PyObject
* _obj3
= 0;
451 PyObject
* _obj4
= 0;
452 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
465 if (_argo1
== Py_None
) { _arg1
= NULL
; }
466 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
474 if (! wxPoint_helper(_obj3
, &_arg3
))
480 if (! wxSize_helper(_obj4
, &_arg4
))
484 wxPy_BEGIN_ALLOW_THREADS
;
485 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
487 wxPy_END_ALLOW_THREADS
;
488 if (PyErr_Occurred()) return NULL
;
489 } _resultobj
= Py_BuildValue("i",_result
);
493 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
494 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
497 wxSashWindow
* _arg0
;
498 wxSashEdgePosition _arg1
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self","edge", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
513 wxPy_BEGIN_ALLOW_THREADS
;
514 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
516 wxPy_END_ALLOW_THREADS
;
517 if (PyErr_Occurred()) return NULL
;
518 } _resultobj
= Py_BuildValue("i",_result
);
522 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
523 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
526 wxSashWindow
* _arg0
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
541 wxPy_BEGIN_ALLOW_THREADS
;
542 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
544 wxPy_END_ALLOW_THREADS
;
545 if (PyErr_Occurred()) return NULL
;
546 } _resultobj
= Py_BuildValue("i",_result
);
550 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
551 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
554 wxSashWindow
* _arg0
;
555 wxSashEdgePosition _arg1
;
556 PyObject
* _argo0
= 0;
557 char *_kwnames
[] = { "self","edge", NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
570 wxPy_BEGIN_ALLOW_THREADS
;
571 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
573 wxPy_END_ALLOW_THREADS
;
574 if (PyErr_Occurred()) return NULL
;
575 } _resultobj
= Py_BuildValue("i",_result
);
579 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
580 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
581 PyObject
* _resultobj
;
583 wxSashWindow
* _arg0
;
584 PyObject
* _argo0
= 0;
585 char *_kwnames
[] = { "self", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
598 wxPy_BEGIN_ALLOW_THREADS
;
599 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
601 wxPy_END_ALLOW_THREADS
;
602 if (PyErr_Occurred()) return NULL
;
603 } _resultobj
= Py_BuildValue("i",_result
);
607 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
608 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxSashWindow
* _arg0
;
612 PyObject
* _argo0
= 0;
613 char *_kwnames
[] = { "self", NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
626 wxPy_BEGIN_ALLOW_THREADS
;
627 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
629 wxPy_END_ALLOW_THREADS
;
630 if (PyErr_Occurred()) return NULL
;
631 } _resultobj
= Py_BuildValue("i",_result
);
635 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
636 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
637 PyObject
* _resultobj
;
639 wxSashWindow
* _arg0
;
640 PyObject
* _argo0
= 0;
641 char *_kwnames
[] = { "self", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
654 wxPy_BEGIN_ALLOW_THREADS
;
655 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
657 wxPy_END_ALLOW_THREADS
;
658 if (PyErr_Occurred()) return NULL
;
659 } _resultobj
= Py_BuildValue("i",_result
);
663 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
664 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
667 wxSashWindow
* _arg0
;
668 PyObject
* _argo0
= 0;
669 char *_kwnames
[] = { "self", NULL
};
672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
682 wxPy_BEGIN_ALLOW_THREADS
;
683 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
685 wxPy_END_ALLOW_THREADS
;
686 if (PyErr_Occurred()) return NULL
;
687 } _resultobj
= Py_BuildValue("i",_result
);
691 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
692 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
695 wxSashWindow
* _arg0
;
696 PyObject
* _argo0
= 0;
697 char *_kwnames
[] = { "self", NULL
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
710 wxPy_BEGIN_ALLOW_THREADS
;
711 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
713 wxPy_END_ALLOW_THREADS
;
714 if (PyErr_Occurred()) return NULL
;
715 } _resultobj
= Py_BuildValue("i",_result
);
719 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
720 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 wxSashWindow
* _arg0
;
724 wxSashEdgePosition _arg1
;
725 PyObject
* _argo0
= 0;
726 char *_kwnames
[] = { "self","edge", NULL
};
729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
742 wxPy_END_ALLOW_THREADS
;
743 if (PyErr_Occurred()) return NULL
;
744 } _resultobj
= Py_BuildValue("i",_result
);
748 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
749 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
751 wxSashWindow
* _arg0
;
753 PyObject
* _argo0
= 0;
754 char *_kwnames
[] = { "self","width", NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
767 wxPy_BEGIN_ALLOW_THREADS
;
768 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
770 wxPy_END_ALLOW_THREADS
;
771 if (PyErr_Occurred()) return NULL
;
772 } Py_INCREF(Py_None
);
773 _resultobj
= Py_None
;
777 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
778 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
780 wxSashWindow
* _arg0
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self","width", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
799 wxPy_END_ALLOW_THREADS
;
800 if (PyErr_Occurred()) return NULL
;
801 } Py_INCREF(Py_None
);
802 _resultobj
= Py_None
;
806 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
807 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
809 wxSashWindow
* _arg0
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self","min", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
828 wxPy_END_ALLOW_THREADS
;
829 if (PyErr_Occurred()) return NULL
;
830 } Py_INCREF(Py_None
);
831 _resultobj
= Py_None
;
835 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
836 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
838 wxSashWindow
* _arg0
;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","min", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
854 wxPy_BEGIN_ALLOW_THREADS
;
855 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
857 wxPy_END_ALLOW_THREADS
;
858 if (PyErr_Occurred()) return NULL
;
859 } Py_INCREF(Py_None
);
860 _resultobj
= Py_None
;
864 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
865 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
866 PyObject
* _resultobj
;
867 wxSashWindow
* _arg0
;
869 PyObject
* _argo0
= 0;
870 char *_kwnames
[] = { "self","min", NULL
};
873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
883 wxPy_BEGIN_ALLOW_THREADS
;
884 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
886 wxPy_END_ALLOW_THREADS
;
887 if (PyErr_Occurred()) return NULL
;
888 } Py_INCREF(Py_None
);
889 _resultobj
= Py_None
;
893 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
894 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 PyObject
* _resultobj
;
896 wxSashWindow
* _arg0
;
898 PyObject
* _argo0
= 0;
899 char *_kwnames
[] = { "self","min", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
912 wxPy_BEGIN_ALLOW_THREADS
;
913 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
915 wxPy_END_ALLOW_THREADS
;
916 if (PyErr_Occurred()) return NULL
;
917 } Py_INCREF(Py_None
);
918 _resultobj
= Py_None
;
922 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
923 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
925 wxSashWindow
* _arg0
;
926 wxSashEdgePosition _arg1
;
928 PyObject
* _argo0
= 0;
930 char *_kwnames
[] = { "self","edge","visible", NULL
};
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
942 _arg2
= (bool ) tempbool2
;
944 wxPy_BEGIN_ALLOW_THREADS
;
945 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
947 wxPy_END_ALLOW_THREADS
;
948 if (PyErr_Occurred()) return NULL
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
955 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
957 wxSashWindow
* _arg0
;
958 wxSashEdgePosition _arg1
;
960 PyObject
* _argo0
= 0;
962 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
974 _arg2
= (bool ) tempbool2
;
976 wxPy_BEGIN_ALLOW_THREADS
;
977 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
979 wxPy_END_ALLOW_THREADS
;
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
986 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
987 wxQueryLayoutInfoEvent
*src
;
989 src
= (wxQueryLayoutInfoEvent
*) ptr
;
990 dest
= (wxEvent
*) src
;
991 return (void *) dest
;
994 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
995 wxQueryLayoutInfoEvent
*src
;
997 src
= (wxQueryLayoutInfoEvent
*) ptr
;
998 dest
= (wxObject
*) src
;
999 return (void *) dest
;
1002 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1003 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
* _resultobj
;
1005 wxQueryLayoutInfoEvent
* _result
;
1006 wxWindowID _arg0
= (wxWindowID
) 0;
1007 char *_kwnames
[] = { "id", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1017 wxPy_END_ALLOW_THREADS
;
1018 if (PyErr_Occurred()) return NULL
;
1020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1021 _resultobj
= Py_BuildValue("s",_ptemp
);
1024 _resultobj
= Py_None
;
1029 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1030 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1032 wxQueryLayoutInfoEvent
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self","length", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1051 wxPy_END_ALLOW_THREADS
;
1052 if (PyErr_Occurred()) return NULL
;
1053 } Py_INCREF(Py_None
);
1054 _resultobj
= Py_None
;
1058 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1059 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1062 wxQueryLayoutInfoEvent
* _arg0
;
1063 PyObject
* _argo0
= 0;
1064 char *_kwnames
[] = { "self", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1080 wxPy_END_ALLOW_THREADS
;
1081 if (PyErr_Occurred()) return NULL
;
1082 } _resultobj
= Py_BuildValue("i",_result
);
1086 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1087 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
* _resultobj
;
1089 wxQueryLayoutInfoEvent
* _arg0
;
1091 PyObject
* _argo0
= 0;
1092 char *_kwnames
[] = { "self","flags", NULL
};
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1105 wxPy_BEGIN_ALLOW_THREADS
;
1106 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1108 wxPy_END_ALLOW_THREADS
;
1109 if (PyErr_Occurred()) return NULL
;
1110 } Py_INCREF(Py_None
);
1111 _resultobj
= Py_None
;
1115 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1116 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1119 wxQueryLayoutInfoEvent
* _arg0
;
1120 PyObject
* _argo0
= 0;
1121 char *_kwnames
[] = { "self", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1134 wxPy_BEGIN_ALLOW_THREADS
;
1135 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1137 wxPy_END_ALLOW_THREADS
;
1138 if (PyErr_Occurred()) return NULL
;
1139 } _resultobj
= Py_BuildValue("i",_result
);
1143 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1144 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1146 wxQueryLayoutInfoEvent
* _arg0
;
1148 PyObject
* _argo0
= 0;
1150 PyObject
* _obj1
= 0;
1151 char *_kwnames
[] = { "self","size", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1165 if (! wxSize_helper(_obj1
, &_arg1
))
1169 wxPy_BEGIN_ALLOW_THREADS
;
1170 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1172 wxPy_END_ALLOW_THREADS
;
1173 if (PyErr_Occurred()) return NULL
;
1174 } Py_INCREF(Py_None
);
1175 _resultobj
= Py_None
;
1179 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1180 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1183 wxQueryLayoutInfoEvent
* _arg0
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1199 wxPy_BEGIN_ALLOW_THREADS
;
1200 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1202 wxPy_END_ALLOW_THREADS
;
1203 if (PyErr_Occurred()) return NULL
;
1204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1205 _resultobj
= Py_BuildValue("s",_ptemp
);
1209 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1210 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1212 wxQueryLayoutInfoEvent
* _arg0
;
1213 wxLayoutOrientation _arg1
;
1214 PyObject
* _argo0
= 0;
1215 char *_kwnames
[] = { "self","orient", NULL
};
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1228 wxPy_BEGIN_ALLOW_THREADS
;
1229 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1231 wxPy_END_ALLOW_THREADS
;
1232 if (PyErr_Occurred()) return NULL
;
1233 } Py_INCREF(Py_None
);
1234 _resultobj
= Py_None
;
1238 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1239 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1241 wxLayoutOrientation _result
;
1242 wxQueryLayoutInfoEvent
* _arg0
;
1243 PyObject
* _argo0
= 0;
1244 char *_kwnames
[] = { "self", NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1257 wxPy_BEGIN_ALLOW_THREADS
;
1258 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1260 wxPy_END_ALLOW_THREADS
;
1261 if (PyErr_Occurred()) return NULL
;
1262 } _resultobj
= Py_BuildValue("i",_result
);
1266 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1267 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1269 wxQueryLayoutInfoEvent
* _arg0
;
1270 wxLayoutAlignment _arg1
;
1271 PyObject
* _argo0
= 0;
1272 char *_kwnames
[] = { "self","align", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1285 wxPy_BEGIN_ALLOW_THREADS
;
1286 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1288 wxPy_END_ALLOW_THREADS
;
1289 if (PyErr_Occurred()) return NULL
;
1290 } Py_INCREF(Py_None
);
1291 _resultobj
= Py_None
;
1295 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1296 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1298 wxLayoutAlignment _result
;
1299 wxQueryLayoutInfoEvent
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 char *_kwnames
[] = { "self", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1314 wxPy_BEGIN_ALLOW_THREADS
;
1315 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1317 wxPy_END_ALLOW_THREADS
;
1318 if (PyErr_Occurred()) return NULL
;
1319 } _resultobj
= Py_BuildValue("i",_result
);
1323 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1324 wxCalculateLayoutEvent
*src
;
1326 src
= (wxCalculateLayoutEvent
*) ptr
;
1327 dest
= (wxEvent
*) src
;
1328 return (void *) dest
;
1331 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1332 wxCalculateLayoutEvent
*src
;
1334 src
= (wxCalculateLayoutEvent
*) ptr
;
1335 dest
= (wxObject
*) src
;
1336 return (void *) dest
;
1339 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1340 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1342 wxCalculateLayoutEvent
* _result
;
1343 wxWindowID _arg0
= (wxWindowID
) 0;
1344 char *_kwnames
[] = { "id", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1354 wxPy_END_ALLOW_THREADS
;
1355 if (PyErr_Occurred()) return NULL
;
1357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1358 _resultobj
= Py_BuildValue("s",_ptemp
);
1361 _resultobj
= Py_None
;
1366 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1367 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1369 wxCalculateLayoutEvent
* _arg0
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self","flags", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1388 wxPy_END_ALLOW_THREADS
;
1389 if (PyErr_Occurred()) return NULL
;
1390 } Py_INCREF(Py_None
);
1391 _resultobj
= Py_None
;
1395 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1396 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1399 wxCalculateLayoutEvent
* _arg0
;
1400 PyObject
* _argo0
= 0;
1401 char *_kwnames
[] = { "self", NULL
};
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1417 wxPy_END_ALLOW_THREADS
;
1418 if (PyErr_Occurred()) return NULL
;
1419 } _resultobj
= Py_BuildValue("i",_result
);
1423 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1424 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1426 wxCalculateLayoutEvent
* _arg0
;
1428 PyObject
* _argo0
= 0;
1430 PyObject
* _obj1
= 0;
1431 char *_kwnames
[] = { "self","rect", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1445 if (! wxRect_helper(_obj1
, &_arg1
))
1449 wxPy_BEGIN_ALLOW_THREADS
;
1450 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1452 wxPy_END_ALLOW_THREADS
;
1453 if (PyErr_Occurred()) return NULL
;
1454 } Py_INCREF(Py_None
);
1455 _resultobj
= Py_None
;
1459 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1460 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1463 wxCalculateLayoutEvent
* _arg0
;
1464 PyObject
* _argo0
= 0;
1465 char *_kwnames
[] = { "self", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1482 wxPy_END_ALLOW_THREADS
;
1483 if (PyErr_Occurred()) return NULL
;
1484 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1485 _resultobj
= Py_BuildValue("s",_ptemp
);
1489 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1490 wxSashLayoutWindow
*src
;
1492 src
= (wxSashLayoutWindow
*) ptr
;
1493 dest
= (wxSashWindow
*) src
;
1494 return (void *) dest
;
1497 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1498 wxSashLayoutWindow
*src
;
1500 src
= (wxSashLayoutWindow
*) ptr
;
1501 dest
= (wxWindow
*) src
;
1502 return (void *) dest
;
1505 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1506 wxSashLayoutWindow
*src
;
1508 src
= (wxSashLayoutWindow
*) ptr
;
1509 dest
= (wxEvtHandler
*) src
;
1510 return (void *) dest
;
1513 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1514 wxSashLayoutWindow
*src
;
1516 src
= (wxSashLayoutWindow
*) ptr
;
1517 dest
= (wxObject
*) src
;
1518 return (void *) dest
;
1521 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1522 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1524 wxSashLayoutWindow
* _result
;
1527 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1528 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1529 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1530 char * _arg5
= (char *) "layoutWindow";
1531 PyObject
* _argo0
= 0;
1533 PyObject
* _obj2
= 0;
1535 PyObject
* _obj3
= 0;
1536 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1552 if (! wxPoint_helper(_obj2
, &_arg2
))
1558 if (! wxSize_helper(_obj3
, &_arg3
))
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1565 wxPy_END_ALLOW_THREADS
;
1566 if (PyErr_Occurred()) return NULL
;
1568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1569 _resultobj
= Py_BuildValue("s",_ptemp
);
1572 _resultobj
= Py_None
;
1577 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1578 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1580 wxSashLayoutWindow
* _result
;
1581 char *_kwnames
[] = { NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1588 wxPy_BEGIN_ALLOW_THREADS
;
1589 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1591 wxPy_END_ALLOW_THREADS
;
1592 if (PyErr_Occurred()) return NULL
;
1594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1595 _resultobj
= Py_BuildValue("s",_ptemp
);
1598 _resultobj
= Py_None
;
1603 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1604 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1607 wxSashLayoutWindow
* _arg0
;
1610 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1611 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1612 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1613 char * _arg6
= (char *) "layoutWindow";
1614 PyObject
* _argo0
= 0;
1615 PyObject
* _argo1
= 0;
1617 PyObject
* _obj3
= 0;
1619 PyObject
* _obj4
= 0;
1620 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1633 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1642 if (! wxPoint_helper(_obj3
, &_arg3
))
1648 if (! wxSize_helper(_obj4
, &_arg4
))
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1655 wxPy_END_ALLOW_THREADS
;
1656 if (PyErr_Occurred()) return NULL
;
1657 } _resultobj
= Py_BuildValue("i",_result
);
1661 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1662 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1664 wxLayoutAlignment _result
;
1665 wxSashLayoutWindow
* _arg0
;
1666 PyObject
* _argo0
= 0;
1667 char *_kwnames
[] = { "self", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1683 wxPy_END_ALLOW_THREADS
;
1684 if (PyErr_Occurred()) return NULL
;
1685 } _resultobj
= Py_BuildValue("i",_result
);
1689 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1690 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1692 wxLayoutOrientation _result
;
1693 wxSashLayoutWindow
* _arg0
;
1694 PyObject
* _argo0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1708 wxPy_BEGIN_ALLOW_THREADS
;
1709 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1711 wxPy_END_ALLOW_THREADS
;
1712 if (PyErr_Occurred()) return NULL
;
1713 } _resultobj
= Py_BuildValue("i",_result
);
1717 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1718 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
* _resultobj
;
1720 wxSashLayoutWindow
* _arg0
;
1721 wxLayoutAlignment _arg1
;
1722 PyObject
* _argo0
= 0;
1723 char *_kwnames
[] = { "self","alignment", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1736 wxPy_BEGIN_ALLOW_THREADS
;
1737 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1739 wxPy_END_ALLOW_THREADS
;
1740 if (PyErr_Occurred()) return NULL
;
1741 } Py_INCREF(Py_None
);
1742 _resultobj
= Py_None
;
1746 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1747 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1749 wxSashLayoutWindow
* _arg0
;
1751 PyObject
* _argo0
= 0;
1753 PyObject
* _obj1
= 0;
1754 char *_kwnames
[] = { "self","size", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1768 if (! wxSize_helper(_obj1
, &_arg1
))
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1775 wxPy_END_ALLOW_THREADS
;
1776 if (PyErr_Occurred()) return NULL
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1783 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 wxSashLayoutWindow
* _arg0
;
1786 wxLayoutOrientation _arg1
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self","orientation", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1801 wxPy_BEGIN_ALLOW_THREADS
;
1802 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1804 wxPy_END_ALLOW_THREADS
;
1805 if (PyErr_Occurred()) return NULL
;
1806 } Py_INCREF(Py_None
);
1807 _resultobj
= Py_None
;
1811 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1812 wxLayoutAlgorithm
*src
;
1814 src
= (wxLayoutAlgorithm
*) ptr
;
1815 dest
= (wxObject
*) src
;
1816 return (void *) dest
;
1819 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1820 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1822 wxLayoutAlgorithm
* _result
;
1823 char *_kwnames
[] = { NULL
};
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1833 wxPy_END_ALLOW_THREADS
;
1834 if (PyErr_Occurred()) return NULL
;
1836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1837 _resultobj
= Py_BuildValue("s",_ptemp
);
1840 _resultobj
= Py_None
;
1845 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1846 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
* _resultobj
;
1848 wxLayoutAlgorithm
* _arg0
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1863 wxPy_BEGIN_ALLOW_THREADS
;
1864 delete_wxLayoutAlgorithm(_arg0
);
1866 wxPy_END_ALLOW_THREADS
;
1867 if (PyErr_Occurred()) return NULL
;
1868 } Py_INCREF(Py_None
);
1869 _resultobj
= Py_None
;
1873 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1874 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1877 wxLayoutAlgorithm
* _arg0
;
1878 wxMDIParentFrame
* _arg1
;
1879 wxRect
* _arg2
= (wxRect
*) NULL
;
1880 PyObject
* _argo0
= 0;
1881 PyObject
* _argo1
= 0;
1883 PyObject
* _obj2
= 0;
1884 char *_kwnames
[] = { "self","frame","rect", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1906 if (! wxRect_helper(_obj2
, &_arg2
))
1910 wxPy_BEGIN_ALLOW_THREADS
;
1911 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1913 wxPy_END_ALLOW_THREADS
;
1914 if (PyErr_Occurred()) return NULL
;
1915 } _resultobj
= Py_BuildValue("i",_result
);
1919 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1920 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
* _resultobj
;
1923 wxLayoutAlgorithm
* _arg0
;
1925 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1926 PyObject
* _argo0
= 0;
1927 PyObject
* _argo1
= 0;
1928 PyObject
* _argo2
= 0;
1929 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1949 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1950 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1956 wxPy_BEGIN_ALLOW_THREADS
;
1957 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1959 wxPy_END_ALLOW_THREADS
;
1960 if (PyErr_Occurred()) return NULL
;
1961 } _resultobj
= Py_BuildValue("i",_result
);
1965 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1966 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1969 wxLayoutAlgorithm
* _arg0
;
1971 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1972 PyObject
* _argo0
= 0;
1973 PyObject
* _argo1
= 0;
1974 PyObject
* _argo2
= 0;
1975 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
1988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1995 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2005 wxPy_END_ALLOW_THREADS
;
2006 if (PyErr_Occurred()) return NULL
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 static PyMethodDef windows3cMethods
[] = {
2012 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2013 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2014 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2015 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2016 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2017 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2018 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2019 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2020 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2021 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2022 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2023 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2024 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2025 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2026 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2027 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2028 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2029 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2030 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2031 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2032 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2033 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2034 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2035 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2036 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2037 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2038 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2039 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2040 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2041 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2042 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2043 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2044 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2045 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2046 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2047 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2048 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2049 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2050 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2051 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2052 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2053 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2054 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2055 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2056 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2057 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2058 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2059 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2060 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2066 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2074 * This table is used by the pointer type-checker
2076 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2077 { "_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2078 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2079 { "_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2080 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2081 { "_wxEvent","_class_wxSashEvent",SwigwxSashEventTowxEvent
},
2082 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2083 { "_signed_long","_long",0},
2084 { "_wxPrintQuality","_wxCoord",0},
2085 { "_wxPrintQuality","_int",0},
2086 { "_wxPrintQuality","_signed_int",0},
2087 { "_wxPrintQuality","_unsigned_int",0},
2088 { "_wxPrintQuality","_wxWindowID",0},
2089 { "_wxPrintQuality","_uint",0},
2090 { "_wxPrintQuality","_EBool",0},
2091 { "_wxPrintQuality","_size_t",0},
2092 { "_wxPrintQuality","_time_t",0},
2093 { "_class_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2094 { "_class_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2095 { "_class_wxEvtHandler","_class_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2096 { "_class_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2097 { "_byte","_unsigned_char",0},
2098 { "_long","_unsigned_long",0},
2099 { "_long","_signed_long",0},
2100 { "_wxSashWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2101 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2102 { "_class_wxObject","_class_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2103 { "_class_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2104 { "_class_wxObject","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2105 { "_class_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2106 { "_class_wxObject","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2107 { "_class_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2108 { "_class_wxObject","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2109 { "_class_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2110 { "_class_wxObject","_class_wxSashWindow",SwigwxSashWindowTowxObject
},
2111 { "_class_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2112 { "_class_wxObject","_class_wxSashEvent",SwigwxSashEventTowxObject
},
2113 { "_class_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2114 { "_size_t","_wxCoord",0},
2115 { "_size_t","_wxPrintQuality",0},
2116 { "_size_t","_time_t",0},
2117 { "_size_t","_unsigned_int",0},
2118 { "_size_t","_int",0},
2119 { "_size_t","_wxWindowID",0},
2120 { "_size_t","_uint",0},
2121 { "_class_wxSashWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2122 { "_class_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2123 { "_uint","_wxCoord",0},
2124 { "_uint","_wxPrintQuality",0},
2125 { "_uint","_time_t",0},
2126 { "_uint","_size_t",0},
2127 { "_uint","_unsigned_int",0},
2128 { "_uint","_int",0},
2129 { "_uint","_wxWindowID",0},
2130 { "_wxChar","_char",0},
2131 { "_class_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2132 { "_class_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2133 { "_class_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2134 { "_class_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2135 { "_class_wxEvent","_class_wxSashEvent",SwigwxSashEventTowxEvent
},
2136 { "_class_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2137 { "_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2138 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2139 { "_char","_wxChar",0},
2140 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2141 { "_EBool","_wxCoord",0},
2142 { "_EBool","_wxPrintQuality",0},
2143 { "_EBool","_signed_int",0},
2144 { "_EBool","_int",0},
2145 { "_EBool","_wxWindowID",0},
2146 { "_unsigned_long","_long",0},
2147 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2148 { "_signed_int","_wxCoord",0},
2149 { "_signed_int","_wxPrintQuality",0},
2150 { "_signed_int","_EBool",0},
2151 { "_signed_int","_wxWindowID",0},
2152 { "_signed_int","_int",0},
2153 { "_WXTYPE","_short",0},
2154 { "_WXTYPE","_signed_short",0},
2155 { "_WXTYPE","_unsigned_short",0},
2156 { "_unsigned_short","_WXTYPE",0},
2157 { "_unsigned_short","_short",0},
2158 { "_class_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2159 { "_class_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2160 { "_class_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow
},
2161 { "_class_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2162 { "_wxObject","_class_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2163 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2164 { "_wxObject","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2165 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2166 { "_wxObject","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2167 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2168 { "_wxObject","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2169 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2170 { "_wxObject","_class_wxSashWindow",SwigwxSashWindowTowxObject
},
2171 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2172 { "_wxObject","_class_wxSashEvent",SwigwxSashEventTowxObject
},
2173 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2174 { "_signed_short","_WXTYPE",0},
2175 { "_signed_short","_short",0},
2176 { "_unsigned_char","_byte",0},
2177 { "_unsigned_int","_wxCoord",0},
2178 { "_unsigned_int","_wxPrintQuality",0},
2179 { "_unsigned_int","_time_t",0},
2180 { "_unsigned_int","_size_t",0},
2181 { "_unsigned_int","_uint",0},
2182 { "_unsigned_int","_wxWindowID",0},
2183 { "_unsigned_int","_int",0},
2184 { "_short","_WXTYPE",0},
2185 { "_short","_unsigned_short",0},
2186 { "_short","_signed_short",0},
2187 { "_wxWindowID","_wxCoord",0},
2188 { "_wxWindowID","_wxPrintQuality",0},
2189 { "_wxWindowID","_time_t",0},
2190 { "_wxWindowID","_size_t",0},
2191 { "_wxWindowID","_EBool",0},
2192 { "_wxWindowID","_uint",0},
2193 { "_wxWindowID","_int",0},
2194 { "_wxWindowID","_signed_int",0},
2195 { "_wxWindowID","_unsigned_int",0},
2196 { "_int","_wxCoord",0},
2197 { "_int","_wxPrintQuality",0},
2198 { "_int","_time_t",0},
2199 { "_int","_size_t",0},
2200 { "_int","_EBool",0},
2201 { "_int","_uint",0},
2202 { "_int","_wxWindowID",0},
2203 { "_int","_unsigned_int",0},
2204 { "_int","_signed_int",0},
2205 { "_time_t","_wxCoord",0},
2206 { "_time_t","_wxPrintQuality",0},
2207 { "_time_t","_unsigned_int",0},
2208 { "_time_t","_int",0},
2209 { "_time_t","_wxWindowID",0},
2210 { "_time_t","_uint",0},
2211 { "_time_t","_size_t",0},
2212 { "_wxCoord","_int",0},
2213 { "_wxCoord","_signed_int",0},
2214 { "_wxCoord","_unsigned_int",0},
2215 { "_wxCoord","_wxWindowID",0},
2216 { "_wxCoord","_uint",0},
2217 { "_wxCoord","_EBool",0},
2218 { "_wxCoord","_size_t",0},
2219 { "_wxCoord","_time_t",0},
2220 { "_wxCoord","_wxPrintQuality",0},
2221 { "_class_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2222 { "_class_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2223 { "_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2224 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2225 { "_wxEvtHandler","_class_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2226 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2227 { "_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2228 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2229 { "_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow
},
2230 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2233 static PyObject
*SWIG_globals
;
2237 SWIGEXPORT(void) initwindows3c() {
2239 SWIG_globals
= SWIG_newvarlink();
2240 m
= Py_InitModule("windows3c", windows3cMethods
);
2241 d
= PyModule_GetDict(m
);
2242 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2243 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2244 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2245 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2246 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2247 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2248 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2249 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2250 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2251 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2252 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2253 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2254 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2255 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2256 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2257 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2258 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2259 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2260 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2261 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2262 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2265 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2266 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);