2 * FILE : src/gtk/windows3.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows3c
56 #define SWIG_name "windows3c"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
62 #include <wx/popupwin.h>
63 #include <wx/tipwin.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 // Put some wx default wxChar* values into wxStrings.
94 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
95 DECLARE_DEF_STRING(SashNameStr
);
96 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
97 DECLARE_DEF_STRING(SashLayoutNameStr
);
99 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
102 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
103 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
104 : wxPopupTransientWindow(parent
, style
) {}
106 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
107 DEC_PYCALLBACK__(OnDismiss
);
108 DEC_PYCALLBACK_BOOL_(CanDismiss
);
112 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
113 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
114 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
118 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
120 wxCommandEvent
*dest
;
121 src
= (wxSashEvent
*) ptr
;
122 dest
= (wxCommandEvent
*) src
;
123 return (void *) dest
;
126 static void *SwigwxSashEventTowxEvent(void *ptr
) {
129 src
= (wxSashEvent
*) ptr
;
130 dest
= (wxEvent
*) src
;
131 return (void *) dest
;
134 static void *SwigwxSashEventTowxObject(void *ptr
) {
137 src
= (wxSashEvent
*) ptr
;
138 dest
= (wxObject
*) src
;
139 return (void *) dest
;
142 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
143 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
144 PyObject
* _resultobj
;
145 wxSashEvent
* _result
;
146 int _arg0
= (int ) 0;
147 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
148 char *_kwnames
[] = { "id","edge", NULL
};
152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
156 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
158 wxPyEndAllowThreads(__tstate
);
159 if (PyErr_Occurred()) return NULL
;
161 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
162 _resultobj
= Py_BuildValue("s",_ptemp
);
165 _resultobj
= Py_None
;
170 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
171 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
172 PyObject
* _resultobj
;
174 wxSashEdgePosition _arg1
;
175 PyObject
* _argo0
= 0;
176 char *_kwnames
[] = { "self","edge", NULL
};
179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
190 wxSashEvent_SetEdge(_arg0
,_arg1
);
192 wxPyEndAllowThreads(__tstate
);
193 if (PyErr_Occurred()) return NULL
;
194 } Py_INCREF(Py_None
);
195 _resultobj
= Py_None
;
199 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
200 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
202 wxSashEdgePosition _result
;
204 PyObject
* _argo0
= 0;
205 char *_kwnames
[] = { "self", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
219 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
221 wxPyEndAllowThreads(__tstate
);
222 if (PyErr_Occurred()) return NULL
;
223 } _resultobj
= Py_BuildValue("i",_result
);
227 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
228 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
232 PyObject
* _argo0
= 0;
234 PyObject
* _obj1
= 0;
235 char *_kwnames
[] = { "self","rect", NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
249 if (! wxRect_helper(_obj1
, &_arg1
))
253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
254 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
256 wxPyEndAllowThreads(__tstate
);
257 if (PyErr_Occurred()) return NULL
;
258 } Py_INCREF(Py_None
);
259 _resultobj
= Py_None
;
263 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
264 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
268 PyObject
* _argo0
= 0;
269 char *_kwnames
[] = { "self", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
284 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
286 wxPyEndAllowThreads(__tstate
);
287 if (PyErr_Occurred()) return NULL
;
288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
289 _resultobj
= Py_BuildValue("s",_ptemp
);
293 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
294 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
297 wxSashDragStatus _arg1
;
298 PyObject
* _argo0
= 0;
299 char *_kwnames
[] = { "self","status", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
313 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
315 wxPyEndAllowThreads(__tstate
);
316 if (PyErr_Occurred()) return NULL
;
317 } Py_INCREF(Py_None
);
318 _resultobj
= Py_None
;
322 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
323 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
324 PyObject
* _resultobj
;
325 wxSashDragStatus _result
;
327 PyObject
* _argo0
= 0;
328 char *_kwnames
[] = { "self", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
342 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
344 wxPyEndAllowThreads(__tstate
);
345 if (PyErr_Occurred()) return NULL
;
346 } _resultobj
= Py_BuildValue("i",_result
);
350 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
353 src
= (wxSashWindow
*) ptr
;
354 dest
= (wxWindow
*) src
;
355 return (void *) dest
;
358 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
361 src
= (wxSashWindow
*) ptr
;
362 dest
= (wxEvtHandler
*) src
;
363 return (void *) dest
;
366 static void *SwigwxSashWindowTowxObject(void *ptr
) {
369 src
= (wxSashWindow
*) ptr
;
370 dest
= (wxObject
*) src
;
371 return (void *) dest
;
374 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
375 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
377 wxSashWindow
* _result
;
380 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
381 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
382 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
383 wxString
* _arg5
= (wxString
*) &wxPySashNameStr
;
384 PyObject
* _argo0
= 0;
386 PyObject
* _obj2
= 0;
388 PyObject
* _obj3
= 0;
389 PyObject
* _obj5
= 0;
390 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
406 if (! wxPoint_helper(_obj2
, &_arg2
))
412 if (! wxSize_helper(_obj3
, &_arg3
))
417 _arg5
= wxString_in_helper(_obj5
);
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
429 _resultobj
= Py_BuildValue("s",_ptemp
);
432 _resultobj
= Py_None
;
441 #define new_wxPreSashWindow() (new wxSashWindow())
442 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
444 wxSashWindow
* _result
;
445 char *_kwnames
[] = { NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
453 _result
= (wxSashWindow
*)new_wxPreSashWindow();
455 wxPyEndAllowThreads(__tstate
);
456 if (PyErr_Occurred()) return NULL
;
458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
459 _resultobj
= Py_BuildValue("s",_ptemp
);
462 _resultobj
= Py_None
;
467 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
468 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
469 PyObject
* _resultobj
;
471 wxSashWindow
* _arg0
;
474 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
475 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
476 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
477 wxString
* _arg6
= (wxString
*) &wxPySashNameStr
;
478 PyObject
* _argo0
= 0;
479 PyObject
* _argo1
= 0;
481 PyObject
* _obj3
= 0;
483 PyObject
* _obj4
= 0;
484 PyObject
* _obj6
= 0;
485 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
507 if (! wxPoint_helper(_obj3
, &_arg3
))
513 if (! wxSize_helper(_obj4
, &_arg4
))
518 _arg6
= wxString_in_helper(_obj6
);
523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
524 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
526 wxPyEndAllowThreads(__tstate
);
527 if (PyErr_Occurred()) return NULL
;
528 } _resultobj
= Py_BuildValue("i",_result
);
536 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
537 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
540 wxSashWindow
* _arg0
;
541 wxSashEdgePosition _arg1
;
542 PyObject
* _argo0
= 0;
543 char *_kwnames
[] = { "self","edge", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
557 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
559 wxPyEndAllowThreads(__tstate
);
560 if (PyErr_Occurred()) return NULL
;
561 } _resultobj
= Py_BuildValue("i",_result
);
565 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
566 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 PyObject
* _resultobj
;
569 wxSashWindow
* _arg0
;
570 PyObject
* _argo0
= 0;
571 char *_kwnames
[] = { "self", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
585 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
587 wxPyEndAllowThreads(__tstate
);
588 if (PyErr_Occurred()) return NULL
;
589 } _resultobj
= Py_BuildValue("i",_result
);
593 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
594 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
597 wxSashWindow
* _arg0
;
598 wxSashEdgePosition _arg1
;
599 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self","edge", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
614 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
616 wxPyEndAllowThreads(__tstate
);
617 if (PyErr_Occurred()) return NULL
;
618 } _resultobj
= Py_BuildValue("i",_result
);
622 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
623 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
626 wxSashWindow
* _arg0
;
627 PyObject
* _argo0
= 0;
628 char *_kwnames
[] = { "self", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
642 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
644 wxPyEndAllowThreads(__tstate
);
645 if (PyErr_Occurred()) return NULL
;
646 } _resultobj
= Py_BuildValue("i",_result
);
650 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
651 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
654 wxSashWindow
* _arg0
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
670 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
672 wxPyEndAllowThreads(__tstate
);
673 if (PyErr_Occurred()) return NULL
;
674 } _resultobj
= Py_BuildValue("i",_result
);
678 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
679 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
682 wxSashWindow
* _arg0
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
698 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
700 wxPyEndAllowThreads(__tstate
);
701 if (PyErr_Occurred()) return NULL
;
702 } _resultobj
= Py_BuildValue("i",_result
);
706 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
707 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
710 wxSashWindow
* _arg0
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
726 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
728 wxPyEndAllowThreads(__tstate
);
729 if (PyErr_Occurred()) return NULL
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
735 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
738 wxSashWindow
* _arg0
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
754 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
756 wxPyEndAllowThreads(__tstate
);
757 if (PyErr_Occurred()) return NULL
;
758 } _resultobj
= Py_BuildValue("i",_result
);
762 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
763 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
766 wxSashWindow
* _arg0
;
767 wxSashEdgePosition _arg1
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self","edge", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
785 wxPyEndAllowThreads(__tstate
);
786 if (PyErr_Occurred()) return NULL
;
787 } _resultobj
= Py_BuildValue("i",_result
);
791 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
792 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
794 wxSashWindow
* _arg0
;
796 PyObject
* _argo0
= 0;
797 char *_kwnames
[] = { "self","width", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
813 wxPyEndAllowThreads(__tstate
);
814 if (PyErr_Occurred()) return NULL
;
815 } Py_INCREF(Py_None
);
816 _resultobj
= Py_None
;
820 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
821 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
823 wxSashWindow
* _arg0
;
825 PyObject
* _argo0
= 0;
826 char *_kwnames
[] = { "self","width", NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
840 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
842 wxPyEndAllowThreads(__tstate
);
843 if (PyErr_Occurred()) return NULL
;
844 } Py_INCREF(Py_None
);
845 _resultobj
= Py_None
;
849 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
850 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
852 wxSashWindow
* _arg0
;
854 PyObject
* _argo0
= 0;
855 char *_kwnames
[] = { "self","min", NULL
};
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
869 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
871 wxPyEndAllowThreads(__tstate
);
872 if (PyErr_Occurred()) return NULL
;
873 } Py_INCREF(Py_None
);
874 _resultobj
= Py_None
;
878 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
879 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
881 wxSashWindow
* _arg0
;
883 PyObject
* _argo0
= 0;
884 char *_kwnames
[] = { "self","min", NULL
};
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
898 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
900 wxPyEndAllowThreads(__tstate
);
901 if (PyErr_Occurred()) return NULL
;
902 } Py_INCREF(Py_None
);
903 _resultobj
= Py_None
;
907 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
908 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
910 wxSashWindow
* _arg0
;
912 PyObject
* _argo0
= 0;
913 char *_kwnames
[] = { "self","min", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
927 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
929 wxPyEndAllowThreads(__tstate
);
930 if (PyErr_Occurred()) return NULL
;
931 } Py_INCREF(Py_None
);
932 _resultobj
= Py_None
;
936 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
937 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
939 wxSashWindow
* _arg0
;
941 PyObject
* _argo0
= 0;
942 char *_kwnames
[] = { "self","min", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) return NULL
;
960 } Py_INCREF(Py_None
);
961 _resultobj
= Py_None
;
965 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
966 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
967 PyObject
* _resultobj
;
968 wxSashWindow
* _arg0
;
969 wxSashEdgePosition _arg1
;
971 PyObject
* _argo0
= 0;
973 char *_kwnames
[] = { "self","edge","visible", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
985 _arg2
= (bool ) tempbool2
;
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) return NULL
;
992 } Py_INCREF(Py_None
);
993 _resultobj
= Py_None
;
997 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
998 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1000 wxSashWindow
* _arg0
;
1001 wxSashEdgePosition _arg1
;
1003 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
1017 _arg2
= (bool ) tempbool2
;
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1020 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) return NULL
;
1024 } Py_INCREF(Py_None
);
1025 _resultobj
= Py_None
;
1029 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1030 wxQueryLayoutInfoEvent
*src
;
1032 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1033 dest
= (wxEvent
*) src
;
1034 return (void *) dest
;
1037 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1038 wxQueryLayoutInfoEvent
*src
;
1040 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1041 dest
= (wxObject
*) src
;
1042 return (void *) dest
;
1045 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1046 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1048 wxQueryLayoutInfoEvent
* _result
;
1049 wxWindowID _arg0
= (wxWindowID
) 0;
1050 char *_kwnames
[] = { "id", NULL
};
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1060 wxPyEndAllowThreads(__tstate
);
1061 if (PyErr_Occurred()) return NULL
;
1063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1064 _resultobj
= Py_BuildValue("s",_ptemp
);
1067 _resultobj
= Py_None
;
1072 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1073 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1075 wxQueryLayoutInfoEvent
* _arg0
;
1077 PyObject
* _argo0
= 0;
1078 char *_kwnames
[] = { "self","length", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1092 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1094 wxPyEndAllowThreads(__tstate
);
1095 if (PyErr_Occurred()) return NULL
;
1096 } Py_INCREF(Py_None
);
1097 _resultobj
= Py_None
;
1101 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1102 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 wxQueryLayoutInfoEvent
* _arg0
;
1106 PyObject
* _argo0
= 0;
1107 char *_kwnames
[] = { "self", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) return NULL
;
1125 } _resultobj
= Py_BuildValue("i",_result
);
1129 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1130 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
* _resultobj
;
1132 wxQueryLayoutInfoEvent
* _arg0
;
1134 PyObject
* _argo0
= 0;
1135 char *_kwnames
[] = { "self","flags", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1151 wxPyEndAllowThreads(__tstate
);
1152 if (PyErr_Occurred()) return NULL
;
1153 } Py_INCREF(Py_None
);
1154 _resultobj
= Py_None
;
1158 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1159 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1162 wxQueryLayoutInfoEvent
* _arg0
;
1163 PyObject
* _argo0
= 0;
1164 char *_kwnames
[] = { "self", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) return NULL
;
1182 } _resultobj
= Py_BuildValue("i",_result
);
1186 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1187 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
* _resultobj
;
1189 wxQueryLayoutInfoEvent
* _arg0
;
1191 PyObject
* _argo0
= 0;
1193 PyObject
* _obj1
= 0;
1194 char *_kwnames
[] = { "self","size", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1208 if (! wxSize_helper(_obj1
, &_arg1
))
1212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1213 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1215 wxPyEndAllowThreads(__tstate
);
1216 if (PyErr_Occurred()) return NULL
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1222 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1223 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1226 wxQueryLayoutInfoEvent
* _arg0
;
1227 PyObject
* _argo0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1243 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1245 wxPyEndAllowThreads(__tstate
);
1246 if (PyErr_Occurred()) return NULL
;
1247 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1248 _resultobj
= Py_BuildValue("s",_ptemp
);
1252 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1253 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1255 wxQueryLayoutInfoEvent
* _arg0
;
1256 wxLayoutOrientation _arg1
;
1257 PyObject
* _argo0
= 0;
1258 char *_kwnames
[] = { "self","orient", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1272 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1274 wxPyEndAllowThreads(__tstate
);
1275 if (PyErr_Occurred()) return NULL
;
1276 } Py_INCREF(Py_None
);
1277 _resultobj
= Py_None
;
1281 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1282 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1284 wxLayoutOrientation _result
;
1285 wxQueryLayoutInfoEvent
* _arg0
;
1286 PyObject
* _argo0
= 0;
1287 char *_kwnames
[] = { "self", NULL
};
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) return NULL
;
1305 } _resultobj
= Py_BuildValue("i",_result
);
1309 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1310 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxQueryLayoutInfoEvent
* _arg0
;
1313 wxLayoutAlignment _arg1
;
1314 PyObject
* _argo0
= 0;
1315 char *_kwnames
[] = { "self","align", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) return NULL
;
1333 } Py_INCREF(Py_None
);
1334 _resultobj
= Py_None
;
1338 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1339 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxLayoutAlignment _result
;
1342 wxQueryLayoutInfoEvent
* _arg0
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "self", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) return NULL
;
1362 } _resultobj
= Py_BuildValue("i",_result
);
1366 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1367 wxCalculateLayoutEvent
*src
;
1369 src
= (wxCalculateLayoutEvent
*) ptr
;
1370 dest
= (wxEvent
*) src
;
1371 return (void *) dest
;
1374 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1375 wxCalculateLayoutEvent
*src
;
1377 src
= (wxCalculateLayoutEvent
*) ptr
;
1378 dest
= (wxObject
*) src
;
1379 return (void *) dest
;
1382 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1383 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1385 wxCalculateLayoutEvent
* _result
;
1386 wxWindowID _arg0
= (wxWindowID
) 0;
1387 char *_kwnames
[] = { "id", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) return NULL
;
1400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1401 _resultobj
= Py_BuildValue("s",_ptemp
);
1404 _resultobj
= Py_None
;
1409 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1410 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1412 wxCalculateLayoutEvent
* _arg0
;
1414 PyObject
* _argo0
= 0;
1415 char *_kwnames
[] = { "self","flags", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1433 } Py_INCREF(Py_None
);
1434 _resultobj
= Py_None
;
1438 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1439 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1442 wxCalculateLayoutEvent
* _arg0
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "self", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) return NULL
;
1462 } _resultobj
= Py_BuildValue("i",_result
);
1466 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1467 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
* _resultobj
;
1469 wxCalculateLayoutEvent
* _arg0
;
1471 PyObject
* _argo0
= 0;
1473 PyObject
* _obj1
= 0;
1474 char *_kwnames
[] = { "self","rect", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1488 if (! wxRect_helper(_obj1
, &_arg1
))
1492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) return NULL
;
1497 } Py_INCREF(Py_None
);
1498 _resultobj
= Py_None
;
1502 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1503 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1506 wxCalculateLayoutEvent
* _arg0
;
1507 PyObject
* _argo0
= 0;
1508 char *_kwnames
[] = { "self", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1527 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1528 _resultobj
= Py_BuildValue("s",_ptemp
);
1532 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1533 wxSashLayoutWindow
*src
;
1535 src
= (wxSashLayoutWindow
*) ptr
;
1536 dest
= (wxSashWindow
*) src
;
1537 return (void *) dest
;
1540 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1541 wxSashLayoutWindow
*src
;
1543 src
= (wxSashLayoutWindow
*) ptr
;
1544 dest
= (wxWindow
*) src
;
1545 return (void *) dest
;
1548 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1549 wxSashLayoutWindow
*src
;
1551 src
= (wxSashLayoutWindow
*) ptr
;
1552 dest
= (wxEvtHandler
*) src
;
1553 return (void *) dest
;
1556 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1557 wxSashLayoutWindow
*src
;
1559 src
= (wxSashLayoutWindow
*) ptr
;
1560 dest
= (wxObject
*) src
;
1561 return (void *) dest
;
1564 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1565 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1567 wxSashLayoutWindow
* _result
;
1570 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1571 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1572 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1573 wxString
* _arg5
= (wxString
*) &wxPySashLayoutNameStr
;
1574 PyObject
* _argo0
= 0;
1576 PyObject
* _obj2
= 0;
1578 PyObject
* _obj3
= 0;
1579 PyObject
* _obj5
= 0;
1580 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1596 if (! wxPoint_helper(_obj2
, &_arg2
))
1602 if (! wxSize_helper(_obj3
, &_arg3
))
1607 _arg5
= wxString_in_helper(_obj5
);
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) return NULL
;
1618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1619 _resultobj
= Py_BuildValue("s",_ptemp
);
1622 _resultobj
= Py_None
;
1631 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1632 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1634 wxSashLayoutWindow
* _result
;
1635 char *_kwnames
[] = { NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) return NULL
;
1648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1649 _resultobj
= Py_BuildValue("s",_ptemp
);
1652 _resultobj
= Py_None
;
1657 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1658 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1661 wxSashLayoutWindow
* _arg0
;
1664 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1665 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1666 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1667 wxString
* _arg6
= (wxString
*) &wxPySashLayoutNameStr
;
1668 PyObject
* _argo0
= 0;
1669 PyObject
* _argo1
= 0;
1671 PyObject
* _obj3
= 0;
1673 PyObject
* _obj4
= 0;
1674 PyObject
* _obj6
= 0;
1675 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1697 if (! wxPoint_helper(_obj3
, &_arg3
))
1703 if (! wxSize_helper(_obj4
, &_arg4
))
1708 _arg6
= wxString_in_helper(_obj6
);
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) return NULL
;
1718 } _resultobj
= Py_BuildValue("i",_result
);
1726 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1727 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1729 wxLayoutAlignment _result
;
1730 wxSashLayoutWindow
* _arg0
;
1731 PyObject
* _argo0
= 0;
1732 char *_kwnames
[] = { "self", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) return NULL
;
1750 } _resultobj
= Py_BuildValue("i",_result
);
1754 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1755 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1757 wxLayoutOrientation _result
;
1758 wxSashLayoutWindow
* _arg0
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } _resultobj
= Py_BuildValue("i",_result
);
1782 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1783 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 wxSashLayoutWindow
* _arg0
;
1786 wxLayoutAlignment _arg1
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self","alignment", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) return NULL
;
1806 } Py_INCREF(Py_None
);
1807 _resultobj
= Py_None
;
1811 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1812 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
* _resultobj
;
1814 wxSashLayoutWindow
* _arg0
;
1816 PyObject
* _argo0
= 0;
1818 PyObject
* _obj1
= 0;
1819 char *_kwnames
[] = { "self","size", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1833 if (! wxSize_helper(_obj1
, &_arg1
))
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1842 } Py_INCREF(Py_None
);
1843 _resultobj
= Py_None
;
1847 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1848 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1850 wxSashLayoutWindow
* _arg0
;
1851 wxLayoutOrientation _arg1
;
1852 PyObject
* _argo0
= 0;
1853 char *_kwnames
[] = { "self","orientation", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) return NULL
;
1871 } Py_INCREF(Py_None
);
1872 _resultobj
= Py_None
;
1876 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1877 wxLayoutAlgorithm
*src
;
1879 src
= (wxLayoutAlgorithm
*) ptr
;
1880 dest
= (wxObject
*) src
;
1881 return (void *) dest
;
1884 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1885 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1887 wxLayoutAlgorithm
* _result
;
1888 char *_kwnames
[] = { NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1902 _resultobj
= Py_BuildValue("s",_ptemp
);
1905 _resultobj
= Py_None
;
1910 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1911 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1913 wxLayoutAlgorithm
* _arg0
;
1914 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 delete_wxLayoutAlgorithm(_arg0
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 } Py_INCREF(Py_None
);
1934 _resultobj
= Py_None
;
1938 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1939 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1942 wxLayoutAlgorithm
* _arg0
;
1943 wxMDIParentFrame
* _arg1
;
1944 wxRect
* _arg2
= (wxRect
*) NULL
;
1945 PyObject
* _argo0
= 0;
1946 PyObject
* _argo1
= 0;
1948 PyObject
* _obj2
= 0;
1949 char *_kwnames
[] = { "self","frame","rect", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1962 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1971 if (! wxRect_helper(_obj2
, &_arg2
))
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1985 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 wxLayoutAlgorithm
* _arg0
;
1990 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1991 PyObject
* _argo0
= 0;
1992 PyObject
* _argo1
= 0;
1993 PyObject
* _argo2
= 0;
1994 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
2007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
2014 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) return NULL
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
2031 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2034 wxLayoutAlgorithm
* _arg0
;
2036 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2037 PyObject
* _argo0
= 0;
2038 PyObject
* _argo1
= 0;
2039 PyObject
* _argo2
= 0;
2040 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2060 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) return NULL
;
2072 } _resultobj
= Py_BuildValue("i",_result
);
2076 static void *SwigwxPopupWindowTowxWindow(void *ptr
) {
2079 src
= (wxPopupWindow
*) ptr
;
2080 dest
= (wxWindow
*) src
;
2081 return (void *) dest
;
2084 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr
) {
2087 src
= (wxPopupWindow
*) ptr
;
2088 dest
= (wxEvtHandler
*) src
;
2089 return (void *) dest
;
2092 static void *SwigwxPopupWindowTowxObject(void *ptr
) {
2095 src
= (wxPopupWindow
*) ptr
;
2096 dest
= (wxObject
*) src
;
2097 return (void *) dest
;
2100 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2101 static PyObject
*_wrap_new_wxPopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2103 wxPopupWindow
* _result
;
2105 int _arg1
= (int ) wxBORDER_NONE
;
2106 PyObject
* _argo0
= 0;
2107 char *_kwnames
[] = { "parent","flags", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupWindow",_kwnames
,&_argo0
,&_arg1
))
2114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) return NULL
;
2127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2128 _resultobj
= Py_BuildValue("s",_ptemp
);
2131 _resultobj
= Py_None
;
2136 #define new_wxPrePopupWindow() (new wxPopupWindow())
2137 static PyObject
*_wrap_new_wxPrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2139 wxPopupWindow
* _result
;
2140 char *_kwnames
[] = { NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupWindow",_kwnames
))
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) return NULL
;
2153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2154 _resultobj
= Py_BuildValue("s",_ptemp
);
2157 _resultobj
= Py_None
;
2162 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2163 static PyObject
*_wrap_wxPopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2166 wxPopupWindow
* _arg0
;
2168 int _arg2
= (int ) wxBORDER_NONE
;
2169 PyObject
* _argo0
= 0;
2170 PyObject
* _argo1
= 0;
2171 char *_kwnames
[] = { "self","parent","flags", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPopupWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) return NULL
;
2196 } _resultobj
= Py_BuildValue("i",_result
);
2200 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2201 static PyObject
*_wrap_wxPopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2203 wxPopupWindow
* _arg0
;
2206 PyObject
* _argo0
= 0;
2208 PyObject
* _obj1
= 0;
2210 PyObject
* _obj2
= 0;
2211 char *_kwnames
[] = { "self","ptOrigin","size", NULL
};
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupWindow_Position",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2225 if (! wxPoint_helper(_obj1
, &_arg1
))
2230 if (! wxSize_helper(_obj2
, &_arg2
))
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) return NULL
;
2239 } Py_INCREF(Py_None
);
2240 _resultobj
= Py_None
;
2244 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr
) {
2245 wxPyPopupTransientWindow
*src
;
2246 wxPopupWindow
*dest
;
2247 src
= (wxPyPopupTransientWindow
*) ptr
;
2248 dest
= (wxPopupWindow
*) src
;
2249 return (void *) dest
;
2252 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr
) {
2253 wxPyPopupTransientWindow
*src
;
2255 src
= (wxPyPopupTransientWindow
*) ptr
;
2256 dest
= (wxWindow
*) src
;
2257 return (void *) dest
;
2260 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr
) {
2261 wxPyPopupTransientWindow
*src
;
2263 src
= (wxPyPopupTransientWindow
*) ptr
;
2264 dest
= (wxEvtHandler
*) src
;
2265 return (void *) dest
;
2268 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr
) {
2269 wxPyPopupTransientWindow
*src
;
2271 src
= (wxPyPopupTransientWindow
*) ptr
;
2272 dest
= (wxObject
*) src
;
2273 return (void *) dest
;
2276 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2277 static PyObject
*_wrap_new_wxPopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2279 wxPyPopupTransientWindow
* _result
;
2281 int _arg1
= (int ) wxBORDER_NONE
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "parent","style", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupTransientWindow",_kwnames
,&_argo0
,&_arg1
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) return NULL
;
2303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2304 _resultobj
= Py_BuildValue("s",_ptemp
);
2307 _resultobj
= Py_None
;
2312 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2313 static PyObject
*_wrap_new_wxPrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2315 wxPyPopupTransientWindow
* _result
;
2316 char *_kwnames
[] = { NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupTransientWindow",_kwnames
))
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) return NULL
;
2329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2330 _resultobj
= Py_BuildValue("s",_ptemp
);
2333 _resultobj
= Py_None
;
2338 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2339 static PyObject
*_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2341 wxPyPopupTransientWindow
* _arg0
;
2344 PyObject
* _argo0
= 0;
2345 PyObject
* _obj1
= 0;
2346 PyObject
* _obj2
= 0;
2347 char *_kwnames
[] = { "self","self","_class", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) return NULL
;
2371 } Py_INCREF(Py_None
);
2372 _resultobj
= Py_None
;
2376 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2377 static PyObject
*_wrap_wxPopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2379 wxPyPopupTransientWindow
* _arg0
;
2380 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2381 PyObject
* _argo0
= 0;
2382 PyObject
* _argo1
= 0;
2383 char *_kwnames
[] = { "self","focus", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPopupTransientWindow_Popup",_kwnames
,&_argo0
,&_argo1
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) return NULL
;
2408 } Py_INCREF(Py_None
);
2409 _resultobj
= Py_None
;
2413 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2414 static PyObject
*_wrap_wxPopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2416 wxPyPopupTransientWindow
* _arg0
;
2417 PyObject
* _argo0
= 0;
2418 char *_kwnames
[] = { "self", NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPopupTransientWindow_Dismiss",_kwnames
,&_argo0
))
2424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 wxPopupTransientWindow_Dismiss(_arg0
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) return NULL
;
2436 } Py_INCREF(Py_None
);
2437 _resultobj
= Py_None
;
2441 static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr
) {
2443 wxPyPopupTransientWindow
*dest
;
2444 src
= (wxTipWindow
*) ptr
;
2445 dest
= (wxPyPopupTransientWindow
*) src
;
2446 return (void *) dest
;
2449 static void *SwigwxTipWindowTowxPopupWindow(void *ptr
) {
2451 wxPopupWindow
*dest
;
2452 src
= (wxTipWindow
*) ptr
;
2453 dest
= (wxPopupWindow
*) src
;
2454 return (void *) dest
;
2457 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2460 src
= (wxTipWindow
*) ptr
;
2461 dest
= (wxWindow
*) src
;
2462 return (void *) dest
;
2465 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2468 src
= (wxTipWindow
*) ptr
;
2469 dest
= (wxEvtHandler
*) src
;
2470 return (void *) dest
;
2473 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2476 src
= (wxTipWindow
*) ptr
;
2477 dest
= (wxObject
*) src
;
2478 return (void *) dest
;
2481 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,const wxString
*text
,wxCoord maxLength
,wxRect
*rectBound
) {
2482 wxString tmp
= *text
;
2483 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
2486 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2488 wxTipWindow
* _result
;
2491 wxCoord _arg2
= (wxCoord
) 100;
2492 wxRect
* _arg3
= (wxRect
*) NULL
;
2493 PyObject
* _argo0
= 0;
2494 PyObject
* _obj1
= 0;
2496 PyObject
* _obj3
= 0;
2497 char *_kwnames
[] = { "parent","text","maxLength","rectBound", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iO:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2511 _arg1
= wxString_in_helper(_obj1
);
2518 if (! wxRect_helper(_obj3
, &_arg3
))
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2529 _resultobj
= Py_BuildValue("s",_ptemp
);
2532 _resultobj
= Py_None
;
2541 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2542 static PyObject
*_wrap_wxTipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2544 wxTipWindow
* _arg0
;
2546 PyObject
* _argo0
= 0;
2548 PyObject
* _obj1
= 0;
2549 char *_kwnames
[] = { "self","rectBound", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipWindow_SetBoundingRect",_kwnames
,&_argo0
,&_obj1
))
2555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2563 if (! wxRect_helper(_obj1
, &_arg1
))
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 wxTipWindow_SetBoundingRect(_arg0
,*_arg1
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) return NULL
;
2572 } Py_INCREF(Py_None
);
2573 _resultobj
= Py_None
;
2577 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2578 static PyObject
*_wrap_wxTipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2580 wxTipWindow
* _arg0
;
2581 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipWindow_Close",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 wxTipWindow_Close(_arg0
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) return NULL
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 static PyMethodDef windows3cMethods
[] = {
2606 { "wxTipWindow_Close", (PyCFunction
) _wrap_wxTipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
2607 { "wxTipWindow_SetBoundingRect", (PyCFunction
) _wrap_wxTipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
2608 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2609 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
2610 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
2611 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2612 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2613 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2614 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
2615 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2616 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2617 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2618 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2619 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2620 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2621 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2622 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2623 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2624 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2625 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2626 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2627 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2628 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2629 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2630 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2641 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2642 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2643 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2644 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2645 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2646 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2647 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2648 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2649 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2650 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2651 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2652 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2653 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2654 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2655 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2656 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2657 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2658 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2659 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2660 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2661 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2662 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2663 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2664 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2665 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2666 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2667 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2668 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2669 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2670 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2671 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2672 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2673 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2680 * This table is used by the pointer type-checker
2682 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2683 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2684 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2685 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2686 { "_signed_long","_long",0},
2687 { "_wxPrintQuality","_wxCoord",0},
2688 { "_wxPrintQuality","_int",0},
2689 { "_wxPrintQuality","_signed_int",0},
2690 { "_wxPrintQuality","_unsigned_int",0},
2691 { "_wxPrintQuality","_wxWindowID",0},
2692 { "_wxPrintQuality","_uint",0},
2693 { "_wxPrintQuality","_EBool",0},
2694 { "_wxPrintQuality","_size_t",0},
2695 { "_wxPrintQuality","_time_t",0},
2696 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow
},
2697 { "_byte","_unsigned_char",0},
2698 { "_long","_unsigned_long",0},
2699 { "_long","_signed_long",0},
2700 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2701 { "_size_t","_wxCoord",0},
2702 { "_size_t","_wxPrintQuality",0},
2703 { "_size_t","_time_t",0},
2704 { "_size_t","_unsigned_int",0},
2705 { "_size_t","_int",0},
2706 { "_size_t","_wxWindowID",0},
2707 { "_size_t","_uint",0},
2708 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow
},
2709 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
2710 { "_uint","_wxCoord",0},
2711 { "_uint","_wxPrintQuality",0},
2712 { "_uint","_time_t",0},
2713 { "_uint","_size_t",0},
2714 { "_uint","_unsigned_int",0},
2715 { "_uint","_int",0},
2716 { "_uint","_wxWindowID",0},
2717 { "_wxChar","_char",0},
2718 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2719 { "_char","_wxChar",0},
2720 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2721 { "_EBool","_wxCoord",0},
2722 { "_EBool","_wxPrintQuality",0},
2723 { "_EBool","_signed_int",0},
2724 { "_EBool","_int",0},
2725 { "_EBool","_wxWindowID",0},
2726 { "_unsigned_long","_long",0},
2727 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2728 { "_signed_int","_wxCoord",0},
2729 { "_signed_int","_wxPrintQuality",0},
2730 { "_signed_int","_EBool",0},
2731 { "_signed_int","_wxWindowID",0},
2732 { "_signed_int","_int",0},
2733 { "_WXTYPE","_short",0},
2734 { "_WXTYPE","_signed_short",0},
2735 { "_WXTYPE","_unsigned_short",0},
2736 { "_unsigned_short","_WXTYPE",0},
2737 { "_unsigned_short","_short",0},
2738 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2739 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
2740 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
2741 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2742 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2743 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2744 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2745 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2746 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2747 { "_signed_short","_WXTYPE",0},
2748 { "_signed_short","_short",0},
2749 { "_unsigned_char","_byte",0},
2750 { "_unsigned_int","_wxCoord",0},
2751 { "_unsigned_int","_wxPrintQuality",0},
2752 { "_unsigned_int","_time_t",0},
2753 { "_unsigned_int","_size_t",0},
2754 { "_unsigned_int","_uint",0},
2755 { "_unsigned_int","_wxWindowID",0},
2756 { "_unsigned_int","_int",0},
2757 { "_short","_WXTYPE",0},
2758 { "_short","_unsigned_short",0},
2759 { "_short","_signed_short",0},
2760 { "_wxWindowID","_wxCoord",0},
2761 { "_wxWindowID","_wxPrintQuality",0},
2762 { "_wxWindowID","_time_t",0},
2763 { "_wxWindowID","_size_t",0},
2764 { "_wxWindowID","_EBool",0},
2765 { "_wxWindowID","_uint",0},
2766 { "_wxWindowID","_int",0},
2767 { "_wxWindowID","_signed_int",0},
2768 { "_wxWindowID","_unsigned_int",0},
2769 { "_int","_wxCoord",0},
2770 { "_int","_wxPrintQuality",0},
2771 { "_int","_time_t",0},
2772 { "_int","_size_t",0},
2773 { "_int","_EBool",0},
2774 { "_int","_uint",0},
2775 { "_int","_wxWindowID",0},
2776 { "_int","_unsigned_int",0},
2777 { "_int","_signed_int",0},
2778 { "_time_t","_wxCoord",0},
2779 { "_time_t","_wxPrintQuality",0},
2780 { "_time_t","_unsigned_int",0},
2781 { "_time_t","_int",0},
2782 { "_time_t","_wxWindowID",0},
2783 { "_time_t","_uint",0},
2784 { "_time_t","_size_t",0},
2785 { "_wxCoord","_int",0},
2786 { "_wxCoord","_signed_int",0},
2787 { "_wxCoord","_unsigned_int",0},
2788 { "_wxCoord","_wxWindowID",0},
2789 { "_wxCoord","_uint",0},
2790 { "_wxCoord","_EBool",0},
2791 { "_wxCoord","_size_t",0},
2792 { "_wxCoord","_time_t",0},
2793 { "_wxCoord","_wxPrintQuality",0},
2794 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2795 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
2796 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
2797 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2798 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2799 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2800 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
2801 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
2802 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2803 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2806 static PyObject
*SWIG_globals
;
2810 SWIGEXPORT(void) initwindows3c() {
2812 SWIG_globals
= SWIG_newvarlink();
2813 m
= Py_InitModule("windows3c", windows3cMethods
);
2814 d
= PyModule_GetDict(m
);
2815 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2816 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2817 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2818 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2819 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2820 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2821 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2822 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2823 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2824 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2825 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2826 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2827 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2828 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2829 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2830 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2831 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2832 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2833 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2834 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2835 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2838 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2839 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);