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 wxPy_BEGIN_ALLOW_THREADS
;
154 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
156 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
188 wxSashEvent_SetEdge(_arg0
,_arg1
);
190 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
217 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
219 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
252 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
254 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
282 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
284 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
311 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
313 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
340 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
342 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
414 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
416 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
440 _result
= (wxSashWindow
*)new_wxPreSashWindow();
442 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
504 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
506 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
533 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
535 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
590 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
592 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
618 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
620 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
648 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
674 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
676 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
702 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
704 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
730 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
732 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
759 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
761 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
787 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
789 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
816 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
818 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
845 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
847 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
874 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
876 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
903 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
905 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
932 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
934 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
964 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
966 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
996 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
998 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1036 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1068 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1070 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1097 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1099 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1125 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1127 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1154 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1156 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1189 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1191 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1219 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1221 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1248 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1250 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1277 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1279 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1305 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1307 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1334 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1336 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1371 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1373 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1405 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1407 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1436 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1469 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1471 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1501 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1582 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1584 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1610 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1672 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1674 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1700 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1702 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1730 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1756 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1758 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1792 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1794 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1821 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1823 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1850 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1852 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1883 delete_wxLayoutAlgorithm(_arg0
);
1885 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1930 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1932 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1978 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2022 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2024 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2076 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2078 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2102 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2104 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2146 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2148 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2189 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2191 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2252 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2254 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2278 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2280 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2321 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2323 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2358 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2360 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
2386 wxPopupTransientWindow_Dismiss(_arg0
);
2388 wxPy_END_ALLOW_THREADS
;
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 #define new_wxTipWindow(_swigarg0,_swigarg1,_swigarg2) (new wxTipWindow(_swigarg0,_swigarg1,_swigarg2))
2436 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2438 wxTipWindow
* _result
;
2441 wxCoord _arg2
= (wxCoord
) 100;
2442 PyObject
* _argo0
= 0;
2443 PyObject
* _obj1
= 0;
2444 char *_kwnames
[] = { "parent","text","maxLength", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2458 #if PYTHON_API_VERSION >= 1009
2459 char* tmpPtr
; int tmpSize
;
2460 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2464 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2466 _arg1
= new wxString(tmpPtr
, tmpSize
);
2468 if (!PyString_Check(_obj1
)) {
2469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2472 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2476 wxPy_BEGIN_ALLOW_THREADS
;
2477 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,*_arg1
,_arg2
);
2479 wxPy_END_ALLOW_THREADS
;
2480 if (PyErr_Occurred()) return NULL
;
2482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2483 _resultobj
= Py_BuildValue("s",_ptemp
);
2486 _resultobj
= Py_None
;
2495 static PyMethodDef windows3cMethods
[] = {
2496 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2497 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
2498 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
2499 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2500 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2501 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2502 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
2503 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2504 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2505 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2506 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2507 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2508 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2509 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2510 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2511 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2512 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2513 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2514 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2515 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2516 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2517 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2518 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2519 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2520 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2521 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2522 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2523 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2524 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2525 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2526 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2527 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2528 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2529 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2530 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2531 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2532 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2533 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2534 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2535 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2536 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2537 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2538 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2539 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2540 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2541 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2542 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2543 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2544 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2545 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2546 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2547 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2548 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2549 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2550 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2551 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2552 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2553 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2554 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2555 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2556 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2557 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2558 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2559 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2560 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2561 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2568 * This table is used by the pointer type-checker
2570 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2571 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2572 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2573 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2574 { "_signed_long","_long",0},
2575 { "_wxPrintQuality","_wxCoord",0},
2576 { "_wxPrintQuality","_int",0},
2577 { "_wxPrintQuality","_signed_int",0},
2578 { "_wxPrintQuality","_unsigned_int",0},
2579 { "_wxPrintQuality","_wxWindowID",0},
2580 { "_wxPrintQuality","_uint",0},
2581 { "_wxPrintQuality","_EBool",0},
2582 { "_wxPrintQuality","_size_t",0},
2583 { "_wxPrintQuality","_time_t",0},
2584 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow
},
2585 { "_byte","_unsigned_char",0},
2586 { "_long","_unsigned_long",0},
2587 { "_long","_signed_long",0},
2588 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2589 { "_size_t","_wxCoord",0},
2590 { "_size_t","_wxPrintQuality",0},
2591 { "_size_t","_time_t",0},
2592 { "_size_t","_unsigned_int",0},
2593 { "_size_t","_int",0},
2594 { "_size_t","_wxWindowID",0},
2595 { "_size_t","_uint",0},
2596 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow
},
2597 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
2598 { "_uint","_wxCoord",0},
2599 { "_uint","_wxPrintQuality",0},
2600 { "_uint","_time_t",0},
2601 { "_uint","_size_t",0},
2602 { "_uint","_unsigned_int",0},
2603 { "_uint","_int",0},
2604 { "_uint","_wxWindowID",0},
2605 { "_wxChar","_char",0},
2606 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2607 { "_char","_wxChar",0},
2608 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2609 { "_EBool","_wxCoord",0},
2610 { "_EBool","_wxPrintQuality",0},
2611 { "_EBool","_signed_int",0},
2612 { "_EBool","_int",0},
2613 { "_EBool","_wxWindowID",0},
2614 { "_unsigned_long","_long",0},
2615 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2616 { "_signed_int","_wxCoord",0},
2617 { "_signed_int","_wxPrintQuality",0},
2618 { "_signed_int","_EBool",0},
2619 { "_signed_int","_wxWindowID",0},
2620 { "_signed_int","_int",0},
2621 { "_WXTYPE","_short",0},
2622 { "_WXTYPE","_signed_short",0},
2623 { "_WXTYPE","_unsigned_short",0},
2624 { "_unsigned_short","_WXTYPE",0},
2625 { "_unsigned_short","_short",0},
2626 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2627 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
2628 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
2629 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2630 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2631 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2632 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2633 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2634 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2635 { "_signed_short","_WXTYPE",0},
2636 { "_signed_short","_short",0},
2637 { "_unsigned_char","_byte",0},
2638 { "_unsigned_int","_wxCoord",0},
2639 { "_unsigned_int","_wxPrintQuality",0},
2640 { "_unsigned_int","_time_t",0},
2641 { "_unsigned_int","_size_t",0},
2642 { "_unsigned_int","_uint",0},
2643 { "_unsigned_int","_wxWindowID",0},
2644 { "_unsigned_int","_int",0},
2645 { "_short","_WXTYPE",0},
2646 { "_short","_unsigned_short",0},
2647 { "_short","_signed_short",0},
2648 { "_wxWindowID","_wxCoord",0},
2649 { "_wxWindowID","_wxPrintQuality",0},
2650 { "_wxWindowID","_time_t",0},
2651 { "_wxWindowID","_size_t",0},
2652 { "_wxWindowID","_EBool",0},
2653 { "_wxWindowID","_uint",0},
2654 { "_wxWindowID","_int",0},
2655 { "_wxWindowID","_signed_int",0},
2656 { "_wxWindowID","_unsigned_int",0},
2657 { "_int","_wxCoord",0},
2658 { "_int","_wxPrintQuality",0},
2659 { "_int","_time_t",0},
2660 { "_int","_size_t",0},
2661 { "_int","_EBool",0},
2662 { "_int","_uint",0},
2663 { "_int","_wxWindowID",0},
2664 { "_int","_unsigned_int",0},
2665 { "_int","_signed_int",0},
2666 { "_time_t","_wxCoord",0},
2667 { "_time_t","_wxPrintQuality",0},
2668 { "_time_t","_unsigned_int",0},
2669 { "_time_t","_int",0},
2670 { "_time_t","_wxWindowID",0},
2671 { "_time_t","_uint",0},
2672 { "_time_t","_size_t",0},
2673 { "_wxCoord","_int",0},
2674 { "_wxCoord","_signed_int",0},
2675 { "_wxCoord","_unsigned_int",0},
2676 { "_wxCoord","_wxWindowID",0},
2677 { "_wxCoord","_uint",0},
2678 { "_wxCoord","_EBool",0},
2679 { "_wxCoord","_size_t",0},
2680 { "_wxCoord","_time_t",0},
2681 { "_wxCoord","_wxPrintQuality",0},
2682 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2683 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
2684 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
2685 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2686 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2687 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2688 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
2689 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
2690 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2691 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2694 static PyObject
*SWIG_globals
;
2698 SWIGEXPORT(void) initwindows3c() {
2700 SWIG_globals
= SWIG_newvarlink();
2701 m
= Py_InitModule("windows3c", windows3cMethods
);
2702 d
= PyModule_GetDict(m
);
2703 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2704 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2705 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2706 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2707 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2708 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2709 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2710 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2711 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2712 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2713 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2714 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2715 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2716 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2717 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2718 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2719 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2720 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2721 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2722 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2723 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2726 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2727 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);