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>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg
= "String or Unicode type required";
95 static char* wxStringErrorMsg
= "String type required";
98 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
101 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
102 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
103 : wxPopupTransientWindow(parent
, style
) {}
105 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
109 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
114 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
116 wxCommandEvent
*dest
;
117 src
= (wxSashEvent
*) ptr
;
118 dest
= (wxCommandEvent
*) src
;
119 return (void *) dest
;
122 static void *SwigwxSashEventTowxEvent(void *ptr
) {
125 src
= (wxSashEvent
*) ptr
;
126 dest
= (wxEvent
*) src
;
127 return (void *) dest
;
130 static void *SwigwxSashEventTowxObject(void *ptr
) {
133 src
= (wxSashEvent
*) ptr
;
134 dest
= (wxObject
*) src
;
135 return (void *) dest
;
138 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
139 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
141 wxSashEvent
* _result
;
142 int _arg0
= (int ) 0;
143 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
144 char *_kwnames
[] = { "id","edge", NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
151 wxPy_BEGIN_ALLOW_THREADS
;
152 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
154 wxPy_END_ALLOW_THREADS
;
155 if (PyErr_Occurred()) return NULL
;
157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
158 _resultobj
= Py_BuildValue("s",_ptemp
);
161 _resultobj
= Py_None
;
166 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
167 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
170 wxSashEdgePosition _arg1
;
171 PyObject
* _argo0
= 0;
172 char *_kwnames
[] = { "self","edge", NULL
};
175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
185 wxPy_BEGIN_ALLOW_THREADS
;
186 wxSashEvent_SetEdge(_arg0
,_arg1
);
188 wxPy_END_ALLOW_THREADS
;
189 if (PyErr_Occurred()) return NULL
;
190 } Py_INCREF(Py_None
);
191 _resultobj
= Py_None
;
195 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
196 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
198 wxSashEdgePosition _result
;
200 PyObject
* _argo0
= 0;
201 char *_kwnames
[] = { "self", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
214 wxPy_BEGIN_ALLOW_THREADS
;
215 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
217 wxPy_END_ALLOW_THREADS
;
218 if (PyErr_Occurred()) return NULL
;
219 } _resultobj
= Py_BuildValue("i",_result
);
223 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
224 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
228 PyObject
* _argo0
= 0;
230 PyObject
* _obj1
= 0;
231 char *_kwnames
[] = { "self","rect", NULL
};
234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
245 if (! wxRect_helper(_obj1
, &_arg1
))
249 wxPy_BEGIN_ALLOW_THREADS
;
250 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
252 wxPy_END_ALLOW_THREADS
;
253 if (PyErr_Occurred()) return NULL
;
254 } Py_INCREF(Py_None
);
255 _resultobj
= Py_None
;
259 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
260 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
261 PyObject
* _resultobj
;
264 PyObject
* _argo0
= 0;
265 char *_kwnames
[] = { "self", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
282 wxPy_END_ALLOW_THREADS
;
283 if (PyErr_Occurred()) return NULL
;
284 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
289 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
290 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
293 wxSashDragStatus _arg1
;
294 PyObject
* _argo0
= 0;
295 char *_kwnames
[] = { "self","status", NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
308 wxPy_BEGIN_ALLOW_THREADS
;
309 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
311 wxPy_END_ALLOW_THREADS
;
312 if (PyErr_Occurred()) return NULL
;
313 } Py_INCREF(Py_None
);
314 _resultobj
= Py_None
;
318 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
319 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
321 wxSashDragStatus _result
;
323 PyObject
* _argo0
= 0;
324 char *_kwnames
[] = { "self", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
337 wxPy_BEGIN_ALLOW_THREADS
;
338 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
340 wxPy_END_ALLOW_THREADS
;
341 if (PyErr_Occurred()) return NULL
;
342 } _resultobj
= Py_BuildValue("i",_result
);
346 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
349 src
= (wxSashWindow
*) ptr
;
350 dest
= (wxWindow
*) src
;
351 return (void *) dest
;
354 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
357 src
= (wxSashWindow
*) ptr
;
358 dest
= (wxEvtHandler
*) src
;
359 return (void *) dest
;
362 static void *SwigwxSashWindowTowxObject(void *ptr
) {
365 src
= (wxSashWindow
*) ptr
;
366 dest
= (wxObject
*) src
;
367 return (void *) dest
;
370 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
371 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
373 wxSashWindow
* _result
;
376 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
377 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
378 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
379 char * _arg5
= (char *) "sashWindow";
380 PyObject
* _argo0
= 0;
382 PyObject
* _obj2
= 0;
384 PyObject
* _obj3
= 0;
385 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
401 if (! wxPoint_helper(_obj2
, &_arg2
))
407 if (! wxSize_helper(_obj3
, &_arg3
))
411 wxPy_BEGIN_ALLOW_THREADS
;
412 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
414 wxPy_END_ALLOW_THREADS
;
415 if (PyErr_Occurred()) return NULL
;
417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
418 _resultobj
= Py_BuildValue("s",_ptemp
);
421 _resultobj
= Py_None
;
426 #define new_wxPreSashWindow() (new wxSashWindow())
427 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
429 wxSashWindow
* _result
;
430 char *_kwnames
[] = { NULL
};
434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
437 wxPy_BEGIN_ALLOW_THREADS
;
438 _result
= (wxSashWindow
*)new_wxPreSashWindow();
440 wxPy_END_ALLOW_THREADS
;
441 if (PyErr_Occurred()) return NULL
;
443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
444 _resultobj
= Py_BuildValue("s",_ptemp
);
447 _resultobj
= Py_None
;
452 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
453 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
456 wxSashWindow
* _arg0
;
459 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
460 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
461 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
462 char * _arg6
= (char *) "sashWindow";
463 PyObject
* _argo0
= 0;
464 PyObject
* _argo1
= 0;
466 PyObject
* _obj3
= 0;
468 PyObject
* _obj4
= 0;
469 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
491 if (! wxPoint_helper(_obj3
, &_arg3
))
497 if (! wxSize_helper(_obj4
, &_arg4
))
501 wxPy_BEGIN_ALLOW_THREADS
;
502 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
504 wxPy_END_ALLOW_THREADS
;
505 if (PyErr_Occurred()) return NULL
;
506 } _resultobj
= Py_BuildValue("i",_result
);
510 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
511 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
514 wxSashWindow
* _arg0
;
515 wxSashEdgePosition _arg1
;
516 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self","edge", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
530 wxPy_BEGIN_ALLOW_THREADS
;
531 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
533 wxPy_END_ALLOW_THREADS
;
534 if (PyErr_Occurred()) return NULL
;
535 } _resultobj
= Py_BuildValue("i",_result
);
539 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
540 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 wxSashWindow
* _arg0
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
559 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
561 wxPy_END_ALLOW_THREADS
;
562 if (PyErr_Occurred()) return NULL
;
563 } _resultobj
= Py_BuildValue("i",_result
);
567 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
568 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 wxSashWindow
* _arg0
;
572 wxSashEdgePosition _arg1
;
573 PyObject
* _argo0
= 0;
574 char *_kwnames
[] = { "self","edge", NULL
};
577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
587 wxPy_BEGIN_ALLOW_THREADS
;
588 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
590 wxPy_END_ALLOW_THREADS
;
591 if (PyErr_Occurred()) return NULL
;
592 } _resultobj
= Py_BuildValue("i",_result
);
596 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
597 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
598 PyObject
* _resultobj
;
600 wxSashWindow
* _arg0
;
601 PyObject
* _argo0
= 0;
602 char *_kwnames
[] = { "self", NULL
};
605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
615 wxPy_BEGIN_ALLOW_THREADS
;
616 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
618 wxPy_END_ALLOW_THREADS
;
619 if (PyErr_Occurred()) return NULL
;
620 } _resultobj
= Py_BuildValue("i",_result
);
624 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
625 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
628 wxSashWindow
* _arg0
;
629 PyObject
* _argo0
= 0;
630 char *_kwnames
[] = { "self", NULL
};
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
643 wxPy_BEGIN_ALLOW_THREADS
;
644 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
646 wxPy_END_ALLOW_THREADS
;
647 if (PyErr_Occurred()) return NULL
;
648 } _resultobj
= Py_BuildValue("i",_result
);
652 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
653 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
654 PyObject
* _resultobj
;
656 wxSashWindow
* _arg0
;
657 PyObject
* _argo0
= 0;
658 char *_kwnames
[] = { "self", NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
671 wxPy_BEGIN_ALLOW_THREADS
;
672 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
674 wxPy_END_ALLOW_THREADS
;
675 if (PyErr_Occurred()) return NULL
;
676 } _resultobj
= Py_BuildValue("i",_result
);
680 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
681 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 PyObject
* _resultobj
;
684 wxSashWindow
* _arg0
;
685 PyObject
* _argo0
= 0;
686 char *_kwnames
[] = { "self", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
699 wxPy_BEGIN_ALLOW_THREADS
;
700 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
702 wxPy_END_ALLOW_THREADS
;
703 if (PyErr_Occurred()) return NULL
;
704 } _resultobj
= Py_BuildValue("i",_result
);
708 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
709 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 PyObject
* _resultobj
;
712 wxSashWindow
* _arg0
;
713 PyObject
* _argo0
= 0;
714 char *_kwnames
[] = { "self", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
727 wxPy_BEGIN_ALLOW_THREADS
;
728 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
730 wxPy_END_ALLOW_THREADS
;
731 if (PyErr_Occurred()) return NULL
;
732 } _resultobj
= Py_BuildValue("i",_result
);
736 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
737 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 wxSashWindow
* _arg0
;
741 wxSashEdgePosition _arg1
;
742 PyObject
* _argo0
= 0;
743 char *_kwnames
[] = { "self","edge", NULL
};
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
756 wxPy_BEGIN_ALLOW_THREADS
;
757 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
759 wxPy_END_ALLOW_THREADS
;
760 if (PyErr_Occurred()) return NULL
;
761 } _resultobj
= Py_BuildValue("i",_result
);
765 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
766 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
768 wxSashWindow
* _arg0
;
770 PyObject
* _argo0
= 0;
771 char *_kwnames
[] = { "self","width", NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
784 wxPy_BEGIN_ALLOW_THREADS
;
785 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
787 wxPy_END_ALLOW_THREADS
;
788 if (PyErr_Occurred()) return NULL
;
789 } Py_INCREF(Py_None
);
790 _resultobj
= Py_None
;
794 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
795 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
797 wxSashWindow
* _arg0
;
799 PyObject
* _argo0
= 0;
800 char *_kwnames
[] = { "self","width", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
813 wxPy_BEGIN_ALLOW_THREADS
;
814 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
816 wxPy_END_ALLOW_THREADS
;
817 if (PyErr_Occurred()) return NULL
;
818 } Py_INCREF(Py_None
);
819 _resultobj
= Py_None
;
823 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
824 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
825 PyObject
* _resultobj
;
826 wxSashWindow
* _arg0
;
828 PyObject
* _argo0
= 0;
829 char *_kwnames
[] = { "self","min", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
845 wxPy_END_ALLOW_THREADS
;
846 if (PyErr_Occurred()) return NULL
;
847 } Py_INCREF(Py_None
);
848 _resultobj
= Py_None
;
852 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
853 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
855 wxSashWindow
* _arg0
;
857 PyObject
* _argo0
= 0;
858 char *_kwnames
[] = { "self","min", NULL
};
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
871 wxPy_BEGIN_ALLOW_THREADS
;
872 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
874 wxPy_END_ALLOW_THREADS
;
875 if (PyErr_Occurred()) return NULL
;
876 } Py_INCREF(Py_None
);
877 _resultobj
= Py_None
;
881 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
882 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
884 wxSashWindow
* _arg0
;
886 PyObject
* _argo0
= 0;
887 char *_kwnames
[] = { "self","min", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
900 wxPy_BEGIN_ALLOW_THREADS
;
901 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
903 wxPy_END_ALLOW_THREADS
;
904 if (PyErr_Occurred()) return NULL
;
905 } Py_INCREF(Py_None
);
906 _resultobj
= Py_None
;
910 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
911 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
913 wxSashWindow
* _arg0
;
915 PyObject
* _argo0
= 0;
916 char *_kwnames
[] = { "self","min", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
929 wxPy_BEGIN_ALLOW_THREADS
;
930 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
932 wxPy_END_ALLOW_THREADS
;
933 if (PyErr_Occurred()) return NULL
;
934 } Py_INCREF(Py_None
);
935 _resultobj
= Py_None
;
939 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
940 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
941 PyObject
* _resultobj
;
942 wxSashWindow
* _arg0
;
943 wxSashEdgePosition _arg1
;
945 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "self","edge","visible", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
959 _arg2
= (bool ) tempbool2
;
961 wxPy_BEGIN_ALLOW_THREADS
;
962 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
964 wxPy_END_ALLOW_THREADS
;
965 if (PyErr_Occurred()) return NULL
;
966 } Py_INCREF(Py_None
);
967 _resultobj
= Py_None
;
971 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
972 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
974 wxSashWindow
* _arg0
;
975 wxSashEdgePosition _arg1
;
977 PyObject
* _argo0
= 0;
979 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
991 _arg2
= (bool ) tempbool2
;
993 wxPy_BEGIN_ALLOW_THREADS
;
994 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
996 wxPy_END_ALLOW_THREADS
;
997 if (PyErr_Occurred()) return NULL
;
998 } Py_INCREF(Py_None
);
999 _resultobj
= Py_None
;
1003 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1004 wxQueryLayoutInfoEvent
*src
;
1006 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1007 dest
= (wxEvent
*) src
;
1008 return (void *) dest
;
1011 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1012 wxQueryLayoutInfoEvent
*src
;
1014 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1015 dest
= (wxObject
*) src
;
1016 return (void *) dest
;
1019 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1020 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1022 wxQueryLayoutInfoEvent
* _result
;
1023 wxWindowID _arg0
= (wxWindowID
) 0;
1024 char *_kwnames
[] = { "id", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1031 wxPy_BEGIN_ALLOW_THREADS
;
1032 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1034 wxPy_END_ALLOW_THREADS
;
1035 if (PyErr_Occurred()) return NULL
;
1037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1038 _resultobj
= Py_BuildValue("s",_ptemp
);
1041 _resultobj
= Py_None
;
1046 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1047 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1049 wxQueryLayoutInfoEvent
* _arg0
;
1051 PyObject
* _argo0
= 0;
1052 char *_kwnames
[] = { "self","length", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1068 wxPy_END_ALLOW_THREADS
;
1069 if (PyErr_Occurred()) return NULL
;
1070 } Py_INCREF(Py_None
);
1071 _resultobj
= Py_None
;
1075 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1076 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1079 wxQueryLayoutInfoEvent
* _arg0
;
1080 PyObject
* _argo0
= 0;
1081 char *_kwnames
[] = { "self", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1097 wxPy_END_ALLOW_THREADS
;
1098 if (PyErr_Occurred()) return NULL
;
1099 } _resultobj
= Py_BuildValue("i",_result
);
1103 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1104 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1105 PyObject
* _resultobj
;
1106 wxQueryLayoutInfoEvent
* _arg0
;
1108 PyObject
* _argo0
= 0;
1109 char *_kwnames
[] = { "self","flags", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1122 wxPy_BEGIN_ALLOW_THREADS
;
1123 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1125 wxPy_END_ALLOW_THREADS
;
1126 if (PyErr_Occurred()) return NULL
;
1127 } Py_INCREF(Py_None
);
1128 _resultobj
= Py_None
;
1132 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1133 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1136 wxQueryLayoutInfoEvent
* _arg0
;
1137 PyObject
* _argo0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1154 wxPy_END_ALLOW_THREADS
;
1155 if (PyErr_Occurred()) return NULL
;
1156 } _resultobj
= Py_BuildValue("i",_result
);
1160 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1161 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
* _resultobj
;
1163 wxQueryLayoutInfoEvent
* _arg0
;
1165 PyObject
* _argo0
= 0;
1167 PyObject
* _obj1
= 0;
1168 char *_kwnames
[] = { "self","size", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1182 if (! wxSize_helper(_obj1
, &_arg1
))
1186 wxPy_BEGIN_ALLOW_THREADS
;
1187 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1189 wxPy_END_ALLOW_THREADS
;
1190 if (PyErr_Occurred()) return NULL
;
1191 } Py_INCREF(Py_None
);
1192 _resultobj
= Py_None
;
1196 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1197 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1200 wxQueryLayoutInfoEvent
* _arg0
;
1201 PyObject
* _argo0
= 0;
1202 char *_kwnames
[] = { "self", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1219 wxPy_END_ALLOW_THREADS
;
1220 if (PyErr_Occurred()) return NULL
;
1221 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1222 _resultobj
= Py_BuildValue("s",_ptemp
);
1226 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1227 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1229 wxQueryLayoutInfoEvent
* _arg0
;
1230 wxLayoutOrientation _arg1
;
1231 PyObject
* _argo0
= 0;
1232 char *_kwnames
[] = { "self","orient", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1245 wxPy_BEGIN_ALLOW_THREADS
;
1246 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1248 wxPy_END_ALLOW_THREADS
;
1249 if (PyErr_Occurred()) return NULL
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1256 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1258 wxLayoutOrientation _result
;
1259 wxQueryLayoutInfoEvent
* _arg0
;
1260 PyObject
* _argo0
= 0;
1261 char *_kwnames
[] = { "self", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1277 wxPy_END_ALLOW_THREADS
;
1278 if (PyErr_Occurred()) return NULL
;
1279 } _resultobj
= Py_BuildValue("i",_result
);
1283 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1284 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1286 wxQueryLayoutInfoEvent
* _arg0
;
1287 wxLayoutAlignment _arg1
;
1288 PyObject
* _argo0
= 0;
1289 char *_kwnames
[] = { "self","align", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1305 wxPy_END_ALLOW_THREADS
;
1306 if (PyErr_Occurred()) return NULL
;
1307 } Py_INCREF(Py_None
);
1308 _resultobj
= Py_None
;
1312 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1313 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1315 wxLayoutAlignment _result
;
1316 wxQueryLayoutInfoEvent
* _arg0
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "self", NULL
};
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1331 wxPy_BEGIN_ALLOW_THREADS
;
1332 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1334 wxPy_END_ALLOW_THREADS
;
1335 if (PyErr_Occurred()) return NULL
;
1336 } _resultobj
= Py_BuildValue("i",_result
);
1340 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1341 wxCalculateLayoutEvent
*src
;
1343 src
= (wxCalculateLayoutEvent
*) ptr
;
1344 dest
= (wxEvent
*) src
;
1345 return (void *) dest
;
1348 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1349 wxCalculateLayoutEvent
*src
;
1351 src
= (wxCalculateLayoutEvent
*) ptr
;
1352 dest
= (wxObject
*) src
;
1353 return (void *) dest
;
1356 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1357 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1359 wxCalculateLayoutEvent
* _result
;
1360 wxWindowID _arg0
= (wxWindowID
) 0;
1361 char *_kwnames
[] = { "id", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1368 wxPy_BEGIN_ALLOW_THREADS
;
1369 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1371 wxPy_END_ALLOW_THREADS
;
1372 if (PyErr_Occurred()) return NULL
;
1374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1375 _resultobj
= Py_BuildValue("s",_ptemp
);
1378 _resultobj
= Py_None
;
1383 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1384 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1386 wxCalculateLayoutEvent
* _arg0
;
1388 PyObject
* _argo0
= 0;
1389 char *_kwnames
[] = { "self","flags", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1402 wxPy_BEGIN_ALLOW_THREADS
;
1403 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1405 wxPy_END_ALLOW_THREADS
;
1406 if (PyErr_Occurred()) return NULL
;
1407 } Py_INCREF(Py_None
);
1408 _resultobj
= Py_None
;
1412 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1413 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1416 wxCalculateLayoutEvent
* _arg0
;
1417 PyObject
* _argo0
= 0;
1418 char *_kwnames
[] = { "self", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1431 wxPy_BEGIN_ALLOW_THREADS
;
1432 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1434 wxPy_END_ALLOW_THREADS
;
1435 if (PyErr_Occurred()) return NULL
;
1436 } _resultobj
= Py_BuildValue("i",_result
);
1440 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1441 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1443 wxCalculateLayoutEvent
* _arg0
;
1445 PyObject
* _argo0
= 0;
1447 PyObject
* _obj1
= 0;
1448 char *_kwnames
[] = { "self","rect", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1462 if (! wxRect_helper(_obj1
, &_arg1
))
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1469 wxPy_END_ALLOW_THREADS
;
1470 if (PyErr_Occurred()) return NULL
;
1471 } Py_INCREF(Py_None
);
1472 _resultobj
= Py_None
;
1476 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1477 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1480 wxCalculateLayoutEvent
* _arg0
;
1481 PyObject
* _argo0
= 0;
1482 char *_kwnames
[] = { "self", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1499 wxPy_END_ALLOW_THREADS
;
1500 if (PyErr_Occurred()) return NULL
;
1501 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1502 _resultobj
= Py_BuildValue("s",_ptemp
);
1506 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1507 wxSashLayoutWindow
*src
;
1509 src
= (wxSashLayoutWindow
*) ptr
;
1510 dest
= (wxSashWindow
*) src
;
1511 return (void *) dest
;
1514 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1515 wxSashLayoutWindow
*src
;
1517 src
= (wxSashLayoutWindow
*) ptr
;
1518 dest
= (wxWindow
*) src
;
1519 return (void *) dest
;
1522 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1523 wxSashLayoutWindow
*src
;
1525 src
= (wxSashLayoutWindow
*) ptr
;
1526 dest
= (wxEvtHandler
*) src
;
1527 return (void *) dest
;
1530 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1531 wxSashLayoutWindow
*src
;
1533 src
= (wxSashLayoutWindow
*) ptr
;
1534 dest
= (wxObject
*) src
;
1535 return (void *) dest
;
1538 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1539 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1541 wxSashLayoutWindow
* _result
;
1544 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1545 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1546 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1547 char * _arg5
= (char *) "layoutWindow";
1548 PyObject
* _argo0
= 0;
1550 PyObject
* _obj2
= 0;
1552 PyObject
* _obj3
= 0;
1553 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1569 if (! wxPoint_helper(_obj2
, &_arg2
))
1575 if (! wxSize_helper(_obj3
, &_arg3
))
1579 wxPy_BEGIN_ALLOW_THREADS
;
1580 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1582 wxPy_END_ALLOW_THREADS
;
1583 if (PyErr_Occurred()) return NULL
;
1585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1586 _resultobj
= Py_BuildValue("s",_ptemp
);
1589 _resultobj
= Py_None
;
1594 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1595 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1597 wxSashLayoutWindow
* _result
;
1598 char *_kwnames
[] = { NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1608 wxPy_END_ALLOW_THREADS
;
1609 if (PyErr_Occurred()) return NULL
;
1611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1612 _resultobj
= Py_BuildValue("s",_ptemp
);
1615 _resultobj
= Py_None
;
1620 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1621 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1624 wxSashLayoutWindow
* _arg0
;
1627 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1628 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1629 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1630 char * _arg6
= (char *) "layoutWindow";
1631 PyObject
* _argo0
= 0;
1632 PyObject
* _argo1
= 0;
1634 PyObject
* _obj3
= 0;
1636 PyObject
* _obj4
= 0;
1637 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1650 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1659 if (! wxPoint_helper(_obj3
, &_arg3
))
1665 if (! wxSize_helper(_obj4
, &_arg4
))
1669 wxPy_BEGIN_ALLOW_THREADS
;
1670 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1672 wxPy_END_ALLOW_THREADS
;
1673 if (PyErr_Occurred()) return NULL
;
1674 } _resultobj
= Py_BuildValue("i",_result
);
1678 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1679 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1681 wxLayoutAlignment _result
;
1682 wxSashLayoutWindow
* _arg0
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1700 wxPy_END_ALLOW_THREADS
;
1701 if (PyErr_Occurred()) return NULL
;
1702 } _resultobj
= Py_BuildValue("i",_result
);
1706 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1707 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 wxLayoutOrientation _result
;
1710 wxSashLayoutWindow
* _arg0
;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1728 wxPy_END_ALLOW_THREADS
;
1729 if (PyErr_Occurred()) return NULL
;
1730 } _resultobj
= Py_BuildValue("i",_result
);
1734 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1735 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxSashLayoutWindow
* _arg0
;
1738 wxLayoutAlignment _arg1
;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self","alignment", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1756 wxPy_END_ALLOW_THREADS
;
1757 if (PyErr_Occurred()) return NULL
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1763 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1764 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1766 wxSashLayoutWindow
* _arg0
;
1768 PyObject
* _argo0
= 0;
1770 PyObject
* _obj1
= 0;
1771 char *_kwnames
[] = { "self","size", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1785 if (! wxSize_helper(_obj1
, &_arg1
))
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1792 wxPy_END_ALLOW_THREADS
;
1793 if (PyErr_Occurred()) return NULL
;
1794 } Py_INCREF(Py_None
);
1795 _resultobj
= Py_None
;
1799 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1800 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 wxSashLayoutWindow
* _arg0
;
1803 wxLayoutOrientation _arg1
;
1804 PyObject
* _argo0
= 0;
1805 char *_kwnames
[] = { "self","orientation", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1818 wxPy_BEGIN_ALLOW_THREADS
;
1819 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1821 wxPy_END_ALLOW_THREADS
;
1822 if (PyErr_Occurred()) return NULL
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1828 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1829 wxLayoutAlgorithm
*src
;
1831 src
= (wxLayoutAlgorithm
*) ptr
;
1832 dest
= (wxObject
*) src
;
1833 return (void *) dest
;
1836 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1837 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1839 wxLayoutAlgorithm
* _result
;
1840 char *_kwnames
[] = { NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1850 wxPy_END_ALLOW_THREADS
;
1851 if (PyErr_Occurred()) return NULL
;
1853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1854 _resultobj
= Py_BuildValue("s",_ptemp
);
1857 _resultobj
= Py_None
;
1862 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1863 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1865 wxLayoutAlgorithm
* _arg0
;
1866 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 delete_wxLayoutAlgorithm(_arg0
);
1883 wxPy_END_ALLOW_THREADS
;
1884 if (PyErr_Occurred()) return NULL
;
1885 } Py_INCREF(Py_None
);
1886 _resultobj
= Py_None
;
1890 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1891 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1894 wxLayoutAlgorithm
* _arg0
;
1895 wxMDIParentFrame
* _arg1
;
1896 wxRect
* _arg2
= (wxRect
*) NULL
;
1897 PyObject
* _argo0
= 0;
1898 PyObject
* _argo1
= 0;
1900 PyObject
* _obj2
= 0;
1901 char *_kwnames
[] = { "self","frame","rect", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1923 if (! wxRect_helper(_obj2
, &_arg2
))
1927 wxPy_BEGIN_ALLOW_THREADS
;
1928 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1930 wxPy_END_ALLOW_THREADS
;
1931 if (PyErr_Occurred()) return NULL
;
1932 } _resultobj
= Py_BuildValue("i",_result
);
1936 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1937 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1940 wxLayoutAlgorithm
* _arg0
;
1942 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1943 PyObject
* _argo0
= 0;
1944 PyObject
* _argo1
= 0;
1945 PyObject
* _argo2
= 0;
1946 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1966 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1973 wxPy_BEGIN_ALLOW_THREADS
;
1974 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1976 wxPy_END_ALLOW_THREADS
;
1977 if (PyErr_Occurred()) return NULL
;
1978 } _resultobj
= Py_BuildValue("i",_result
);
1982 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1983 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
* _resultobj
;
1986 wxLayoutAlgorithm
* _arg0
;
1988 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1989 PyObject
* _argo0
= 0;
1990 PyObject
* _argo1
= 0;
1991 PyObject
* _argo2
= 0;
1992 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2005 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2012 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2013 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2019 wxPy_BEGIN_ALLOW_THREADS
;
2020 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2022 wxPy_END_ALLOW_THREADS
;
2023 if (PyErr_Occurred()) return NULL
;
2024 } _resultobj
= Py_BuildValue("i",_result
);
2028 static void *SwigwxPopupWindowTowxWindow(void *ptr
) {
2031 src
= (wxPopupWindow
*) ptr
;
2032 dest
= (wxWindow
*) src
;
2033 return (void *) dest
;
2036 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr
) {
2039 src
= (wxPopupWindow
*) ptr
;
2040 dest
= (wxEvtHandler
*) src
;
2041 return (void *) dest
;
2044 static void *SwigwxPopupWindowTowxObject(void *ptr
) {
2047 src
= (wxPopupWindow
*) ptr
;
2048 dest
= (wxObject
*) src
;
2049 return (void *) dest
;
2052 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2053 static PyObject
*_wrap_new_wxPopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2055 wxPopupWindow
* _result
;
2057 int _arg1
= (int ) wxBORDER_NONE
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "parent","flags", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupWindow",_kwnames
,&_argo0
,&_arg1
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2076 wxPy_END_ALLOW_THREADS
;
2077 if (PyErr_Occurred()) return NULL
;
2079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2080 _resultobj
= Py_BuildValue("s",_ptemp
);
2083 _resultobj
= Py_None
;
2088 #define new_wxPrePopupWindow() (new wxPopupWindow())
2089 static PyObject
*_wrap_new_wxPrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
* _resultobj
;
2091 wxPopupWindow
* _result
;
2092 char *_kwnames
[] = { NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupWindow",_kwnames
))
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2102 wxPy_END_ALLOW_THREADS
;
2103 if (PyErr_Occurred()) return NULL
;
2105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2106 _resultobj
= Py_BuildValue("s",_ptemp
);
2109 _resultobj
= Py_None
;
2114 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2115 static PyObject
*_wrap_wxPopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2118 wxPopupWindow
* _arg0
;
2120 int _arg2
= (int ) wxBORDER_NONE
;
2121 PyObject
* _argo0
= 0;
2122 PyObject
* _argo1
= 0;
2123 char *_kwnames
[] = { "self","parent","flags", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPopupWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2146 wxPy_END_ALLOW_THREADS
;
2147 if (PyErr_Occurred()) return NULL
;
2148 } _resultobj
= Py_BuildValue("i",_result
);
2152 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2153 static PyObject
*_wrap_wxPopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2155 wxPopupWindow
* _arg0
;
2158 PyObject
* _argo0
= 0;
2160 PyObject
* _obj1
= 0;
2162 PyObject
* _obj2
= 0;
2163 char *_kwnames
[] = { "self","ptOrigin","size", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupWindow_Position",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2177 if (! wxPoint_helper(_obj1
, &_arg1
))
2182 if (! wxSize_helper(_obj2
, &_arg2
))
2186 wxPy_BEGIN_ALLOW_THREADS
;
2187 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2189 wxPy_END_ALLOW_THREADS
;
2190 if (PyErr_Occurred()) return NULL
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2196 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr
) {
2197 wxPyPopupTransientWindow
*src
;
2198 wxPopupWindow
*dest
;
2199 src
= (wxPyPopupTransientWindow
*) ptr
;
2200 dest
= (wxPopupWindow
*) src
;
2201 return (void *) dest
;
2204 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr
) {
2205 wxPyPopupTransientWindow
*src
;
2207 src
= (wxPyPopupTransientWindow
*) ptr
;
2208 dest
= (wxWindow
*) src
;
2209 return (void *) dest
;
2212 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr
) {
2213 wxPyPopupTransientWindow
*src
;
2215 src
= (wxPyPopupTransientWindow
*) ptr
;
2216 dest
= (wxEvtHandler
*) src
;
2217 return (void *) dest
;
2220 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr
) {
2221 wxPyPopupTransientWindow
*src
;
2223 src
= (wxPyPopupTransientWindow
*) ptr
;
2224 dest
= (wxObject
*) src
;
2225 return (void *) dest
;
2228 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2229 static PyObject
*_wrap_new_wxPopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2231 wxPyPopupTransientWindow
* _result
;
2233 int _arg1
= (int ) wxBORDER_NONE
;
2234 PyObject
* _argo0
= 0;
2235 char *_kwnames
[] = { "parent","style", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupTransientWindow",_kwnames
,&_argo0
,&_arg1
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2249 wxPy_BEGIN_ALLOW_THREADS
;
2250 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2252 wxPy_END_ALLOW_THREADS
;
2253 if (PyErr_Occurred()) return NULL
;
2255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2256 _resultobj
= Py_BuildValue("s",_ptemp
);
2259 _resultobj
= Py_None
;
2264 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2265 static PyObject
*_wrap_new_wxPrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2267 wxPyPopupTransientWindow
* _result
;
2268 char *_kwnames
[] = { NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupTransientWindow",_kwnames
))
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2278 wxPy_END_ALLOW_THREADS
;
2279 if (PyErr_Occurred()) return NULL
;
2281 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2282 _resultobj
= Py_BuildValue("s",_ptemp
);
2285 _resultobj
= Py_None
;
2290 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2291 static PyObject
*_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2293 wxPyPopupTransientWindow
* _arg0
;
2296 PyObject
* _argo0
= 0;
2297 PyObject
* _obj1
= 0;
2298 PyObject
* _obj2
= 0;
2299 char *_kwnames
[] = { "self","self","_class", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2321 wxPy_END_ALLOW_THREADS
;
2322 if (PyErr_Occurred()) return NULL
;
2323 } Py_INCREF(Py_None
);
2324 _resultobj
= Py_None
;
2328 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2329 static PyObject
*_wrap_wxPopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2331 wxPyPopupTransientWindow
* _arg0
;
2332 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2333 PyObject
* _argo0
= 0;
2334 PyObject
* _argo1
= 0;
2335 char *_kwnames
[] = { "self","focus", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPopupTransientWindow_Popup",_kwnames
,&_argo0
,&_argo1
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2358 wxPy_END_ALLOW_THREADS
;
2359 if (PyErr_Occurred()) return NULL
;
2360 } Py_INCREF(Py_None
);
2361 _resultobj
= Py_None
;
2365 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2366 static PyObject
*_wrap_wxPopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
* _resultobj
;
2368 wxPyPopupTransientWindow
* _arg0
;
2369 PyObject
* _argo0
= 0;
2370 char *_kwnames
[] = { "self", NULL
};
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPopupTransientWindow_Dismiss",_kwnames
,&_argo0
))
2376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2383 wxPy_BEGIN_ALLOW_THREADS
;
2384 wxPopupTransientWindow_Dismiss(_arg0
);
2386 wxPy_END_ALLOW_THREADS
;
2387 if (PyErr_Occurred()) return NULL
;
2388 } Py_INCREF(Py_None
);
2389 _resultobj
= Py_None
;
2393 static PyMethodDef windows3cMethods
[] = {
2394 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
2395 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
2396 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2397 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2398 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2399 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
2400 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2401 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2402 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2403 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2404 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2405 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2406 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2407 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2408 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2409 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2410 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2411 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2412 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2413 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2414 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2415 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2416 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2417 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2418 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2419 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2420 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2421 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2422 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2423 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2424 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2425 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2426 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2427 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2428 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2429 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2430 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2431 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2432 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2433 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2434 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2435 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2436 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2437 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2438 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2439 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2440 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2441 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2442 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2443 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2444 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2445 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2446 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2447 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2448 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2449 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2450 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2451 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2452 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2453 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2454 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2455 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2456 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2457 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2458 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2465 * This table is used by the pointer type-checker
2467 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2468 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2469 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2470 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2471 { "_signed_long","_long",0},
2472 { "_wxPrintQuality","_wxCoord",0},
2473 { "_wxPrintQuality","_int",0},
2474 { "_wxPrintQuality","_signed_int",0},
2475 { "_wxPrintQuality","_unsigned_int",0},
2476 { "_wxPrintQuality","_wxWindowID",0},
2477 { "_wxPrintQuality","_uint",0},
2478 { "_wxPrintQuality","_EBool",0},
2479 { "_wxPrintQuality","_size_t",0},
2480 { "_wxPrintQuality","_time_t",0},
2481 { "_byte","_unsigned_char",0},
2482 { "_long","_unsigned_long",0},
2483 { "_long","_signed_long",0},
2484 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2485 { "_size_t","_wxCoord",0},
2486 { "_size_t","_wxPrintQuality",0},
2487 { "_size_t","_time_t",0},
2488 { "_size_t","_unsigned_int",0},
2489 { "_size_t","_int",0},
2490 { "_size_t","_wxWindowID",0},
2491 { "_size_t","_uint",0},
2492 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
2493 { "_uint","_wxCoord",0},
2494 { "_uint","_wxPrintQuality",0},
2495 { "_uint","_time_t",0},
2496 { "_uint","_size_t",0},
2497 { "_uint","_unsigned_int",0},
2498 { "_uint","_int",0},
2499 { "_uint","_wxWindowID",0},
2500 { "_wxChar","_char",0},
2501 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2502 { "_char","_wxChar",0},
2503 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2504 { "_EBool","_wxCoord",0},
2505 { "_EBool","_wxPrintQuality",0},
2506 { "_EBool","_signed_int",0},
2507 { "_EBool","_int",0},
2508 { "_EBool","_wxWindowID",0},
2509 { "_unsigned_long","_long",0},
2510 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2511 { "_signed_int","_wxCoord",0},
2512 { "_signed_int","_wxPrintQuality",0},
2513 { "_signed_int","_EBool",0},
2514 { "_signed_int","_wxWindowID",0},
2515 { "_signed_int","_int",0},
2516 { "_WXTYPE","_short",0},
2517 { "_WXTYPE","_signed_short",0},
2518 { "_WXTYPE","_unsigned_short",0},
2519 { "_unsigned_short","_WXTYPE",0},
2520 { "_unsigned_short","_short",0},
2521 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
2522 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
2523 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2524 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2525 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2526 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2527 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2528 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2529 { "_signed_short","_WXTYPE",0},
2530 { "_signed_short","_short",0},
2531 { "_unsigned_char","_byte",0},
2532 { "_unsigned_int","_wxCoord",0},
2533 { "_unsigned_int","_wxPrintQuality",0},
2534 { "_unsigned_int","_time_t",0},
2535 { "_unsigned_int","_size_t",0},
2536 { "_unsigned_int","_uint",0},
2537 { "_unsigned_int","_wxWindowID",0},
2538 { "_unsigned_int","_int",0},
2539 { "_short","_WXTYPE",0},
2540 { "_short","_unsigned_short",0},
2541 { "_short","_signed_short",0},
2542 { "_wxWindowID","_wxCoord",0},
2543 { "_wxWindowID","_wxPrintQuality",0},
2544 { "_wxWindowID","_time_t",0},
2545 { "_wxWindowID","_size_t",0},
2546 { "_wxWindowID","_EBool",0},
2547 { "_wxWindowID","_uint",0},
2548 { "_wxWindowID","_int",0},
2549 { "_wxWindowID","_signed_int",0},
2550 { "_wxWindowID","_unsigned_int",0},
2551 { "_int","_wxCoord",0},
2552 { "_int","_wxPrintQuality",0},
2553 { "_int","_time_t",0},
2554 { "_int","_size_t",0},
2555 { "_int","_EBool",0},
2556 { "_int","_uint",0},
2557 { "_int","_wxWindowID",0},
2558 { "_int","_unsigned_int",0},
2559 { "_int","_signed_int",0},
2560 { "_time_t","_wxCoord",0},
2561 { "_time_t","_wxPrintQuality",0},
2562 { "_time_t","_unsigned_int",0},
2563 { "_time_t","_int",0},
2564 { "_time_t","_wxWindowID",0},
2565 { "_time_t","_uint",0},
2566 { "_time_t","_size_t",0},
2567 { "_wxCoord","_int",0},
2568 { "_wxCoord","_signed_int",0},
2569 { "_wxCoord","_unsigned_int",0},
2570 { "_wxCoord","_wxWindowID",0},
2571 { "_wxCoord","_uint",0},
2572 { "_wxCoord","_EBool",0},
2573 { "_wxCoord","_size_t",0},
2574 { "_wxCoord","_time_t",0},
2575 { "_wxCoord","_wxPrintQuality",0},
2576 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
2577 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
2578 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2579 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2580 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
2581 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
2582 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2583 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2586 static PyObject
*SWIG_globals
;
2590 SWIGEXPORT(void) initwindows3c() {
2592 SWIG_globals
= SWIG_newvarlink();
2593 m
= Py_InitModule("windows3c", windows3cMethods
);
2594 d
= PyModule_GetDict(m
);
2595 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2596 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2597 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2598 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2599 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2600 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2601 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2602 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2603 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2604 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2605 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2606 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2607 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2608 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2609 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2610 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2611 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2612 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2613 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2614 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2615 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2618 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2619 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);