2 * FILE : src/msw/windows3.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows3c
55 #define SWIG_name "windows3c"
58 #include <wx/sashwin.h>
59 #include <wx/laywin.h>
60 #include <wx/popupwin.h>
61 #include <wx/tipwin.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
92 DECLARE_DEF_STRING(SashNameStr
);
93 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
94 DECLARE_DEF_STRING(SashLayoutNameStr
);
96 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
99 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
100 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
101 : wxPopupTransientWindow(parent
, style
) {}
103 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
104 DEC_PYCALLBACK__(OnDismiss
);
105 DEC_PYCALLBACK_BOOL_(CanDismiss
);
109 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
110 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
111 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
115 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
117 wxCommandEvent
*dest
;
118 src
= (wxSashEvent
*) ptr
;
119 dest
= (wxCommandEvent
*) src
;
120 return (void *) dest
;
123 static void *SwigwxSashEventTowxEvent(void *ptr
) {
126 src
= (wxSashEvent
*) ptr
;
127 dest
= (wxEvent
*) src
;
128 return (void *) dest
;
131 static void *SwigwxSashEventTowxObject(void *ptr
) {
134 src
= (wxSashEvent
*) ptr
;
135 dest
= (wxObject
*) src
;
136 return (void *) dest
;
139 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
140 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
141 PyObject
* _resultobj
;
142 wxSashEvent
* _result
;
143 int _arg0
= (int ) 0;
144 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
145 char *_kwnames
[] = { "id","edge", NULL
};
149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
153 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
155 wxPyEndAllowThreads(__tstate
);
156 if (PyErr_Occurred()) return NULL
;
158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
159 _resultobj
= Py_BuildValue("s",_ptemp
);
162 _resultobj
= Py_None
;
167 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
168 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
171 wxSashEdgePosition _arg1
;
172 PyObject
* _argo0
= 0;
173 char *_kwnames
[] = { "self","edge", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
187 wxSashEvent_SetEdge(_arg0
,_arg1
);
189 wxPyEndAllowThreads(__tstate
);
190 if (PyErr_Occurred()) return NULL
;
191 } Py_INCREF(Py_None
);
192 _resultobj
= Py_None
;
196 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
197 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
199 wxSashEdgePosition _result
;
201 PyObject
* _argo0
= 0;
202 char *_kwnames
[] = { "self", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
216 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
218 wxPyEndAllowThreads(__tstate
);
219 if (PyErr_Occurred()) return NULL
;
220 } _resultobj
= Py_BuildValue("i",_result
);
224 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
225 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 PyObject
* _argo0
= 0;
231 PyObject
* _obj1
= 0;
232 char *_kwnames
[] = { "self","rect", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
246 if (! wxRect_helper(_obj1
, &_arg1
))
250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
251 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
253 wxPyEndAllowThreads(__tstate
);
254 if (PyErr_Occurred()) return NULL
;
255 } Py_INCREF(Py_None
);
256 _resultobj
= Py_None
;
260 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
261 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
265 PyObject
* _argo0
= 0;
266 char *_kwnames
[] = { "self", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
281 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
283 wxPyEndAllowThreads(__tstate
);
284 if (PyErr_Occurred()) return NULL
;
285 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
286 _resultobj
= Py_BuildValue("s",_ptemp
);
290 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
291 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
294 wxSashDragStatus _arg1
;
295 PyObject
* _argo0
= 0;
296 char *_kwnames
[] = { "self","status", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
310 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
312 wxPyEndAllowThreads(__tstate
);
313 if (PyErr_Occurred()) return NULL
;
314 } Py_INCREF(Py_None
);
315 _resultobj
= Py_None
;
319 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
320 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
322 wxSashDragStatus _result
;
324 PyObject
* _argo0
= 0;
325 char *_kwnames
[] = { "self", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
339 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
341 wxPyEndAllowThreads(__tstate
);
342 if (PyErr_Occurred()) return NULL
;
343 } _resultobj
= Py_BuildValue("i",_result
);
347 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
350 src
= (wxSashWindow
*) ptr
;
351 dest
= (wxWindow
*) src
;
352 return (void *) dest
;
355 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
358 src
= (wxSashWindow
*) ptr
;
359 dest
= (wxEvtHandler
*) src
;
360 return (void *) dest
;
363 static void *SwigwxSashWindowTowxObject(void *ptr
) {
366 src
= (wxSashWindow
*) ptr
;
367 dest
= (wxObject
*) src
;
368 return (void *) dest
;
371 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
372 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
374 wxSashWindow
* _result
;
377 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
378 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
379 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
380 wxString
* _arg5
= (wxString
*) &wxPySashNameStr
;
381 PyObject
* _argo0
= 0;
383 PyObject
* _obj2
= 0;
385 PyObject
* _obj3
= 0;
386 PyObject
* _obj5
= 0;
387 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
403 if (! wxPoint_helper(_obj2
, &_arg2
))
409 if (! wxSize_helper(_obj3
, &_arg3
))
414 _arg5
= wxString_in_helper(_obj5
);
419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
420 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
422 wxPyEndAllowThreads(__tstate
);
423 if (PyErr_Occurred()) return NULL
;
425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
426 _resultobj
= Py_BuildValue("s",_ptemp
);
429 _resultobj
= Py_None
;
438 #define new_wxPreSashWindow() (new wxSashWindow())
439 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
441 wxSashWindow
* _result
;
442 char *_kwnames
[] = { NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
450 _result
= (wxSashWindow
*)new_wxPreSashWindow();
452 wxPyEndAllowThreads(__tstate
);
453 if (PyErr_Occurred()) return NULL
;
455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
456 _resultobj
= Py_BuildValue("s",_ptemp
);
459 _resultobj
= Py_None
;
464 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
465 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
468 wxSashWindow
* _arg0
;
471 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
472 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
473 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
474 wxString
* _arg6
= (wxString
*) &wxPySashNameStr
;
475 PyObject
* _argo0
= 0;
476 PyObject
* _argo1
= 0;
478 PyObject
* _obj3
= 0;
480 PyObject
* _obj4
= 0;
481 PyObject
* _obj6
= 0;
482 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
495 if (_argo1
== Py_None
) { _arg1
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
504 if (! wxPoint_helper(_obj3
, &_arg3
))
510 if (! wxSize_helper(_obj4
, &_arg4
))
515 _arg6
= wxString_in_helper(_obj6
);
520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
521 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
523 wxPyEndAllowThreads(__tstate
);
524 if (PyErr_Occurred()) return NULL
;
525 } _resultobj
= Py_BuildValue("i",_result
);
533 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
534 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
537 wxSashWindow
* _arg0
;
538 wxSashEdgePosition _arg1
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self","edge", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
554 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
556 wxPyEndAllowThreads(__tstate
);
557 if (PyErr_Occurred()) return NULL
;
558 } _resultobj
= Py_BuildValue("i",_result
);
562 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
563 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
566 wxSashWindow
* _arg0
;
567 PyObject
* _argo0
= 0;
568 char *_kwnames
[] = { "self", NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
582 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
584 wxPyEndAllowThreads(__tstate
);
585 if (PyErr_Occurred()) return NULL
;
586 } _resultobj
= Py_BuildValue("i",_result
);
590 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
591 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
594 wxSashWindow
* _arg0
;
595 wxSashEdgePosition _arg1
;
596 PyObject
* _argo0
= 0;
597 char *_kwnames
[] = { "self","edge", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
611 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
613 wxPyEndAllowThreads(__tstate
);
614 if (PyErr_Occurred()) return NULL
;
615 } _resultobj
= Py_BuildValue("i",_result
);
619 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
620 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
623 wxSashWindow
* _arg0
;
624 PyObject
* _argo0
= 0;
625 char *_kwnames
[] = { "self", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
639 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
641 wxPyEndAllowThreads(__tstate
);
642 if (PyErr_Occurred()) return NULL
;
643 } _resultobj
= Py_BuildValue("i",_result
);
647 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
648 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
649 PyObject
* _resultobj
;
651 wxSashWindow
* _arg0
;
652 PyObject
* _argo0
= 0;
653 char *_kwnames
[] = { "self", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
667 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
669 wxPyEndAllowThreads(__tstate
);
670 if (PyErr_Occurred()) return NULL
;
671 } _resultobj
= Py_BuildValue("i",_result
);
675 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
676 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
679 wxSashWindow
* _arg0
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
695 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
697 wxPyEndAllowThreads(__tstate
);
698 if (PyErr_Occurred()) return NULL
;
699 } _resultobj
= Py_BuildValue("i",_result
);
703 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
704 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
707 wxSashWindow
* _arg0
;
708 PyObject
* _argo0
= 0;
709 char *_kwnames
[] = { "self", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
723 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
725 wxPyEndAllowThreads(__tstate
);
726 if (PyErr_Occurred()) return NULL
;
727 } _resultobj
= Py_BuildValue("i",_result
);
731 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
732 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
733 PyObject
* _resultobj
;
735 wxSashWindow
* _arg0
;
736 PyObject
* _argo0
= 0;
737 char *_kwnames
[] = { "self", NULL
};
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
751 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
753 wxPyEndAllowThreads(__tstate
);
754 if (PyErr_Occurred()) return NULL
;
755 } _resultobj
= Py_BuildValue("i",_result
);
759 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
760 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
761 PyObject
* _resultobj
;
763 wxSashWindow
* _arg0
;
764 wxSashEdgePosition _arg1
;
765 PyObject
* _argo0
= 0;
766 char *_kwnames
[] = { "self","edge", NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
780 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
782 wxPyEndAllowThreads(__tstate
);
783 if (PyErr_Occurred()) return NULL
;
784 } _resultobj
= Py_BuildValue("i",_result
);
788 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
789 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
790 PyObject
* _resultobj
;
791 wxSashWindow
* _arg0
;
793 PyObject
* _argo0
= 0;
794 char *_kwnames
[] = { "self","width", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
808 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
810 wxPyEndAllowThreads(__tstate
);
811 if (PyErr_Occurred()) return NULL
;
812 } Py_INCREF(Py_None
);
813 _resultobj
= Py_None
;
817 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
818 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
819 PyObject
* _resultobj
;
820 wxSashWindow
* _arg0
;
822 PyObject
* _argo0
= 0;
823 char *_kwnames
[] = { "self","width", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) return NULL
;
841 } Py_INCREF(Py_None
);
842 _resultobj
= Py_None
;
846 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
847 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
849 wxSashWindow
* _arg0
;
851 PyObject
* _argo0
= 0;
852 char *_kwnames
[] = { "self","min", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
875 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
876 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
878 wxSashWindow
* _arg0
;
880 PyObject
* _argo0
= 0;
881 char *_kwnames
[] = { "self","min", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
895 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) return NULL
;
899 } Py_INCREF(Py_None
);
900 _resultobj
= Py_None
;
904 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
905 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
907 wxSashWindow
* _arg0
;
909 PyObject
* _argo0
= 0;
910 char *_kwnames
[] = { "self","min", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
924 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
926 wxPyEndAllowThreads(__tstate
);
927 if (PyErr_Occurred()) return NULL
;
928 } Py_INCREF(Py_None
);
929 _resultobj
= Py_None
;
933 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
934 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
935 PyObject
* _resultobj
;
936 wxSashWindow
* _arg0
;
938 PyObject
* _argo0
= 0;
939 char *_kwnames
[] = { "self","min", NULL
};
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
953 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
955 wxPyEndAllowThreads(__tstate
);
956 if (PyErr_Occurred()) return NULL
;
957 } Py_INCREF(Py_None
);
958 _resultobj
= Py_None
;
962 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
963 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
965 wxSashWindow
* _arg0
;
966 wxSashEdgePosition _arg1
;
968 PyObject
* _argo0
= 0;
970 char *_kwnames
[] = { "self","edge","visible", NULL
};
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
982 _arg2
= (bool ) tempbool2
;
984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
985 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
987 wxPyEndAllowThreads(__tstate
);
988 if (PyErr_Occurred()) return NULL
;
989 } Py_INCREF(Py_None
);
990 _resultobj
= Py_None
;
994 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
995 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
997 wxSashWindow
* _arg0
;
998 wxSashEdgePosition _arg1
;
1000 PyObject
* _argo0
= 0;
1002 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
1014 _arg2
= (bool ) tempbool2
;
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1027 wxQueryLayoutInfoEvent
*src
;
1029 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1030 dest
= (wxEvent
*) src
;
1031 return (void *) dest
;
1034 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1035 wxQueryLayoutInfoEvent
*src
;
1037 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1038 dest
= (wxObject
*) src
;
1039 return (void *) dest
;
1042 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1043 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
* _resultobj
;
1045 wxQueryLayoutInfoEvent
* _result
;
1046 wxWindowID _arg0
= (wxWindowID
) 0;
1047 char *_kwnames
[] = { "id", NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1061 _resultobj
= Py_BuildValue("s",_ptemp
);
1064 _resultobj
= Py_None
;
1069 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1070 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1072 wxQueryLayoutInfoEvent
* _arg0
;
1074 PyObject
* _argo0
= 0;
1075 char *_kwnames
[] = { "self","length", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) return NULL
;
1093 } Py_INCREF(Py_None
);
1094 _resultobj
= Py_None
;
1098 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1099 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1102 wxQueryLayoutInfoEvent
* _arg0
;
1103 PyObject
* _argo0
= 0;
1104 char *_kwnames
[] = { "self", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1118 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1120 wxPyEndAllowThreads(__tstate
);
1121 if (PyErr_Occurred()) return NULL
;
1122 } _resultobj
= Py_BuildValue("i",_result
);
1126 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1127 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1129 wxQueryLayoutInfoEvent
* _arg0
;
1131 PyObject
* _argo0
= 0;
1132 char *_kwnames
[] = { "self","flags", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) return NULL
;
1150 } Py_INCREF(Py_None
);
1151 _resultobj
= Py_None
;
1155 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1156 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 wxQueryLayoutInfoEvent
* _arg0
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1175 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1177 wxPyEndAllowThreads(__tstate
);
1178 if (PyErr_Occurred()) return NULL
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1184 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1186 wxQueryLayoutInfoEvent
* _arg0
;
1188 PyObject
* _argo0
= 0;
1190 PyObject
* _obj1
= 0;
1191 char *_kwnames
[] = { "self","size", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1205 if (! wxSize_helper(_obj1
, &_arg1
))
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) return NULL
;
1214 } Py_INCREF(Py_None
);
1215 _resultobj
= Py_None
;
1219 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1220 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
* _resultobj
;
1223 wxQueryLayoutInfoEvent
* _arg0
;
1224 PyObject
* _argo0
= 0;
1225 char *_kwnames
[] = { "self", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1240 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1242 wxPyEndAllowThreads(__tstate
);
1243 if (PyErr_Occurred()) return NULL
;
1244 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1245 _resultobj
= Py_BuildValue("s",_ptemp
);
1249 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1250 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
* _resultobj
;
1252 wxQueryLayoutInfoEvent
* _arg0
;
1253 wxLayoutOrientation _arg1
;
1254 PyObject
* _argo0
= 0;
1255 char *_kwnames
[] = { "self","orient", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1269 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1271 wxPyEndAllowThreads(__tstate
);
1272 if (PyErr_Occurred()) return NULL
;
1273 } Py_INCREF(Py_None
);
1274 _resultobj
= Py_None
;
1278 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1279 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1281 wxLayoutOrientation _result
;
1282 wxQueryLayoutInfoEvent
* _arg0
;
1283 PyObject
* _argo0
= 0;
1284 char *_kwnames
[] = { "self", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) return NULL
;
1302 } _resultobj
= Py_BuildValue("i",_result
);
1306 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1307 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1309 wxQueryLayoutInfoEvent
* _arg0
;
1310 wxLayoutAlignment _arg1
;
1311 PyObject
* _argo0
= 0;
1312 char *_kwnames
[] = { "self","align", NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1326 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1328 wxPyEndAllowThreads(__tstate
);
1329 if (PyErr_Occurred()) return NULL
;
1330 } Py_INCREF(Py_None
);
1331 _resultobj
= Py_None
;
1335 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1336 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1338 wxLayoutAlignment _result
;
1339 wxQueryLayoutInfoEvent
* _arg0
;
1340 PyObject
* _argo0
= 0;
1341 char *_kwnames
[] = { "self", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) return NULL
;
1359 } _resultobj
= Py_BuildValue("i",_result
);
1363 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1364 wxCalculateLayoutEvent
*src
;
1366 src
= (wxCalculateLayoutEvent
*) ptr
;
1367 dest
= (wxEvent
*) src
;
1368 return (void *) dest
;
1371 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1372 wxCalculateLayoutEvent
*src
;
1374 src
= (wxCalculateLayoutEvent
*) ptr
;
1375 dest
= (wxObject
*) src
;
1376 return (void *) dest
;
1379 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1380 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
* _resultobj
;
1382 wxCalculateLayoutEvent
* _result
;
1383 wxWindowID _arg0
= (wxWindowID
) 0;
1384 char *_kwnames
[] = { "id", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1398 _resultobj
= Py_BuildValue("s",_ptemp
);
1401 _resultobj
= Py_None
;
1406 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1407 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1409 wxCalculateLayoutEvent
* _arg0
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self","flags", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } Py_INCREF(Py_None
);
1431 _resultobj
= Py_None
;
1435 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1436 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1439 wxCalculateLayoutEvent
* _arg0
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 } _resultobj
= Py_BuildValue("i",_result
);
1463 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1464 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1466 wxCalculateLayoutEvent
* _arg0
;
1468 PyObject
* _argo0
= 0;
1470 PyObject
* _obj1
= 0;
1471 char *_kwnames
[] = { "self","rect", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1485 if (! wxRect_helper(_obj1
, &_arg1
))
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) return NULL
;
1494 } Py_INCREF(Py_None
);
1495 _resultobj
= Py_None
;
1499 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1500 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1503 wxCalculateLayoutEvent
* _arg0
;
1504 PyObject
* _argo0
= 0;
1505 char *_kwnames
[] = { "self", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) return NULL
;
1524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1525 _resultobj
= Py_BuildValue("s",_ptemp
);
1529 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1530 wxSashLayoutWindow
*src
;
1532 src
= (wxSashLayoutWindow
*) ptr
;
1533 dest
= (wxSashWindow
*) src
;
1534 return (void *) dest
;
1537 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1538 wxSashLayoutWindow
*src
;
1540 src
= (wxSashLayoutWindow
*) ptr
;
1541 dest
= (wxWindow
*) src
;
1542 return (void *) dest
;
1545 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1546 wxSashLayoutWindow
*src
;
1548 src
= (wxSashLayoutWindow
*) ptr
;
1549 dest
= (wxEvtHandler
*) src
;
1550 return (void *) dest
;
1553 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1554 wxSashLayoutWindow
*src
;
1556 src
= (wxSashLayoutWindow
*) ptr
;
1557 dest
= (wxObject
*) src
;
1558 return (void *) dest
;
1561 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1562 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1564 wxSashLayoutWindow
* _result
;
1567 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1568 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1569 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1570 wxString
* _arg5
= (wxString
*) &wxPySashLayoutNameStr
;
1571 PyObject
* _argo0
= 0;
1573 PyObject
* _obj2
= 0;
1575 PyObject
* _obj3
= 0;
1576 PyObject
* _obj5
= 0;
1577 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1593 if (! wxPoint_helper(_obj2
, &_arg2
))
1599 if (! wxSize_helper(_obj3
, &_arg3
))
1604 _arg5
= wxString_in_helper(_obj5
);
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1628 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1629 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxSashLayoutWindow
* _result
;
1632 char *_kwnames
[] = { NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) return NULL
;
1645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1646 _resultobj
= Py_BuildValue("s",_ptemp
);
1649 _resultobj
= Py_None
;
1654 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1655 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1658 wxSashLayoutWindow
* _arg0
;
1661 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1662 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1663 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1664 wxString
* _arg6
= (wxString
*) &wxPySashLayoutNameStr
;
1665 PyObject
* _argo0
= 0;
1666 PyObject
* _argo1
= 0;
1668 PyObject
* _obj3
= 0;
1670 PyObject
* _obj4
= 0;
1671 PyObject
* _obj6
= 0;
1672 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1694 if (! wxPoint_helper(_obj3
, &_arg3
))
1700 if (! wxSize_helper(_obj4
, &_arg4
))
1705 _arg6
= wxString_in_helper(_obj6
);
1710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1711 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1713 wxPyEndAllowThreads(__tstate
);
1714 if (PyErr_Occurred()) return NULL
;
1715 } _resultobj
= Py_BuildValue("i",_result
);
1723 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1724 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1726 wxLayoutAlignment _result
;
1727 wxSashLayoutWindow
* _arg0
;
1728 PyObject
* _argo0
= 0;
1729 char *_kwnames
[] = { "self", NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) return NULL
;
1747 } _resultobj
= Py_BuildValue("i",_result
);
1751 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1752 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1754 wxLayoutOrientation _result
;
1755 wxSashLayoutWindow
* _arg0
;
1756 PyObject
* _argo0
= 0;
1757 char *_kwnames
[] = { "self", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } _resultobj
= Py_BuildValue("i",_result
);
1779 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1780 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1782 wxSashLayoutWindow
* _arg0
;
1783 wxLayoutAlignment _arg1
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self","alignment", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1803 } Py_INCREF(Py_None
);
1804 _resultobj
= Py_None
;
1808 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1809 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1811 wxSashLayoutWindow
* _arg0
;
1813 PyObject
* _argo0
= 0;
1815 PyObject
* _obj1
= 0;
1816 char *_kwnames
[] = { "self","size", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1830 if (! wxSize_helper(_obj1
, &_arg1
))
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) return NULL
;
1839 } Py_INCREF(Py_None
);
1840 _resultobj
= Py_None
;
1844 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1845 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1847 wxSashLayoutWindow
* _arg0
;
1848 wxLayoutOrientation _arg1
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self","orientation", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) return NULL
;
1868 } Py_INCREF(Py_None
);
1869 _resultobj
= Py_None
;
1873 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1874 wxLayoutAlgorithm
*src
;
1876 src
= (wxLayoutAlgorithm
*) ptr
;
1877 dest
= (wxObject
*) src
;
1878 return (void *) dest
;
1881 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1882 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1884 wxLayoutAlgorithm
* _result
;
1885 char *_kwnames
[] = { NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1899 _resultobj
= Py_BuildValue("s",_ptemp
);
1902 _resultobj
= Py_None
;
1907 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1908 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxLayoutAlgorithm
* _arg0
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 delete_wxLayoutAlgorithm(_arg0
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1935 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1936 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1939 wxLayoutAlgorithm
* _arg0
;
1940 wxMDIParentFrame
* _arg1
;
1941 wxRect
* _arg2
= (wxRect
*) NULL
;
1942 PyObject
* _argo0
= 0;
1943 PyObject
* _argo1
= 0;
1945 PyObject
* _obj2
= 0;
1946 char *_kwnames
[] = { "self","frame","rect", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1968 if (! wxRect_helper(_obj2
, &_arg2
))
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) return NULL
;
1977 } _resultobj
= Py_BuildValue("i",_result
);
1981 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1982 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1985 wxLayoutAlgorithm
* _arg0
;
1987 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1988 PyObject
* _argo0
= 0;
1989 PyObject
* _argo1
= 0;
1990 PyObject
* _argo2
= 0;
1991 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
2004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
2011 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2012 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) return NULL
;
2023 } _resultobj
= Py_BuildValue("i",_result
);
2027 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
2028 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 wxLayoutAlgorithm
* _arg0
;
2033 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2034 PyObject
* _argo0
= 0;
2035 PyObject
* _argo1
= 0;
2036 PyObject
* _argo2
= 0;
2037 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2057 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2058 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) return NULL
;
2069 } _resultobj
= Py_BuildValue("i",_result
);
2073 static void *SwigwxPopupWindowTowxWindow(void *ptr
) {
2076 src
= (wxPopupWindow
*) ptr
;
2077 dest
= (wxWindow
*) src
;
2078 return (void *) dest
;
2081 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr
) {
2084 src
= (wxPopupWindow
*) ptr
;
2085 dest
= (wxEvtHandler
*) src
;
2086 return (void *) dest
;
2089 static void *SwigwxPopupWindowTowxObject(void *ptr
) {
2092 src
= (wxPopupWindow
*) ptr
;
2093 dest
= (wxObject
*) src
;
2094 return (void *) dest
;
2097 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2098 static PyObject
*_wrap_new_wxPopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2100 wxPopupWindow
* _result
;
2102 int _arg1
= (int ) wxBORDER_NONE
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "parent","flags", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupWindow",_kwnames
,&_argo0
,&_arg1
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) return NULL
;
2124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2125 _resultobj
= Py_BuildValue("s",_ptemp
);
2128 _resultobj
= Py_None
;
2133 #define new_wxPrePopupWindow() (new wxPopupWindow())
2134 static PyObject
*_wrap_new_wxPrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2136 wxPopupWindow
* _result
;
2137 char *_kwnames
[] = { NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupWindow",_kwnames
))
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2151 _resultobj
= Py_BuildValue("s",_ptemp
);
2154 _resultobj
= Py_None
;
2159 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2160 static PyObject
*_wrap_wxPopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2163 wxPopupWindow
* _arg0
;
2165 int _arg2
= (int ) wxBORDER_NONE
;
2166 PyObject
* _argo0
= 0;
2167 PyObject
* _argo1
= 0;
2168 char *_kwnames
[] = { "self","parent","flags", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPopupWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } _resultobj
= Py_BuildValue("i",_result
);
2197 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2198 static PyObject
*_wrap_wxPopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2200 wxPopupWindow
* _arg0
;
2203 PyObject
* _argo0
= 0;
2205 PyObject
* _obj1
= 0;
2207 PyObject
* _obj2
= 0;
2208 char *_kwnames
[] = { "self","ptOrigin","size", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupWindow_Position",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2222 if (! wxPoint_helper(_obj1
, &_arg1
))
2227 if (! wxSize_helper(_obj2
, &_arg2
))
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) return NULL
;
2236 } Py_INCREF(Py_None
);
2237 _resultobj
= Py_None
;
2241 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr
) {
2242 wxPyPopupTransientWindow
*src
;
2243 wxPopupWindow
*dest
;
2244 src
= (wxPyPopupTransientWindow
*) ptr
;
2245 dest
= (wxPopupWindow
*) src
;
2246 return (void *) dest
;
2249 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr
) {
2250 wxPyPopupTransientWindow
*src
;
2252 src
= (wxPyPopupTransientWindow
*) ptr
;
2253 dest
= (wxWindow
*) src
;
2254 return (void *) dest
;
2257 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr
) {
2258 wxPyPopupTransientWindow
*src
;
2260 src
= (wxPyPopupTransientWindow
*) ptr
;
2261 dest
= (wxEvtHandler
*) src
;
2262 return (void *) dest
;
2265 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr
) {
2266 wxPyPopupTransientWindow
*src
;
2268 src
= (wxPyPopupTransientWindow
*) ptr
;
2269 dest
= (wxObject
*) src
;
2270 return (void *) dest
;
2273 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2274 static PyObject
*_wrap_new_wxPopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2276 wxPyPopupTransientWindow
* _result
;
2278 int _arg1
= (int ) wxBORDER_NONE
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "parent","style", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupTransientWindow",_kwnames
,&_argo0
,&_arg1
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2301 _resultobj
= Py_BuildValue("s",_ptemp
);
2304 _resultobj
= Py_None
;
2309 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2310 static PyObject
*_wrap_new_wxPrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2312 wxPyPopupTransientWindow
* _result
;
2313 char *_kwnames
[] = { NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupTransientWindow",_kwnames
))
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2327 _resultobj
= Py_BuildValue("s",_ptemp
);
2330 _resultobj
= Py_None
;
2335 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2336 static PyObject
*_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2338 wxPyPopupTransientWindow
* _arg0
;
2341 PyObject
* _argo0
= 0;
2342 PyObject
* _obj1
= 0;
2343 PyObject
* _obj2
= 0;
2344 char *_kwnames
[] = { "self","self","_class", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) return NULL
;
2368 } Py_INCREF(Py_None
);
2369 _resultobj
= Py_None
;
2373 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2374 static PyObject
*_wrap_wxPopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2376 wxPyPopupTransientWindow
* _arg0
;
2377 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2378 PyObject
* _argo0
= 0;
2379 PyObject
* _argo1
= 0;
2380 char *_kwnames
[] = { "self","focus", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPopupTransientWindow_Popup",_kwnames
,&_argo0
,&_argo1
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) return NULL
;
2405 } Py_INCREF(Py_None
);
2406 _resultobj
= Py_None
;
2410 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2411 static PyObject
*_wrap_wxPopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2413 wxPyPopupTransientWindow
* _arg0
;
2414 PyObject
* _argo0
= 0;
2415 char *_kwnames
[] = { "self", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPopupTransientWindow_Dismiss",_kwnames
,&_argo0
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 wxPopupTransientWindow_Dismiss(_arg0
);
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) return NULL
;
2433 } Py_INCREF(Py_None
);
2434 _resultobj
= Py_None
;
2438 static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr
) {
2440 wxPyPopupTransientWindow
*dest
;
2441 src
= (wxTipWindow
*) ptr
;
2442 dest
= (wxPyPopupTransientWindow
*) src
;
2443 return (void *) dest
;
2446 static void *SwigwxTipWindowTowxPopupWindow(void *ptr
) {
2448 wxPopupWindow
*dest
;
2449 src
= (wxTipWindow
*) ptr
;
2450 dest
= (wxPopupWindow
*) src
;
2451 return (void *) dest
;
2454 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2457 src
= (wxTipWindow
*) ptr
;
2458 dest
= (wxWindow
*) src
;
2459 return (void *) dest
;
2462 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2465 src
= (wxTipWindow
*) ptr
;
2466 dest
= (wxEvtHandler
*) src
;
2467 return (void *) dest
;
2470 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2473 src
= (wxTipWindow
*) ptr
;
2474 dest
= (wxObject
*) src
;
2475 return (void *) dest
;
2478 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,const wxString
*text
,wxCoord maxLength
,wxRect
*rectBound
) {
2479 wxString tmp
= *text
;
2480 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
2483 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2485 wxTipWindow
* _result
;
2488 wxCoord _arg2
= (wxCoord
) 100;
2489 wxRect
* _arg3
= (wxRect
*) NULL
;
2490 PyObject
* _argo0
= 0;
2491 PyObject
* _obj1
= 0;
2493 PyObject
* _obj3
= 0;
2494 char *_kwnames
[] = { "parent","text","maxLength","rectBound", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iO:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2508 _arg1
= wxString_in_helper(_obj1
);
2515 if (! wxRect_helper(_obj3
, &_arg3
))
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) return NULL
;
2525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2526 _resultobj
= Py_BuildValue("s",_ptemp
);
2529 _resultobj
= Py_None
;
2538 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2539 static PyObject
*_wrap_wxTipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2541 wxTipWindow
* _arg0
;
2543 PyObject
* _argo0
= 0;
2545 PyObject
* _obj1
= 0;
2546 char *_kwnames
[] = { "self","rectBound", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipWindow_SetBoundingRect",_kwnames
,&_argo0
,&_obj1
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2560 if (! wxRect_helper(_obj1
, &_arg1
))
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 wxTipWindow_SetBoundingRect(_arg0
,*_arg1
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) return NULL
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2575 static PyObject
*_wrap_wxTipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2577 wxTipWindow
* _arg0
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipWindow_Close",_kwnames
,&_argo0
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 wxTipWindow_Close(_arg0
);
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) return NULL
;
2597 } Py_INCREF(Py_None
);
2598 _resultobj
= Py_None
;
2602 static PyMethodDef windows3cMethods
[] = {
2603 { "wxTipWindow_Close", (PyCFunction
) _wrap_wxTipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
2604 { "wxTipWindow_SetBoundingRect", (PyCFunction
) _wrap_wxTipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
2605 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2606 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
2607 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
2608 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2609 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2610 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2611 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
2612 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2613 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2614 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2615 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2616 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2617 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2618 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2619 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2620 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2621 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2622 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2623 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2624 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2625 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2626 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2627 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2628 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2629 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2630 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2641 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2642 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2643 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2644 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2645 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2646 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2647 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2648 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2649 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2650 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2651 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2652 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2653 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2654 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2655 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2656 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2657 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2658 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2659 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2660 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2661 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2662 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2663 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2664 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2665 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2666 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2667 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2668 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2669 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2670 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2677 * This table is used by the pointer type-checker
2679 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2680 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2681 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2682 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2683 { "_signed_long","_long",0},
2684 { "_wxPrintQuality","_wxCoord",0},
2685 { "_wxPrintQuality","_int",0},
2686 { "_wxPrintQuality","_signed_int",0},
2687 { "_wxPrintQuality","_unsigned_int",0},
2688 { "_wxPrintQuality","_wxWindowID",0},
2689 { "_wxPrintQuality","_uint",0},
2690 { "_wxPrintQuality","_EBool",0},
2691 { "_wxPrintQuality","_size_t",0},
2692 { "_wxPrintQuality","_time_t",0},
2693 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow
},
2694 { "_byte","_unsigned_char",0},
2695 { "_long","_unsigned_long",0},
2696 { "_long","_signed_long",0},
2697 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2698 { "_size_t","_wxCoord",0},
2699 { "_size_t","_wxPrintQuality",0},
2700 { "_size_t","_time_t",0},
2701 { "_size_t","_unsigned_int",0},
2702 { "_size_t","_int",0},
2703 { "_size_t","_wxWindowID",0},
2704 { "_size_t","_uint",0},
2705 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow
},
2706 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
2707 { "_uint","_wxCoord",0},
2708 { "_uint","_wxPrintQuality",0},
2709 { "_uint","_time_t",0},
2710 { "_uint","_size_t",0},
2711 { "_uint","_unsigned_int",0},
2712 { "_uint","_int",0},
2713 { "_uint","_wxWindowID",0},
2714 { "_wxChar","_char",0},
2715 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2716 { "_char","_wxChar",0},
2717 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2718 { "_EBool","_wxCoord",0},
2719 { "_EBool","_wxPrintQuality",0},
2720 { "_EBool","_signed_int",0},
2721 { "_EBool","_int",0},
2722 { "_EBool","_wxWindowID",0},
2723 { "_unsigned_long","_long",0},
2724 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2725 { "_signed_int","_wxCoord",0},
2726 { "_signed_int","_wxPrintQuality",0},
2727 { "_signed_int","_EBool",0},
2728 { "_signed_int","_wxWindowID",0},
2729 { "_signed_int","_int",0},
2730 { "_WXTYPE","_short",0},
2731 { "_WXTYPE","_signed_short",0},
2732 { "_WXTYPE","_unsigned_short",0},
2733 { "_unsigned_short","_WXTYPE",0},
2734 { "_unsigned_short","_short",0},
2735 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2736 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
2737 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
2738 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2739 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2740 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2741 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2742 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2743 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2744 { "_signed_short","_WXTYPE",0},
2745 { "_signed_short","_short",0},
2746 { "_unsigned_char","_byte",0},
2747 { "_unsigned_int","_wxCoord",0},
2748 { "_unsigned_int","_wxPrintQuality",0},
2749 { "_unsigned_int","_time_t",0},
2750 { "_unsigned_int","_size_t",0},
2751 { "_unsigned_int","_uint",0},
2752 { "_unsigned_int","_wxWindowID",0},
2753 { "_unsigned_int","_int",0},
2754 { "_short","_WXTYPE",0},
2755 { "_short","_unsigned_short",0},
2756 { "_short","_signed_short",0},
2757 { "_wxWindowID","_wxCoord",0},
2758 { "_wxWindowID","_wxPrintQuality",0},
2759 { "_wxWindowID","_time_t",0},
2760 { "_wxWindowID","_size_t",0},
2761 { "_wxWindowID","_EBool",0},
2762 { "_wxWindowID","_uint",0},
2763 { "_wxWindowID","_int",0},
2764 { "_wxWindowID","_signed_int",0},
2765 { "_wxWindowID","_unsigned_int",0},
2766 { "_int","_wxCoord",0},
2767 { "_int","_wxPrintQuality",0},
2768 { "_int","_time_t",0},
2769 { "_int","_size_t",0},
2770 { "_int","_EBool",0},
2771 { "_int","_uint",0},
2772 { "_int","_wxWindowID",0},
2773 { "_int","_unsigned_int",0},
2774 { "_int","_signed_int",0},
2775 { "_time_t","_wxCoord",0},
2776 { "_time_t","_wxPrintQuality",0},
2777 { "_time_t","_unsigned_int",0},
2778 { "_time_t","_int",0},
2779 { "_time_t","_wxWindowID",0},
2780 { "_time_t","_uint",0},
2781 { "_time_t","_size_t",0},
2782 { "_wxCoord","_int",0},
2783 { "_wxCoord","_signed_int",0},
2784 { "_wxCoord","_unsigned_int",0},
2785 { "_wxCoord","_wxWindowID",0},
2786 { "_wxCoord","_uint",0},
2787 { "_wxCoord","_EBool",0},
2788 { "_wxCoord","_size_t",0},
2789 { "_wxCoord","_time_t",0},
2790 { "_wxCoord","_wxPrintQuality",0},
2791 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2792 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
2793 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
2794 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2795 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2796 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2797 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
2798 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
2799 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2800 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2803 static PyObject
*SWIG_globals
;
2807 SWIGEXPORT(void) initwindows3c() {
2809 SWIG_globals
= SWIG_newvarlink();
2810 m
= Py_InitModule("windows3c", windows3cMethods
);
2811 d
= PyModule_GetDict(m
);
2812 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2813 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2814 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2815 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2816 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2817 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2818 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2819 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2820 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2821 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2822 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2823 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2824 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2825 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2826 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2827 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2828 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2829 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2830 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2831 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2832 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2835 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2836 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);