2 * FILE : src/gtk/windows3.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows3c
56 #define SWIG_name "windows3c"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
62 #include <wx/popupwin.h>
63 #include <wx/tipwin.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "String type required";
99 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
102 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
103 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
104 : wxPopupTransientWindow(parent
, style
) {}
106 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
107 DEC_PYCALLBACK__(OnDismiss
);
108 DEC_PYCALLBACK_BOOL_(CanDismiss
);
112 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
113 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
114 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
118 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
120 wxCommandEvent
*dest
;
121 src
= (wxSashEvent
*) ptr
;
122 dest
= (wxCommandEvent
*) src
;
123 return (void *) dest
;
126 static void *SwigwxSashEventTowxEvent(void *ptr
) {
129 src
= (wxSashEvent
*) ptr
;
130 dest
= (wxEvent
*) src
;
131 return (void *) dest
;
134 static void *SwigwxSashEventTowxObject(void *ptr
) {
137 src
= (wxSashEvent
*) ptr
;
138 dest
= (wxObject
*) src
;
139 return (void *) dest
;
142 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
143 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
144 PyObject
* _resultobj
;
145 wxSashEvent
* _result
;
146 int _arg0
= (int ) 0;
147 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
148 char *_kwnames
[] = { "id","edge", NULL
};
152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
156 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
158 wxPyEndAllowThreads(__tstate
);
159 if (PyErr_Occurred()) return NULL
;
161 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
162 _resultobj
= Py_BuildValue("s",_ptemp
);
165 _resultobj
= Py_None
;
170 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
171 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
172 PyObject
* _resultobj
;
174 wxSashEdgePosition _arg1
;
175 PyObject
* _argo0
= 0;
176 char *_kwnames
[] = { "self","edge", NULL
};
179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
190 wxSashEvent_SetEdge(_arg0
,_arg1
);
192 wxPyEndAllowThreads(__tstate
);
193 if (PyErr_Occurred()) return NULL
;
194 } Py_INCREF(Py_None
);
195 _resultobj
= Py_None
;
199 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
200 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
202 wxSashEdgePosition _result
;
204 PyObject
* _argo0
= 0;
205 char *_kwnames
[] = { "self", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
219 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
221 wxPyEndAllowThreads(__tstate
);
222 if (PyErr_Occurred()) return NULL
;
223 } _resultobj
= Py_BuildValue("i",_result
);
227 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
228 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
232 PyObject
* _argo0
= 0;
234 PyObject
* _obj1
= 0;
235 char *_kwnames
[] = { "self","rect", NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
249 if (! wxRect_helper(_obj1
, &_arg1
))
253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
254 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
256 wxPyEndAllowThreads(__tstate
);
257 if (PyErr_Occurred()) return NULL
;
258 } Py_INCREF(Py_None
);
259 _resultobj
= Py_None
;
263 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
264 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
268 PyObject
* _argo0
= 0;
269 char *_kwnames
[] = { "self", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
284 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
286 wxPyEndAllowThreads(__tstate
);
287 if (PyErr_Occurred()) return NULL
;
288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
289 _resultobj
= Py_BuildValue("s",_ptemp
);
293 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
294 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
297 wxSashDragStatus _arg1
;
298 PyObject
* _argo0
= 0;
299 char *_kwnames
[] = { "self","status", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
313 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
315 wxPyEndAllowThreads(__tstate
);
316 if (PyErr_Occurred()) return NULL
;
317 } Py_INCREF(Py_None
);
318 _resultobj
= Py_None
;
322 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
323 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
324 PyObject
* _resultobj
;
325 wxSashDragStatus _result
;
327 PyObject
* _argo0
= 0;
328 char *_kwnames
[] = { "self", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
342 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
344 wxPyEndAllowThreads(__tstate
);
345 if (PyErr_Occurred()) return NULL
;
346 } _resultobj
= Py_BuildValue("i",_result
);
350 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
353 src
= (wxSashWindow
*) ptr
;
354 dest
= (wxWindow
*) src
;
355 return (void *) dest
;
358 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
361 src
= (wxSashWindow
*) ptr
;
362 dest
= (wxEvtHandler
*) src
;
363 return (void *) dest
;
366 static void *SwigwxSashWindowTowxObject(void *ptr
) {
369 src
= (wxSashWindow
*) ptr
;
370 dest
= (wxObject
*) src
;
371 return (void *) dest
;
374 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
375 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
377 wxSashWindow
* _result
;
380 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
381 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
382 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
383 char * _arg5
= (char *) "sashWindow";
384 PyObject
* _argo0
= 0;
386 PyObject
* _obj2
= 0;
388 PyObject
* _obj3
= 0;
389 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
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
))
415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
416 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
418 wxPyEndAllowThreads(__tstate
);
419 if (PyErr_Occurred()) return NULL
;
421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
422 _resultobj
= Py_BuildValue("s",_ptemp
);
425 _resultobj
= Py_None
;
430 #define new_wxPreSashWindow() (new wxSashWindow())
431 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
432 PyObject
* _resultobj
;
433 wxSashWindow
* _result
;
434 char *_kwnames
[] = { NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
442 _result
= (wxSashWindow
*)new_wxPreSashWindow();
444 wxPyEndAllowThreads(__tstate
);
445 if (PyErr_Occurred()) return NULL
;
447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
448 _resultobj
= Py_BuildValue("s",_ptemp
);
451 _resultobj
= Py_None
;
456 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
457 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
458 PyObject
* _resultobj
;
460 wxSashWindow
* _arg0
;
463 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
464 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
465 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
466 char * _arg6
= (char *) "sashWindow";
467 PyObject
* _argo0
= 0;
468 PyObject
* _argo1
= 0;
470 PyObject
* _obj3
= 0;
472 PyObject
* _obj4
= 0;
473 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
495 if (! wxPoint_helper(_obj3
, &_arg3
))
501 if (! wxSize_helper(_obj4
, &_arg4
))
505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
506 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
508 wxPyEndAllowThreads(__tstate
);
509 if (PyErr_Occurred()) return NULL
;
510 } _resultobj
= Py_BuildValue("i",_result
);
514 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
515 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
516 PyObject
* _resultobj
;
518 wxSashWindow
* _arg0
;
519 wxSashEdgePosition _arg1
;
520 PyObject
* _argo0
= 0;
521 char *_kwnames
[] = { "self","edge", NULL
};
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
535 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
537 wxPyEndAllowThreads(__tstate
);
538 if (PyErr_Occurred()) return NULL
;
539 } _resultobj
= Py_BuildValue("i",_result
);
543 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
544 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
547 wxSashWindow
* _arg0
;
548 PyObject
* _argo0
= 0;
549 char *_kwnames
[] = { "self", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
563 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
565 wxPyEndAllowThreads(__tstate
);
566 if (PyErr_Occurred()) return NULL
;
567 } _resultobj
= Py_BuildValue("i",_result
);
571 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
572 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
575 wxSashWindow
* _arg0
;
576 wxSashEdgePosition _arg1
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self","edge", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
596 } _resultobj
= Py_BuildValue("i",_result
);
600 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
601 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
604 wxSashWindow
* _arg0
;
605 PyObject
* _argo0
= 0;
606 char *_kwnames
[] = { "self", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
624 } _resultobj
= Py_BuildValue("i",_result
);
628 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
629 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
632 wxSashWindow
* _arg0
;
633 PyObject
* _argo0
= 0;
634 char *_kwnames
[] = { "self", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
648 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
650 wxPyEndAllowThreads(__tstate
);
651 if (PyErr_Occurred()) return NULL
;
652 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
657 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
660 wxSashWindow
* _arg0
;
661 PyObject
* _argo0
= 0;
662 char *_kwnames
[] = { "self", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
676 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
678 wxPyEndAllowThreads(__tstate
);
679 if (PyErr_Occurred()) return NULL
;
680 } _resultobj
= Py_BuildValue("i",_result
);
684 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
685 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
688 wxSashWindow
* _arg0
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
706 wxPyEndAllowThreads(__tstate
);
707 if (PyErr_Occurred()) return NULL
;
708 } _resultobj
= Py_BuildValue("i",_result
);
712 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
713 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
716 wxSashWindow
* _arg0
;
717 PyObject
* _argo0
= 0;
718 char *_kwnames
[] = { "self", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
732 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
734 wxPyEndAllowThreads(__tstate
);
735 if (PyErr_Occurred()) return NULL
;
736 } _resultobj
= Py_BuildValue("i",_result
);
740 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
741 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
744 wxSashWindow
* _arg0
;
745 wxSashEdgePosition _arg1
;
746 PyObject
* _argo0
= 0;
747 char *_kwnames
[] = { "self","edge", NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
761 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
763 wxPyEndAllowThreads(__tstate
);
764 if (PyErr_Occurred()) return NULL
;
765 } _resultobj
= Py_BuildValue("i",_result
);
769 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
770 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
772 wxSashWindow
* _arg0
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self","width", NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
789 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
791 wxPyEndAllowThreads(__tstate
);
792 if (PyErr_Occurred()) return NULL
;
793 } Py_INCREF(Py_None
);
794 _resultobj
= Py_None
;
798 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
799 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
801 wxSashWindow
* _arg0
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self","width", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
818 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) return NULL
;
822 } Py_INCREF(Py_None
);
823 _resultobj
= Py_None
;
827 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
828 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
830 wxSashWindow
* _arg0
;
832 PyObject
* _argo0
= 0;
833 char *_kwnames
[] = { "self","min", NULL
};
836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
847 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
849 wxPyEndAllowThreads(__tstate
);
850 if (PyErr_Occurred()) return NULL
;
851 } Py_INCREF(Py_None
);
852 _resultobj
= Py_None
;
856 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
857 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
859 wxSashWindow
* _arg0
;
861 PyObject
* _argo0
= 0;
862 char *_kwnames
[] = { "self","min", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
876 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
878 wxPyEndAllowThreads(__tstate
);
879 if (PyErr_Occurred()) return NULL
;
880 } Py_INCREF(Py_None
);
881 _resultobj
= Py_None
;
885 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
886 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
888 wxSashWindow
* _arg0
;
890 PyObject
* _argo0
= 0;
891 char *_kwnames
[] = { "self","min", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) return NULL
;
909 } Py_INCREF(Py_None
);
910 _resultobj
= Py_None
;
914 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
915 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
917 wxSashWindow
* _arg0
;
919 PyObject
* _argo0
= 0;
920 char *_kwnames
[] = { "self","min", NULL
};
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
934 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
936 wxPyEndAllowThreads(__tstate
);
937 if (PyErr_Occurred()) return NULL
;
938 } Py_INCREF(Py_None
);
939 _resultobj
= Py_None
;
943 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
944 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
946 wxSashWindow
* _arg0
;
947 wxSashEdgePosition _arg1
;
949 PyObject
* _argo0
= 0;
951 char *_kwnames
[] = { "self","edge","visible", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
963 _arg2
= (bool ) tempbool2
;
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
970 } Py_INCREF(Py_None
);
971 _resultobj
= Py_None
;
975 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
976 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
978 wxSashWindow
* _arg0
;
979 wxSashEdgePosition _arg1
;
981 PyObject
* _argo0
= 0;
983 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
995 _arg2
= (bool ) tempbool2
;
997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
998 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1000 wxPyEndAllowThreads(__tstate
);
1001 if (PyErr_Occurred()) return NULL
;
1002 } Py_INCREF(Py_None
);
1003 _resultobj
= Py_None
;
1007 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1008 wxQueryLayoutInfoEvent
*src
;
1010 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1011 dest
= (wxEvent
*) src
;
1012 return (void *) dest
;
1015 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1016 wxQueryLayoutInfoEvent
*src
;
1018 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1019 dest
= (wxObject
*) src
;
1020 return (void *) dest
;
1023 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1024 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1026 wxQueryLayoutInfoEvent
* _result
;
1027 wxWindowID _arg0
= (wxWindowID
) 0;
1028 char *_kwnames
[] = { "id", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1036 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1038 wxPyEndAllowThreads(__tstate
);
1039 if (PyErr_Occurred()) return NULL
;
1041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1042 _resultobj
= Py_BuildValue("s",_ptemp
);
1045 _resultobj
= Py_None
;
1050 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1051 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1053 wxQueryLayoutInfoEvent
* _arg0
;
1055 PyObject
* _argo0
= 0;
1056 char *_kwnames
[] = { "self","length", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1070 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) return NULL
;
1074 } Py_INCREF(Py_None
);
1075 _resultobj
= Py_None
;
1079 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1080 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1083 wxQueryLayoutInfoEvent
* _arg0
;
1084 PyObject
* _argo0
= 0;
1085 char *_kwnames
[] = { "self", NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1099 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1101 wxPyEndAllowThreads(__tstate
);
1102 if (PyErr_Occurred()) return NULL
;
1103 } _resultobj
= Py_BuildValue("i",_result
);
1107 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1108 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1110 wxQueryLayoutInfoEvent
* _arg0
;
1112 PyObject
* _argo0
= 0;
1113 char *_kwnames
[] = { "self","flags", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) return NULL
;
1131 } Py_INCREF(Py_None
);
1132 _resultobj
= Py_None
;
1136 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1137 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1140 wxQueryLayoutInfoEvent
* _arg0
;
1141 PyObject
* _argo0
= 0;
1142 char *_kwnames
[] = { "self", NULL
};
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) return NULL
;
1160 } _resultobj
= Py_BuildValue("i",_result
);
1164 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1165 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1167 wxQueryLayoutInfoEvent
* _arg0
;
1169 PyObject
* _argo0
= 0;
1171 PyObject
* _obj1
= 0;
1172 char *_kwnames
[] = { "self","size", NULL
};
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1186 if (! wxSize_helper(_obj1
, &_arg1
))
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1201 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 wxQueryLayoutInfoEvent
* _arg0
;
1205 PyObject
* _argo0
= 0;
1206 char *_kwnames
[] = { "self", NULL
};
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1221 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1223 wxPyEndAllowThreads(__tstate
);
1224 if (PyErr_Occurred()) return NULL
;
1225 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1226 _resultobj
= Py_BuildValue("s",_ptemp
);
1230 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1231 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1233 wxQueryLayoutInfoEvent
* _arg0
;
1234 wxLayoutOrientation _arg1
;
1235 PyObject
* _argo0
= 0;
1236 char *_kwnames
[] = { "self","orient", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) return NULL
;
1254 } Py_INCREF(Py_None
);
1255 _resultobj
= Py_None
;
1259 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1260 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxLayoutOrientation _result
;
1263 wxQueryLayoutInfoEvent
* _arg0
;
1264 PyObject
* _argo0
= 0;
1265 char *_kwnames
[] = { "self", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) return NULL
;
1283 } _resultobj
= Py_BuildValue("i",_result
);
1287 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1288 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1290 wxQueryLayoutInfoEvent
* _arg0
;
1291 wxLayoutAlignment _arg1
;
1292 PyObject
* _argo0
= 0;
1293 char *_kwnames
[] = { "self","align", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } Py_INCREF(Py_None
);
1312 _resultobj
= Py_None
;
1316 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1317 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1319 wxLayoutAlignment _result
;
1320 wxQueryLayoutInfoEvent
* _arg0
;
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) return NULL
;
1340 } _resultobj
= Py_BuildValue("i",_result
);
1344 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1345 wxCalculateLayoutEvent
*src
;
1347 src
= (wxCalculateLayoutEvent
*) ptr
;
1348 dest
= (wxEvent
*) src
;
1349 return (void *) dest
;
1352 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1353 wxCalculateLayoutEvent
*src
;
1355 src
= (wxCalculateLayoutEvent
*) ptr
;
1356 dest
= (wxObject
*) src
;
1357 return (void *) dest
;
1360 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1361 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1363 wxCalculateLayoutEvent
* _result
;
1364 wxWindowID _arg0
= (wxWindowID
) 0;
1365 char *_kwnames
[] = { "id", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) return NULL
;
1378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1379 _resultobj
= Py_BuildValue("s",_ptemp
);
1382 _resultobj
= Py_None
;
1387 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1388 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1390 wxCalculateLayoutEvent
* _arg0
;
1392 PyObject
* _argo0
= 0;
1393 char *_kwnames
[] = { "self","flags", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1407 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1409 wxPyEndAllowThreads(__tstate
);
1410 if (PyErr_Occurred()) return NULL
;
1411 } Py_INCREF(Py_None
);
1412 _resultobj
= Py_None
;
1416 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1417 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1420 wxCalculateLayoutEvent
* _arg0
;
1421 PyObject
* _argo0
= 0;
1422 char *_kwnames
[] = { "self", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) return NULL
;
1440 } _resultobj
= Py_BuildValue("i",_result
);
1444 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1445 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1447 wxCalculateLayoutEvent
* _arg0
;
1449 PyObject
* _argo0
= 0;
1451 PyObject
* _obj1
= 0;
1452 char *_kwnames
[] = { "self","rect", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1466 if (! wxRect_helper(_obj1
, &_arg1
))
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) return NULL
;
1475 } Py_INCREF(Py_None
);
1476 _resultobj
= Py_None
;
1480 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1481 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1484 wxCalculateLayoutEvent
* _arg0
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) return NULL
;
1505 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1506 _resultobj
= Py_BuildValue("s",_ptemp
);
1510 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1511 wxSashLayoutWindow
*src
;
1513 src
= (wxSashLayoutWindow
*) ptr
;
1514 dest
= (wxSashWindow
*) src
;
1515 return (void *) dest
;
1518 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1519 wxSashLayoutWindow
*src
;
1521 src
= (wxSashLayoutWindow
*) ptr
;
1522 dest
= (wxWindow
*) src
;
1523 return (void *) dest
;
1526 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1527 wxSashLayoutWindow
*src
;
1529 src
= (wxSashLayoutWindow
*) ptr
;
1530 dest
= (wxEvtHandler
*) src
;
1531 return (void *) dest
;
1534 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1535 wxSashLayoutWindow
*src
;
1537 src
= (wxSashLayoutWindow
*) ptr
;
1538 dest
= (wxObject
*) src
;
1539 return (void *) dest
;
1542 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1543 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1545 wxSashLayoutWindow
* _result
;
1548 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1549 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1550 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1551 char * _arg5
= (char *) "layoutWindow";
1552 PyObject
* _argo0
= 0;
1554 PyObject
* _obj2
= 0;
1556 PyObject
* _obj3
= 0;
1557 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1573 if (! wxPoint_helper(_obj2
, &_arg2
))
1579 if (! wxSize_helper(_obj3
, &_arg3
))
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) return NULL
;
1589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1590 _resultobj
= Py_BuildValue("s",_ptemp
);
1593 _resultobj
= Py_None
;
1598 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1599 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1601 wxSashLayoutWindow
* _result
;
1602 char *_kwnames
[] = { NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1624 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1625 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1628 wxSashLayoutWindow
* _arg0
;
1631 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1632 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1633 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1634 char * _arg6
= (char *) "layoutWindow";
1635 PyObject
* _argo0
= 0;
1636 PyObject
* _argo1
= 0;
1638 PyObject
* _obj3
= 0;
1640 PyObject
* _obj4
= 0;
1641 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1663 if (! wxPoint_helper(_obj3
, &_arg3
))
1669 if (! wxSize_helper(_obj4
, &_arg4
))
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } _resultobj
= Py_BuildValue("i",_result
);
1682 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1683 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1685 wxLayoutAlignment _result
;
1686 wxSashLayoutWindow
* _arg0
;
1687 PyObject
* _argo0
= 0;
1688 char *_kwnames
[] = { "self", NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) return NULL
;
1706 } _resultobj
= Py_BuildValue("i",_result
);
1710 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1711 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1713 wxLayoutOrientation _result
;
1714 wxSashLayoutWindow
* _arg0
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1734 } _resultobj
= Py_BuildValue("i",_result
);
1738 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1739 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1741 wxSashLayoutWindow
* _arg0
;
1742 wxLayoutAlignment _arg1
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "self","alignment", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) return NULL
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1768 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1770 wxSashLayoutWindow
* _arg0
;
1772 PyObject
* _argo0
= 0;
1774 PyObject
* _obj1
= 0;
1775 char *_kwnames
[] = { "self","size", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1789 if (! wxSize_helper(_obj1
, &_arg1
))
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) return NULL
;
1798 } Py_INCREF(Py_None
);
1799 _resultobj
= Py_None
;
1803 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1804 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1806 wxSashLayoutWindow
* _arg0
;
1807 wxLayoutOrientation _arg1
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self","orientation", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) return NULL
;
1827 } Py_INCREF(Py_None
);
1828 _resultobj
= Py_None
;
1832 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1833 wxLayoutAlgorithm
*src
;
1835 src
= (wxLayoutAlgorithm
*) ptr
;
1836 dest
= (wxObject
*) src
;
1837 return (void *) dest
;
1840 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1841 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1843 wxLayoutAlgorithm
* _result
;
1844 char *_kwnames
[] = { NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) return NULL
;
1857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1858 _resultobj
= Py_BuildValue("s",_ptemp
);
1861 _resultobj
= Py_None
;
1866 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1867 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 wxLayoutAlgorithm
* _arg0
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 delete_wxLayoutAlgorithm(_arg0
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) return NULL
;
1889 } Py_INCREF(Py_None
);
1890 _resultobj
= Py_None
;
1894 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1895 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1898 wxLayoutAlgorithm
* _arg0
;
1899 wxMDIParentFrame
* _arg1
;
1900 wxRect
* _arg2
= (wxRect
*) NULL
;
1901 PyObject
* _argo0
= 0;
1902 PyObject
* _argo1
= 0;
1904 PyObject
* _obj2
= 0;
1905 char *_kwnames
[] = { "self","frame","rect", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1927 if (! wxRect_helper(_obj2
, &_arg2
))
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) return NULL
;
1936 } _resultobj
= Py_BuildValue("i",_result
);
1940 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1941 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1944 wxLayoutAlgorithm
* _arg0
;
1946 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1947 PyObject
* _argo0
= 0;
1948 PyObject
* _argo1
= 0;
1949 PyObject
* _argo2
= 0;
1950 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1970 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) return NULL
;
1982 } _resultobj
= Py_BuildValue("i",_result
);
1986 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1987 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1990 wxLayoutAlgorithm
* _arg0
;
1992 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1993 PyObject
* _argo0
= 0;
1994 PyObject
* _argo1
= 0;
1995 PyObject
* _argo2
= 0;
1996 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2009 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2016 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) return NULL
;
2028 } _resultobj
= Py_BuildValue("i",_result
);
2032 static void *SwigwxPopupWindowTowxWindow(void *ptr
) {
2035 src
= (wxPopupWindow
*) ptr
;
2036 dest
= (wxWindow
*) src
;
2037 return (void *) dest
;
2040 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr
) {
2043 src
= (wxPopupWindow
*) ptr
;
2044 dest
= (wxEvtHandler
*) src
;
2045 return (void *) dest
;
2048 static void *SwigwxPopupWindowTowxObject(void *ptr
) {
2051 src
= (wxPopupWindow
*) ptr
;
2052 dest
= (wxObject
*) src
;
2053 return (void *) dest
;
2056 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2057 static PyObject
*_wrap_new_wxPopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2059 wxPopupWindow
* _result
;
2061 int _arg1
= (int ) wxBORDER_NONE
;
2062 PyObject
* _argo0
= 0;
2063 char *_kwnames
[] = { "parent","flags", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupWindow",_kwnames
,&_argo0
,&_arg1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) return NULL
;
2083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2084 _resultobj
= Py_BuildValue("s",_ptemp
);
2087 _resultobj
= Py_None
;
2092 #define new_wxPrePopupWindow() (new wxPopupWindow())
2093 static PyObject
*_wrap_new_wxPrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2095 wxPopupWindow
* _result
;
2096 char *_kwnames
[] = { NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupWindow",_kwnames
))
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) return NULL
;
2109 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2110 _resultobj
= Py_BuildValue("s",_ptemp
);
2113 _resultobj
= Py_None
;
2118 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2119 static PyObject
*_wrap_wxPopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
* _resultobj
;
2122 wxPopupWindow
* _arg0
;
2124 int _arg2
= (int ) wxBORDER_NONE
;
2125 PyObject
* _argo0
= 0;
2126 PyObject
* _argo1
= 0;
2127 char *_kwnames
[] = { "self","parent","flags", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPopupWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) return NULL
;
2152 } _resultobj
= Py_BuildValue("i",_result
);
2156 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2157 static PyObject
*_wrap_wxPopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2159 wxPopupWindow
* _arg0
;
2162 PyObject
* _argo0
= 0;
2164 PyObject
* _obj1
= 0;
2166 PyObject
* _obj2
= 0;
2167 char *_kwnames
[] = { "self","ptOrigin","size", NULL
};
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupWindow_Position",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2181 if (! wxPoint_helper(_obj1
, &_arg1
))
2186 if (! wxSize_helper(_obj2
, &_arg2
))
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2200 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr
) {
2201 wxPyPopupTransientWindow
*src
;
2202 wxPopupWindow
*dest
;
2203 src
= (wxPyPopupTransientWindow
*) ptr
;
2204 dest
= (wxPopupWindow
*) src
;
2205 return (void *) dest
;
2208 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr
) {
2209 wxPyPopupTransientWindow
*src
;
2211 src
= (wxPyPopupTransientWindow
*) ptr
;
2212 dest
= (wxWindow
*) src
;
2213 return (void *) dest
;
2216 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr
) {
2217 wxPyPopupTransientWindow
*src
;
2219 src
= (wxPyPopupTransientWindow
*) ptr
;
2220 dest
= (wxEvtHandler
*) src
;
2221 return (void *) dest
;
2224 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr
) {
2225 wxPyPopupTransientWindow
*src
;
2227 src
= (wxPyPopupTransientWindow
*) ptr
;
2228 dest
= (wxObject
*) src
;
2229 return (void *) dest
;
2232 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2233 static PyObject
*_wrap_new_wxPopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2235 wxPyPopupTransientWindow
* _result
;
2237 int _arg1
= (int ) wxBORDER_NONE
;
2238 PyObject
* _argo0
= 0;
2239 char *_kwnames
[] = { "parent","style", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupTransientWindow",_kwnames
,&_argo0
,&_arg1
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) return NULL
;
2259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2260 _resultobj
= Py_BuildValue("s",_ptemp
);
2263 _resultobj
= Py_None
;
2268 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2269 static PyObject
*_wrap_new_wxPrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2271 wxPyPopupTransientWindow
* _result
;
2272 char *_kwnames
[] = { NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupTransientWindow",_kwnames
))
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) return NULL
;
2285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2286 _resultobj
= Py_BuildValue("s",_ptemp
);
2289 _resultobj
= Py_None
;
2294 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2295 static PyObject
*_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2297 wxPyPopupTransientWindow
* _arg0
;
2300 PyObject
* _argo0
= 0;
2301 PyObject
* _obj1
= 0;
2302 PyObject
* _obj2
= 0;
2303 char *_kwnames
[] = { "self","self","_class", NULL
};
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) return NULL
;
2327 } Py_INCREF(Py_None
);
2328 _resultobj
= Py_None
;
2332 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2333 static PyObject
*_wrap_wxPopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2335 wxPyPopupTransientWindow
* _arg0
;
2336 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2337 PyObject
* _argo0
= 0;
2338 PyObject
* _argo1
= 0;
2339 char *_kwnames
[] = { "self","focus", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPopupTransientWindow_Popup",_kwnames
,&_argo0
,&_argo1
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2370 static PyObject
*_wrap_wxPopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2372 wxPyPopupTransientWindow
* _arg0
;
2373 PyObject
* _argo0
= 0;
2374 char *_kwnames
[] = { "self", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPopupTransientWindow_Dismiss",_kwnames
,&_argo0
))
2380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxPopupTransientWindow_Dismiss(_arg0
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) return NULL
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr
) {
2399 wxPyPopupTransientWindow
*dest
;
2400 src
= (wxTipWindow
*) ptr
;
2401 dest
= (wxPyPopupTransientWindow
*) src
;
2402 return (void *) dest
;
2405 static void *SwigwxTipWindowTowxPopupWindow(void *ptr
) {
2407 wxPopupWindow
*dest
;
2408 src
= (wxTipWindow
*) ptr
;
2409 dest
= (wxPopupWindow
*) src
;
2410 return (void *) dest
;
2413 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2416 src
= (wxTipWindow
*) ptr
;
2417 dest
= (wxWindow
*) src
;
2418 return (void *) dest
;
2421 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2424 src
= (wxTipWindow
*) ptr
;
2425 dest
= (wxEvtHandler
*) src
;
2426 return (void *) dest
;
2429 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2432 src
= (wxTipWindow
*) ptr
;
2433 dest
= (wxObject
*) src
;
2434 return (void *) dest
;
2437 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,const wxString
*text
,wxCoord maxLength
,wxRect
*rectBound
) {
2438 wxString tmp
= *text
;
2439 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
2442 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2444 wxTipWindow
* _result
;
2447 wxCoord _arg2
= (wxCoord
) 100;
2448 wxRect
* _arg3
= (wxRect
*) NULL
;
2449 PyObject
* _argo0
= 0;
2450 PyObject
* _obj1
= 0;
2452 PyObject
* _obj3
= 0;
2453 char *_kwnames
[] = { "parent","text","maxLength","rectBound", NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iO:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
))
2460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2467 #if PYTHON_API_VERSION >= 1009
2468 char* tmpPtr
; int tmpSize
;
2469 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2473 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2475 _arg1
= new wxString(tmpPtr
, tmpSize
);
2477 if (!PyString_Check(_obj1
)) {
2478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2481 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2487 if (! wxRect_helper(_obj3
, &_arg3
))
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) return NULL
;
2497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2498 _resultobj
= Py_BuildValue("s",_ptemp
);
2501 _resultobj
= Py_None
;
2510 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2511 static PyObject
*_wrap_wxTipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2513 wxTipWindow
* _arg0
;
2515 PyObject
* _argo0
= 0;
2517 PyObject
* _obj1
= 0;
2518 char *_kwnames
[] = { "self","rectBound", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipWindow_SetBoundingRect",_kwnames
,&_argo0
,&_obj1
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2532 if (! wxRect_helper(_obj1
, &_arg1
))
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 wxTipWindow_SetBoundingRect(_arg0
,*_arg1
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) return NULL
;
2541 } Py_INCREF(Py_None
);
2542 _resultobj
= Py_None
;
2546 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2547 static PyObject
*_wrap_wxTipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2549 wxTipWindow
* _arg0
;
2550 PyObject
* _argo0
= 0;
2551 char *_kwnames
[] = { "self", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipWindow_Close",_kwnames
,&_argo0
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 wxTipWindow_Close(_arg0
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) return NULL
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 static PyMethodDef windows3cMethods
[] = {
2575 { "wxTipWindow_Close", (PyCFunction
) _wrap_wxTipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
2576 { "wxTipWindow_SetBoundingRect", (PyCFunction
) _wrap_wxTipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
2577 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2578 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
2579 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
2580 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2581 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2582 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2583 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
2584 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2585 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2586 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2587 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2588 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2589 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2590 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2591 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2592 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2593 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2594 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2595 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2596 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2597 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2598 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2599 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2600 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2601 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2602 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2603 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2604 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2605 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2606 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2607 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2608 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2609 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2610 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2611 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2612 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2613 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2614 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2615 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2616 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2617 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2618 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2619 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2620 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2621 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2622 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2623 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2624 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2625 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2626 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2627 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2628 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2629 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2630 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2641 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2642 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2649 * This table is used by the pointer type-checker
2651 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2652 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2653 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2654 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2655 { "_signed_long","_long",0},
2656 { "_wxPrintQuality","_wxCoord",0},
2657 { "_wxPrintQuality","_int",0},
2658 { "_wxPrintQuality","_signed_int",0},
2659 { "_wxPrintQuality","_unsigned_int",0},
2660 { "_wxPrintQuality","_wxWindowID",0},
2661 { "_wxPrintQuality","_uint",0},
2662 { "_wxPrintQuality","_EBool",0},
2663 { "_wxPrintQuality","_size_t",0},
2664 { "_wxPrintQuality","_time_t",0},
2665 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow
},
2666 { "_byte","_unsigned_char",0},
2667 { "_long","_unsigned_long",0},
2668 { "_long","_signed_long",0},
2669 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2670 { "_size_t","_wxCoord",0},
2671 { "_size_t","_wxPrintQuality",0},
2672 { "_size_t","_time_t",0},
2673 { "_size_t","_unsigned_int",0},
2674 { "_size_t","_int",0},
2675 { "_size_t","_wxWindowID",0},
2676 { "_size_t","_uint",0},
2677 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow
},
2678 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
2679 { "_uint","_wxCoord",0},
2680 { "_uint","_wxPrintQuality",0},
2681 { "_uint","_time_t",0},
2682 { "_uint","_size_t",0},
2683 { "_uint","_unsigned_int",0},
2684 { "_uint","_int",0},
2685 { "_uint","_wxWindowID",0},
2686 { "_wxChar","_char",0},
2687 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2688 { "_char","_wxChar",0},
2689 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2690 { "_EBool","_wxCoord",0},
2691 { "_EBool","_wxPrintQuality",0},
2692 { "_EBool","_signed_int",0},
2693 { "_EBool","_int",0},
2694 { "_EBool","_wxWindowID",0},
2695 { "_unsigned_long","_long",0},
2696 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2697 { "_signed_int","_wxCoord",0},
2698 { "_signed_int","_wxPrintQuality",0},
2699 { "_signed_int","_EBool",0},
2700 { "_signed_int","_wxWindowID",0},
2701 { "_signed_int","_int",0},
2702 { "_WXTYPE","_short",0},
2703 { "_WXTYPE","_signed_short",0},
2704 { "_WXTYPE","_unsigned_short",0},
2705 { "_unsigned_short","_WXTYPE",0},
2706 { "_unsigned_short","_short",0},
2707 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2708 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
2709 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
2710 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2711 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2712 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2713 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2714 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2715 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2716 { "_signed_short","_WXTYPE",0},
2717 { "_signed_short","_short",0},
2718 { "_unsigned_char","_byte",0},
2719 { "_unsigned_int","_wxCoord",0},
2720 { "_unsigned_int","_wxPrintQuality",0},
2721 { "_unsigned_int","_time_t",0},
2722 { "_unsigned_int","_size_t",0},
2723 { "_unsigned_int","_uint",0},
2724 { "_unsigned_int","_wxWindowID",0},
2725 { "_unsigned_int","_int",0},
2726 { "_short","_WXTYPE",0},
2727 { "_short","_unsigned_short",0},
2728 { "_short","_signed_short",0},
2729 { "_wxWindowID","_wxCoord",0},
2730 { "_wxWindowID","_wxPrintQuality",0},
2731 { "_wxWindowID","_time_t",0},
2732 { "_wxWindowID","_size_t",0},
2733 { "_wxWindowID","_EBool",0},
2734 { "_wxWindowID","_uint",0},
2735 { "_wxWindowID","_int",0},
2736 { "_wxWindowID","_signed_int",0},
2737 { "_wxWindowID","_unsigned_int",0},
2738 { "_int","_wxCoord",0},
2739 { "_int","_wxPrintQuality",0},
2740 { "_int","_time_t",0},
2741 { "_int","_size_t",0},
2742 { "_int","_EBool",0},
2743 { "_int","_uint",0},
2744 { "_int","_wxWindowID",0},
2745 { "_int","_unsigned_int",0},
2746 { "_int","_signed_int",0},
2747 { "_time_t","_wxCoord",0},
2748 { "_time_t","_wxPrintQuality",0},
2749 { "_time_t","_unsigned_int",0},
2750 { "_time_t","_int",0},
2751 { "_time_t","_wxWindowID",0},
2752 { "_time_t","_uint",0},
2753 { "_time_t","_size_t",0},
2754 { "_wxCoord","_int",0},
2755 { "_wxCoord","_signed_int",0},
2756 { "_wxCoord","_unsigned_int",0},
2757 { "_wxCoord","_wxWindowID",0},
2758 { "_wxCoord","_uint",0},
2759 { "_wxCoord","_EBool",0},
2760 { "_wxCoord","_size_t",0},
2761 { "_wxCoord","_time_t",0},
2762 { "_wxCoord","_wxPrintQuality",0},
2763 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2764 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
2765 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
2766 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2767 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2768 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2769 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
2770 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
2771 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2772 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2775 static PyObject
*SWIG_globals
;
2779 SWIGEXPORT(void) initwindows3c() {
2781 SWIG_globals
= SWIG_newvarlink();
2782 m
= Py_InitModule("windows3c", windows3cMethods
);
2783 d
= PyModule_GetDict(m
);
2784 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2785 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2786 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2787 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2788 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2789 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2790 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2791 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2792 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2793 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2794 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2795 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2796 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2797 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2798 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2799 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2800 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2801 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2802 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2803 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2804 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2807 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2808 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);