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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows3c
55 #define SWIG_name "windows3c"
58 #include <wx/sashwin.h>
59 #include <wx/laywin.h>
61 #include <wx/popupwin.h>
62 #include <wx/tipwin.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 // Put some wx default wxChar* values into wxStrings.
93 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
94 DECLARE_DEF_STRING(SashNameStr
);
95 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
96 DECLARE_DEF_STRING(SashLayoutNameStr
);
98 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
101 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
102 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
103 : wxPopupTransientWindow(parent
, style
) {}
105 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
106 DEC_PYCALLBACK__(OnDismiss
);
107 DEC_PYCALLBACK_BOOL_(CanDismiss
);
111 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
112 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
113 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
117 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
119 wxCommandEvent
*dest
;
120 src
= (wxSashEvent
*) ptr
;
121 dest
= (wxCommandEvent
*) src
;
122 return (void *) dest
;
125 static void *SwigwxSashEventTowxEvent(void *ptr
) {
128 src
= (wxSashEvent
*) ptr
;
129 dest
= (wxEvent
*) src
;
130 return (void *) dest
;
133 static void *SwigwxSashEventTowxObject(void *ptr
) {
136 src
= (wxSashEvent
*) ptr
;
137 dest
= (wxObject
*) src
;
138 return (void *) dest
;
141 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
142 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
143 PyObject
* _resultobj
;
144 wxSashEvent
* _result
;
145 int _arg0
= (int ) 0;
146 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
147 char *_kwnames
[] = { "id","edge", NULL
};
151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
155 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
157 wxPyEndAllowThreads(__tstate
);
158 if (PyErr_Occurred()) return NULL
;
160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
161 _resultobj
= Py_BuildValue("s",_ptemp
);
164 _resultobj
= Py_None
;
169 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
170 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
171 PyObject
* _resultobj
;
173 wxSashEdgePosition _arg1
;
174 PyObject
* _argo0
= 0;
175 char *_kwnames
[] = { "self","edge", NULL
};
178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
189 wxSashEvent_SetEdge(_arg0
,_arg1
);
191 wxPyEndAllowThreads(__tstate
);
192 if (PyErr_Occurred()) return NULL
;
193 } Py_INCREF(Py_None
);
194 _resultobj
= Py_None
;
198 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
199 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
201 wxSashEdgePosition _result
;
203 PyObject
* _argo0
= 0;
204 char *_kwnames
[] = { "self", NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
218 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
220 wxPyEndAllowThreads(__tstate
);
221 if (PyErr_Occurred()) return NULL
;
222 } _resultobj
= Py_BuildValue("i",_result
);
226 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
227 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
228 PyObject
* _resultobj
;
231 PyObject
* _argo0
= 0;
233 PyObject
* _obj1
= 0;
234 char *_kwnames
[] = { "self","rect", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
248 if (! wxRect_helper(_obj1
, &_arg1
))
252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
253 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
255 wxPyEndAllowThreads(__tstate
);
256 if (PyErr_Occurred()) return NULL
;
257 } Py_INCREF(Py_None
);
258 _resultobj
= Py_None
;
262 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
263 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
267 PyObject
* _argo0
= 0;
268 char *_kwnames
[] = { "self", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
283 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
285 wxPyEndAllowThreads(__tstate
);
286 if (PyErr_Occurred()) return NULL
;
287 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
288 _resultobj
= Py_BuildValue("s",_ptemp
);
292 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
293 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
296 wxSashDragStatus _arg1
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self","status", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
312 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
314 wxPyEndAllowThreads(__tstate
);
315 if (PyErr_Occurred()) return NULL
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
322 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
324 wxSashDragStatus _result
;
326 PyObject
* _argo0
= 0;
327 char *_kwnames
[] = { "self", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
341 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
343 wxPyEndAllowThreads(__tstate
);
344 if (PyErr_Occurred()) return NULL
;
345 } _resultobj
= Py_BuildValue("i",_result
);
349 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
352 src
= (wxSashWindow
*) ptr
;
353 dest
= (wxWindow
*) src
;
354 return (void *) dest
;
357 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
360 src
= (wxSashWindow
*) ptr
;
361 dest
= (wxEvtHandler
*) src
;
362 return (void *) dest
;
365 static void *SwigwxSashWindowTowxObject(void *ptr
) {
368 src
= (wxSashWindow
*) ptr
;
369 dest
= (wxObject
*) src
;
370 return (void *) dest
;
373 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
374 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
375 PyObject
* _resultobj
;
376 wxSashWindow
* _result
;
379 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
380 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
381 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
382 wxString
* _arg5
= (wxString
*) &wxPySashNameStr
;
383 PyObject
* _argo0
= 0;
385 PyObject
* _obj2
= 0;
387 PyObject
* _obj3
= 0;
388 PyObject
* _obj5
= 0;
389 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
405 if (! wxPoint_helper(_obj2
, &_arg2
))
411 if (! wxSize_helper(_obj3
, &_arg3
))
416 _arg5
= wxString_in_helper(_obj5
);
421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
422 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
424 wxPyEndAllowThreads(__tstate
);
425 if (PyErr_Occurred()) return NULL
;
427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
428 _resultobj
= Py_BuildValue("s",_ptemp
);
431 _resultobj
= Py_None
;
440 #define new_wxPreSashWindow() (new wxSashWindow())
441 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
443 wxSashWindow
* _result
;
444 char *_kwnames
[] = { NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
452 _result
= (wxSashWindow
*)new_wxPreSashWindow();
454 wxPyEndAllowThreads(__tstate
);
455 if (PyErr_Occurred()) return NULL
;
457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
458 _resultobj
= Py_BuildValue("s",_ptemp
);
461 _resultobj
= Py_None
;
466 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
467 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
470 wxSashWindow
* _arg0
;
473 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
474 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
475 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
476 wxString
* _arg6
= (wxString
*) &wxPySashNameStr
;
477 PyObject
* _argo0
= 0;
478 PyObject
* _argo1
= 0;
480 PyObject
* _obj3
= 0;
482 PyObject
* _obj4
= 0;
483 PyObject
* _obj6
= 0;
484 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
506 if (! wxPoint_helper(_obj3
, &_arg3
))
512 if (! wxSize_helper(_obj4
, &_arg4
))
517 _arg6
= wxString_in_helper(_obj6
);
522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
523 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
525 wxPyEndAllowThreads(__tstate
);
526 if (PyErr_Occurred()) return NULL
;
527 } _resultobj
= Py_BuildValue("i",_result
);
535 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
536 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
539 wxSashWindow
* _arg0
;
540 wxSashEdgePosition _arg1
;
541 PyObject
* _argo0
= 0;
542 char *_kwnames
[] = { "self","edge", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
556 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
558 wxPyEndAllowThreads(__tstate
);
559 if (PyErr_Occurred()) return NULL
;
560 } _resultobj
= Py_BuildValue("i",_result
);
564 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
565 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
568 wxSashWindow
* _arg0
;
569 PyObject
* _argo0
= 0;
570 char *_kwnames
[] = { "self", NULL
};
573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
584 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
586 wxPyEndAllowThreads(__tstate
);
587 if (PyErr_Occurred()) return NULL
;
588 } _resultobj
= Py_BuildValue("i",_result
);
592 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
593 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
596 wxSashWindow
* _arg0
;
597 wxSashEdgePosition _arg1
;
598 PyObject
* _argo0
= 0;
599 char *_kwnames
[] = { "self","edge", NULL
};
602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) return NULL
;
617 } _resultobj
= Py_BuildValue("i",_result
);
621 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
622 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
625 wxSashWindow
* _arg0
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
645 } _resultobj
= Py_BuildValue("i",_result
);
649 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
650 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 PyObject
* _resultobj
;
653 wxSashWindow
* _arg0
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self", NULL
};
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
669 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
671 wxPyEndAllowThreads(__tstate
);
672 if (PyErr_Occurred()) return NULL
;
673 } _resultobj
= Py_BuildValue("i",_result
);
677 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
678 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
681 wxSashWindow
* _arg0
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
697 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
699 wxPyEndAllowThreads(__tstate
);
700 if (PyErr_Occurred()) return NULL
;
701 } _resultobj
= Py_BuildValue("i",_result
);
705 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
706 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
709 wxSashWindow
* _arg0
;
710 PyObject
* _argo0
= 0;
711 char *_kwnames
[] = { "self", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
725 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
727 wxPyEndAllowThreads(__tstate
);
728 if (PyErr_Occurred()) return NULL
;
729 } _resultobj
= Py_BuildValue("i",_result
);
733 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
734 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
737 wxSashWindow
* _arg0
;
738 PyObject
* _argo0
= 0;
739 char *_kwnames
[] = { "self", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
753 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
755 wxPyEndAllowThreads(__tstate
);
756 if (PyErr_Occurred()) return NULL
;
757 } _resultobj
= Py_BuildValue("i",_result
);
761 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
762 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
763 PyObject
* _resultobj
;
765 wxSashWindow
* _arg0
;
766 wxSashEdgePosition _arg1
;
767 PyObject
* _argo0
= 0;
768 char *_kwnames
[] = { "self","edge", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
782 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
784 wxPyEndAllowThreads(__tstate
);
785 if (PyErr_Occurred()) return NULL
;
786 } _resultobj
= Py_BuildValue("i",_result
);
790 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
791 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
793 wxSashWindow
* _arg0
;
795 PyObject
* _argo0
= 0;
796 char *_kwnames
[] = { "self","width", NULL
};
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
810 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
812 wxPyEndAllowThreads(__tstate
);
813 if (PyErr_Occurred()) return NULL
;
814 } Py_INCREF(Py_None
);
815 _resultobj
= Py_None
;
819 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
820 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
822 wxSashWindow
* _arg0
;
824 PyObject
* _argo0
= 0;
825 char *_kwnames
[] = { "self","width", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
839 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) return NULL
;
843 } Py_INCREF(Py_None
);
844 _resultobj
= Py_None
;
848 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
849 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
850 PyObject
* _resultobj
;
851 wxSashWindow
* _arg0
;
853 PyObject
* _argo0
= 0;
854 char *_kwnames
[] = { "self","min", NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
868 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
870 wxPyEndAllowThreads(__tstate
);
871 if (PyErr_Occurred()) return NULL
;
872 } Py_INCREF(Py_None
);
873 _resultobj
= Py_None
;
877 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
878 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
879 PyObject
* _resultobj
;
880 wxSashWindow
* _arg0
;
882 PyObject
* _argo0
= 0;
883 char *_kwnames
[] = { "self","min", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
897 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
899 wxPyEndAllowThreads(__tstate
);
900 if (PyErr_Occurred()) return NULL
;
901 } Py_INCREF(Py_None
);
902 _resultobj
= Py_None
;
906 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
907 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
909 wxSashWindow
* _arg0
;
911 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self","min", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
930 } Py_INCREF(Py_None
);
931 _resultobj
= Py_None
;
935 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
936 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
938 wxSashWindow
* _arg0
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self","min", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
955 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
957 wxPyEndAllowThreads(__tstate
);
958 if (PyErr_Occurred()) return NULL
;
959 } Py_INCREF(Py_None
);
960 _resultobj
= Py_None
;
964 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
965 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
967 wxSashWindow
* _arg0
;
968 wxSashEdgePosition _arg1
;
970 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self","edge","visible", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
984 _arg2
= (bool ) tempbool2
;
986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
987 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
989 wxPyEndAllowThreads(__tstate
);
990 if (PyErr_Occurred()) return NULL
;
991 } Py_INCREF(Py_None
);
992 _resultobj
= Py_None
;
996 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
997 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
998 PyObject
* _resultobj
;
999 wxSashWindow
* _arg0
;
1000 wxSashEdgePosition _arg1
;
1002 PyObject
* _argo0
= 0;
1004 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
1016 _arg2
= (bool ) tempbool2
;
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) return NULL
;
1023 } Py_INCREF(Py_None
);
1024 _resultobj
= Py_None
;
1028 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1029 wxQueryLayoutInfoEvent
*src
;
1031 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1032 dest
= (wxEvent
*) src
;
1033 return (void *) dest
;
1036 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1037 wxQueryLayoutInfoEvent
*src
;
1039 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1040 dest
= (wxObject
*) src
;
1041 return (void *) dest
;
1044 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1045 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1047 wxQueryLayoutInfoEvent
* _result
;
1048 wxWindowID _arg0
= (wxWindowID
) 0;
1049 char *_kwnames
[] = { "id", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) return NULL
;
1062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1063 _resultobj
= Py_BuildValue("s",_ptemp
);
1066 _resultobj
= Py_None
;
1071 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1072 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1074 wxQueryLayoutInfoEvent
* _arg0
;
1076 PyObject
* _argo0
= 0;
1077 char *_kwnames
[] = { "self","length", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1091 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1093 wxPyEndAllowThreads(__tstate
);
1094 if (PyErr_Occurred()) return NULL
;
1095 } Py_INCREF(Py_None
);
1096 _resultobj
= Py_None
;
1100 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1101 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1104 wxQueryLayoutInfoEvent
* _arg0
;
1105 PyObject
* _argo0
= 0;
1106 char *_kwnames
[] = { "self", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1120 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1122 wxPyEndAllowThreads(__tstate
);
1123 if (PyErr_Occurred()) return NULL
;
1124 } _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1129 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1131 wxQueryLayoutInfoEvent
* _arg0
;
1133 PyObject
* _argo0
= 0;
1134 char *_kwnames
[] = { "self","flags", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1148 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1150 wxPyEndAllowThreads(__tstate
);
1151 if (PyErr_Occurred()) return NULL
;
1152 } Py_INCREF(Py_None
);
1153 _resultobj
= Py_None
;
1157 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1158 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1161 wxQueryLayoutInfoEvent
* _arg0
;
1162 PyObject
* _argo0
= 0;
1163 char *_kwnames
[] = { "self", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) return NULL
;
1181 } _resultobj
= Py_BuildValue("i",_result
);
1185 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1186 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1188 wxQueryLayoutInfoEvent
* _arg0
;
1190 PyObject
* _argo0
= 0;
1192 PyObject
* _obj1
= 0;
1193 char *_kwnames
[] = { "self","size", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1207 if (! wxSize_helper(_obj1
, &_arg1
))
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) return NULL
;
1216 } Py_INCREF(Py_None
);
1217 _resultobj
= Py_None
;
1221 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1222 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1225 wxQueryLayoutInfoEvent
* _arg0
;
1226 PyObject
* _argo0
= 0;
1227 char *_kwnames
[] = { "self", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1242 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1244 wxPyEndAllowThreads(__tstate
);
1245 if (PyErr_Occurred()) return NULL
;
1246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1247 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1252 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1254 wxQueryLayoutInfoEvent
* _arg0
;
1255 wxLayoutOrientation _arg1
;
1256 PyObject
* _argo0
= 0;
1257 char *_kwnames
[] = { "self","orient", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1271 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1273 wxPyEndAllowThreads(__tstate
);
1274 if (PyErr_Occurred()) return NULL
;
1275 } Py_INCREF(Py_None
);
1276 _resultobj
= Py_None
;
1280 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1281 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1283 wxLayoutOrientation _result
;
1284 wxQueryLayoutInfoEvent
* _arg0
;
1285 PyObject
* _argo0
= 0;
1286 char *_kwnames
[] = { "self", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) return NULL
;
1304 } _resultobj
= Py_BuildValue("i",_result
);
1308 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1309 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1311 wxQueryLayoutInfoEvent
* _arg0
;
1312 wxLayoutAlignment _arg1
;
1313 PyObject
* _argo0
= 0;
1314 char *_kwnames
[] = { "self","align", NULL
};
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1328 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1330 wxPyEndAllowThreads(__tstate
);
1331 if (PyErr_Occurred()) return NULL
;
1332 } Py_INCREF(Py_None
);
1333 _resultobj
= Py_None
;
1337 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1338 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1340 wxLayoutAlignment _result
;
1341 wxQueryLayoutInfoEvent
* _arg0
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "self", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1361 } _resultobj
= Py_BuildValue("i",_result
);
1365 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1366 wxCalculateLayoutEvent
*src
;
1368 src
= (wxCalculateLayoutEvent
*) ptr
;
1369 dest
= (wxEvent
*) src
;
1370 return (void *) dest
;
1373 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1374 wxCalculateLayoutEvent
*src
;
1376 src
= (wxCalculateLayoutEvent
*) ptr
;
1377 dest
= (wxObject
*) src
;
1378 return (void *) dest
;
1381 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1382 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
* _resultobj
;
1384 wxCalculateLayoutEvent
* _result
;
1385 wxWindowID _arg0
= (wxWindowID
) 0;
1386 char *_kwnames
[] = { "id", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) return NULL
;
1399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1400 _resultobj
= Py_BuildValue("s",_ptemp
);
1403 _resultobj
= Py_None
;
1408 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1409 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1411 wxCalculateLayoutEvent
* _arg0
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self","flags", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 } Py_INCREF(Py_None
);
1433 _resultobj
= Py_None
;
1437 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1438 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1441 wxCalculateLayoutEvent
* _arg0
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) return NULL
;
1461 } _resultobj
= Py_BuildValue("i",_result
);
1465 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1466 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1468 wxCalculateLayoutEvent
* _arg0
;
1470 PyObject
* _argo0
= 0;
1472 PyObject
* _obj1
= 0;
1473 char *_kwnames
[] = { "self","rect", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1487 if (! wxRect_helper(_obj1
, &_arg1
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 } Py_INCREF(Py_None
);
1497 _resultobj
= Py_None
;
1501 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1502 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
* _resultobj
;
1505 wxCalculateLayoutEvent
* _arg0
;
1506 PyObject
* _argo0
= 0;
1507 char *_kwnames
[] = { "self", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) return NULL
;
1526 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1527 _resultobj
= Py_BuildValue("s",_ptemp
);
1531 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1532 wxSashLayoutWindow
*src
;
1534 src
= (wxSashLayoutWindow
*) ptr
;
1535 dest
= (wxSashWindow
*) src
;
1536 return (void *) dest
;
1539 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1540 wxSashLayoutWindow
*src
;
1542 src
= (wxSashLayoutWindow
*) ptr
;
1543 dest
= (wxWindow
*) src
;
1544 return (void *) dest
;
1547 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1548 wxSashLayoutWindow
*src
;
1550 src
= (wxSashLayoutWindow
*) ptr
;
1551 dest
= (wxEvtHandler
*) src
;
1552 return (void *) dest
;
1555 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1556 wxSashLayoutWindow
*src
;
1558 src
= (wxSashLayoutWindow
*) ptr
;
1559 dest
= (wxObject
*) src
;
1560 return (void *) dest
;
1563 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1564 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 wxSashLayoutWindow
* _result
;
1569 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1570 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1571 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1572 wxString
* _arg5
= (wxString
*) &wxPySashLayoutNameStr
;
1573 PyObject
* _argo0
= 0;
1575 PyObject
* _obj2
= 0;
1577 PyObject
* _obj3
= 0;
1578 PyObject
* _obj5
= 0;
1579 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1595 if (! wxPoint_helper(_obj2
, &_arg2
))
1601 if (! wxSize_helper(_obj3
, &_arg3
))
1606 _arg5
= wxString_in_helper(_obj5
);
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) return NULL
;
1617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1618 _resultobj
= Py_BuildValue("s",_ptemp
);
1621 _resultobj
= Py_None
;
1630 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1631 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1633 wxSashLayoutWindow
* _result
;
1634 char *_kwnames
[] = { NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1648 _resultobj
= Py_BuildValue("s",_ptemp
);
1651 _resultobj
= Py_None
;
1656 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1657 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1660 wxSashLayoutWindow
* _arg0
;
1663 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1664 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1665 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1666 wxString
* _arg6
= (wxString
*) &wxPySashLayoutNameStr
;
1667 PyObject
* _argo0
= 0;
1668 PyObject
* _argo1
= 0;
1670 PyObject
* _obj3
= 0;
1672 PyObject
* _obj4
= 0;
1673 PyObject
* _obj6
= 0;
1674 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1696 if (! wxPoint_helper(_obj3
, &_arg3
))
1702 if (! wxSize_helper(_obj4
, &_arg4
))
1707 _arg6
= wxString_in_helper(_obj6
);
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) return NULL
;
1717 } _resultobj
= Py_BuildValue("i",_result
);
1725 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1726 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1728 wxLayoutAlignment _result
;
1729 wxSashLayoutWindow
* _arg0
;
1730 PyObject
* _argo0
= 0;
1731 char *_kwnames
[] = { "self", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) return NULL
;
1749 } _resultobj
= Py_BuildValue("i",_result
);
1753 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1754 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1756 wxLayoutOrientation _result
;
1757 wxSashLayoutWindow
* _arg0
;
1758 PyObject
* _argo0
= 0;
1759 char *_kwnames
[] = { "self", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1777 } _resultobj
= Py_BuildValue("i",_result
);
1781 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1782 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1784 wxSashLayoutWindow
* _arg0
;
1785 wxLayoutAlignment _arg1
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self","alignment", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1811 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1813 wxSashLayoutWindow
* _arg0
;
1815 PyObject
* _argo0
= 0;
1817 PyObject
* _obj1
= 0;
1818 char *_kwnames
[] = { "self","size", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1832 if (! wxSize_helper(_obj1
, &_arg1
))
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) return NULL
;
1841 } Py_INCREF(Py_None
);
1842 _resultobj
= Py_None
;
1846 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1847 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1849 wxSashLayoutWindow
* _arg0
;
1850 wxLayoutOrientation _arg1
;
1851 PyObject
* _argo0
= 0;
1852 char *_kwnames
[] = { "self","orientation", NULL
};
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) return NULL
;
1870 } Py_INCREF(Py_None
);
1871 _resultobj
= Py_None
;
1875 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1876 wxLayoutAlgorithm
*src
;
1878 src
= (wxLayoutAlgorithm
*) ptr
;
1879 dest
= (wxObject
*) src
;
1880 return (void *) dest
;
1883 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1884 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1886 wxLayoutAlgorithm
* _result
;
1887 char *_kwnames
[] = { NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1901 _resultobj
= Py_BuildValue("s",_ptemp
);
1904 _resultobj
= Py_None
;
1909 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1910 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1912 wxLayoutAlgorithm
* _arg0
;
1913 PyObject
* _argo0
= 0;
1914 char *_kwnames
[] = { "self", NULL
};
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 delete_wxLayoutAlgorithm(_arg0
);
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) return NULL
;
1932 } Py_INCREF(Py_None
);
1933 _resultobj
= Py_None
;
1937 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1938 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1941 wxLayoutAlgorithm
* _arg0
;
1942 wxMDIParentFrame
* _arg1
;
1943 wxRect
* _arg2
= (wxRect
*) NULL
;
1944 PyObject
* _argo0
= 0;
1945 PyObject
* _argo1
= 0;
1947 PyObject
* _obj2
= 0;
1948 char *_kwnames
[] = { "self","frame","rect", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1970 if (! wxRect_helper(_obj2
, &_arg2
))
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) return NULL
;
1979 } _resultobj
= Py_BuildValue("i",_result
);
1983 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1984 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1987 wxLayoutAlgorithm
* _arg0
;
1989 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1990 PyObject
* _argo0
= 0;
1991 PyObject
* _argo1
= 0;
1992 PyObject
* _argo2
= 0;
1993 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
2006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
2013 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2014 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2025 } _resultobj
= Py_BuildValue("i",_result
);
2029 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
2030 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2033 wxLayoutAlgorithm
* _arg0
;
2035 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2036 PyObject
* _argo0
= 0;
2037 PyObject
* _argo1
= 0;
2038 PyObject
* _argo2
= 0;
2039 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2059 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) return NULL
;
2071 } _resultobj
= Py_BuildValue("i",_result
);
2075 static void *SwigwxPopupWindowTowxWindow(void *ptr
) {
2078 src
= (wxPopupWindow
*) ptr
;
2079 dest
= (wxWindow
*) src
;
2080 return (void *) dest
;
2083 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr
) {
2086 src
= (wxPopupWindow
*) ptr
;
2087 dest
= (wxEvtHandler
*) src
;
2088 return (void *) dest
;
2091 static void *SwigwxPopupWindowTowxObject(void *ptr
) {
2094 src
= (wxPopupWindow
*) ptr
;
2095 dest
= (wxObject
*) src
;
2096 return (void *) dest
;
2099 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2100 static PyObject
*_wrap_new_wxPopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2102 wxPopupWindow
* _result
;
2104 int _arg1
= (int ) wxBORDER_NONE
;
2105 PyObject
* _argo0
= 0;
2106 char *_kwnames
[] = { "parent","flags", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupWindow",_kwnames
,&_argo0
,&_arg1
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) return NULL
;
2126 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2127 _resultobj
= Py_BuildValue("s",_ptemp
);
2130 _resultobj
= Py_None
;
2135 #define new_wxPrePopupWindow() (new wxPopupWindow())
2136 static PyObject
*_wrap_new_wxPrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2138 wxPopupWindow
* _result
;
2139 char *_kwnames
[] = { NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupWindow",_kwnames
))
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) return NULL
;
2152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2153 _resultobj
= Py_BuildValue("s",_ptemp
);
2156 _resultobj
= Py_None
;
2161 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2162 static PyObject
*_wrap_wxPopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2165 wxPopupWindow
* _arg0
;
2167 int _arg2
= (int ) wxBORDER_NONE
;
2168 PyObject
* _argo0
= 0;
2169 PyObject
* _argo1
= 0;
2170 char *_kwnames
[] = { "self","parent","flags", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPopupWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } _resultobj
= Py_BuildValue("i",_result
);
2199 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2200 static PyObject
*_wrap_wxPopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2202 wxPopupWindow
* _arg0
;
2205 PyObject
* _argo0
= 0;
2207 PyObject
* _obj1
= 0;
2209 PyObject
* _obj2
= 0;
2210 char *_kwnames
[] = { "self","ptOrigin","size", NULL
};
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupWindow_Position",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2224 if (! wxPoint_helper(_obj1
, &_arg1
))
2229 if (! wxSize_helper(_obj2
, &_arg2
))
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) return NULL
;
2238 } Py_INCREF(Py_None
);
2239 _resultobj
= Py_None
;
2243 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr
) {
2244 wxPyPopupTransientWindow
*src
;
2245 wxPopupWindow
*dest
;
2246 src
= (wxPyPopupTransientWindow
*) ptr
;
2247 dest
= (wxPopupWindow
*) src
;
2248 return (void *) dest
;
2251 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr
) {
2252 wxPyPopupTransientWindow
*src
;
2254 src
= (wxPyPopupTransientWindow
*) ptr
;
2255 dest
= (wxWindow
*) src
;
2256 return (void *) dest
;
2259 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr
) {
2260 wxPyPopupTransientWindow
*src
;
2262 src
= (wxPyPopupTransientWindow
*) ptr
;
2263 dest
= (wxEvtHandler
*) src
;
2264 return (void *) dest
;
2267 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr
) {
2268 wxPyPopupTransientWindow
*src
;
2270 src
= (wxPyPopupTransientWindow
*) ptr
;
2271 dest
= (wxObject
*) src
;
2272 return (void *) dest
;
2275 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2276 static PyObject
*_wrap_new_wxPopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2278 wxPyPopupTransientWindow
* _result
;
2280 int _arg1
= (int ) wxBORDER_NONE
;
2281 PyObject
* _argo0
= 0;
2282 char *_kwnames
[] = { "parent","style", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupTransientWindow",_kwnames
,&_argo0
,&_arg1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) return NULL
;
2302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2303 _resultobj
= Py_BuildValue("s",_ptemp
);
2306 _resultobj
= Py_None
;
2311 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2312 static PyObject
*_wrap_new_wxPrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2314 wxPyPopupTransientWindow
* _result
;
2315 char *_kwnames
[] = { NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupTransientWindow",_kwnames
))
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) return NULL
;
2328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2329 _resultobj
= Py_BuildValue("s",_ptemp
);
2332 _resultobj
= Py_None
;
2337 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2338 static PyObject
*_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2340 wxPyPopupTransientWindow
* _arg0
;
2343 PyObject
* _argo0
= 0;
2344 PyObject
* _obj1
= 0;
2345 PyObject
* _obj2
= 0;
2346 char *_kwnames
[] = { "self","self","_class", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) return NULL
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2376 static PyObject
*_wrap_wxPopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2378 wxPyPopupTransientWindow
* _arg0
;
2379 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2380 PyObject
* _argo0
= 0;
2381 PyObject
* _argo1
= 0;
2382 char *_kwnames
[] = { "self","focus", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPopupTransientWindow_Popup",_kwnames
,&_argo0
,&_argo1
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) return NULL
;
2407 } Py_INCREF(Py_None
);
2408 _resultobj
= Py_None
;
2412 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2413 static PyObject
*_wrap_wxPopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2415 wxPyPopupTransientWindow
* _arg0
;
2416 PyObject
* _argo0
= 0;
2417 char *_kwnames
[] = { "self", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPopupTransientWindow_Dismiss",_kwnames
,&_argo0
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 wxPopupTransientWindow_Dismiss(_arg0
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } Py_INCREF(Py_None
);
2436 _resultobj
= Py_None
;
2440 static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr
) {
2442 wxPyPopupTransientWindow
*dest
;
2443 src
= (wxTipWindow
*) ptr
;
2444 dest
= (wxPyPopupTransientWindow
*) src
;
2445 return (void *) dest
;
2448 static void *SwigwxTipWindowTowxPopupWindow(void *ptr
) {
2450 wxPopupWindow
*dest
;
2451 src
= (wxTipWindow
*) ptr
;
2452 dest
= (wxPopupWindow
*) src
;
2453 return (void *) dest
;
2456 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2459 src
= (wxTipWindow
*) ptr
;
2460 dest
= (wxWindow
*) src
;
2461 return (void *) dest
;
2464 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2467 src
= (wxTipWindow
*) ptr
;
2468 dest
= (wxEvtHandler
*) src
;
2469 return (void *) dest
;
2472 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2475 src
= (wxTipWindow
*) ptr
;
2476 dest
= (wxObject
*) src
;
2477 return (void *) dest
;
2480 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,const wxString
*text
,wxCoord maxLength
,wxRect
*rectBound
) {
2481 wxString tmp
= *text
;
2482 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
2485 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2487 wxTipWindow
* _result
;
2490 wxCoord _arg2
= (wxCoord
) 100;
2491 wxRect
* _arg3
= (wxRect
*) NULL
;
2492 PyObject
* _argo0
= 0;
2493 PyObject
* _obj1
= 0;
2495 PyObject
* _obj3
= 0;
2496 char *_kwnames
[] = { "parent","text","maxLength","rectBound", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iO:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2510 _arg1
= wxString_in_helper(_obj1
);
2517 if (! wxRect_helper(_obj3
, &_arg3
))
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) return NULL
;
2527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2528 _resultobj
= Py_BuildValue("s",_ptemp
);
2531 _resultobj
= Py_None
;
2540 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2541 static PyObject
*_wrap_wxTipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 wxTipWindow
* _arg0
;
2545 PyObject
* _argo0
= 0;
2547 PyObject
* _obj1
= 0;
2548 char *_kwnames
[] = { "self","rectBound", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipWindow_SetBoundingRect",_kwnames
,&_argo0
,&_obj1
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2562 if (! wxRect_helper(_obj1
, &_arg1
))
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 wxTipWindow_SetBoundingRect(_arg0
,*_arg1
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) return NULL
;
2571 } Py_INCREF(Py_None
);
2572 _resultobj
= Py_None
;
2576 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2577 static PyObject
*_wrap_wxTipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2579 wxTipWindow
* _arg0
;
2580 PyObject
* _argo0
= 0;
2581 char *_kwnames
[] = { "self", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipWindow_Close",_kwnames
,&_argo0
))
2587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 wxTipWindow_Close(_arg0
);
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) return NULL
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 static PyMethodDef windows3cMethods
[] = {
2605 { "wxTipWindow_Close", (PyCFunction
) _wrap_wxTipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
2606 { "wxTipWindow_SetBoundingRect", (PyCFunction
) _wrap_wxTipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
2607 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2608 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
2609 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
2610 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2611 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2612 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2613 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
2614 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2615 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2616 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2617 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2618 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2619 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2620 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2621 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2622 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2623 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2624 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2625 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2626 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2627 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2628 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2629 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2630 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2641 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2642 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2643 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2644 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2645 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2646 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2647 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2648 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2649 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2650 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2651 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2652 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2653 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2654 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2655 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2656 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2657 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2658 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2659 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2660 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2661 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2662 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2663 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2664 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2665 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2666 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2667 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2668 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2669 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2670 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2671 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2672 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2679 * This table is used by the pointer type-checker
2681 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2682 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2683 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2684 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2685 { "_signed_long","_long",0},
2686 { "_wxPrintQuality","_wxCoord",0},
2687 { "_wxPrintQuality","_int",0},
2688 { "_wxPrintQuality","_signed_int",0},
2689 { "_wxPrintQuality","_unsigned_int",0},
2690 { "_wxPrintQuality","_wxWindowID",0},
2691 { "_wxPrintQuality","_uint",0},
2692 { "_wxPrintQuality","_EBool",0},
2693 { "_wxPrintQuality","_size_t",0},
2694 { "_wxPrintQuality","_time_t",0},
2695 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow
},
2696 { "_byte","_unsigned_char",0},
2697 { "_long","_unsigned_long",0},
2698 { "_long","_signed_long",0},
2699 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2700 { "_size_t","_wxCoord",0},
2701 { "_size_t","_wxPrintQuality",0},
2702 { "_size_t","_time_t",0},
2703 { "_size_t","_unsigned_int",0},
2704 { "_size_t","_int",0},
2705 { "_size_t","_wxWindowID",0},
2706 { "_size_t","_uint",0},
2707 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow
},
2708 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
2709 { "_uint","_wxCoord",0},
2710 { "_uint","_wxPrintQuality",0},
2711 { "_uint","_time_t",0},
2712 { "_uint","_size_t",0},
2713 { "_uint","_unsigned_int",0},
2714 { "_uint","_int",0},
2715 { "_uint","_wxWindowID",0},
2716 { "_wxChar","_char",0},
2717 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2718 { "_char","_wxChar",0},
2719 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2720 { "_EBool","_wxCoord",0},
2721 { "_EBool","_wxPrintQuality",0},
2722 { "_EBool","_signed_int",0},
2723 { "_EBool","_int",0},
2724 { "_EBool","_wxWindowID",0},
2725 { "_unsigned_long","_long",0},
2726 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2727 { "_signed_int","_wxCoord",0},
2728 { "_signed_int","_wxPrintQuality",0},
2729 { "_signed_int","_EBool",0},
2730 { "_signed_int","_wxWindowID",0},
2731 { "_signed_int","_int",0},
2732 { "_WXTYPE","_short",0},
2733 { "_WXTYPE","_signed_short",0},
2734 { "_WXTYPE","_unsigned_short",0},
2735 { "_unsigned_short","_WXTYPE",0},
2736 { "_unsigned_short","_short",0},
2737 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2738 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
2739 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
2740 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2741 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2742 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2743 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2744 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2745 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2746 { "_signed_short","_WXTYPE",0},
2747 { "_signed_short","_short",0},
2748 { "_unsigned_char","_byte",0},
2749 { "_unsigned_int","_wxCoord",0},
2750 { "_unsigned_int","_wxPrintQuality",0},
2751 { "_unsigned_int","_time_t",0},
2752 { "_unsigned_int","_size_t",0},
2753 { "_unsigned_int","_uint",0},
2754 { "_unsigned_int","_wxWindowID",0},
2755 { "_unsigned_int","_int",0},
2756 { "_short","_WXTYPE",0},
2757 { "_short","_unsigned_short",0},
2758 { "_short","_signed_short",0},
2759 { "_wxWindowID","_wxCoord",0},
2760 { "_wxWindowID","_wxPrintQuality",0},
2761 { "_wxWindowID","_time_t",0},
2762 { "_wxWindowID","_size_t",0},
2763 { "_wxWindowID","_EBool",0},
2764 { "_wxWindowID","_uint",0},
2765 { "_wxWindowID","_int",0},
2766 { "_wxWindowID","_signed_int",0},
2767 { "_wxWindowID","_unsigned_int",0},
2768 { "_int","_wxCoord",0},
2769 { "_int","_wxPrintQuality",0},
2770 { "_int","_time_t",0},
2771 { "_int","_size_t",0},
2772 { "_int","_EBool",0},
2773 { "_int","_uint",0},
2774 { "_int","_wxWindowID",0},
2775 { "_int","_unsigned_int",0},
2776 { "_int","_signed_int",0},
2777 { "_time_t","_wxCoord",0},
2778 { "_time_t","_wxPrintQuality",0},
2779 { "_time_t","_unsigned_int",0},
2780 { "_time_t","_int",0},
2781 { "_time_t","_wxWindowID",0},
2782 { "_time_t","_uint",0},
2783 { "_time_t","_size_t",0},
2784 { "_wxCoord","_int",0},
2785 { "_wxCoord","_signed_int",0},
2786 { "_wxCoord","_unsigned_int",0},
2787 { "_wxCoord","_wxWindowID",0},
2788 { "_wxCoord","_uint",0},
2789 { "_wxCoord","_EBool",0},
2790 { "_wxCoord","_size_t",0},
2791 { "_wxCoord","_time_t",0},
2792 { "_wxCoord","_wxPrintQuality",0},
2793 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2794 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
2795 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
2796 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2797 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2798 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2799 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
2800 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
2801 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2802 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2805 static PyObject
*SWIG_globals
;
2809 SWIGEXPORT(void) initwindows3c() {
2811 SWIG_globals
= SWIG_newvarlink();
2812 m
= Py_InitModule("windows3c", windows3cMethods
);
2813 d
= PyModule_GetDict(m
);
2814 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2815 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2816 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2817 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2818 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2819 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2820 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2821 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2822 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2823 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2824 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2825 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2826 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2827 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2828 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2829 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2830 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2831 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2832 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2833 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2834 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2837 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2838 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);