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
);
111 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
112 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
116 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
118 wxCommandEvent
*dest
;
119 src
= (wxSashEvent
*) ptr
;
120 dest
= (wxCommandEvent
*) src
;
121 return (void *) dest
;
124 static void *SwigwxSashEventTowxEvent(void *ptr
) {
127 src
= (wxSashEvent
*) ptr
;
128 dest
= (wxEvent
*) src
;
129 return (void *) dest
;
132 static void *SwigwxSashEventTowxObject(void *ptr
) {
135 src
= (wxSashEvent
*) ptr
;
136 dest
= (wxObject
*) src
;
137 return (void *) dest
;
140 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
141 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
143 wxSashEvent
* _result
;
144 int _arg0
= (int ) 0;
145 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
146 char *_kwnames
[] = { "id","edge", NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
154 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
156 wxPyEndAllowThreads(__tstate
);
157 if (PyErr_Occurred()) return NULL
;
159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
160 _resultobj
= Py_BuildValue("s",_ptemp
);
163 _resultobj
= Py_None
;
168 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
169 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
172 wxSashEdgePosition _arg1
;
173 PyObject
* _argo0
= 0;
174 char *_kwnames
[] = { "self","edge", NULL
};
177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
188 wxSashEvent_SetEdge(_arg0
,_arg1
);
190 wxPyEndAllowThreads(__tstate
);
191 if (PyErr_Occurred()) return NULL
;
192 } Py_INCREF(Py_None
);
193 _resultobj
= Py_None
;
197 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
198 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
200 wxSashEdgePosition _result
;
202 PyObject
* _argo0
= 0;
203 char *_kwnames
[] = { "self", NULL
};
206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
217 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
219 wxPyEndAllowThreads(__tstate
);
220 if (PyErr_Occurred()) return NULL
;
221 } _resultobj
= Py_BuildValue("i",_result
);
225 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
226 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
230 PyObject
* _argo0
= 0;
232 PyObject
* _obj1
= 0;
233 char *_kwnames
[] = { "self","rect", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
247 if (! wxRect_helper(_obj1
, &_arg1
))
251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
252 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
254 wxPyEndAllowThreads(__tstate
);
255 if (PyErr_Occurred()) return NULL
;
256 } Py_INCREF(Py_None
);
257 _resultobj
= Py_None
;
261 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
262 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
266 PyObject
* _argo0
= 0;
267 char *_kwnames
[] = { "self", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
282 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
284 wxPyEndAllowThreads(__tstate
);
285 if (PyErr_Occurred()) return NULL
;
286 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
287 _resultobj
= Py_BuildValue("s",_ptemp
);
291 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
292 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
295 wxSashDragStatus _arg1
;
296 PyObject
* _argo0
= 0;
297 char *_kwnames
[] = { "self","status", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
311 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
313 wxPyEndAllowThreads(__tstate
);
314 if (PyErr_Occurred()) return NULL
;
315 } Py_INCREF(Py_None
);
316 _resultobj
= Py_None
;
320 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
321 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
323 wxSashDragStatus _result
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "self", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
340 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
342 wxPyEndAllowThreads(__tstate
);
343 if (PyErr_Occurred()) return NULL
;
344 } _resultobj
= Py_BuildValue("i",_result
);
348 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
351 src
= (wxSashWindow
*) ptr
;
352 dest
= (wxWindow
*) src
;
353 return (void *) dest
;
356 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
359 src
= (wxSashWindow
*) ptr
;
360 dest
= (wxEvtHandler
*) src
;
361 return (void *) dest
;
364 static void *SwigwxSashWindowTowxObject(void *ptr
) {
367 src
= (wxSashWindow
*) ptr
;
368 dest
= (wxObject
*) src
;
369 return (void *) dest
;
372 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
373 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 PyObject
* _resultobj
;
375 wxSashWindow
* _result
;
378 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
379 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
380 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
381 char * _arg5
= (char *) "sashWindow";
382 PyObject
* _argo0
= 0;
384 PyObject
* _obj2
= 0;
386 PyObject
* _obj3
= 0;
387 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
403 if (! wxPoint_helper(_obj2
, &_arg2
))
409 if (! wxSize_helper(_obj3
, &_arg3
))
413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
416 wxPyEndAllowThreads(__tstate
);
417 if (PyErr_Occurred()) return NULL
;
419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
420 _resultobj
= Py_BuildValue("s",_ptemp
);
423 _resultobj
= Py_None
;
428 #define new_wxPreSashWindow() (new wxSashWindow())
429 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
431 wxSashWindow
* _result
;
432 char *_kwnames
[] = { NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
440 _result
= (wxSashWindow
*)new_wxPreSashWindow();
442 wxPyEndAllowThreads(__tstate
);
443 if (PyErr_Occurred()) return NULL
;
445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
446 _resultobj
= Py_BuildValue("s",_ptemp
);
449 _resultobj
= Py_None
;
454 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
455 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
458 wxSashWindow
* _arg0
;
461 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
462 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
463 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
464 char * _arg6
= (char *) "sashWindow";
465 PyObject
* _argo0
= 0;
466 PyObject
* _argo1
= 0;
468 PyObject
* _obj3
= 0;
470 PyObject
* _obj4
= 0;
471 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
493 if (! wxPoint_helper(_obj3
, &_arg3
))
499 if (! wxSize_helper(_obj4
, &_arg4
))
503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
504 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
506 wxPyEndAllowThreads(__tstate
);
507 if (PyErr_Occurred()) return NULL
;
508 } _resultobj
= Py_BuildValue("i",_result
);
512 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
513 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
516 wxSashWindow
* _arg0
;
517 wxSashEdgePosition _arg1
;
518 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "self","edge", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
533 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
535 wxPyEndAllowThreads(__tstate
);
536 if (PyErr_Occurred()) return NULL
;
537 } _resultobj
= Py_BuildValue("i",_result
);
541 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
542 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
545 wxSashWindow
* _arg0
;
546 PyObject
* _argo0
= 0;
547 char *_kwnames
[] = { "self", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
561 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
563 wxPyEndAllowThreads(__tstate
);
564 if (PyErr_Occurred()) return NULL
;
565 } _resultobj
= Py_BuildValue("i",_result
);
569 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
570 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
571 PyObject
* _resultobj
;
573 wxSashWindow
* _arg0
;
574 wxSashEdgePosition _arg1
;
575 PyObject
* _argo0
= 0;
576 char *_kwnames
[] = { "self","edge", NULL
};
579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
590 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
592 wxPyEndAllowThreads(__tstate
);
593 if (PyErr_Occurred()) return NULL
;
594 } _resultobj
= Py_BuildValue("i",_result
);
598 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
599 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
602 wxSashWindow
* _arg0
;
603 PyObject
* _argo0
= 0;
604 char *_kwnames
[] = { "self", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
618 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
620 wxPyEndAllowThreads(__tstate
);
621 if (PyErr_Occurred()) return NULL
;
622 } _resultobj
= Py_BuildValue("i",_result
);
626 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
627 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 wxSashWindow
* _arg0
;
631 PyObject
* _argo0
= 0;
632 char *_kwnames
[] = { "self", NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
646 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
648 wxPyEndAllowThreads(__tstate
);
649 if (PyErr_Occurred()) return NULL
;
650 } _resultobj
= Py_BuildValue("i",_result
);
654 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
655 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
658 wxSashWindow
* _arg0
;
659 PyObject
* _argo0
= 0;
660 char *_kwnames
[] = { "self", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
674 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
676 wxPyEndAllowThreads(__tstate
);
677 if (PyErr_Occurred()) return NULL
;
678 } _resultobj
= Py_BuildValue("i",_result
);
682 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
683 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
686 wxSashWindow
* _arg0
;
687 PyObject
* _argo0
= 0;
688 char *_kwnames
[] = { "self", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
706 } _resultobj
= Py_BuildValue("i",_result
);
710 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
711 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
712 PyObject
* _resultobj
;
714 wxSashWindow
* _arg0
;
715 PyObject
* _argo0
= 0;
716 char *_kwnames
[] = { "self", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
730 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
732 wxPyEndAllowThreads(__tstate
);
733 if (PyErr_Occurred()) return NULL
;
734 } _resultobj
= Py_BuildValue("i",_result
);
738 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
739 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
740 PyObject
* _resultobj
;
742 wxSashWindow
* _arg0
;
743 wxSashEdgePosition _arg1
;
744 PyObject
* _argo0
= 0;
745 char *_kwnames
[] = { "self","edge", NULL
};
748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
759 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
761 wxPyEndAllowThreads(__tstate
);
762 if (PyErr_Occurred()) return NULL
;
763 } _resultobj
= Py_BuildValue("i",_result
);
767 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
768 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
769 PyObject
* _resultobj
;
770 wxSashWindow
* _arg0
;
772 PyObject
* _argo0
= 0;
773 char *_kwnames
[] = { "self","width", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
787 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
789 wxPyEndAllowThreads(__tstate
);
790 if (PyErr_Occurred()) return NULL
;
791 } Py_INCREF(Py_None
);
792 _resultobj
= Py_None
;
796 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
797 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
798 PyObject
* _resultobj
;
799 wxSashWindow
* _arg0
;
801 PyObject
* _argo0
= 0;
802 char *_kwnames
[] = { "self","width", NULL
};
805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
816 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
818 wxPyEndAllowThreads(__tstate
);
819 if (PyErr_Occurred()) return NULL
;
820 } Py_INCREF(Py_None
);
821 _resultobj
= Py_None
;
825 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
826 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
828 wxSashWindow
* _arg0
;
830 PyObject
* _argo0
= 0;
831 char *_kwnames
[] = { "self","min", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
845 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
847 wxPyEndAllowThreads(__tstate
);
848 if (PyErr_Occurred()) return NULL
;
849 } Py_INCREF(Py_None
);
850 _resultobj
= Py_None
;
854 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
855 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
857 wxSashWindow
* _arg0
;
859 PyObject
* _argo0
= 0;
860 char *_kwnames
[] = { "self","min", NULL
};
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
874 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) return NULL
;
878 } Py_INCREF(Py_None
);
879 _resultobj
= Py_None
;
883 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
884 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
885 PyObject
* _resultobj
;
886 wxSashWindow
* _arg0
;
888 PyObject
* _argo0
= 0;
889 char *_kwnames
[] = { "self","min", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
903 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
905 wxPyEndAllowThreads(__tstate
);
906 if (PyErr_Occurred()) return NULL
;
907 } Py_INCREF(Py_None
);
908 _resultobj
= Py_None
;
912 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
913 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
915 wxSashWindow
* _arg0
;
917 PyObject
* _argo0
= 0;
918 char *_kwnames
[] = { "self","min", NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) return NULL
;
936 } Py_INCREF(Py_None
);
937 _resultobj
= Py_None
;
941 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
942 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
944 wxSashWindow
* _arg0
;
945 wxSashEdgePosition _arg1
;
947 PyObject
* _argo0
= 0;
949 char *_kwnames
[] = { "self","edge","visible", NULL
};
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
961 _arg2
= (bool ) tempbool2
;
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) return NULL
;
968 } Py_INCREF(Py_None
);
969 _resultobj
= Py_None
;
973 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
974 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
975 PyObject
* _resultobj
;
976 wxSashWindow
* _arg0
;
977 wxSashEdgePosition _arg1
;
979 PyObject
* _argo0
= 0;
981 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
993 _arg2
= (bool ) tempbool2
;
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) return NULL
;
1000 } Py_INCREF(Py_None
);
1001 _resultobj
= Py_None
;
1005 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1006 wxQueryLayoutInfoEvent
*src
;
1008 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1009 dest
= (wxEvent
*) src
;
1010 return (void *) dest
;
1013 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1014 wxQueryLayoutInfoEvent
*src
;
1016 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1017 dest
= (wxObject
*) src
;
1018 return (void *) dest
;
1021 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1022 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
* _resultobj
;
1024 wxQueryLayoutInfoEvent
* _result
;
1025 wxWindowID _arg0
= (wxWindowID
) 0;
1026 char *_kwnames
[] = { "id", NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1034 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1036 wxPyEndAllowThreads(__tstate
);
1037 if (PyErr_Occurred()) return NULL
;
1039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1040 _resultobj
= Py_BuildValue("s",_ptemp
);
1043 _resultobj
= Py_None
;
1048 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1049 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1051 wxQueryLayoutInfoEvent
* _arg0
;
1053 PyObject
* _argo0
= 0;
1054 char *_kwnames
[] = { "self","length", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) return NULL
;
1072 } Py_INCREF(Py_None
);
1073 _resultobj
= Py_None
;
1077 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1078 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1081 wxQueryLayoutInfoEvent
* _arg0
;
1082 PyObject
* _argo0
= 0;
1083 char *_kwnames
[] = { "self", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1101 } _resultobj
= Py_BuildValue("i",_result
);
1105 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1106 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1108 wxQueryLayoutInfoEvent
* _arg0
;
1110 PyObject
* _argo0
= 0;
1111 char *_kwnames
[] = { "self","flags", NULL
};
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1125 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1127 wxPyEndAllowThreads(__tstate
);
1128 if (PyErr_Occurred()) return NULL
;
1129 } Py_INCREF(Py_None
);
1130 _resultobj
= Py_None
;
1134 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1135 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1138 wxQueryLayoutInfoEvent
* _arg0
;
1139 PyObject
* _argo0
= 0;
1140 char *_kwnames
[] = { "self", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1163 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1165 wxQueryLayoutInfoEvent
* _arg0
;
1167 PyObject
* _argo0
= 0;
1169 PyObject
* _obj1
= 0;
1170 char *_kwnames
[] = { "self","size", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1184 if (! wxSize_helper(_obj1
, &_arg1
))
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) return NULL
;
1193 } Py_INCREF(Py_None
);
1194 _resultobj
= Py_None
;
1198 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1199 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1202 wxQueryLayoutInfoEvent
* _arg0
;
1203 PyObject
* _argo0
= 0;
1204 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1224 _resultobj
= Py_BuildValue("s",_ptemp
);
1228 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1229 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1231 wxQueryLayoutInfoEvent
* _arg0
;
1232 wxLayoutOrientation _arg1
;
1233 PyObject
* _argo0
= 0;
1234 char *_kwnames
[] = { "self","orient", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1258 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1260 wxLayoutOrientation _result
;
1261 wxQueryLayoutInfoEvent
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 char *_kwnames
[] = { "self", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) return NULL
;
1281 } _resultobj
= Py_BuildValue("i",_result
);
1285 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1286 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1288 wxQueryLayoutInfoEvent
* _arg0
;
1289 wxLayoutAlignment _arg1
;
1290 PyObject
* _argo0
= 0;
1291 char *_kwnames
[] = { "self","align", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1309 } Py_INCREF(Py_None
);
1310 _resultobj
= Py_None
;
1314 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1315 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1317 wxLayoutAlignment _result
;
1318 wxQueryLayoutInfoEvent
* _arg0
;
1319 PyObject
* _argo0
= 0;
1320 char *_kwnames
[] = { "self", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1338 } _resultobj
= Py_BuildValue("i",_result
);
1342 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1343 wxCalculateLayoutEvent
*src
;
1345 src
= (wxCalculateLayoutEvent
*) ptr
;
1346 dest
= (wxEvent
*) src
;
1347 return (void *) dest
;
1350 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1351 wxCalculateLayoutEvent
*src
;
1353 src
= (wxCalculateLayoutEvent
*) ptr
;
1354 dest
= (wxObject
*) src
;
1355 return (void *) dest
;
1358 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1359 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1361 wxCalculateLayoutEvent
* _result
;
1362 wxWindowID _arg0
= (wxWindowID
) 0;
1363 char *_kwnames
[] = { "id", NULL
};
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1371 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1373 wxPyEndAllowThreads(__tstate
);
1374 if (PyErr_Occurred()) return NULL
;
1376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1377 _resultobj
= Py_BuildValue("s",_ptemp
);
1380 _resultobj
= Py_None
;
1385 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1386 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1388 wxCalculateLayoutEvent
* _arg0
;
1390 PyObject
* _argo0
= 0;
1391 char *_kwnames
[] = { "self","flags", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 } Py_INCREF(Py_None
);
1410 _resultobj
= Py_None
;
1414 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1415 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
* _resultobj
;
1418 wxCalculateLayoutEvent
* _arg0
;
1419 PyObject
* _argo0
= 0;
1420 char *_kwnames
[] = { "self", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) return NULL
;
1438 } _resultobj
= Py_BuildValue("i",_result
);
1442 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1443 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1445 wxCalculateLayoutEvent
* _arg0
;
1447 PyObject
* _argo0
= 0;
1449 PyObject
* _obj1
= 0;
1450 char *_kwnames
[] = { "self","rect", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1464 if (! wxRect_helper(_obj1
, &_arg1
))
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) return NULL
;
1473 } Py_INCREF(Py_None
);
1474 _resultobj
= Py_None
;
1478 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1479 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 wxCalculateLayoutEvent
* _arg0
;
1483 PyObject
* _argo0
= 0;
1484 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1503 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1504 _resultobj
= Py_BuildValue("s",_ptemp
);
1508 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1509 wxSashLayoutWindow
*src
;
1511 src
= (wxSashLayoutWindow
*) ptr
;
1512 dest
= (wxSashWindow
*) src
;
1513 return (void *) dest
;
1516 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1517 wxSashLayoutWindow
*src
;
1519 src
= (wxSashLayoutWindow
*) ptr
;
1520 dest
= (wxWindow
*) src
;
1521 return (void *) dest
;
1524 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1525 wxSashLayoutWindow
*src
;
1527 src
= (wxSashLayoutWindow
*) ptr
;
1528 dest
= (wxEvtHandler
*) src
;
1529 return (void *) dest
;
1532 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1533 wxSashLayoutWindow
*src
;
1535 src
= (wxSashLayoutWindow
*) ptr
;
1536 dest
= (wxObject
*) src
;
1537 return (void *) dest
;
1540 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1541 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxSashLayoutWindow
* _result
;
1546 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1547 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1548 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1549 char * _arg5
= (char *) "layoutWindow";
1550 PyObject
* _argo0
= 0;
1552 PyObject
* _obj2
= 0;
1554 PyObject
* _obj3
= 0;
1555 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1571 if (! wxPoint_helper(_obj2
, &_arg2
))
1577 if (! wxSize_helper(_obj3
, &_arg3
))
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) return NULL
;
1587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1588 _resultobj
= Py_BuildValue("s",_ptemp
);
1591 _resultobj
= Py_None
;
1596 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1597 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1599 wxSashLayoutWindow
* _result
;
1600 char *_kwnames
[] = { NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) return NULL
;
1613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1614 _resultobj
= Py_BuildValue("s",_ptemp
);
1617 _resultobj
= Py_None
;
1622 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1623 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1626 wxSashLayoutWindow
* _arg0
;
1629 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1630 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1631 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1632 char * _arg6
= (char *) "layoutWindow";
1633 PyObject
* _argo0
= 0;
1634 PyObject
* _argo1
= 0;
1636 PyObject
* _obj3
= 0;
1638 PyObject
* _obj4
= 0;
1639 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1661 if (! wxPoint_helper(_obj3
, &_arg3
))
1667 if (! wxSize_helper(_obj4
, &_arg4
))
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1672 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) return NULL
;
1676 } _resultobj
= Py_BuildValue("i",_result
);
1680 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1681 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1683 wxLayoutAlignment _result
;
1684 wxSashLayoutWindow
* _arg0
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) return NULL
;
1704 } _resultobj
= Py_BuildValue("i",_result
);
1708 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1709 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1711 wxLayoutOrientation _result
;
1712 wxSashLayoutWindow
* _arg0
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1737 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxSashLayoutWindow
* _arg0
;
1740 wxLayoutAlignment _arg1
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","alignment", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1766 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxSashLayoutWindow
* _arg0
;
1770 PyObject
* _argo0
= 0;
1772 PyObject
* _obj1
= 0;
1773 char *_kwnames
[] = { "self","size", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1787 if (! wxSize_helper(_obj1
, &_arg1
))
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) return NULL
;
1796 } Py_INCREF(Py_None
);
1797 _resultobj
= Py_None
;
1801 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1802 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1804 wxSashLayoutWindow
* _arg0
;
1805 wxLayoutOrientation _arg1
;
1806 PyObject
* _argo0
= 0;
1807 char *_kwnames
[] = { "self","orientation", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) return NULL
;
1825 } Py_INCREF(Py_None
);
1826 _resultobj
= Py_None
;
1830 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1831 wxLayoutAlgorithm
*src
;
1833 src
= (wxLayoutAlgorithm
*) ptr
;
1834 dest
= (wxObject
*) src
;
1835 return (void *) dest
;
1838 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1839 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1841 wxLayoutAlgorithm
* _result
;
1842 char *_kwnames
[] = { NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1856 _resultobj
= Py_BuildValue("s",_ptemp
);
1859 _resultobj
= Py_None
;
1864 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1865 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxLayoutAlgorithm
* _arg0
;
1868 PyObject
* _argo0
= 0;
1869 char *_kwnames
[] = { "self", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 delete_wxLayoutAlgorithm(_arg0
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) return NULL
;
1887 } Py_INCREF(Py_None
);
1888 _resultobj
= Py_None
;
1892 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1893 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1896 wxLayoutAlgorithm
* _arg0
;
1897 wxMDIParentFrame
* _arg1
;
1898 wxRect
* _arg2
= (wxRect
*) NULL
;
1899 PyObject
* _argo0
= 0;
1900 PyObject
* _argo1
= 0;
1902 PyObject
* _obj2
= 0;
1903 char *_kwnames
[] = { "self","frame","rect", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1925 if (! wxRect_helper(_obj2
, &_arg2
))
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) return NULL
;
1934 } _resultobj
= Py_BuildValue("i",_result
);
1938 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1939 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1942 wxLayoutAlgorithm
* _arg0
;
1944 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1945 PyObject
* _argo0
= 0;
1946 PyObject
* _argo1
= 0;
1947 PyObject
* _argo2
= 0;
1948 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1968 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1985 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 wxLayoutAlgorithm
* _arg0
;
1990 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1991 PyObject
* _argo0
= 0;
1992 PyObject
* _argo1
= 0;
1993 PyObject
* _argo2
= 0;
1994 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2014 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) return NULL
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 static void *SwigwxPopupWindowTowxWindow(void *ptr
) {
2033 src
= (wxPopupWindow
*) ptr
;
2034 dest
= (wxWindow
*) src
;
2035 return (void *) dest
;
2038 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr
) {
2041 src
= (wxPopupWindow
*) ptr
;
2042 dest
= (wxEvtHandler
*) src
;
2043 return (void *) dest
;
2046 static void *SwigwxPopupWindowTowxObject(void *ptr
) {
2049 src
= (wxPopupWindow
*) ptr
;
2050 dest
= (wxObject
*) src
;
2051 return (void *) dest
;
2054 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2055 static PyObject
*_wrap_new_wxPopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxPopupWindow
* _result
;
2059 int _arg1
= (int ) wxBORDER_NONE
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "parent","flags", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupWindow",_kwnames
,&_argo0
,&_arg1
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) return NULL
;
2081 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2082 _resultobj
= Py_BuildValue("s",_ptemp
);
2085 _resultobj
= Py_None
;
2090 #define new_wxPrePopupWindow() (new wxPopupWindow())
2091 static PyObject
*_wrap_new_wxPrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
* _resultobj
;
2093 wxPopupWindow
* _result
;
2094 char *_kwnames
[] = { NULL
};
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupWindow",_kwnames
))
2101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2102 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2104 wxPyEndAllowThreads(__tstate
);
2105 if (PyErr_Occurred()) return NULL
;
2107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2108 _resultobj
= Py_BuildValue("s",_ptemp
);
2111 _resultobj
= Py_None
;
2116 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2117 static PyObject
*_wrap_wxPopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2120 wxPopupWindow
* _arg0
;
2122 int _arg2
= (int ) wxBORDER_NONE
;
2123 PyObject
* _argo0
= 0;
2124 PyObject
* _argo1
= 0;
2125 char *_kwnames
[] = { "self","parent","flags", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPopupWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2150 } _resultobj
= Py_BuildValue("i",_result
);
2154 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2155 static PyObject
*_wrap_wxPopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2157 wxPopupWindow
* _arg0
;
2160 PyObject
* _argo0
= 0;
2162 PyObject
* _obj1
= 0;
2164 PyObject
* _obj2
= 0;
2165 char *_kwnames
[] = { "self","ptOrigin","size", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupWindow_Position",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2179 if (! wxPoint_helper(_obj1
, &_arg1
))
2184 if (! wxSize_helper(_obj2
, &_arg2
))
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } Py_INCREF(Py_None
);
2194 _resultobj
= Py_None
;
2198 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr
) {
2199 wxPyPopupTransientWindow
*src
;
2200 wxPopupWindow
*dest
;
2201 src
= (wxPyPopupTransientWindow
*) ptr
;
2202 dest
= (wxPopupWindow
*) src
;
2203 return (void *) dest
;
2206 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr
) {
2207 wxPyPopupTransientWindow
*src
;
2209 src
= (wxPyPopupTransientWindow
*) ptr
;
2210 dest
= (wxWindow
*) src
;
2211 return (void *) dest
;
2214 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr
) {
2215 wxPyPopupTransientWindow
*src
;
2217 src
= (wxPyPopupTransientWindow
*) ptr
;
2218 dest
= (wxEvtHandler
*) src
;
2219 return (void *) dest
;
2222 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr
) {
2223 wxPyPopupTransientWindow
*src
;
2225 src
= (wxPyPopupTransientWindow
*) ptr
;
2226 dest
= (wxObject
*) src
;
2227 return (void *) dest
;
2230 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2231 static PyObject
*_wrap_new_wxPopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2233 wxPyPopupTransientWindow
* _result
;
2235 int _arg1
= (int ) wxBORDER_NONE
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "parent","style", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupTransientWindow",_kwnames
,&_argo0
,&_arg1
))
2244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2258 _resultobj
= Py_BuildValue("s",_ptemp
);
2261 _resultobj
= Py_None
;
2266 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2267 static PyObject
*_wrap_new_wxPrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2269 wxPyPopupTransientWindow
* _result
;
2270 char *_kwnames
[] = { NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupTransientWindow",_kwnames
))
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) return NULL
;
2283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2284 _resultobj
= Py_BuildValue("s",_ptemp
);
2287 _resultobj
= Py_None
;
2292 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2293 static PyObject
*_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
* _resultobj
;
2295 wxPyPopupTransientWindow
* _arg0
;
2298 PyObject
* _argo0
= 0;
2299 PyObject
* _obj1
= 0;
2300 PyObject
* _obj2
= 0;
2301 char *_kwnames
[] = { "self","self","_class", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } Py_INCREF(Py_None
);
2326 _resultobj
= Py_None
;
2330 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2331 static PyObject
*_wrap_wxPopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2333 wxPyPopupTransientWindow
* _arg0
;
2334 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2335 PyObject
* _argo0
= 0;
2336 PyObject
* _argo1
= 0;
2337 char *_kwnames
[] = { "self","focus", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPopupTransientWindow_Popup",_kwnames
,&_argo0
,&_argo1
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2367 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2368 static PyObject
*_wrap_wxPopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2370 wxPyPopupTransientWindow
* _arg0
;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPopupTransientWindow_Dismiss",_kwnames
,&_argo0
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 wxPopupTransientWindow_Dismiss(_arg0
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr
) {
2397 wxPyPopupTransientWindow
*dest
;
2398 src
= (wxTipWindow
*) ptr
;
2399 dest
= (wxPyPopupTransientWindow
*) src
;
2400 return (void *) dest
;
2403 static void *SwigwxTipWindowTowxPopupWindow(void *ptr
) {
2405 wxPopupWindow
*dest
;
2406 src
= (wxTipWindow
*) ptr
;
2407 dest
= (wxPopupWindow
*) src
;
2408 return (void *) dest
;
2411 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2414 src
= (wxTipWindow
*) ptr
;
2415 dest
= (wxWindow
*) src
;
2416 return (void *) dest
;
2419 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2422 src
= (wxTipWindow
*) ptr
;
2423 dest
= (wxEvtHandler
*) src
;
2424 return (void *) dest
;
2427 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2430 src
= (wxTipWindow
*) ptr
;
2431 dest
= (wxObject
*) src
;
2432 return (void *) dest
;
2435 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,const wxString
*text
,wxCoord maxLength
,wxRect
*rectBound
) {
2436 wxString tmp
= *text
;
2437 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
2440 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2442 wxTipWindow
* _result
;
2445 wxCoord _arg2
= (wxCoord
) 100;
2446 wxRect
* _arg3
= (wxRect
*) NULL
;
2447 PyObject
* _argo0
= 0;
2448 PyObject
* _obj1
= 0;
2450 PyObject
* _obj3
= 0;
2451 char *_kwnames
[] = { "parent","text","maxLength","rectBound", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iO:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2465 #if PYTHON_API_VERSION >= 1009
2466 char* tmpPtr
; int tmpSize
;
2467 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2471 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2473 _arg1
= new wxString(tmpPtr
, tmpSize
);
2475 if (!PyString_Check(_obj1
)) {
2476 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2479 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2485 if (! wxRect_helper(_obj3
, &_arg3
))
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) return NULL
;
2495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2496 _resultobj
= Py_BuildValue("s",_ptemp
);
2499 _resultobj
= Py_None
;
2508 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2509 static PyObject
*_wrap_wxTipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2511 wxTipWindow
* _arg0
;
2513 PyObject
* _argo0
= 0;
2515 PyObject
* _obj1
= 0;
2516 char *_kwnames
[] = { "self","rectBound", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipWindow_SetBoundingRect",_kwnames
,&_argo0
,&_obj1
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2530 if (! wxRect_helper(_obj1
, &_arg1
))
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 wxTipWindow_SetBoundingRect(_arg0
,*_arg1
);
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) return NULL
;
2539 } Py_INCREF(Py_None
);
2540 _resultobj
= Py_None
;
2544 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2545 static PyObject
*_wrap_wxTipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2547 wxTipWindow
* _arg0
;
2548 PyObject
* _argo0
= 0;
2549 char *_kwnames
[] = { "self", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipWindow_Close",_kwnames
,&_argo0
))
2555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 wxTipWindow_Close(_arg0
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) return NULL
;
2567 } Py_INCREF(Py_None
);
2568 _resultobj
= Py_None
;
2572 static PyMethodDef windows3cMethods
[] = {
2573 { "wxTipWindow_Close", (PyCFunction
) _wrap_wxTipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
2574 { "wxTipWindow_SetBoundingRect", (PyCFunction
) _wrap_wxTipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
2575 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2576 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
2577 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
2578 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2579 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2580 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2581 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
2582 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2583 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2584 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2585 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2586 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2587 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2588 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2589 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2590 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2591 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2592 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2593 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2594 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2595 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2596 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2597 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2598 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2599 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2600 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2601 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2602 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2603 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2604 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2605 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2606 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2607 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2608 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2609 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2610 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2611 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2612 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2613 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2614 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2615 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2616 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2617 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2618 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2619 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2620 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2621 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2622 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2623 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2624 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2625 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2626 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2627 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2628 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2629 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2630 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2647 * This table is used by the pointer type-checker
2649 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2650 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2651 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2652 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2653 { "_signed_long","_long",0},
2654 { "_wxPrintQuality","_wxCoord",0},
2655 { "_wxPrintQuality","_int",0},
2656 { "_wxPrintQuality","_signed_int",0},
2657 { "_wxPrintQuality","_unsigned_int",0},
2658 { "_wxPrintQuality","_wxWindowID",0},
2659 { "_wxPrintQuality","_uint",0},
2660 { "_wxPrintQuality","_EBool",0},
2661 { "_wxPrintQuality","_size_t",0},
2662 { "_wxPrintQuality","_time_t",0},
2663 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow
},
2664 { "_byte","_unsigned_char",0},
2665 { "_long","_unsigned_long",0},
2666 { "_long","_signed_long",0},
2667 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2668 { "_size_t","_wxCoord",0},
2669 { "_size_t","_wxPrintQuality",0},
2670 { "_size_t","_time_t",0},
2671 { "_size_t","_unsigned_int",0},
2672 { "_size_t","_int",0},
2673 { "_size_t","_wxWindowID",0},
2674 { "_size_t","_uint",0},
2675 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow
},
2676 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
2677 { "_uint","_wxCoord",0},
2678 { "_uint","_wxPrintQuality",0},
2679 { "_uint","_time_t",0},
2680 { "_uint","_size_t",0},
2681 { "_uint","_unsigned_int",0},
2682 { "_uint","_int",0},
2683 { "_uint","_wxWindowID",0},
2684 { "_wxChar","_char",0},
2685 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2686 { "_char","_wxChar",0},
2687 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2688 { "_EBool","_wxCoord",0},
2689 { "_EBool","_wxPrintQuality",0},
2690 { "_EBool","_signed_int",0},
2691 { "_EBool","_int",0},
2692 { "_EBool","_wxWindowID",0},
2693 { "_unsigned_long","_long",0},
2694 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2695 { "_signed_int","_wxCoord",0},
2696 { "_signed_int","_wxPrintQuality",0},
2697 { "_signed_int","_EBool",0},
2698 { "_signed_int","_wxWindowID",0},
2699 { "_signed_int","_int",0},
2700 { "_WXTYPE","_short",0},
2701 { "_WXTYPE","_signed_short",0},
2702 { "_WXTYPE","_unsigned_short",0},
2703 { "_unsigned_short","_WXTYPE",0},
2704 { "_unsigned_short","_short",0},
2705 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2706 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
2707 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
2708 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2709 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2710 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2711 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2712 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2713 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2714 { "_signed_short","_WXTYPE",0},
2715 { "_signed_short","_short",0},
2716 { "_unsigned_char","_byte",0},
2717 { "_unsigned_int","_wxCoord",0},
2718 { "_unsigned_int","_wxPrintQuality",0},
2719 { "_unsigned_int","_time_t",0},
2720 { "_unsigned_int","_size_t",0},
2721 { "_unsigned_int","_uint",0},
2722 { "_unsigned_int","_wxWindowID",0},
2723 { "_unsigned_int","_int",0},
2724 { "_short","_WXTYPE",0},
2725 { "_short","_unsigned_short",0},
2726 { "_short","_signed_short",0},
2727 { "_wxWindowID","_wxCoord",0},
2728 { "_wxWindowID","_wxPrintQuality",0},
2729 { "_wxWindowID","_time_t",0},
2730 { "_wxWindowID","_size_t",0},
2731 { "_wxWindowID","_EBool",0},
2732 { "_wxWindowID","_uint",0},
2733 { "_wxWindowID","_int",0},
2734 { "_wxWindowID","_signed_int",0},
2735 { "_wxWindowID","_unsigned_int",0},
2736 { "_int","_wxCoord",0},
2737 { "_int","_wxPrintQuality",0},
2738 { "_int","_time_t",0},
2739 { "_int","_size_t",0},
2740 { "_int","_EBool",0},
2741 { "_int","_uint",0},
2742 { "_int","_wxWindowID",0},
2743 { "_int","_unsigned_int",0},
2744 { "_int","_signed_int",0},
2745 { "_time_t","_wxCoord",0},
2746 { "_time_t","_wxPrintQuality",0},
2747 { "_time_t","_unsigned_int",0},
2748 { "_time_t","_int",0},
2749 { "_time_t","_wxWindowID",0},
2750 { "_time_t","_uint",0},
2751 { "_time_t","_size_t",0},
2752 { "_wxCoord","_int",0},
2753 { "_wxCoord","_signed_int",0},
2754 { "_wxCoord","_unsigned_int",0},
2755 { "_wxCoord","_wxWindowID",0},
2756 { "_wxCoord","_uint",0},
2757 { "_wxCoord","_EBool",0},
2758 { "_wxCoord","_size_t",0},
2759 { "_wxCoord","_time_t",0},
2760 { "_wxCoord","_wxPrintQuality",0},
2761 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2762 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
2763 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
2764 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2765 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2766 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2767 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
2768 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
2769 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2770 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2773 static PyObject
*SWIG_globals
;
2777 SWIGEXPORT(void) initwindows3c() {
2779 SWIG_globals
= SWIG_newvarlink();
2780 m
= Py_InitModule("windows3c", windows3cMethods
);
2781 d
= PyModule_GetDict(m
);
2782 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2783 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2784 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2785 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2786 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2787 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2788 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2789 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2790 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2791 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2792 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2793 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2794 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2795 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2796 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2797 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2798 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2799 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2800 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2801 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2802 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2805 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2806 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);