2 * FILE : src/msw/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>
61 #include <wx/popupwin.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 #if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg
= "String or Unicode type required";
93 static char* wxStringErrorMsg
= "String type required";
96 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
99 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
100 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
101 : wxPopupTransientWindow(parent
, style
) {}
103 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
107 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
112 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
114 wxCommandEvent
*dest
;
115 src
= (wxSashEvent
*) ptr
;
116 dest
= (wxCommandEvent
*) src
;
117 return (void *) dest
;
120 static void *SwigwxSashEventTowxEvent(void *ptr
) {
123 src
= (wxSashEvent
*) ptr
;
124 dest
= (wxEvent
*) src
;
125 return (void *) dest
;
128 static void *SwigwxSashEventTowxObject(void *ptr
) {
131 src
= (wxSashEvent
*) ptr
;
132 dest
= (wxObject
*) src
;
133 return (void *) dest
;
136 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
137 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
138 PyObject
* _resultobj
;
139 wxSashEvent
* _result
;
140 int _arg0
= (int ) 0;
141 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
142 char *_kwnames
[] = { "id","edge", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
149 wxPy_BEGIN_ALLOW_THREADS
;
150 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
152 wxPy_END_ALLOW_THREADS
;
153 if (PyErr_Occurred()) return NULL
;
155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
156 _resultobj
= Py_BuildValue("s",_ptemp
);
159 _resultobj
= Py_None
;
164 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
165 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
166 PyObject
* _resultobj
;
168 wxSashEdgePosition _arg1
;
169 PyObject
* _argo0
= 0;
170 char *_kwnames
[] = { "self","edge", NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
183 wxPy_BEGIN_ALLOW_THREADS
;
184 wxSashEvent_SetEdge(_arg0
,_arg1
);
186 wxPy_END_ALLOW_THREADS
;
187 if (PyErr_Occurred()) return NULL
;
188 } Py_INCREF(Py_None
);
189 _resultobj
= Py_None
;
193 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
194 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
196 wxSashEdgePosition _result
;
198 PyObject
* _argo0
= 0;
199 char *_kwnames
[] = { "self", NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
212 wxPy_BEGIN_ALLOW_THREADS
;
213 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
215 wxPy_END_ALLOW_THREADS
;
216 if (PyErr_Occurred()) return NULL
;
217 } _resultobj
= Py_BuildValue("i",_result
);
221 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
222 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
226 PyObject
* _argo0
= 0;
228 PyObject
* _obj1
= 0;
229 char *_kwnames
[] = { "self","rect", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
243 if (! wxRect_helper(_obj1
, &_arg1
))
247 wxPy_BEGIN_ALLOW_THREADS
;
248 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
250 wxPy_END_ALLOW_THREADS
;
251 if (PyErr_Occurred()) return NULL
;
252 } Py_INCREF(Py_None
);
253 _resultobj
= Py_None
;
257 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
258 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
262 PyObject
* _argo0
= 0;
263 char *_kwnames
[] = { "self", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
277 wxPy_BEGIN_ALLOW_THREADS
;
278 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
280 wxPy_END_ALLOW_THREADS
;
281 if (PyErr_Occurred()) return NULL
;
282 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
283 _resultobj
= Py_BuildValue("s",_ptemp
);
287 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
288 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
289 PyObject
* _resultobj
;
291 wxSashDragStatus _arg1
;
292 PyObject
* _argo0
= 0;
293 char *_kwnames
[] = { "self","status", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
306 wxPy_BEGIN_ALLOW_THREADS
;
307 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
309 wxPy_END_ALLOW_THREADS
;
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
317 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxSashDragStatus _result
;
321 PyObject
* _argo0
= 0;
322 char *_kwnames
[] = { "self", NULL
};
325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
335 wxPy_BEGIN_ALLOW_THREADS
;
336 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
338 wxPy_END_ALLOW_THREADS
;
339 if (PyErr_Occurred()) return NULL
;
340 } _resultobj
= Py_BuildValue("i",_result
);
344 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
347 src
= (wxSashWindow
*) ptr
;
348 dest
= (wxWindow
*) src
;
349 return (void *) dest
;
352 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
355 src
= (wxSashWindow
*) ptr
;
356 dest
= (wxEvtHandler
*) src
;
357 return (void *) dest
;
360 static void *SwigwxSashWindowTowxObject(void *ptr
) {
363 src
= (wxSashWindow
*) ptr
;
364 dest
= (wxObject
*) src
;
365 return (void *) dest
;
368 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
369 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxSashWindow
* _result
;
374 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
375 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
376 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
377 char * _arg5
= (char *) "sashWindow";
378 PyObject
* _argo0
= 0;
380 PyObject
* _obj2
= 0;
382 PyObject
* _obj3
= 0;
383 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
399 if (! wxPoint_helper(_obj2
, &_arg2
))
405 if (! wxSize_helper(_obj3
, &_arg3
))
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
412 wxPy_END_ALLOW_THREADS
;
413 if (PyErr_Occurred()) return NULL
;
415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
416 _resultobj
= Py_BuildValue("s",_ptemp
);
419 _resultobj
= Py_None
;
424 #define new_wxPreSashWindow() (new wxSashWindow())
425 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
427 wxSashWindow
* _result
;
428 char *_kwnames
[] = { NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (wxSashWindow
*)new_wxPreSashWindow();
438 wxPy_END_ALLOW_THREADS
;
439 if (PyErr_Occurred()) return NULL
;
441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
442 _resultobj
= Py_BuildValue("s",_ptemp
);
445 _resultobj
= Py_None
;
450 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
451 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
454 wxSashWindow
* _arg0
;
457 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
458 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
459 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
460 char * _arg6
= (char *) "sashWindow";
461 PyObject
* _argo0
= 0;
462 PyObject
* _argo1
= 0;
464 PyObject
* _obj3
= 0;
466 PyObject
* _obj4
= 0;
467 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
489 if (! wxPoint_helper(_obj3
, &_arg3
))
495 if (! wxSize_helper(_obj4
, &_arg4
))
499 wxPy_BEGIN_ALLOW_THREADS
;
500 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
502 wxPy_END_ALLOW_THREADS
;
503 if (PyErr_Occurred()) return NULL
;
504 } _resultobj
= Py_BuildValue("i",_result
);
508 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
509 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
512 wxSashWindow
* _arg0
;
513 wxSashEdgePosition _arg1
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self","edge", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
528 wxPy_BEGIN_ALLOW_THREADS
;
529 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
531 wxPy_END_ALLOW_THREADS
;
532 if (PyErr_Occurred()) return NULL
;
533 } _resultobj
= Py_BuildValue("i",_result
);
537 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
538 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
541 wxSashWindow
* _arg0
;
542 PyObject
* _argo0
= 0;
543 char *_kwnames
[] = { "self", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
556 wxPy_BEGIN_ALLOW_THREADS
;
557 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
559 wxPy_END_ALLOW_THREADS
;
560 if (PyErr_Occurred()) return NULL
;
561 } _resultobj
= Py_BuildValue("i",_result
);
565 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
566 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 PyObject
* _resultobj
;
569 wxSashWindow
* _arg0
;
570 wxSashEdgePosition _arg1
;
571 PyObject
* _argo0
= 0;
572 char *_kwnames
[] = { "self","edge", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
585 wxPy_BEGIN_ALLOW_THREADS
;
586 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
588 wxPy_END_ALLOW_THREADS
;
589 if (PyErr_Occurred()) return NULL
;
590 } _resultobj
= Py_BuildValue("i",_result
);
594 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
595 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
598 wxSashWindow
* _arg0
;
599 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
613 wxPy_BEGIN_ALLOW_THREADS
;
614 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
616 wxPy_END_ALLOW_THREADS
;
617 if (PyErr_Occurred()) return NULL
;
618 } _resultobj
= Py_BuildValue("i",_result
);
622 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
623 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
626 wxSashWindow
* _arg0
;
627 PyObject
* _argo0
= 0;
628 char *_kwnames
[] = { "self", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
641 wxPy_BEGIN_ALLOW_THREADS
;
642 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
644 wxPy_END_ALLOW_THREADS
;
645 if (PyErr_Occurred()) return NULL
;
646 } _resultobj
= Py_BuildValue("i",_result
);
650 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
651 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
654 wxSashWindow
* _arg0
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
672 wxPy_END_ALLOW_THREADS
;
673 if (PyErr_Occurred()) return NULL
;
674 } _resultobj
= Py_BuildValue("i",_result
);
678 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
679 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
682 wxSashWindow
* _arg0
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
697 wxPy_BEGIN_ALLOW_THREADS
;
698 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
700 wxPy_END_ALLOW_THREADS
;
701 if (PyErr_Occurred()) return NULL
;
702 } _resultobj
= Py_BuildValue("i",_result
);
706 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
707 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
710 wxSashWindow
* _arg0
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
725 wxPy_BEGIN_ALLOW_THREADS
;
726 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
728 wxPy_END_ALLOW_THREADS
;
729 if (PyErr_Occurred()) return NULL
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
735 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
738 wxSashWindow
* _arg0
;
739 wxSashEdgePosition _arg1
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self","edge", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
757 wxPy_END_ALLOW_THREADS
;
758 if (PyErr_Occurred()) return NULL
;
759 } _resultobj
= Py_BuildValue("i",_result
);
763 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
764 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
766 wxSashWindow
* _arg0
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self","width", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
782 wxPy_BEGIN_ALLOW_THREADS
;
783 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
785 wxPy_END_ALLOW_THREADS
;
786 if (PyErr_Occurred()) return NULL
;
787 } Py_INCREF(Py_None
);
788 _resultobj
= Py_None
;
792 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
793 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
795 wxSashWindow
* _arg0
;
797 PyObject
* _argo0
= 0;
798 char *_kwnames
[] = { "self","width", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
811 wxPy_BEGIN_ALLOW_THREADS
;
812 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
814 wxPy_END_ALLOW_THREADS
;
815 if (PyErr_Occurred()) return NULL
;
816 } Py_INCREF(Py_None
);
817 _resultobj
= Py_None
;
821 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
822 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
824 wxSashWindow
* _arg0
;
826 PyObject
* _argo0
= 0;
827 char *_kwnames
[] = { "self","min", NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
840 wxPy_BEGIN_ALLOW_THREADS
;
841 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
843 wxPy_END_ALLOW_THREADS
;
844 if (PyErr_Occurred()) return NULL
;
845 } Py_INCREF(Py_None
);
846 _resultobj
= Py_None
;
850 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
851 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 PyObject
* _resultobj
;
853 wxSashWindow
* _arg0
;
855 PyObject
* _argo0
= 0;
856 char *_kwnames
[] = { "self","min", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
869 wxPy_BEGIN_ALLOW_THREADS
;
870 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
872 wxPy_END_ALLOW_THREADS
;
873 if (PyErr_Occurred()) return NULL
;
874 } Py_INCREF(Py_None
);
875 _resultobj
= Py_None
;
879 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
880 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
882 wxSashWindow
* _arg0
;
884 PyObject
* _argo0
= 0;
885 char *_kwnames
[] = { "self","min", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
898 wxPy_BEGIN_ALLOW_THREADS
;
899 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
901 wxPy_END_ALLOW_THREADS
;
902 if (PyErr_Occurred()) return NULL
;
903 } Py_INCREF(Py_None
);
904 _resultobj
= Py_None
;
908 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
909 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
911 wxSashWindow
* _arg0
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self","min", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
927 wxPy_BEGIN_ALLOW_THREADS
;
928 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
930 wxPy_END_ALLOW_THREADS
;
931 if (PyErr_Occurred()) return NULL
;
932 } Py_INCREF(Py_None
);
933 _resultobj
= Py_None
;
937 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
938 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
940 wxSashWindow
* _arg0
;
941 wxSashEdgePosition _arg1
;
943 PyObject
* _argo0
= 0;
945 char *_kwnames
[] = { "self","edge","visible", NULL
};
948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
957 _arg2
= (bool ) tempbool2
;
959 wxPy_BEGIN_ALLOW_THREADS
;
960 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
962 wxPy_END_ALLOW_THREADS
;
963 if (PyErr_Occurred()) return NULL
;
964 } Py_INCREF(Py_None
);
965 _resultobj
= Py_None
;
969 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
970 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
972 wxSashWindow
* _arg0
;
973 wxSashEdgePosition _arg1
;
975 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
989 _arg2
= (bool ) tempbool2
;
991 wxPy_BEGIN_ALLOW_THREADS
;
992 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
994 wxPy_END_ALLOW_THREADS
;
995 if (PyErr_Occurred()) return NULL
;
996 } Py_INCREF(Py_None
);
997 _resultobj
= Py_None
;
1001 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1002 wxQueryLayoutInfoEvent
*src
;
1004 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1005 dest
= (wxEvent
*) src
;
1006 return (void *) dest
;
1009 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1010 wxQueryLayoutInfoEvent
*src
;
1012 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1013 dest
= (wxObject
*) src
;
1014 return (void *) dest
;
1017 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1018 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1020 wxQueryLayoutInfoEvent
* _result
;
1021 wxWindowID _arg0
= (wxWindowID
) 0;
1022 char *_kwnames
[] = { "id", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1029 wxPy_BEGIN_ALLOW_THREADS
;
1030 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1032 wxPy_END_ALLOW_THREADS
;
1033 if (PyErr_Occurred()) return NULL
;
1035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1036 _resultobj
= Py_BuildValue("s",_ptemp
);
1039 _resultobj
= Py_None
;
1044 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1045 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1047 wxQueryLayoutInfoEvent
* _arg0
;
1049 PyObject
* _argo0
= 0;
1050 char *_kwnames
[] = { "self","length", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1066 wxPy_END_ALLOW_THREADS
;
1067 if (PyErr_Occurred()) return NULL
;
1068 } Py_INCREF(Py_None
);
1069 _resultobj
= Py_None
;
1073 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1074 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1077 wxQueryLayoutInfoEvent
* _arg0
;
1078 PyObject
* _argo0
= 0;
1079 char *_kwnames
[] = { "self", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1095 wxPy_END_ALLOW_THREADS
;
1096 if (PyErr_Occurred()) return NULL
;
1097 } _resultobj
= Py_BuildValue("i",_result
);
1101 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1102 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1104 wxQueryLayoutInfoEvent
* _arg0
;
1106 PyObject
* _argo0
= 0;
1107 char *_kwnames
[] = { "self","flags", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1120 wxPy_BEGIN_ALLOW_THREADS
;
1121 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1123 wxPy_END_ALLOW_THREADS
;
1124 if (PyErr_Occurred()) return NULL
;
1125 } Py_INCREF(Py_None
);
1126 _resultobj
= Py_None
;
1130 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1131 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
* _resultobj
;
1134 wxQueryLayoutInfoEvent
* _arg0
;
1135 PyObject
* _argo0
= 0;
1136 char *_kwnames
[] = { "self", NULL
};
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1149 wxPy_BEGIN_ALLOW_THREADS
;
1150 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1152 wxPy_END_ALLOW_THREADS
;
1153 if (PyErr_Occurred()) return NULL
;
1154 } _resultobj
= Py_BuildValue("i",_result
);
1158 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1159 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxQueryLayoutInfoEvent
* _arg0
;
1163 PyObject
* _argo0
= 0;
1165 PyObject
* _obj1
= 0;
1166 char *_kwnames
[] = { "self","size", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1180 if (! wxSize_helper(_obj1
, &_arg1
))
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1187 wxPy_END_ALLOW_THREADS
;
1188 if (PyErr_Occurred()) return NULL
;
1189 } Py_INCREF(Py_None
);
1190 _resultobj
= Py_None
;
1194 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1195 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1198 wxQueryLayoutInfoEvent
* _arg0
;
1199 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self", NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1217 wxPy_END_ALLOW_THREADS
;
1218 if (PyErr_Occurred()) return NULL
;
1219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1220 _resultobj
= Py_BuildValue("s",_ptemp
);
1224 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1225 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1227 wxQueryLayoutInfoEvent
* _arg0
;
1228 wxLayoutOrientation _arg1
;
1229 PyObject
* _argo0
= 0;
1230 char *_kwnames
[] = { "self","orient", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1246 wxPy_END_ALLOW_THREADS
;
1247 if (PyErr_Occurred()) return NULL
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1254 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1256 wxLayoutOrientation _result
;
1257 wxQueryLayoutInfoEvent
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 char *_kwnames
[] = { "self", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1275 wxPy_END_ALLOW_THREADS
;
1276 if (PyErr_Occurred()) return NULL
;
1277 } _resultobj
= Py_BuildValue("i",_result
);
1281 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1282 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1284 wxQueryLayoutInfoEvent
* _arg0
;
1285 wxLayoutAlignment _arg1
;
1286 PyObject
* _argo0
= 0;
1287 char *_kwnames
[] = { "self","align", NULL
};
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1300 wxPy_BEGIN_ALLOW_THREADS
;
1301 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1303 wxPy_END_ALLOW_THREADS
;
1304 if (PyErr_Occurred()) return NULL
;
1305 } Py_INCREF(Py_None
);
1306 _resultobj
= Py_None
;
1310 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1311 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1313 wxLayoutAlignment _result
;
1314 wxQueryLayoutInfoEvent
* _arg0
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1332 wxPy_END_ALLOW_THREADS
;
1333 if (PyErr_Occurred()) return NULL
;
1334 } _resultobj
= Py_BuildValue("i",_result
);
1338 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1339 wxCalculateLayoutEvent
*src
;
1341 src
= (wxCalculateLayoutEvent
*) ptr
;
1342 dest
= (wxEvent
*) src
;
1343 return (void *) dest
;
1346 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1347 wxCalculateLayoutEvent
*src
;
1349 src
= (wxCalculateLayoutEvent
*) ptr
;
1350 dest
= (wxObject
*) src
;
1351 return (void *) dest
;
1354 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1355 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxCalculateLayoutEvent
* _result
;
1358 wxWindowID _arg0
= (wxWindowID
) 0;
1359 char *_kwnames
[] = { "id", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1366 wxPy_BEGIN_ALLOW_THREADS
;
1367 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1369 wxPy_END_ALLOW_THREADS
;
1370 if (PyErr_Occurred()) return NULL
;
1372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1373 _resultobj
= Py_BuildValue("s",_ptemp
);
1376 _resultobj
= Py_None
;
1381 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1382 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
* _resultobj
;
1384 wxCalculateLayoutEvent
* _arg0
;
1386 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self","flags", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1403 wxPy_END_ALLOW_THREADS
;
1404 if (PyErr_Occurred()) return NULL
;
1405 } Py_INCREF(Py_None
);
1406 _resultobj
= Py_None
;
1410 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1411 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1414 wxCalculateLayoutEvent
* _arg0
;
1415 PyObject
* _argo0
= 0;
1416 char *_kwnames
[] = { "self", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1432 wxPy_END_ALLOW_THREADS
;
1433 if (PyErr_Occurred()) return NULL
;
1434 } _resultobj
= Py_BuildValue("i",_result
);
1438 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1439 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1441 wxCalculateLayoutEvent
* _arg0
;
1443 PyObject
* _argo0
= 0;
1445 PyObject
* _obj1
= 0;
1446 char *_kwnames
[] = { "self","rect", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1460 if (! wxRect_helper(_obj1
, &_arg1
))
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1467 wxPy_END_ALLOW_THREADS
;
1468 if (PyErr_Occurred()) return NULL
;
1469 } Py_INCREF(Py_None
);
1470 _resultobj
= Py_None
;
1474 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1475 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1478 wxCalculateLayoutEvent
* _arg0
;
1479 PyObject
* _argo0
= 0;
1480 char *_kwnames
[] = { "self", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1494 wxPy_BEGIN_ALLOW_THREADS
;
1495 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1497 wxPy_END_ALLOW_THREADS
;
1498 if (PyErr_Occurred()) return NULL
;
1499 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1500 _resultobj
= Py_BuildValue("s",_ptemp
);
1504 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1505 wxSashLayoutWindow
*src
;
1507 src
= (wxSashLayoutWindow
*) ptr
;
1508 dest
= (wxSashWindow
*) src
;
1509 return (void *) dest
;
1512 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1513 wxSashLayoutWindow
*src
;
1515 src
= (wxSashLayoutWindow
*) ptr
;
1516 dest
= (wxWindow
*) src
;
1517 return (void *) dest
;
1520 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1521 wxSashLayoutWindow
*src
;
1523 src
= (wxSashLayoutWindow
*) ptr
;
1524 dest
= (wxEvtHandler
*) src
;
1525 return (void *) dest
;
1528 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1529 wxSashLayoutWindow
*src
;
1531 src
= (wxSashLayoutWindow
*) ptr
;
1532 dest
= (wxObject
*) src
;
1533 return (void *) dest
;
1536 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1537 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1539 wxSashLayoutWindow
* _result
;
1542 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1543 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1544 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1545 char * _arg5
= (char *) "layoutWindow";
1546 PyObject
* _argo0
= 0;
1548 PyObject
* _obj2
= 0;
1550 PyObject
* _obj3
= 0;
1551 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1567 if (! wxPoint_helper(_obj2
, &_arg2
))
1573 if (! wxSize_helper(_obj3
, &_arg3
))
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1580 wxPy_END_ALLOW_THREADS
;
1581 if (PyErr_Occurred()) return NULL
;
1583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1584 _resultobj
= Py_BuildValue("s",_ptemp
);
1587 _resultobj
= Py_None
;
1592 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1593 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
* _resultobj
;
1595 wxSashLayoutWindow
* _result
;
1596 char *_kwnames
[] = { NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1606 wxPy_END_ALLOW_THREADS
;
1607 if (PyErr_Occurred()) return NULL
;
1609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1610 _resultobj
= Py_BuildValue("s",_ptemp
);
1613 _resultobj
= Py_None
;
1618 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1619 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1622 wxSashLayoutWindow
* _arg0
;
1625 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1626 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1627 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1628 char * _arg6
= (char *) "layoutWindow";
1629 PyObject
* _argo0
= 0;
1630 PyObject
* _argo1
= 0;
1632 PyObject
* _obj3
= 0;
1634 PyObject
* _obj4
= 0;
1635 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1657 if (! wxPoint_helper(_obj3
, &_arg3
))
1663 if (! wxSize_helper(_obj4
, &_arg4
))
1667 wxPy_BEGIN_ALLOW_THREADS
;
1668 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1670 wxPy_END_ALLOW_THREADS
;
1671 if (PyErr_Occurred()) return NULL
;
1672 } _resultobj
= Py_BuildValue("i",_result
);
1676 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1677 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1679 wxLayoutAlignment _result
;
1680 wxSashLayoutWindow
* _arg0
;
1681 PyObject
* _argo0
= 0;
1682 char *_kwnames
[] = { "self", NULL
};
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1698 wxPy_END_ALLOW_THREADS
;
1699 if (PyErr_Occurred()) return NULL
;
1700 } _resultobj
= Py_BuildValue("i",_result
);
1704 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1705 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1707 wxLayoutOrientation _result
;
1708 wxSashLayoutWindow
* _arg0
;
1709 PyObject
* _argo0
= 0;
1710 char *_kwnames
[] = { "self", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1726 wxPy_END_ALLOW_THREADS
;
1727 if (PyErr_Occurred()) return NULL
;
1728 } _resultobj
= Py_BuildValue("i",_result
);
1732 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1733 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1735 wxSashLayoutWindow
* _arg0
;
1736 wxLayoutAlignment _arg1
;
1737 PyObject
* _argo0
= 0;
1738 char *_kwnames
[] = { "self","alignment", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1754 wxPy_END_ALLOW_THREADS
;
1755 if (PyErr_Occurred()) return NULL
;
1756 } Py_INCREF(Py_None
);
1757 _resultobj
= Py_None
;
1761 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1762 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1764 wxSashLayoutWindow
* _arg0
;
1766 PyObject
* _argo0
= 0;
1768 PyObject
* _obj1
= 0;
1769 char *_kwnames
[] = { "self","size", NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1783 if (! wxSize_helper(_obj1
, &_arg1
))
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
1790 wxPy_END_ALLOW_THREADS
;
1791 if (PyErr_Occurred()) return NULL
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1798 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1800 wxSashLayoutWindow
* _arg0
;
1801 wxLayoutOrientation _arg1
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self","orientation", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
1819 wxPy_END_ALLOW_THREADS
;
1820 if (PyErr_Occurred()) return NULL
;
1821 } Py_INCREF(Py_None
);
1822 _resultobj
= Py_None
;
1826 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
1827 wxLayoutAlgorithm
*src
;
1829 src
= (wxLayoutAlgorithm
*) ptr
;
1830 dest
= (wxObject
*) src
;
1831 return (void *) dest
;
1834 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1835 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxLayoutAlgorithm
* _result
;
1838 char *_kwnames
[] = { NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
1848 wxPy_END_ALLOW_THREADS
;
1849 if (PyErr_Occurred()) return NULL
;
1851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
1852 _resultobj
= Py_BuildValue("s",_ptemp
);
1855 _resultobj
= Py_None
;
1860 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1861 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1863 wxLayoutAlgorithm
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 delete_wxLayoutAlgorithm(_arg0
);
1881 wxPy_END_ALLOW_THREADS
;
1882 if (PyErr_Occurred()) return NULL
;
1883 } Py_INCREF(Py_None
);
1884 _resultobj
= Py_None
;
1888 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1889 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1892 wxLayoutAlgorithm
* _arg0
;
1893 wxMDIParentFrame
* _arg1
;
1894 wxRect
* _arg2
= (wxRect
*) NULL
;
1895 PyObject
* _argo0
= 0;
1896 PyObject
* _argo1
= 0;
1898 PyObject
* _obj2
= 0;
1899 char *_kwnames
[] = { "self","frame","rect", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1921 if (! wxRect_helper(_obj2
, &_arg2
))
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
1928 wxPy_END_ALLOW_THREADS
;
1929 if (PyErr_Occurred()) return NULL
;
1930 } _resultobj
= Py_BuildValue("i",_result
);
1934 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1935 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1938 wxLayoutAlgorithm
* _arg0
;
1940 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1941 PyObject
* _argo0
= 0;
1942 PyObject
* _argo1
= 0;
1943 PyObject
* _argo2
= 0;
1944 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1957 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1964 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1965 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
1974 wxPy_END_ALLOW_THREADS
;
1975 if (PyErr_Occurred()) return NULL
;
1976 } _resultobj
= Py_BuildValue("i",_result
);
1980 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1981 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1984 wxLayoutAlgorithm
* _arg0
;
1986 wxWindow
* _arg2
= (wxWindow
*) NULL
;
1987 PyObject
* _argo0
= 0;
1988 PyObject
* _argo1
= 0;
1989 PyObject
* _argo2
= 0;
1990 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2010 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2020 wxPy_END_ALLOW_THREADS
;
2021 if (PyErr_Occurred()) return NULL
;
2022 } _resultobj
= Py_BuildValue("i",_result
);
2026 static void *SwigwxPopupWindowTowxWindow(void *ptr
) {
2029 src
= (wxPopupWindow
*) ptr
;
2030 dest
= (wxWindow
*) src
;
2031 return (void *) dest
;
2034 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr
) {
2037 src
= (wxPopupWindow
*) ptr
;
2038 dest
= (wxEvtHandler
*) src
;
2039 return (void *) dest
;
2042 static void *SwigwxPopupWindowTowxObject(void *ptr
) {
2045 src
= (wxPopupWindow
*) ptr
;
2046 dest
= (wxObject
*) src
;
2047 return (void *) dest
;
2050 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2051 static PyObject
*_wrap_new_wxPopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2053 wxPopupWindow
* _result
;
2055 int _arg1
= (int ) wxBORDER_NONE
;
2056 PyObject
* _argo0
= 0;
2057 char *_kwnames
[] = { "parent","flags", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupWindow",_kwnames
,&_argo0
,&_arg1
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 _result
= (wxPopupWindow
*)new_wxPopupWindow(_arg0
,_arg1
);
2074 wxPy_END_ALLOW_THREADS
;
2075 if (PyErr_Occurred()) return NULL
;
2077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2078 _resultobj
= Py_BuildValue("s",_ptemp
);
2081 _resultobj
= Py_None
;
2086 #define new_wxPrePopupWindow() (new wxPopupWindow())
2087 static PyObject
*_wrap_new_wxPrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2089 wxPopupWindow
* _result
;
2090 char *_kwnames
[] = { NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupWindow",_kwnames
))
2097 wxPy_BEGIN_ALLOW_THREADS
;
2098 _result
= (wxPopupWindow
*)new_wxPrePopupWindow();
2100 wxPy_END_ALLOW_THREADS
;
2101 if (PyErr_Occurred()) return NULL
;
2103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPopupWindow_p");
2104 _resultobj
= Py_BuildValue("s",_ptemp
);
2107 _resultobj
= Py_None
;
2112 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2113 static PyObject
*_wrap_wxPopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2116 wxPopupWindow
* _arg0
;
2118 int _arg2
= (int ) wxBORDER_NONE
;
2119 PyObject
* _argo0
= 0;
2120 PyObject
* _argo1
= 0;
2121 char *_kwnames
[] = { "self","parent","flags", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPopupWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 _result
= (bool )wxPopupWindow_Create(_arg0
,_arg1
,_arg2
);
2144 wxPy_END_ALLOW_THREADS
;
2145 if (PyErr_Occurred()) return NULL
;
2146 } _resultobj
= Py_BuildValue("i",_result
);
2150 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2151 static PyObject
*_wrap_wxPopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
* _resultobj
;
2153 wxPopupWindow
* _arg0
;
2156 PyObject
* _argo0
= 0;
2158 PyObject
* _obj1
= 0;
2160 PyObject
* _obj2
= 0;
2161 char *_kwnames
[] = { "self","ptOrigin","size", NULL
};
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupWindow_Position",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPopupWindow_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2175 if (! wxPoint_helper(_obj1
, &_arg1
))
2180 if (! wxSize_helper(_obj2
, &_arg2
))
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 wxPopupWindow_Position(_arg0
,*_arg1
,*_arg2
);
2187 wxPy_END_ALLOW_THREADS
;
2188 if (PyErr_Occurred()) return NULL
;
2189 } Py_INCREF(Py_None
);
2190 _resultobj
= Py_None
;
2194 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr
) {
2195 wxPyPopupTransientWindow
*src
;
2196 wxPopupWindow
*dest
;
2197 src
= (wxPyPopupTransientWindow
*) ptr
;
2198 dest
= (wxPopupWindow
*) src
;
2199 return (void *) dest
;
2202 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr
) {
2203 wxPyPopupTransientWindow
*src
;
2205 src
= (wxPyPopupTransientWindow
*) ptr
;
2206 dest
= (wxWindow
*) src
;
2207 return (void *) dest
;
2210 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr
) {
2211 wxPyPopupTransientWindow
*src
;
2213 src
= (wxPyPopupTransientWindow
*) ptr
;
2214 dest
= (wxEvtHandler
*) src
;
2215 return (void *) dest
;
2218 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr
) {
2219 wxPyPopupTransientWindow
*src
;
2221 src
= (wxPyPopupTransientWindow
*) ptr
;
2222 dest
= (wxObject
*) src
;
2223 return (void *) dest
;
2226 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2227 static PyObject
*_wrap_new_wxPopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2229 wxPyPopupTransientWindow
* _result
;
2231 int _arg1
= (int ) wxBORDER_NONE
;
2232 PyObject
* _argo0
= 0;
2233 char *_kwnames
[] = { "parent","style", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxPopupTransientWindow",_kwnames
,&_argo0
,&_arg1
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2247 wxPy_BEGIN_ALLOW_THREADS
;
2248 _result
= (wxPyPopupTransientWindow
*)new_wxPopupTransientWindow(_arg0
,_arg1
);
2250 wxPy_END_ALLOW_THREADS
;
2251 if (PyErr_Occurred()) return NULL
;
2253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2254 _resultobj
= Py_BuildValue("s",_ptemp
);
2257 _resultobj
= Py_None
;
2262 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2263 static PyObject
*_wrap_new_wxPrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2265 wxPyPopupTransientWindow
* _result
;
2266 char *_kwnames
[] = { NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePopupTransientWindow",_kwnames
))
2273 wxPy_BEGIN_ALLOW_THREADS
;
2274 _result
= (wxPyPopupTransientWindow
*)new_wxPrePopupTransientWindow();
2276 wxPy_END_ALLOW_THREADS
;
2277 if (PyErr_Occurred()) return NULL
;
2279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPopupTransientWindow_p");
2280 _resultobj
= Py_BuildValue("s",_ptemp
);
2283 _resultobj
= Py_None
;
2288 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2289 static PyObject
*_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2291 wxPyPopupTransientWindow
* _arg0
;
2294 PyObject
* _argo0
= 0;
2295 PyObject
* _obj1
= 0;
2296 PyObject
* _obj2
= 0;
2297 char *_kwnames
[] = { "self","self","_class", NULL
};
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2316 wxPy_BEGIN_ALLOW_THREADS
;
2317 wxPopupTransientWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2319 wxPy_END_ALLOW_THREADS
;
2320 if (PyErr_Occurred()) return NULL
;
2321 } Py_INCREF(Py_None
);
2322 _resultobj
= Py_None
;
2326 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2327 static PyObject
*_wrap_wxPopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
* _resultobj
;
2329 wxPyPopupTransientWindow
* _arg0
;
2330 wxWindow
* _arg1
= (wxWindow
*) NULL
;
2331 PyObject
* _argo0
= 0;
2332 PyObject
* _argo1
= 0;
2333 char *_kwnames
[] = { "self","focus", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPopupTransientWindow_Popup",_kwnames
,&_argo0
,&_argo1
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxPopupTransientWindow_Popup(_arg0
,_arg1
);
2356 wxPy_END_ALLOW_THREADS
;
2357 if (PyErr_Occurred()) return NULL
;
2358 } Py_INCREF(Py_None
);
2359 _resultobj
= Py_None
;
2363 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2364 static PyObject
*_wrap_wxPopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2366 wxPyPopupTransientWindow
* _arg0
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPopupTransientWindow_Dismiss",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPopupTransientWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 wxPopupTransientWindow_Dismiss(_arg0
);
2384 wxPy_END_ALLOW_THREADS
;
2385 if (PyErr_Occurred()) return NULL
;
2386 } Py_INCREF(Py_None
);
2387 _resultobj
= Py_None
;
2391 static PyMethodDef windows3cMethods
[] = {
2392 { "wxPopupTransientWindow_Dismiss", (PyCFunction
) _wrap_wxPopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
2393 { "wxPopupTransientWindow_Popup", (PyCFunction
) _wrap_wxPopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
2394 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_wxPopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2395 { "new_wxPrePopupTransientWindow", (PyCFunction
) _wrap_new_wxPrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2396 { "new_wxPopupTransientWindow", (PyCFunction
) _wrap_new_wxPopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
2397 { "wxPopupWindow_Position", (PyCFunction
) _wrap_wxPopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
2398 { "wxPopupWindow_Create", (PyCFunction
) _wrap_wxPopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2399 { "new_wxPrePopupWindow", (PyCFunction
) _wrap_new_wxPrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2400 { "new_wxPopupWindow", (PyCFunction
) _wrap_new_wxPopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
2401 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2402 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
2403 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
2404 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2405 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
2406 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2407 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
2408 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2409 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2410 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2411 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2412 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2413 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
2414 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
2415 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
2416 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2417 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2418 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
2419 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2420 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
2421 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2422 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2423 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2424 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2425 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2426 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
2427 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2428 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
2429 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
2430 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
2431 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2432 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2433 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2434 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2435 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2436 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2437 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2438 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2439 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2440 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2441 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
2442 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
2443 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2444 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
2445 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2446 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
2447 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2448 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2449 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2450 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2451 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
2452 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2453 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
2454 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2455 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
2456 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
2463 * This table is used by the pointer type-checker
2465 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2466 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
2467 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
2468 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
2469 { "_signed_long","_long",0},
2470 { "_wxPrintQuality","_wxCoord",0},
2471 { "_wxPrintQuality","_int",0},
2472 { "_wxPrintQuality","_signed_int",0},
2473 { "_wxPrintQuality","_unsigned_int",0},
2474 { "_wxPrintQuality","_wxWindowID",0},
2475 { "_wxPrintQuality","_uint",0},
2476 { "_wxPrintQuality","_EBool",0},
2477 { "_wxPrintQuality","_size_t",0},
2478 { "_wxPrintQuality","_time_t",0},
2479 { "_byte","_unsigned_char",0},
2480 { "_long","_unsigned_long",0},
2481 { "_long","_signed_long",0},
2482 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
2483 { "_size_t","_wxCoord",0},
2484 { "_size_t","_wxPrintQuality",0},
2485 { "_size_t","_time_t",0},
2486 { "_size_t","_unsigned_int",0},
2487 { "_size_t","_int",0},
2488 { "_size_t","_wxWindowID",0},
2489 { "_size_t","_uint",0},
2490 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow
},
2491 { "_uint","_wxCoord",0},
2492 { "_uint","_wxPrintQuality",0},
2493 { "_uint","_time_t",0},
2494 { "_uint","_size_t",0},
2495 { "_uint","_unsigned_int",0},
2496 { "_uint","_int",0},
2497 { "_uint","_wxWindowID",0},
2498 { "_wxChar","_char",0},
2499 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
2500 { "_char","_wxChar",0},
2501 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2502 { "_EBool","_wxCoord",0},
2503 { "_EBool","_wxPrintQuality",0},
2504 { "_EBool","_signed_int",0},
2505 { "_EBool","_int",0},
2506 { "_EBool","_wxWindowID",0},
2507 { "_unsigned_long","_long",0},
2508 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2509 { "_signed_int","_wxCoord",0},
2510 { "_signed_int","_wxPrintQuality",0},
2511 { "_signed_int","_EBool",0},
2512 { "_signed_int","_wxWindowID",0},
2513 { "_signed_int","_int",0},
2514 { "_WXTYPE","_short",0},
2515 { "_WXTYPE","_signed_short",0},
2516 { "_WXTYPE","_unsigned_short",0},
2517 { "_unsigned_short","_WXTYPE",0},
2518 { "_unsigned_short","_short",0},
2519 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject
},
2520 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject
},
2521 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
2522 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
2523 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
2524 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
2525 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
2526 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
2527 { "_signed_short","_WXTYPE",0},
2528 { "_signed_short","_short",0},
2529 { "_unsigned_char","_byte",0},
2530 { "_unsigned_int","_wxCoord",0},
2531 { "_unsigned_int","_wxPrintQuality",0},
2532 { "_unsigned_int","_time_t",0},
2533 { "_unsigned_int","_size_t",0},
2534 { "_unsigned_int","_uint",0},
2535 { "_unsigned_int","_wxWindowID",0},
2536 { "_unsigned_int","_int",0},
2537 { "_short","_WXTYPE",0},
2538 { "_short","_unsigned_short",0},
2539 { "_short","_signed_short",0},
2540 { "_wxWindowID","_wxCoord",0},
2541 { "_wxWindowID","_wxPrintQuality",0},
2542 { "_wxWindowID","_time_t",0},
2543 { "_wxWindowID","_size_t",0},
2544 { "_wxWindowID","_EBool",0},
2545 { "_wxWindowID","_uint",0},
2546 { "_wxWindowID","_int",0},
2547 { "_wxWindowID","_signed_int",0},
2548 { "_wxWindowID","_unsigned_int",0},
2549 { "_int","_wxCoord",0},
2550 { "_int","_wxPrintQuality",0},
2551 { "_int","_time_t",0},
2552 { "_int","_size_t",0},
2553 { "_int","_EBool",0},
2554 { "_int","_uint",0},
2555 { "_int","_wxWindowID",0},
2556 { "_int","_unsigned_int",0},
2557 { "_int","_signed_int",0},
2558 { "_time_t","_wxCoord",0},
2559 { "_time_t","_wxPrintQuality",0},
2560 { "_time_t","_unsigned_int",0},
2561 { "_time_t","_int",0},
2562 { "_time_t","_wxWindowID",0},
2563 { "_time_t","_uint",0},
2564 { "_time_t","_size_t",0},
2565 { "_wxCoord","_int",0},
2566 { "_wxCoord","_signed_int",0},
2567 { "_wxCoord","_unsigned_int",0},
2568 { "_wxCoord","_wxWindowID",0},
2569 { "_wxCoord","_uint",0},
2570 { "_wxCoord","_EBool",0},
2571 { "_wxCoord","_size_t",0},
2572 { "_wxCoord","_time_t",0},
2573 { "_wxCoord","_wxPrintQuality",0},
2574 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler
},
2575 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler
},
2576 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
2577 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
2578 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow
},
2579 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow
},
2580 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
2581 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
2584 static PyObject
*SWIG_globals
;
2588 SWIGEXPORT(void) initwindows3c() {
2590 SWIG_globals
= SWIG_newvarlink();
2591 m
= Py_InitModule("windows3c", windows3cMethods
);
2592 d
= PyModule_GetDict(m
);
2593 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
2594 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
2595 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
2596 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
2597 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
2598 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
2599 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
2600 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
2601 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
2602 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
2603 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
2604 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
2605 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
2606 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
2607 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
2608 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
2609 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
2610 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
2611 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
2612 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
2613 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
2616 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2617 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);