]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows3.cpp
wxComboBox does not derive from wxChoice in wxGTK so it can't in
[wxWidgets.git] / wxPython / src / gtk / windows3.cpp
1 /*
2 * FILE : src/gtk/windows3.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
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);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initwindows3c
55
56 #define SWIG_name "windows3c"
57
58 #include "helpers.h"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
61 #ifndef __WXMAC__
62 #include <wx/popupwin.h>
63 #endif
64
65
66 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
67 PyObject* o2;
68 PyObject* o3;
69
70 if (!target) {
71 target = o;
72 } else if (target == Py_None) {
73 Py_DECREF(Py_None);
74 target = o;
75 } else {
76 if (!PyTuple_Check(target)) {
77 o2 = target;
78 target = PyTuple_New(1);
79 PyTuple_SetItem(target, 0, o2);
80 }
81 o3 = PyTuple_New(1);
82 PyTuple_SetItem(o3, 0, o);
83
84 o2 = target;
85 target = PySequence_Concat(o2, o3);
86 Py_DECREF(o2);
87 Py_DECREF(o3);
88 }
89 return target;
90 }
91
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg = "String or Unicode type required";
94 #else
95 static char* wxStringErrorMsg = "String type required";
96 #endif
97
98 class wxPyPopupTransientWindow : public wxPopupTransientWindow
99 {
100 public:
101 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
102 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
103 : wxPopupTransientWindow(parent, style) {}
104
105 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
106 DEC_PYCALLBACK__(OnDismiss);
107 PYPRIVATE;
108 };
109
110 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
111 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
112 #ifdef __cplusplus
113 extern "C" {
114 #endif
115 static void *SwigwxSashEventTowxCommandEvent(void *ptr) {
116 wxSashEvent *src;
117 wxCommandEvent *dest;
118 src = (wxSashEvent *) ptr;
119 dest = (wxCommandEvent *) src;
120 return (void *) dest;
121 }
122
123 static void *SwigwxSashEventTowxEvent(void *ptr) {
124 wxSashEvent *src;
125 wxEvent *dest;
126 src = (wxSashEvent *) ptr;
127 dest = (wxEvent *) src;
128 return (void *) dest;
129 }
130
131 static void *SwigwxSashEventTowxObject(void *ptr) {
132 wxSashEvent *src;
133 wxObject *dest;
134 src = (wxSashEvent *) ptr;
135 dest = (wxObject *) src;
136 return (void *) dest;
137 }
138
139 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
140 static PyObject *_wrap_new_wxSashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
141 PyObject * _resultobj;
142 wxSashEvent * _result;
143 int _arg0 = (int ) 0;
144 wxSashEdgePosition _arg1 = (wxSashEdgePosition ) (wxSASH_NONE);
145 char *_kwnames[] = { "id","edge", NULL };
146 char _ptemp[128];
147
148 self = self;
149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxSashEvent",_kwnames,&_arg0,&_arg1))
150 return NULL;
151 {
152 wxPy_BEGIN_ALLOW_THREADS;
153 _result = (wxSashEvent *)new_wxSashEvent(_arg0,_arg1);
154
155 wxPy_END_ALLOW_THREADS;
156 if (PyErr_Occurred()) return NULL;
157 } if (_result) {
158 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashEvent_p");
159 _resultobj = Py_BuildValue("s",_ptemp);
160 } else {
161 Py_INCREF(Py_None);
162 _resultobj = Py_None;
163 }
164 return _resultobj;
165 }
166
167 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
168 static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
169 PyObject * _resultobj;
170 wxSashEvent * _arg0;
171 wxSashEdgePosition _arg1;
172 PyObject * _argo0 = 0;
173 char *_kwnames[] = { "self","edge", NULL };
174
175 self = self;
176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetEdge",_kwnames,&_argo0,&_arg1))
177 return NULL;
178 if (_argo0) {
179 if (_argo0 == Py_None) { _arg0 = NULL; }
180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
182 return NULL;
183 }
184 }
185 {
186 wxPy_BEGIN_ALLOW_THREADS;
187 wxSashEvent_SetEdge(_arg0,_arg1);
188
189 wxPy_END_ALLOW_THREADS;
190 if (PyErr_Occurred()) return NULL;
191 } Py_INCREF(Py_None);
192 _resultobj = Py_None;
193 return _resultobj;
194 }
195
196 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
197 static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
198 PyObject * _resultobj;
199 wxSashEdgePosition _result;
200 wxSashEvent * _arg0;
201 PyObject * _argo0 = 0;
202 char *_kwnames[] = { "self", NULL };
203
204 self = self;
205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetEdge",_kwnames,&_argo0))
206 return NULL;
207 if (_argo0) {
208 if (_argo0 == Py_None) { _arg0 = NULL; }
209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
211 return NULL;
212 }
213 }
214 {
215 wxPy_BEGIN_ALLOW_THREADS;
216 _result = (wxSashEdgePosition )wxSashEvent_GetEdge(_arg0);
217
218 wxPy_END_ALLOW_THREADS;
219 if (PyErr_Occurred()) return NULL;
220 } _resultobj = Py_BuildValue("i",_result);
221 return _resultobj;
222 }
223
224 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
225 static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
226 PyObject * _resultobj;
227 wxSashEvent * _arg0;
228 wxRect * _arg1;
229 PyObject * _argo0 = 0;
230 wxRect temp;
231 PyObject * _obj1 = 0;
232 char *_kwnames[] = { "self","rect", NULL };
233
234 self = self;
235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_obj1))
236 return NULL;
237 if (_argo0) {
238 if (_argo0 == Py_None) { _arg0 = NULL; }
239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
241 return NULL;
242 }
243 }
244 {
245 _arg1 = &temp;
246 if (! wxRect_helper(_obj1, &_arg1))
247 return NULL;
248 }
249 {
250 wxPy_BEGIN_ALLOW_THREADS;
251 wxSashEvent_SetDragRect(_arg0,*_arg1);
252
253 wxPy_END_ALLOW_THREADS;
254 if (PyErr_Occurred()) return NULL;
255 } Py_INCREF(Py_None);
256 _resultobj = Py_None;
257 return _resultobj;
258 }
259
260 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
261 static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
262 PyObject * _resultobj;
263 wxRect * _result;
264 wxSashEvent * _arg0;
265 PyObject * _argo0 = 0;
266 char *_kwnames[] = { "self", NULL };
267 char _ptemp[128];
268
269 self = self;
270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragRect",_kwnames,&_argo0))
271 return NULL;
272 if (_argo0) {
273 if (_argo0 == Py_None) { _arg0 = NULL; }
274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
276 return NULL;
277 }
278 }
279 {
280 wxPy_BEGIN_ALLOW_THREADS;
281 _result = new wxRect (wxSashEvent_GetDragRect(_arg0));
282
283 wxPy_END_ALLOW_THREADS;
284 if (PyErr_Occurred()) return NULL;
285 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
286 _resultobj = Py_BuildValue("s",_ptemp);
287 return _resultobj;
288 }
289
290 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
291 static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
292 PyObject * _resultobj;
293 wxSashEvent * _arg0;
294 wxSashDragStatus _arg1;
295 PyObject * _argo0 = 0;
296 char *_kwnames[] = { "self","status", NULL };
297
298 self = self;
299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetDragStatus",_kwnames,&_argo0,&_arg1))
300 return NULL;
301 if (_argo0) {
302 if (_argo0 == Py_None) { _arg0 = NULL; }
303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
305 return NULL;
306 }
307 }
308 {
309 wxPy_BEGIN_ALLOW_THREADS;
310 wxSashEvent_SetDragStatus(_arg0,_arg1);
311
312 wxPy_END_ALLOW_THREADS;
313 if (PyErr_Occurred()) return NULL;
314 } Py_INCREF(Py_None);
315 _resultobj = Py_None;
316 return _resultobj;
317 }
318
319 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
320 static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
321 PyObject * _resultobj;
322 wxSashDragStatus _result;
323 wxSashEvent * _arg0;
324 PyObject * _argo0 = 0;
325 char *_kwnames[] = { "self", NULL };
326
327 self = self;
328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragStatus",_kwnames,&_argo0))
329 return NULL;
330 if (_argo0) {
331 if (_argo0 == Py_None) { _arg0 = NULL; }
332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
334 return NULL;
335 }
336 }
337 {
338 wxPy_BEGIN_ALLOW_THREADS;
339 _result = (wxSashDragStatus )wxSashEvent_GetDragStatus(_arg0);
340
341 wxPy_END_ALLOW_THREADS;
342 if (PyErr_Occurred()) return NULL;
343 } _resultobj = Py_BuildValue("i",_result);
344 return _resultobj;
345 }
346
347 static void *SwigwxSashWindowTowxWindow(void *ptr) {
348 wxSashWindow *src;
349 wxWindow *dest;
350 src = (wxSashWindow *) ptr;
351 dest = (wxWindow *) src;
352 return (void *) dest;
353 }
354
355 static void *SwigwxSashWindowTowxEvtHandler(void *ptr) {
356 wxSashWindow *src;
357 wxEvtHandler *dest;
358 src = (wxSashWindow *) ptr;
359 dest = (wxEvtHandler *) src;
360 return (void *) dest;
361 }
362
363 static void *SwigwxSashWindowTowxObject(void *ptr) {
364 wxSashWindow *src;
365 wxObject *dest;
366 src = (wxSashWindow *) ptr;
367 dest = (wxObject *) src;
368 return (void *) dest;
369 }
370
371 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
372 static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
373 PyObject * _resultobj;
374 wxSashWindow * _result;
375 wxWindow * _arg0;
376 wxWindowID _arg1;
377 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
378 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
379 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
380 char * _arg5 = (char *) "sashWindow";
381 PyObject * _argo0 = 0;
382 wxPoint temp;
383 PyObject * _obj2 = 0;
384 wxSize temp0;
385 PyObject * _obj3 = 0;
386 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
387 char _ptemp[128];
388
389 self = self;
390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
391 return NULL;
392 if (_argo0) {
393 if (_argo0 == Py_None) { _arg0 = NULL; }
394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
396 return NULL;
397 }
398 }
399 if (_obj2)
400 {
401 _arg2 = &temp;
402 if (! wxPoint_helper(_obj2, &_arg2))
403 return NULL;
404 }
405 if (_obj3)
406 {
407 _arg3 = &temp0;
408 if (! wxSize_helper(_obj3, &_arg3))
409 return NULL;
410 }
411 {
412 wxPy_BEGIN_ALLOW_THREADS;
413 _result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
414
415 wxPy_END_ALLOW_THREADS;
416 if (PyErr_Occurred()) return NULL;
417 } if (_result) {
418 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
419 _resultobj = Py_BuildValue("s",_ptemp);
420 } else {
421 Py_INCREF(Py_None);
422 _resultobj = Py_None;
423 }
424 return _resultobj;
425 }
426
427 #define new_wxPreSashWindow() (new wxSashWindow())
428 static PyObject *_wrap_new_wxPreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
429 PyObject * _resultobj;
430 wxSashWindow * _result;
431 char *_kwnames[] = { NULL };
432 char _ptemp[128];
433
434 self = self;
435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSashWindow",_kwnames))
436 return NULL;
437 {
438 wxPy_BEGIN_ALLOW_THREADS;
439 _result = (wxSashWindow *)new_wxPreSashWindow();
440
441 wxPy_END_ALLOW_THREADS;
442 if (PyErr_Occurred()) return NULL;
443 } if (_result) {
444 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
445 _resultobj = Py_BuildValue("s",_ptemp);
446 } else {
447 Py_INCREF(Py_None);
448 _resultobj = Py_None;
449 }
450 return _resultobj;
451 }
452
453 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
454 static PyObject *_wrap_wxSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
455 PyObject * _resultobj;
456 bool _result;
457 wxSashWindow * _arg0;
458 wxWindow * _arg1;
459 wxWindowID _arg2;
460 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
461 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
462 long _arg5 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
463 char * _arg6 = (char *) "sashWindow";
464 PyObject * _argo0 = 0;
465 PyObject * _argo1 = 0;
466 wxPoint temp;
467 PyObject * _obj3 = 0;
468 wxSize temp0;
469 PyObject * _obj4 = 0;
470 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
471
472 self = self;
473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxSashWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
474 return NULL;
475 if (_argo0) {
476 if (_argo0 == Py_None) { _arg0 = NULL; }
477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
479 return NULL;
480 }
481 }
482 if (_argo1) {
483 if (_argo1 == Py_None) { _arg1 = NULL; }
484 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
485 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
486 return NULL;
487 }
488 }
489 if (_obj3)
490 {
491 _arg3 = &temp;
492 if (! wxPoint_helper(_obj3, &_arg3))
493 return NULL;
494 }
495 if (_obj4)
496 {
497 _arg4 = &temp0;
498 if (! wxSize_helper(_obj4, &_arg4))
499 return NULL;
500 }
501 {
502 wxPy_BEGIN_ALLOW_THREADS;
503 _result = (bool )wxSashWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
504
505 wxPy_END_ALLOW_THREADS;
506 if (PyErr_Occurred()) return NULL;
507 } _resultobj = Py_BuildValue("i",_result);
508 return _resultobj;
509 }
510
511 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
512 static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
513 PyObject * _resultobj;
514 bool _result;
515 wxSashWindow * _arg0;
516 wxSashEdgePosition _arg1;
517 PyObject * _argo0 = 0;
518 char *_kwnames[] = { "self","edge", NULL };
519
520 self = self;
521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetSashVisible",_kwnames,&_argo0,&_arg1))
522 return NULL;
523 if (_argo0) {
524 if (_argo0 == Py_None) { _arg0 = NULL; }
525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
527 return NULL;
528 }
529 }
530 {
531 wxPy_BEGIN_ALLOW_THREADS;
532 _result = (bool )wxSashWindow_GetSashVisible(_arg0,_arg1);
533
534 wxPy_END_ALLOW_THREADS;
535 if (PyErr_Occurred()) return NULL;
536 } _resultobj = Py_BuildValue("i",_result);
537 return _resultobj;
538 }
539
540 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
541 static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
542 PyObject * _resultobj;
543 int _result;
544 wxSashWindow * _arg0;
545 PyObject * _argo0 = 0;
546 char *_kwnames[] = { "self", NULL };
547
548 self = self;
549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetDefaultBorderSize",_kwnames,&_argo0))
550 return NULL;
551 if (_argo0) {
552 if (_argo0 == Py_None) { _arg0 = NULL; }
553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
555 return NULL;
556 }
557 }
558 {
559 wxPy_BEGIN_ALLOW_THREADS;
560 _result = (int )wxSashWindow_GetDefaultBorderSize(_arg0);
561
562 wxPy_END_ALLOW_THREADS;
563 if (PyErr_Occurred()) return NULL;
564 } _resultobj = Py_BuildValue("i",_result);
565 return _resultobj;
566 }
567
568 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
569 static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
570 PyObject * _resultobj;
571 int _result;
572 wxSashWindow * _arg0;
573 wxSashEdgePosition _arg1;
574 PyObject * _argo0 = 0;
575 char *_kwnames[] = { "self","edge", NULL };
576
577 self = self;
578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetEdgeMargin",_kwnames,&_argo0,&_arg1))
579 return NULL;
580 if (_argo0) {
581 if (_argo0 == Py_None) { _arg0 = NULL; }
582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
584 return NULL;
585 }
586 }
587 {
588 wxPy_BEGIN_ALLOW_THREADS;
589 _result = (int )wxSashWindow_GetEdgeMargin(_arg0,_arg1);
590
591 wxPy_END_ALLOW_THREADS;
592 if (PyErr_Occurred()) return NULL;
593 } _resultobj = Py_BuildValue("i",_result);
594 return _resultobj;
595 }
596
597 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
598 static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
599 PyObject * _resultobj;
600 int _result;
601 wxSashWindow * _arg0;
602 PyObject * _argo0 = 0;
603 char *_kwnames[] = { "self", NULL };
604
605 self = self;
606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetExtraBorderSize",_kwnames,&_argo0))
607 return NULL;
608 if (_argo0) {
609 if (_argo0 == Py_None) { _arg0 = NULL; }
610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
612 return NULL;
613 }
614 }
615 {
616 wxPy_BEGIN_ALLOW_THREADS;
617 _result = (int )wxSashWindow_GetExtraBorderSize(_arg0);
618
619 wxPy_END_ALLOW_THREADS;
620 if (PyErr_Occurred()) return NULL;
621 } _resultobj = Py_BuildValue("i",_result);
622 return _resultobj;
623 }
624
625 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
626 static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
627 PyObject * _resultobj;
628 int _result;
629 wxSashWindow * _arg0;
630 PyObject * _argo0 = 0;
631 char *_kwnames[] = { "self", NULL };
632
633 self = self;
634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeX",_kwnames,&_argo0))
635 return NULL;
636 if (_argo0) {
637 if (_argo0 == Py_None) { _arg0 = NULL; }
638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
640 return NULL;
641 }
642 }
643 {
644 wxPy_BEGIN_ALLOW_THREADS;
645 _result = (int )wxSashWindow_GetMaximumSizeX(_arg0);
646
647 wxPy_END_ALLOW_THREADS;
648 if (PyErr_Occurred()) return NULL;
649 } _resultobj = Py_BuildValue("i",_result);
650 return _resultobj;
651 }
652
653 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
654 static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
655 PyObject * _resultobj;
656 int _result;
657 wxSashWindow * _arg0;
658 PyObject * _argo0 = 0;
659 char *_kwnames[] = { "self", NULL };
660
661 self = self;
662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeY",_kwnames,&_argo0))
663 return NULL;
664 if (_argo0) {
665 if (_argo0 == Py_None) { _arg0 = NULL; }
666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
668 return NULL;
669 }
670 }
671 {
672 wxPy_BEGIN_ALLOW_THREADS;
673 _result = (int )wxSashWindow_GetMaximumSizeY(_arg0);
674
675 wxPy_END_ALLOW_THREADS;
676 if (PyErr_Occurred()) return NULL;
677 } _resultobj = Py_BuildValue("i",_result);
678 return _resultobj;
679 }
680
681 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
682 static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
683 PyObject * _resultobj;
684 int _result;
685 wxSashWindow * _arg0;
686 PyObject * _argo0 = 0;
687 char *_kwnames[] = { "self", NULL };
688
689 self = self;
690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeX",_kwnames,&_argo0))
691 return NULL;
692 if (_argo0) {
693 if (_argo0 == Py_None) { _arg0 = NULL; }
694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
696 return NULL;
697 }
698 }
699 {
700 wxPy_BEGIN_ALLOW_THREADS;
701 _result = (int )wxSashWindow_GetMinimumSizeX(_arg0);
702
703 wxPy_END_ALLOW_THREADS;
704 if (PyErr_Occurred()) return NULL;
705 } _resultobj = Py_BuildValue("i",_result);
706 return _resultobj;
707 }
708
709 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
710 static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
711 PyObject * _resultobj;
712 int _result;
713 wxSashWindow * _arg0;
714 PyObject * _argo0 = 0;
715 char *_kwnames[] = { "self", NULL };
716
717 self = self;
718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeY",_kwnames,&_argo0))
719 return NULL;
720 if (_argo0) {
721 if (_argo0 == Py_None) { _arg0 = NULL; }
722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
724 return NULL;
725 }
726 }
727 {
728 wxPy_BEGIN_ALLOW_THREADS;
729 _result = (int )wxSashWindow_GetMinimumSizeY(_arg0);
730
731 wxPy_END_ALLOW_THREADS;
732 if (PyErr_Occurred()) return NULL;
733 } _resultobj = Py_BuildValue("i",_result);
734 return _resultobj;
735 }
736
737 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
738 static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
739 PyObject * _resultobj;
740 bool _result;
741 wxSashWindow * _arg0;
742 wxSashEdgePosition _arg1;
743 PyObject * _argo0 = 0;
744 char *_kwnames[] = { "self","edge", NULL };
745
746 self = self;
747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_HasBorder",_kwnames,&_argo0,&_arg1))
748 return NULL;
749 if (_argo0) {
750 if (_argo0 == Py_None) { _arg0 = NULL; }
751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
753 return NULL;
754 }
755 }
756 {
757 wxPy_BEGIN_ALLOW_THREADS;
758 _result = (bool )wxSashWindow_HasBorder(_arg0,_arg1);
759
760 wxPy_END_ALLOW_THREADS;
761 if (PyErr_Occurred()) return NULL;
762 } _resultobj = Py_BuildValue("i",_result);
763 return _resultobj;
764 }
765
766 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
767 static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
768 PyObject * _resultobj;
769 wxSashWindow * _arg0;
770 int _arg1;
771 PyObject * _argo0 = 0;
772 char *_kwnames[] = { "self","width", NULL };
773
774 self = self;
775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames,&_argo0,&_arg1))
776 return NULL;
777 if (_argo0) {
778 if (_argo0 == Py_None) { _arg0 = NULL; }
779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
781 return NULL;
782 }
783 }
784 {
785 wxPy_BEGIN_ALLOW_THREADS;
786 wxSashWindow_SetDefaultBorderSize(_arg0,_arg1);
787
788 wxPy_END_ALLOW_THREADS;
789 if (PyErr_Occurred()) return NULL;
790 } Py_INCREF(Py_None);
791 _resultobj = Py_None;
792 return _resultobj;
793 }
794
795 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
796 static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
797 PyObject * _resultobj;
798 wxSashWindow * _arg0;
799 int _arg1;
800 PyObject * _argo0 = 0;
801 char *_kwnames[] = { "self","width", NULL };
802
803 self = self;
804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames,&_argo0,&_arg1))
805 return NULL;
806 if (_argo0) {
807 if (_argo0 == Py_None) { _arg0 = NULL; }
808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
810 return NULL;
811 }
812 }
813 {
814 wxPy_BEGIN_ALLOW_THREADS;
815 wxSashWindow_SetExtraBorderSize(_arg0,_arg1);
816
817 wxPy_END_ALLOW_THREADS;
818 if (PyErr_Occurred()) return NULL;
819 } Py_INCREF(Py_None);
820 _resultobj = Py_None;
821 return _resultobj;
822 }
823
824 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
825 static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
826 PyObject * _resultobj;
827 wxSashWindow * _arg0;
828 int _arg1;
829 PyObject * _argo0 = 0;
830 char *_kwnames[] = { "self","min", NULL };
831
832 self = self;
833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames,&_argo0,&_arg1))
834 return NULL;
835 if (_argo0) {
836 if (_argo0 == Py_None) { _arg0 = NULL; }
837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
839 return NULL;
840 }
841 }
842 {
843 wxPy_BEGIN_ALLOW_THREADS;
844 wxSashWindow_SetMaximumSizeX(_arg0,_arg1);
845
846 wxPy_END_ALLOW_THREADS;
847 if (PyErr_Occurred()) return NULL;
848 } Py_INCREF(Py_None);
849 _resultobj = Py_None;
850 return _resultobj;
851 }
852
853 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
854 static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
855 PyObject * _resultobj;
856 wxSashWindow * _arg0;
857 int _arg1;
858 PyObject * _argo0 = 0;
859 char *_kwnames[] = { "self","min", NULL };
860
861 self = self;
862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames,&_argo0,&_arg1))
863 return NULL;
864 if (_argo0) {
865 if (_argo0 == Py_None) { _arg0 = NULL; }
866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
868 return NULL;
869 }
870 }
871 {
872 wxPy_BEGIN_ALLOW_THREADS;
873 wxSashWindow_SetMaximumSizeY(_arg0,_arg1);
874
875 wxPy_END_ALLOW_THREADS;
876 if (PyErr_Occurred()) return NULL;
877 } Py_INCREF(Py_None);
878 _resultobj = Py_None;
879 return _resultobj;
880 }
881
882 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
883 static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
884 PyObject * _resultobj;
885 wxSashWindow * _arg0;
886 int _arg1;
887 PyObject * _argo0 = 0;
888 char *_kwnames[] = { "self","min", NULL };
889
890 self = self;
891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames,&_argo0,&_arg1))
892 return NULL;
893 if (_argo0) {
894 if (_argo0 == Py_None) { _arg0 = NULL; }
895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
897 return NULL;
898 }
899 }
900 {
901 wxPy_BEGIN_ALLOW_THREADS;
902 wxSashWindow_SetMinimumSizeX(_arg0,_arg1);
903
904 wxPy_END_ALLOW_THREADS;
905 if (PyErr_Occurred()) return NULL;
906 } Py_INCREF(Py_None);
907 _resultobj = Py_None;
908 return _resultobj;
909 }
910
911 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
912 static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
913 PyObject * _resultobj;
914 wxSashWindow * _arg0;
915 int _arg1;
916 PyObject * _argo0 = 0;
917 char *_kwnames[] = { "self","min", NULL };
918
919 self = self;
920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames,&_argo0,&_arg1))
921 return NULL;
922 if (_argo0) {
923 if (_argo0 == Py_None) { _arg0 = NULL; }
924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
926 return NULL;
927 }
928 }
929 {
930 wxPy_BEGIN_ALLOW_THREADS;
931 wxSashWindow_SetMinimumSizeY(_arg0,_arg1);
932
933 wxPy_END_ALLOW_THREADS;
934 if (PyErr_Occurred()) return NULL;
935 } Py_INCREF(Py_None);
936 _resultobj = Py_None;
937 return _resultobj;
938 }
939
940 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
941 static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
942 PyObject * _resultobj;
943 wxSashWindow * _arg0;
944 wxSashEdgePosition _arg1;
945 bool _arg2;
946 PyObject * _argo0 = 0;
947 int tempbool2;
948 char *_kwnames[] = { "self","edge","visible", NULL };
949
950 self = self;
951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
952 return NULL;
953 if (_argo0) {
954 if (_argo0 == Py_None) { _arg0 = NULL; }
955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
957 return NULL;
958 }
959 }
960 _arg2 = (bool ) tempbool2;
961 {
962 wxPy_BEGIN_ALLOW_THREADS;
963 wxSashWindow_SetSashVisible(_arg0,_arg1,_arg2);
964
965 wxPy_END_ALLOW_THREADS;
966 if (PyErr_Occurred()) return NULL;
967 } Py_INCREF(Py_None);
968 _resultobj = Py_None;
969 return _resultobj;
970 }
971
972 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
973 static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
974 PyObject * _resultobj;
975 wxSashWindow * _arg0;
976 wxSashEdgePosition _arg1;
977 bool _arg2;
978 PyObject * _argo0 = 0;
979 int tempbool2;
980 char *_kwnames[] = { "self","edge","hasBorder", NULL };
981
982 self = self;
983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashBorder",_kwnames,&_argo0,&_arg1,&tempbool2))
984 return NULL;
985 if (_argo0) {
986 if (_argo0 == Py_None) { _arg0 = NULL; }
987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
989 return NULL;
990 }
991 }
992 _arg2 = (bool ) tempbool2;
993 {
994 wxPy_BEGIN_ALLOW_THREADS;
995 wxSashWindow_SetSashBorder(_arg0,_arg1,_arg2);
996
997 wxPy_END_ALLOW_THREADS;
998 if (PyErr_Occurred()) return NULL;
999 } Py_INCREF(Py_None);
1000 _resultobj = Py_None;
1001 return _resultobj;
1002 }
1003
1004 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) {
1005 wxQueryLayoutInfoEvent *src;
1006 wxEvent *dest;
1007 src = (wxQueryLayoutInfoEvent *) ptr;
1008 dest = (wxEvent *) src;
1009 return (void *) dest;
1010 }
1011
1012 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr) {
1013 wxQueryLayoutInfoEvent *src;
1014 wxObject *dest;
1015 src = (wxQueryLayoutInfoEvent *) ptr;
1016 dest = (wxObject *) src;
1017 return (void *) dest;
1018 }
1019
1020 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1021 static PyObject *_wrap_new_wxQueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1022 PyObject * _resultobj;
1023 wxQueryLayoutInfoEvent * _result;
1024 wxWindowID _arg0 = (wxWindowID ) 0;
1025 char *_kwnames[] = { "id", NULL };
1026 char _ptemp[128];
1027
1028 self = self;
1029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryLayoutInfoEvent",_kwnames,&_arg0))
1030 return NULL;
1031 {
1032 wxPy_BEGIN_ALLOW_THREADS;
1033 _result = (wxQueryLayoutInfoEvent *)new_wxQueryLayoutInfoEvent(_arg0);
1034
1035 wxPy_END_ALLOW_THREADS;
1036 if (PyErr_Occurred()) return NULL;
1037 } if (_result) {
1038 SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryLayoutInfoEvent_p");
1039 _resultobj = Py_BuildValue("s",_ptemp);
1040 } else {
1041 Py_INCREF(Py_None);
1042 _resultobj = Py_None;
1043 }
1044 return _resultobj;
1045 }
1046
1047 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1048 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
1049 PyObject * _resultobj;
1050 wxQueryLayoutInfoEvent * _arg0;
1051 int _arg1;
1052 PyObject * _argo0 = 0;
1053 char *_kwnames[] = { "self","length", NULL };
1054
1055 self = self;
1056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames,&_argo0,&_arg1))
1057 return NULL;
1058 if (_argo0) {
1059 if (_argo0 == Py_None) { _arg0 = NULL; }
1060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1062 return NULL;
1063 }
1064 }
1065 {
1066 wxPy_BEGIN_ALLOW_THREADS;
1067 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0,_arg1);
1068
1069 wxPy_END_ALLOW_THREADS;
1070 if (PyErr_Occurred()) return NULL;
1071 } Py_INCREF(Py_None);
1072 _resultobj = Py_None;
1073 return _resultobj;
1074 }
1075
1076 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1077 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
1078 PyObject * _resultobj;
1079 int _result;
1080 wxQueryLayoutInfoEvent * _arg0;
1081 PyObject * _argo0 = 0;
1082 char *_kwnames[] = { "self", NULL };
1083
1084 self = self;
1085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames,&_argo0))
1086 return NULL;
1087 if (_argo0) {
1088 if (_argo0 == Py_None) { _arg0 = NULL; }
1089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1091 return NULL;
1092 }
1093 }
1094 {
1095 wxPy_BEGIN_ALLOW_THREADS;
1096 _result = (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0);
1097
1098 wxPy_END_ALLOW_THREADS;
1099 if (PyErr_Occurred()) return NULL;
1100 } _resultobj = Py_BuildValue("i",_result);
1101 return _resultobj;
1102 }
1103
1104 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1105 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1106 PyObject * _resultobj;
1107 wxQueryLayoutInfoEvent * _arg0;
1108 int _arg1;
1109 PyObject * _argo0 = 0;
1110 char *_kwnames[] = { "self","flags", NULL };
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames,&_argo0,&_arg1))
1114 return NULL;
1115 if (_argo0) {
1116 if (_argo0 == Py_None) { _arg0 = NULL; }
1117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1119 return NULL;
1120 }
1121 }
1122 {
1123 wxPy_BEGIN_ALLOW_THREADS;
1124 wxQueryLayoutInfoEvent_SetFlags(_arg0,_arg1);
1125
1126 wxPy_END_ALLOW_THREADS;
1127 if (PyErr_Occurred()) return NULL;
1128 } Py_INCREF(Py_None);
1129 _resultobj = Py_None;
1130 return _resultobj;
1131 }
1132
1133 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1134 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1135 PyObject * _resultobj;
1136 int _result;
1137 wxQueryLayoutInfoEvent * _arg0;
1138 PyObject * _argo0 = 0;
1139 char *_kwnames[] = { "self", NULL };
1140
1141 self = self;
1142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames,&_argo0))
1143 return NULL;
1144 if (_argo0) {
1145 if (_argo0 == Py_None) { _arg0 = NULL; }
1146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1148 return NULL;
1149 }
1150 }
1151 {
1152 wxPy_BEGIN_ALLOW_THREADS;
1153 _result = (int )wxQueryLayoutInfoEvent_GetFlags(_arg0);
1154
1155 wxPy_END_ALLOW_THREADS;
1156 if (PyErr_Occurred()) return NULL;
1157 } _resultobj = Py_BuildValue("i",_result);
1158 return _resultobj;
1159 }
1160
1161 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1162 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject * _resultobj;
1164 wxQueryLayoutInfoEvent * _arg0;
1165 wxSize * _arg1;
1166 PyObject * _argo0 = 0;
1167 wxSize temp;
1168 PyObject * _obj1 = 0;
1169 char *_kwnames[] = { "self","size", NULL };
1170
1171 self = self;
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_obj1))
1173 return NULL;
1174 if (_argo0) {
1175 if (_argo0 == Py_None) { _arg0 = NULL; }
1176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1178 return NULL;
1179 }
1180 }
1181 {
1182 _arg1 = &temp;
1183 if (! wxSize_helper(_obj1, &_arg1))
1184 return NULL;
1185 }
1186 {
1187 wxPy_BEGIN_ALLOW_THREADS;
1188 wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
1189
1190 wxPy_END_ALLOW_THREADS;
1191 if (PyErr_Occurred()) return NULL;
1192 } Py_INCREF(Py_None);
1193 _resultobj = Py_None;
1194 return _resultobj;
1195 }
1196
1197 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1198 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject * _resultobj;
1200 wxSize * _result;
1201 wxQueryLayoutInfoEvent * _arg0;
1202 PyObject * _argo0 = 0;
1203 char *_kwnames[] = { "self", NULL };
1204 char _ptemp[128];
1205
1206 self = self;
1207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames,&_argo0))
1208 return NULL;
1209 if (_argo0) {
1210 if (_argo0 == Py_None) { _arg0 = NULL; }
1211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1213 return NULL;
1214 }
1215 }
1216 {
1217 wxPy_BEGIN_ALLOW_THREADS;
1218 _result = new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0));
1219
1220 wxPy_END_ALLOW_THREADS;
1221 if (PyErr_Occurred()) return NULL;
1222 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1223 _resultobj = Py_BuildValue("s",_ptemp);
1224 return _resultobj;
1225 }
1226
1227 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1228 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1229 PyObject * _resultobj;
1230 wxQueryLayoutInfoEvent * _arg0;
1231 wxLayoutOrientation _arg1;
1232 PyObject * _argo0 = 0;
1233 char *_kwnames[] = { "self","orient", NULL };
1234
1235 self = self;
1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames,&_argo0,&_arg1))
1237 return NULL;
1238 if (_argo0) {
1239 if (_argo0 == Py_None) { _arg0 = NULL; }
1240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1242 return NULL;
1243 }
1244 }
1245 {
1246 wxPy_BEGIN_ALLOW_THREADS;
1247 wxQueryLayoutInfoEvent_SetOrientation(_arg0,_arg1);
1248
1249 wxPy_END_ALLOW_THREADS;
1250 if (PyErr_Occurred()) return NULL;
1251 } Py_INCREF(Py_None);
1252 _resultobj = Py_None;
1253 return _resultobj;
1254 }
1255
1256 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1257 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1258 PyObject * _resultobj;
1259 wxLayoutOrientation _result;
1260 wxQueryLayoutInfoEvent * _arg0;
1261 PyObject * _argo0 = 0;
1262 char *_kwnames[] = { "self", NULL };
1263
1264 self = self;
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames,&_argo0))
1266 return NULL;
1267 if (_argo0) {
1268 if (_argo0 == Py_None) { _arg0 = NULL; }
1269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1271 return NULL;
1272 }
1273 }
1274 {
1275 wxPy_BEGIN_ALLOW_THREADS;
1276 _result = (wxLayoutOrientation )wxQueryLayoutInfoEvent_GetOrientation(_arg0);
1277
1278 wxPy_END_ALLOW_THREADS;
1279 if (PyErr_Occurred()) return NULL;
1280 } _resultobj = Py_BuildValue("i",_result);
1281 return _resultobj;
1282 }
1283
1284 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1285 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject * _resultobj;
1287 wxQueryLayoutInfoEvent * _arg0;
1288 wxLayoutAlignment _arg1;
1289 PyObject * _argo0 = 0;
1290 char *_kwnames[] = { "self","align", NULL };
1291
1292 self = self;
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames,&_argo0,&_arg1))
1294 return NULL;
1295 if (_argo0) {
1296 if (_argo0 == Py_None) { _arg0 = NULL; }
1297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1299 return NULL;
1300 }
1301 }
1302 {
1303 wxPy_BEGIN_ALLOW_THREADS;
1304 wxQueryLayoutInfoEvent_SetAlignment(_arg0,_arg1);
1305
1306 wxPy_END_ALLOW_THREADS;
1307 if (PyErr_Occurred()) return NULL;
1308 } Py_INCREF(Py_None);
1309 _resultobj = Py_None;
1310 return _resultobj;
1311 }
1312
1313 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1314 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1315 PyObject * _resultobj;
1316 wxLayoutAlignment _result;
1317 wxQueryLayoutInfoEvent * _arg0;
1318 PyObject * _argo0 = 0;
1319 char *_kwnames[] = { "self", NULL };
1320
1321 self = self;
1322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames,&_argo0))
1323 return NULL;
1324 if (_argo0) {
1325 if (_argo0 == Py_None) { _arg0 = NULL; }
1326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1328 return NULL;
1329 }
1330 }
1331 {
1332 wxPy_BEGIN_ALLOW_THREADS;
1333 _result = (wxLayoutAlignment )wxQueryLayoutInfoEvent_GetAlignment(_arg0);
1334
1335 wxPy_END_ALLOW_THREADS;
1336 if (PyErr_Occurred()) return NULL;
1337 } _resultobj = Py_BuildValue("i",_result);
1338 return _resultobj;
1339 }
1340
1341 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) {
1342 wxCalculateLayoutEvent *src;
1343 wxEvent *dest;
1344 src = (wxCalculateLayoutEvent *) ptr;
1345 dest = (wxEvent *) src;
1346 return (void *) dest;
1347 }
1348
1349 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr) {
1350 wxCalculateLayoutEvent *src;
1351 wxObject *dest;
1352 src = (wxCalculateLayoutEvent *) ptr;
1353 dest = (wxObject *) src;
1354 return (void *) dest;
1355 }
1356
1357 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1358 static PyObject *_wrap_new_wxCalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1359 PyObject * _resultobj;
1360 wxCalculateLayoutEvent * _result;
1361 wxWindowID _arg0 = (wxWindowID ) 0;
1362 char *_kwnames[] = { "id", NULL };
1363 char _ptemp[128];
1364
1365 self = self;
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxCalculateLayoutEvent",_kwnames,&_arg0))
1367 return NULL;
1368 {
1369 wxPy_BEGIN_ALLOW_THREADS;
1370 _result = (wxCalculateLayoutEvent *)new_wxCalculateLayoutEvent(_arg0);
1371
1372 wxPy_END_ALLOW_THREADS;
1373 if (PyErr_Occurred()) return NULL;
1374 } if (_result) {
1375 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalculateLayoutEvent_p");
1376 _resultobj = Py_BuildValue("s",_ptemp);
1377 } else {
1378 Py_INCREF(Py_None);
1379 _resultobj = Py_None;
1380 }
1381 return _resultobj;
1382 }
1383
1384 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1385 static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1386 PyObject * _resultobj;
1387 wxCalculateLayoutEvent * _arg0;
1388 int _arg1;
1389 PyObject * _argo0 = 0;
1390 char *_kwnames[] = { "self","flags", NULL };
1391
1392 self = self;
1393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames,&_argo0,&_arg1))
1394 return NULL;
1395 if (_argo0) {
1396 if (_argo0 == Py_None) { _arg0 = NULL; }
1397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1399 return NULL;
1400 }
1401 }
1402 {
1403 wxPy_BEGIN_ALLOW_THREADS;
1404 wxCalculateLayoutEvent_SetFlags(_arg0,_arg1);
1405
1406 wxPy_END_ALLOW_THREADS;
1407 if (PyErr_Occurred()) return NULL;
1408 } Py_INCREF(Py_None);
1409 _resultobj = Py_None;
1410 return _resultobj;
1411 }
1412
1413 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1414 static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1415 PyObject * _resultobj;
1416 int _result;
1417 wxCalculateLayoutEvent * _arg0;
1418 PyObject * _argo0 = 0;
1419 char *_kwnames[] = { "self", NULL };
1420
1421 self = self;
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetFlags",_kwnames,&_argo0))
1423 return NULL;
1424 if (_argo0) {
1425 if (_argo0 == Py_None) { _arg0 = NULL; }
1426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1428 return NULL;
1429 }
1430 }
1431 {
1432 wxPy_BEGIN_ALLOW_THREADS;
1433 _result = (int )wxCalculateLayoutEvent_GetFlags(_arg0);
1434
1435 wxPy_END_ALLOW_THREADS;
1436 if (PyErr_Occurred()) return NULL;
1437 } _resultobj = Py_BuildValue("i",_result);
1438 return _resultobj;
1439 }
1440
1441 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1442 static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1443 PyObject * _resultobj;
1444 wxCalculateLayoutEvent * _arg0;
1445 wxRect * _arg1;
1446 PyObject * _argo0 = 0;
1447 wxRect temp;
1448 PyObject * _obj1 = 0;
1449 char *_kwnames[] = { "self","rect", NULL };
1450
1451 self = self;
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_obj1))
1453 return NULL;
1454 if (_argo0) {
1455 if (_argo0 == Py_None) { _arg0 = NULL; }
1456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1458 return NULL;
1459 }
1460 }
1461 {
1462 _arg1 = &temp;
1463 if (! wxRect_helper(_obj1, &_arg1))
1464 return NULL;
1465 }
1466 {
1467 wxPy_BEGIN_ALLOW_THREADS;
1468 wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
1469
1470 wxPy_END_ALLOW_THREADS;
1471 if (PyErr_Occurred()) return NULL;
1472 } Py_INCREF(Py_None);
1473 _resultobj = Py_None;
1474 return _resultobj;
1475 }
1476
1477 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1478 static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject * _resultobj;
1480 wxRect * _result;
1481 wxCalculateLayoutEvent * _arg0;
1482 PyObject * _argo0 = 0;
1483 char *_kwnames[] = { "self", NULL };
1484 char _ptemp[128];
1485
1486 self = self;
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetRect",_kwnames,&_argo0))
1488 return NULL;
1489 if (_argo0) {
1490 if (_argo0 == Py_None) { _arg0 = NULL; }
1491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1493 return NULL;
1494 }
1495 }
1496 {
1497 wxPy_BEGIN_ALLOW_THREADS;
1498 _result = new wxRect (wxCalculateLayoutEvent_GetRect(_arg0));
1499
1500 wxPy_END_ALLOW_THREADS;
1501 if (PyErr_Occurred()) return NULL;
1502 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1503 _resultobj = Py_BuildValue("s",_ptemp);
1504 return _resultobj;
1505 }
1506
1507 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr) {
1508 wxSashLayoutWindow *src;
1509 wxSashWindow *dest;
1510 src = (wxSashLayoutWindow *) ptr;
1511 dest = (wxSashWindow *) src;
1512 return (void *) dest;
1513 }
1514
1515 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr) {
1516 wxSashLayoutWindow *src;
1517 wxWindow *dest;
1518 src = (wxSashLayoutWindow *) ptr;
1519 dest = (wxWindow *) src;
1520 return (void *) dest;
1521 }
1522
1523 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) {
1524 wxSashLayoutWindow *src;
1525 wxEvtHandler *dest;
1526 src = (wxSashLayoutWindow *) ptr;
1527 dest = (wxEvtHandler *) src;
1528 return (void *) dest;
1529 }
1530
1531 static void *SwigwxSashLayoutWindowTowxObject(void *ptr) {
1532 wxSashLayoutWindow *src;
1533 wxObject *dest;
1534 src = (wxSashLayoutWindow *) ptr;
1535 dest = (wxObject *) src;
1536 return (void *) dest;
1537 }
1538
1539 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1540 static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1541 PyObject * _resultobj;
1542 wxSashLayoutWindow * _result;
1543 wxWindow * _arg0;
1544 wxWindowID _arg1;
1545 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1546 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1547 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
1548 char * _arg5 = (char *) "layoutWindow";
1549 PyObject * _argo0 = 0;
1550 wxPoint temp;
1551 PyObject * _obj2 = 0;
1552 wxSize temp0;
1553 PyObject * _obj3 = 0;
1554 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1555 char _ptemp[128];
1556
1557 self = self;
1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
1559 return NULL;
1560 if (_argo0) {
1561 if (_argo0 == Py_None) { _arg0 = NULL; }
1562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1564 return NULL;
1565 }
1566 }
1567 if (_obj2)
1568 {
1569 _arg2 = &temp;
1570 if (! wxPoint_helper(_obj2, &_arg2))
1571 return NULL;
1572 }
1573 if (_obj3)
1574 {
1575 _arg3 = &temp0;
1576 if (! wxSize_helper(_obj3, &_arg3))
1577 return NULL;
1578 }
1579 {
1580 wxPy_BEGIN_ALLOW_THREADS;
1581 _result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1582
1583 wxPy_END_ALLOW_THREADS;
1584 if (PyErr_Occurred()) return NULL;
1585 } if (_result) {
1586 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1587 _resultobj = Py_BuildValue("s",_ptemp);
1588 } else {
1589 Py_INCREF(Py_None);
1590 _resultobj = Py_None;
1591 }
1592 return _resultobj;
1593 }
1594
1595 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1596 static PyObject *_wrap_new_wxPreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1597 PyObject * _resultobj;
1598 wxSashLayoutWindow * _result;
1599 char *_kwnames[] = { NULL };
1600 char _ptemp[128];
1601
1602 self = self;
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSashLayoutWindow",_kwnames))
1604 return NULL;
1605 {
1606 wxPy_BEGIN_ALLOW_THREADS;
1607 _result = (wxSashLayoutWindow *)new_wxPreSashLayoutWindow();
1608
1609 wxPy_END_ALLOW_THREADS;
1610 if (PyErr_Occurred()) return NULL;
1611 } if (_result) {
1612 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1613 _resultobj = Py_BuildValue("s",_ptemp);
1614 } else {
1615 Py_INCREF(Py_None);
1616 _resultobj = Py_None;
1617 }
1618 return _resultobj;
1619 }
1620
1621 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1622 static PyObject *_wrap_wxSashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject * _resultobj;
1624 bool _result;
1625 wxSashLayoutWindow * _arg0;
1626 wxWindow * _arg1;
1627 wxWindowID _arg2;
1628 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1629 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1630 long _arg5 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
1631 char * _arg6 = (char *) "layoutWindow";
1632 PyObject * _argo0 = 0;
1633 PyObject * _argo1 = 0;
1634 wxPoint temp;
1635 PyObject * _obj3 = 0;
1636 wxSize temp0;
1637 PyObject * _obj4 = 0;
1638 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1639
1640 self = self;
1641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
1642 return NULL;
1643 if (_argo0) {
1644 if (_argo0 == Py_None) { _arg0 = NULL; }
1645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1647 return NULL;
1648 }
1649 }
1650 if (_argo1) {
1651 if (_argo1 == Py_None) { _arg1 = NULL; }
1652 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1653 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1654 return NULL;
1655 }
1656 }
1657 if (_obj3)
1658 {
1659 _arg3 = &temp;
1660 if (! wxPoint_helper(_obj3, &_arg3))
1661 return NULL;
1662 }
1663 if (_obj4)
1664 {
1665 _arg4 = &temp0;
1666 if (! wxSize_helper(_obj4, &_arg4))
1667 return NULL;
1668 }
1669 {
1670 wxPy_BEGIN_ALLOW_THREADS;
1671 _result = (bool )wxSashLayoutWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
1672
1673 wxPy_END_ALLOW_THREADS;
1674 if (PyErr_Occurred()) return NULL;
1675 } _resultobj = Py_BuildValue("i",_result);
1676 return _resultobj;
1677 }
1678
1679 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1680 static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject * _resultobj;
1682 wxLayoutAlignment _result;
1683 wxSashLayoutWindow * _arg0;
1684 PyObject * _argo0 = 0;
1685 char *_kwnames[] = { "self", NULL };
1686
1687 self = self;
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetAlignment",_kwnames,&_argo0))
1689 return NULL;
1690 if (_argo0) {
1691 if (_argo0 == Py_None) { _arg0 = NULL; }
1692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1694 return NULL;
1695 }
1696 }
1697 {
1698 wxPy_BEGIN_ALLOW_THREADS;
1699 _result = (wxLayoutAlignment )wxSashLayoutWindow_GetAlignment(_arg0);
1700
1701 wxPy_END_ALLOW_THREADS;
1702 if (PyErr_Occurred()) return NULL;
1703 } _resultobj = Py_BuildValue("i",_result);
1704 return _resultobj;
1705 }
1706
1707 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1708 static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject * _resultobj;
1710 wxLayoutOrientation _result;
1711 wxSashLayoutWindow * _arg0;
1712 PyObject * _argo0 = 0;
1713 char *_kwnames[] = { "self", NULL };
1714
1715 self = self;
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetOrientation",_kwnames,&_argo0))
1717 return NULL;
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1722 return NULL;
1723 }
1724 }
1725 {
1726 wxPy_BEGIN_ALLOW_THREADS;
1727 _result = (wxLayoutOrientation )wxSashLayoutWindow_GetOrientation(_arg0);
1728
1729 wxPy_END_ALLOW_THREADS;
1730 if (PyErr_Occurred()) return NULL;
1731 } _resultobj = Py_BuildValue("i",_result);
1732 return _resultobj;
1733 }
1734
1735 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1736 static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 wxSashLayoutWindow * _arg0;
1739 wxLayoutAlignment _arg1;
1740 PyObject * _argo0 = 0;
1741 char *_kwnames[] = { "self","alignment", NULL };
1742
1743 self = self;
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames,&_argo0,&_arg1))
1745 return NULL;
1746 if (_argo0) {
1747 if (_argo0 == Py_None) { _arg0 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1750 return NULL;
1751 }
1752 }
1753 {
1754 wxPy_BEGIN_ALLOW_THREADS;
1755 wxSashLayoutWindow_SetAlignment(_arg0,_arg1);
1756
1757 wxPy_END_ALLOW_THREADS;
1758 if (PyErr_Occurred()) return NULL;
1759 } Py_INCREF(Py_None);
1760 _resultobj = Py_None;
1761 return _resultobj;
1762 }
1763
1764 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1765 static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject * _resultobj;
1767 wxSashLayoutWindow * _arg0;
1768 wxSize * _arg1;
1769 PyObject * _argo0 = 0;
1770 wxSize temp;
1771 PyObject * _obj1 = 0;
1772 char *_kwnames[] = { "self","size", NULL };
1773
1774 self = self;
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_obj1))
1776 return NULL;
1777 if (_argo0) {
1778 if (_argo0 == Py_None) { _arg0 = NULL; }
1779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1781 return NULL;
1782 }
1783 }
1784 {
1785 _arg1 = &temp;
1786 if (! wxSize_helper(_obj1, &_arg1))
1787 return NULL;
1788 }
1789 {
1790 wxPy_BEGIN_ALLOW_THREADS;
1791 wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
1792
1793 wxPy_END_ALLOW_THREADS;
1794 if (PyErr_Occurred()) return NULL;
1795 } Py_INCREF(Py_None);
1796 _resultobj = Py_None;
1797 return _resultobj;
1798 }
1799
1800 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1801 static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject * _resultobj;
1803 wxSashLayoutWindow * _arg0;
1804 wxLayoutOrientation _arg1;
1805 PyObject * _argo0 = 0;
1806 char *_kwnames[] = { "self","orientation", NULL };
1807
1808 self = self;
1809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames,&_argo0,&_arg1))
1810 return NULL;
1811 if (_argo0) {
1812 if (_argo0 == Py_None) { _arg0 = NULL; }
1813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1815 return NULL;
1816 }
1817 }
1818 {
1819 wxPy_BEGIN_ALLOW_THREADS;
1820 wxSashLayoutWindow_SetOrientation(_arg0,_arg1);
1821
1822 wxPy_END_ALLOW_THREADS;
1823 if (PyErr_Occurred()) return NULL;
1824 } Py_INCREF(Py_None);
1825 _resultobj = Py_None;
1826 return _resultobj;
1827 }
1828
1829 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr) {
1830 wxLayoutAlgorithm *src;
1831 wxObject *dest;
1832 src = (wxLayoutAlgorithm *) ptr;
1833 dest = (wxObject *) src;
1834 return (void *) dest;
1835 }
1836
1837 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1838 static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1839 PyObject * _resultobj;
1840 wxLayoutAlgorithm * _result;
1841 char *_kwnames[] = { NULL };
1842 char _ptemp[128];
1843
1844 self = self;
1845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutAlgorithm",_kwnames))
1846 return NULL;
1847 {
1848 wxPy_BEGIN_ALLOW_THREADS;
1849 _result = (wxLayoutAlgorithm *)new_wxLayoutAlgorithm();
1850
1851 wxPy_END_ALLOW_THREADS;
1852 if (PyErr_Occurred()) return NULL;
1853 } if (_result) {
1854 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutAlgorithm_p");
1855 _resultobj = Py_BuildValue("s",_ptemp);
1856 } else {
1857 Py_INCREF(Py_None);
1858 _resultobj = Py_None;
1859 }
1860 return _resultobj;
1861 }
1862
1863 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1864 static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject * _resultobj;
1866 wxLayoutAlgorithm * _arg0;
1867 PyObject * _argo0 = 0;
1868 char *_kwnames[] = { "self", NULL };
1869
1870 self = self;
1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLayoutAlgorithm",_kwnames,&_argo0))
1872 return NULL;
1873 if (_argo0) {
1874 if (_argo0 == Py_None) { _arg0 = NULL; }
1875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1877 return NULL;
1878 }
1879 }
1880 {
1881 wxPy_BEGIN_ALLOW_THREADS;
1882 delete_wxLayoutAlgorithm(_arg0);
1883
1884 wxPy_END_ALLOW_THREADS;
1885 if (PyErr_Occurred()) return NULL;
1886 } Py_INCREF(Py_None);
1887 _resultobj = Py_None;
1888 return _resultobj;
1889 }
1890
1891 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1892 static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1893 PyObject * _resultobj;
1894 bool _result;
1895 wxLayoutAlgorithm * _arg0;
1896 wxMDIParentFrame * _arg1;
1897 wxRect * _arg2 = (wxRect *) NULL;
1898 PyObject * _argo0 = 0;
1899 PyObject * _argo1 = 0;
1900 wxRect temp;
1901 PyObject * _obj2 = 0;
1902 char *_kwnames[] = { "self","frame","rect", NULL };
1903
1904 self = self;
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_obj2))
1906 return NULL;
1907 if (_argo0) {
1908 if (_argo0 == Py_None) { _arg0 = NULL; }
1909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1911 return NULL;
1912 }
1913 }
1914 if (_argo1) {
1915 if (_argo1 == Py_None) { _arg1 = NULL; }
1916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
1917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1918 return NULL;
1919 }
1920 }
1921 if (_obj2)
1922 {
1923 _arg2 = &temp;
1924 if (! wxRect_helper(_obj2, &_arg2))
1925 return NULL;
1926 }
1927 {
1928 wxPy_BEGIN_ALLOW_THREADS;
1929 _result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
1930
1931 wxPy_END_ALLOW_THREADS;
1932 if (PyErr_Occurred()) return NULL;
1933 } _resultobj = Py_BuildValue("i",_result);
1934 return _resultobj;
1935 }
1936
1937 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1938 static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1939 PyObject * _resultobj;
1940 bool _result;
1941 wxLayoutAlgorithm * _arg0;
1942 wxFrame * _arg1;
1943 wxWindow * _arg2 = (wxWindow *) NULL;
1944 PyObject * _argo0 = 0;
1945 PyObject * _argo1 = 0;
1946 PyObject * _argo2 = 0;
1947 char *_kwnames[] = { "self","frame","mainWindow", NULL };
1948
1949 self = self;
1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames,&_argo0,&_argo1,&_argo2))
1951 return NULL;
1952 if (_argo0) {
1953 if (_argo0 == Py_None) { _arg0 = NULL; }
1954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1956 return NULL;
1957 }
1958 }
1959 if (_argo1) {
1960 if (_argo1 == Py_None) { _arg1 = NULL; }
1961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
1962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1963 return NULL;
1964 }
1965 }
1966 if (_argo2) {
1967 if (_argo2 == Py_None) { _arg2 = NULL; }
1968 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1969 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1970 return NULL;
1971 }
1972 }
1973 {
1974 wxPy_BEGIN_ALLOW_THREADS;
1975 _result = (bool )wxLayoutAlgorithm_LayoutFrame(_arg0,_arg1,_arg2);
1976
1977 wxPy_END_ALLOW_THREADS;
1978 if (PyErr_Occurred()) return NULL;
1979 } _resultobj = Py_BuildValue("i",_result);
1980 return _resultobj;
1981 }
1982
1983 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1984 static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject * _resultobj;
1986 bool _result;
1987 wxLayoutAlgorithm * _arg0;
1988 wxWindow * _arg1;
1989 wxWindow * _arg2 = (wxWindow *) NULL;
1990 PyObject * _argo0 = 0;
1991 PyObject * _argo1 = 0;
1992 PyObject * _argo2 = 0;
1993 char *_kwnames[] = { "self","parent","mainWindow", NULL };
1994
1995 self = self;
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames,&_argo0,&_argo1,&_argo2))
1997 return NULL;
1998 if (_argo0) {
1999 if (_argo0 == Py_None) { _arg0 = NULL; }
2000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
2001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2002 return NULL;
2003 }
2004 }
2005 if (_argo1) {
2006 if (_argo1 == Py_None) { _arg1 = NULL; }
2007 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2008 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2009 return NULL;
2010 }
2011 }
2012 if (_argo2) {
2013 if (_argo2 == Py_None) { _arg2 = NULL; }
2014 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2015 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2016 return NULL;
2017 }
2018 }
2019 {
2020 wxPy_BEGIN_ALLOW_THREADS;
2021 _result = (bool )wxLayoutAlgorithm_LayoutWindow(_arg0,_arg1,_arg2);
2022
2023 wxPy_END_ALLOW_THREADS;
2024 if (PyErr_Occurred()) return NULL;
2025 } _resultobj = Py_BuildValue("i",_result);
2026 return _resultobj;
2027 }
2028
2029 static void *SwigwxPopupWindowTowxWindow(void *ptr) {
2030 wxPopupWindow *src;
2031 wxWindow *dest;
2032 src = (wxPopupWindow *) ptr;
2033 dest = (wxWindow *) src;
2034 return (void *) dest;
2035 }
2036
2037 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr) {
2038 wxPopupWindow *src;
2039 wxEvtHandler *dest;
2040 src = (wxPopupWindow *) ptr;
2041 dest = (wxEvtHandler *) src;
2042 return (void *) dest;
2043 }
2044
2045 static void *SwigwxPopupWindowTowxObject(void *ptr) {
2046 wxPopupWindow *src;
2047 wxObject *dest;
2048 src = (wxPopupWindow *) ptr;
2049 dest = (wxObject *) src;
2050 return (void *) dest;
2051 }
2052
2053 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2054 static PyObject *_wrap_new_wxPopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject * _resultobj;
2056 wxPopupWindow * _result;
2057 wxWindow * _arg0;
2058 int _arg1 = (int ) wxBORDER_NONE;
2059 PyObject * _argo0 = 0;
2060 char *_kwnames[] = { "parent","flags", NULL };
2061 char _ptemp[128];
2062
2063 self = self;
2064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxPopupWindow",_kwnames,&_argo0,&_arg1))
2065 return NULL;
2066 if (_argo0) {
2067 if (_argo0 == Py_None) { _arg0 = NULL; }
2068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2070 return NULL;
2071 }
2072 }
2073 {
2074 wxPy_BEGIN_ALLOW_THREADS;
2075 _result = (wxPopupWindow *)new_wxPopupWindow(_arg0,_arg1);
2076
2077 wxPy_END_ALLOW_THREADS;
2078 if (PyErr_Occurred()) return NULL;
2079 } if (_result) {
2080 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPopupWindow_p");
2081 _resultobj = Py_BuildValue("s",_ptemp);
2082 } else {
2083 Py_INCREF(Py_None);
2084 _resultobj = Py_None;
2085 }
2086 return _resultobj;
2087 }
2088
2089 #define new_wxPrePopupWindow() (new wxPopupWindow())
2090 static PyObject *_wrap_new_wxPrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject * _resultobj;
2092 wxPopupWindow * _result;
2093 char *_kwnames[] = { NULL };
2094 char _ptemp[128];
2095
2096 self = self;
2097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePopupWindow",_kwnames))
2098 return NULL;
2099 {
2100 wxPy_BEGIN_ALLOW_THREADS;
2101 _result = (wxPopupWindow *)new_wxPrePopupWindow();
2102
2103 wxPy_END_ALLOW_THREADS;
2104 if (PyErr_Occurred()) return NULL;
2105 } if (_result) {
2106 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPopupWindow_p");
2107 _resultobj = Py_BuildValue("s",_ptemp);
2108 } else {
2109 Py_INCREF(Py_None);
2110 _resultobj = Py_None;
2111 }
2112 return _resultobj;
2113 }
2114
2115 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2116 static PyObject *_wrap_wxPopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2117 PyObject * _resultobj;
2118 bool _result;
2119 wxPopupWindow * _arg0;
2120 wxWindow * _arg1;
2121 int _arg2 = (int ) wxBORDER_NONE;
2122 PyObject * _argo0 = 0;
2123 PyObject * _argo1 = 0;
2124 char *_kwnames[] = { "self","parent","flags", NULL };
2125
2126 self = self;
2127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPopupWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2))
2128 return NULL;
2129 if (_argo0) {
2130 if (_argo0 == Py_None) { _arg0 = NULL; }
2131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPopupWindow_p")) {
2132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2133 return NULL;
2134 }
2135 }
2136 if (_argo1) {
2137 if (_argo1 == Py_None) { _arg1 = NULL; }
2138 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2139 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2140 return NULL;
2141 }
2142 }
2143 {
2144 wxPy_BEGIN_ALLOW_THREADS;
2145 _result = (bool )wxPopupWindow_Create(_arg0,_arg1,_arg2);
2146
2147 wxPy_END_ALLOW_THREADS;
2148 if (PyErr_Occurred()) return NULL;
2149 } _resultobj = Py_BuildValue("i",_result);
2150 return _resultobj;
2151 }
2152
2153 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2154 static PyObject *_wrap_wxPopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject * _resultobj;
2156 wxPopupWindow * _arg0;
2157 wxPoint * _arg1;
2158 wxSize * _arg2;
2159 PyObject * _argo0 = 0;
2160 wxPoint temp;
2161 PyObject * _obj1 = 0;
2162 wxSize temp0;
2163 PyObject * _obj2 = 0;
2164 char *_kwnames[] = { "self","ptOrigin","size", NULL };
2165
2166 self = self;
2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPopupWindow_Position",_kwnames,&_argo0,&_obj1,&_obj2))
2168 return NULL;
2169 if (_argo0) {
2170 if (_argo0 == Py_None) { _arg0 = NULL; }
2171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPopupWindow_p")) {
2172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2173 return NULL;
2174 }
2175 }
2176 {
2177 _arg1 = &temp;
2178 if (! wxPoint_helper(_obj1, &_arg1))
2179 return NULL;
2180 }
2181 {
2182 _arg2 = &temp0;
2183 if (! wxSize_helper(_obj2, &_arg2))
2184 return NULL;
2185 }
2186 {
2187 wxPy_BEGIN_ALLOW_THREADS;
2188 wxPopupWindow_Position(_arg0,*_arg1,*_arg2);
2189
2190 wxPy_END_ALLOW_THREADS;
2191 if (PyErr_Occurred()) return NULL;
2192 } Py_INCREF(Py_None);
2193 _resultobj = Py_None;
2194 return _resultobj;
2195 }
2196
2197 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr) {
2198 wxPyPopupTransientWindow *src;
2199 wxPopupWindow *dest;
2200 src = (wxPyPopupTransientWindow *) ptr;
2201 dest = (wxPopupWindow *) src;
2202 return (void *) dest;
2203 }
2204
2205 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr) {
2206 wxPyPopupTransientWindow *src;
2207 wxWindow *dest;
2208 src = (wxPyPopupTransientWindow *) ptr;
2209 dest = (wxWindow *) src;
2210 return (void *) dest;
2211 }
2212
2213 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr) {
2214 wxPyPopupTransientWindow *src;
2215 wxEvtHandler *dest;
2216 src = (wxPyPopupTransientWindow *) ptr;
2217 dest = (wxEvtHandler *) src;
2218 return (void *) dest;
2219 }
2220
2221 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr) {
2222 wxPyPopupTransientWindow *src;
2223 wxObject *dest;
2224 src = (wxPyPopupTransientWindow *) ptr;
2225 dest = (wxObject *) src;
2226 return (void *) dest;
2227 }
2228
2229 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2230 static PyObject *_wrap_new_wxPopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject * _resultobj;
2232 wxPyPopupTransientWindow * _result;
2233 wxWindow * _arg0;
2234 int _arg1 = (int ) wxBORDER_NONE;
2235 PyObject * _argo0 = 0;
2236 char *_kwnames[] = { "parent","style", NULL };
2237 char _ptemp[128];
2238
2239 self = self;
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxPopupTransientWindow",_kwnames,&_argo0,&_arg1))
2241 return NULL;
2242 if (_argo0) {
2243 if (_argo0 == Py_None) { _arg0 = NULL; }
2244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2246 return NULL;
2247 }
2248 }
2249 {
2250 wxPy_BEGIN_ALLOW_THREADS;
2251 _result = (wxPyPopupTransientWindow *)new_wxPopupTransientWindow(_arg0,_arg1);
2252
2253 wxPy_END_ALLOW_THREADS;
2254 if (PyErr_Occurred()) return NULL;
2255 } if (_result) {
2256 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPopupTransientWindow_p");
2257 _resultobj = Py_BuildValue("s",_ptemp);
2258 } else {
2259 Py_INCREF(Py_None);
2260 _resultobj = Py_None;
2261 }
2262 return _resultobj;
2263 }
2264
2265 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2266 static PyObject *_wrap_new_wxPrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2267 PyObject * _resultobj;
2268 wxPyPopupTransientWindow * _result;
2269 char *_kwnames[] = { NULL };
2270 char _ptemp[128];
2271
2272 self = self;
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePopupTransientWindow",_kwnames))
2274 return NULL;
2275 {
2276 wxPy_BEGIN_ALLOW_THREADS;
2277 _result = (wxPyPopupTransientWindow *)new_wxPrePopupTransientWindow();
2278
2279 wxPy_END_ALLOW_THREADS;
2280 if (PyErr_Occurred()) return NULL;
2281 } if (_result) {
2282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPopupTransientWindow_p");
2283 _resultobj = Py_BuildValue("s",_ptemp);
2284 } else {
2285 Py_INCREF(Py_None);
2286 _resultobj = Py_None;
2287 }
2288 return _resultobj;
2289 }
2290
2291 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2292 static PyObject *_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2293 PyObject * _resultobj;
2294 wxPyPopupTransientWindow * _arg0;
2295 PyObject * _arg1;
2296 PyObject * _arg2;
2297 PyObject * _argo0 = 0;
2298 PyObject * _obj1 = 0;
2299 PyObject * _obj2 = 0;
2300 char *_kwnames[] = { "self","self","_class", NULL };
2301
2302 self = self;
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2304 return NULL;
2305 if (_argo0) {
2306 if (_argo0 == Py_None) { _arg0 = NULL; }
2307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2309 return NULL;
2310 }
2311 }
2312 {
2313 _arg1 = _obj1;
2314 }
2315 {
2316 _arg2 = _obj2;
2317 }
2318 {
2319 wxPy_BEGIN_ALLOW_THREADS;
2320 wxPopupTransientWindow__setCallbackInfo(_arg0,_arg1,_arg2);
2321
2322 wxPy_END_ALLOW_THREADS;
2323 if (PyErr_Occurred()) return NULL;
2324 } Py_INCREF(Py_None);
2325 _resultobj = Py_None;
2326 return _resultobj;
2327 }
2328
2329 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2330 static PyObject *_wrap_wxPopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject * _resultobj;
2332 wxPyPopupTransientWindow * _arg0;
2333 wxWindow * _arg1 = (wxWindow *) NULL;
2334 PyObject * _argo0 = 0;
2335 PyObject * _argo1 = 0;
2336 char *_kwnames[] = { "self","focus", NULL };
2337
2338 self = self;
2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPopupTransientWindow_Popup",_kwnames,&_argo0,&_argo1))
2340 return NULL;
2341 if (_argo0) {
2342 if (_argo0 == Py_None) { _arg0 = NULL; }
2343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2345 return NULL;
2346 }
2347 }
2348 if (_argo1) {
2349 if (_argo1 == Py_None) { _arg1 = NULL; }
2350 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2351 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2352 return NULL;
2353 }
2354 }
2355 {
2356 wxPy_BEGIN_ALLOW_THREADS;
2357 wxPopupTransientWindow_Popup(_arg0,_arg1);
2358
2359 wxPy_END_ALLOW_THREADS;
2360 if (PyErr_Occurred()) return NULL;
2361 } Py_INCREF(Py_None);
2362 _resultobj = Py_None;
2363 return _resultobj;
2364 }
2365
2366 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2367 static PyObject *_wrap_wxPopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
2368 PyObject * _resultobj;
2369 wxPyPopupTransientWindow * _arg0;
2370 PyObject * _argo0 = 0;
2371 char *_kwnames[] = { "self", NULL };
2372
2373 self = self;
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPopupTransientWindow_Dismiss",_kwnames,&_argo0))
2375 return NULL;
2376 if (_argo0) {
2377 if (_argo0 == Py_None) { _arg0 = NULL; }
2378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2380 return NULL;
2381 }
2382 }
2383 {
2384 wxPy_BEGIN_ALLOW_THREADS;
2385 wxPopupTransientWindow_Dismiss(_arg0);
2386
2387 wxPy_END_ALLOW_THREADS;
2388 if (PyErr_Occurred()) return NULL;
2389 } Py_INCREF(Py_None);
2390 _resultobj = Py_None;
2391 return _resultobj;
2392 }
2393
2394 static PyMethodDef windows3cMethods[] = {
2395 { "wxPopupTransientWindow_Dismiss", (PyCFunction) _wrap_wxPopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
2396 { "wxPopupTransientWindow_Popup", (PyCFunction) _wrap_wxPopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
2397 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_wxPopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2398 { "new_wxPrePopupTransientWindow", (PyCFunction) _wrap_new_wxPrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
2399 { "new_wxPopupTransientWindow", (PyCFunction) _wrap_new_wxPopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
2400 { "wxPopupWindow_Position", (PyCFunction) _wrap_wxPopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
2401 { "wxPopupWindow_Create", (PyCFunction) _wrap_wxPopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
2402 { "new_wxPrePopupWindow", (PyCFunction) _wrap_new_wxPrePopupWindow, METH_VARARGS | METH_KEYWORDS },
2403 { "new_wxPopupWindow", (PyCFunction) _wrap_new_wxPopupWindow, METH_VARARGS | METH_KEYWORDS },
2404 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
2405 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
2406 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
2407 { "delete_wxLayoutAlgorithm", (PyCFunction) _wrap_delete_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
2408 { "new_wxLayoutAlgorithm", (PyCFunction) _wrap_new_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
2409 { "wxSashLayoutWindow_SetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
2410 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
2411 { "wxSashLayoutWindow_SetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
2412 { "wxSashLayoutWindow_GetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
2413 { "wxSashLayoutWindow_GetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
2414 { "wxSashLayoutWindow_Create", (PyCFunction) _wrap_wxSashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
2415 { "new_wxPreSashLayoutWindow", (PyCFunction) _wrap_new_wxPreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
2416 { "new_wxSashLayoutWindow", (PyCFunction) _wrap_new_wxSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
2417 { "wxCalculateLayoutEvent_GetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
2418 { "wxCalculateLayoutEvent_SetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
2419 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
2420 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
2421 { "new_wxCalculateLayoutEvent", (PyCFunction) _wrap_new_wxCalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
2422 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
2423 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
2424 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
2425 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
2426 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
2427 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
2428 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
2429 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
2430 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
2431 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
2432 { "new_wxQueryLayoutInfoEvent", (PyCFunction) _wrap_new_wxQueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
2433 { "wxSashWindow_SetSashBorder", (PyCFunction) _wrap_wxSashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
2434 { "wxSashWindow_SetSashVisible", (PyCFunction) _wrap_wxSashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
2435 { "wxSashWindow_SetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
2436 { "wxSashWindow_SetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
2437 { "wxSashWindow_SetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
2438 { "wxSashWindow_SetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
2439 { "wxSashWindow_SetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
2440 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
2441 { "wxSashWindow_HasBorder", (PyCFunction) _wrap_wxSashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
2442 { "wxSashWindow_GetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
2443 { "wxSashWindow_GetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
2444 { "wxSashWindow_GetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
2445 { "wxSashWindow_GetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
2446 { "wxSashWindow_GetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
2447 { "wxSashWindow_GetEdgeMargin", (PyCFunction) _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
2448 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
2449 { "wxSashWindow_GetSashVisible", (PyCFunction) _wrap_wxSashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
2450 { "wxSashWindow_Create", (PyCFunction) _wrap_wxSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
2451 { "new_wxPreSashWindow", (PyCFunction) _wrap_new_wxPreSashWindow, METH_VARARGS | METH_KEYWORDS },
2452 { "new_wxSashWindow", (PyCFunction) _wrap_new_wxSashWindow, METH_VARARGS | METH_KEYWORDS },
2453 { "wxSashEvent_GetDragStatus", (PyCFunction) _wrap_wxSashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
2454 { "wxSashEvent_SetDragStatus", (PyCFunction) _wrap_wxSashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
2455 { "wxSashEvent_GetDragRect", (PyCFunction) _wrap_wxSashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
2456 { "wxSashEvent_SetDragRect", (PyCFunction) _wrap_wxSashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
2457 { "wxSashEvent_GetEdge", (PyCFunction) _wrap_wxSashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
2458 { "wxSashEvent_SetEdge", (PyCFunction) _wrap_wxSashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
2459 { "new_wxSashEvent", (PyCFunction) _wrap_new_wxSashEvent, METH_VARARGS | METH_KEYWORDS },
2460 { NULL, NULL }
2461 };
2462 #ifdef __cplusplus
2463 }
2464 #endif
2465 /*
2466 * This table is used by the pointer type-checker
2467 */
2468 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2469 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
2470 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
2471 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
2472 { "_signed_long","_long",0},
2473 { "_wxPrintQuality","_wxCoord",0},
2474 { "_wxPrintQuality","_int",0},
2475 { "_wxPrintQuality","_signed_int",0},
2476 { "_wxPrintQuality","_unsigned_int",0},
2477 { "_wxPrintQuality","_wxWindowID",0},
2478 { "_wxPrintQuality","_uint",0},
2479 { "_wxPrintQuality","_EBool",0},
2480 { "_wxPrintQuality","_size_t",0},
2481 { "_wxPrintQuality","_time_t",0},
2482 { "_byte","_unsigned_char",0},
2483 { "_long","_unsigned_long",0},
2484 { "_long","_signed_long",0},
2485 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
2486 { "_size_t","_wxCoord",0},
2487 { "_size_t","_wxPrintQuality",0},
2488 { "_size_t","_time_t",0},
2489 { "_size_t","_unsigned_int",0},
2490 { "_size_t","_int",0},
2491 { "_size_t","_wxWindowID",0},
2492 { "_size_t","_uint",0},
2493 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow},
2494 { "_uint","_wxCoord",0},
2495 { "_uint","_wxPrintQuality",0},
2496 { "_uint","_time_t",0},
2497 { "_uint","_size_t",0},
2498 { "_uint","_unsigned_int",0},
2499 { "_uint","_int",0},
2500 { "_uint","_wxWindowID",0},
2501 { "_wxChar","_char",0},
2502 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
2503 { "_char","_wxChar",0},
2504 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2505 { "_EBool","_wxCoord",0},
2506 { "_EBool","_wxPrintQuality",0},
2507 { "_EBool","_signed_int",0},
2508 { "_EBool","_int",0},
2509 { "_EBool","_wxWindowID",0},
2510 { "_unsigned_long","_long",0},
2511 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2512 { "_signed_int","_wxCoord",0},
2513 { "_signed_int","_wxPrintQuality",0},
2514 { "_signed_int","_EBool",0},
2515 { "_signed_int","_wxWindowID",0},
2516 { "_signed_int","_int",0},
2517 { "_WXTYPE","_short",0},
2518 { "_WXTYPE","_signed_short",0},
2519 { "_WXTYPE","_unsigned_short",0},
2520 { "_unsigned_short","_WXTYPE",0},
2521 { "_unsigned_short","_short",0},
2522 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject},
2523 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject},
2524 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject},
2525 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject},
2526 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject},
2527 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject},
2528 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject},
2529 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject},
2530 { "_signed_short","_WXTYPE",0},
2531 { "_signed_short","_short",0},
2532 { "_unsigned_char","_byte",0},
2533 { "_unsigned_int","_wxCoord",0},
2534 { "_unsigned_int","_wxPrintQuality",0},
2535 { "_unsigned_int","_time_t",0},
2536 { "_unsigned_int","_size_t",0},
2537 { "_unsigned_int","_uint",0},
2538 { "_unsigned_int","_wxWindowID",0},
2539 { "_unsigned_int","_int",0},
2540 { "_short","_WXTYPE",0},
2541 { "_short","_unsigned_short",0},
2542 { "_short","_signed_short",0},
2543 { "_wxWindowID","_wxCoord",0},
2544 { "_wxWindowID","_wxPrintQuality",0},
2545 { "_wxWindowID","_time_t",0},
2546 { "_wxWindowID","_size_t",0},
2547 { "_wxWindowID","_EBool",0},
2548 { "_wxWindowID","_uint",0},
2549 { "_wxWindowID","_int",0},
2550 { "_wxWindowID","_signed_int",0},
2551 { "_wxWindowID","_unsigned_int",0},
2552 { "_int","_wxCoord",0},
2553 { "_int","_wxPrintQuality",0},
2554 { "_int","_time_t",0},
2555 { "_int","_size_t",0},
2556 { "_int","_EBool",0},
2557 { "_int","_uint",0},
2558 { "_int","_wxWindowID",0},
2559 { "_int","_unsigned_int",0},
2560 { "_int","_signed_int",0},
2561 { "_time_t","_wxCoord",0},
2562 { "_time_t","_wxPrintQuality",0},
2563 { "_time_t","_unsigned_int",0},
2564 { "_time_t","_int",0},
2565 { "_time_t","_wxWindowID",0},
2566 { "_time_t","_uint",0},
2567 { "_time_t","_size_t",0},
2568 { "_wxCoord","_int",0},
2569 { "_wxCoord","_signed_int",0},
2570 { "_wxCoord","_unsigned_int",0},
2571 { "_wxCoord","_wxWindowID",0},
2572 { "_wxCoord","_uint",0},
2573 { "_wxCoord","_EBool",0},
2574 { "_wxCoord","_size_t",0},
2575 { "_wxCoord","_time_t",0},
2576 { "_wxCoord","_wxPrintQuality",0},
2577 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler},
2578 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler},
2579 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
2580 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
2581 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow},
2582 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow},
2583 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
2584 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
2585 {0,0,0}};
2586
2587 static PyObject *SWIG_globals;
2588 #ifdef __cplusplus
2589 extern "C"
2590 #endif
2591 SWIGEXPORT(void) initwindows3c() {
2592 PyObject *m, *d;
2593 SWIG_globals = SWIG_newvarlink();
2594 m = Py_InitModule("windows3c", windows3cMethods);
2595 d = PyModule_GetDict(m);
2596 PyDict_SetItemString(d,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP));
2597 PyDict_SetItemString(d,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT));
2598 PyDict_SetItemString(d,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM));
2599 PyDict_SetItemString(d,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT));
2600 PyDict_SetItemString(d,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE));
2601 PyDict_SetItemString(d,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED));
2602 PyDict_SetItemString(d,"wxSW_3D", PyInt_FromLong((long) wxSW_3D));
2603 PyDict_SetItemString(d,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH));
2604 PyDict_SetItemString(d,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER));
2605 PyDict_SetItemString(d,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER));
2606 PyDict_SetItemString(d,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK));
2607 PyDict_SetItemString(d,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE));
2608 PyDict_SetItemString(d,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL));
2609 PyDict_SetItemString(d,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL));
2610 PyDict_SetItemString(d,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE));
2611 PyDict_SetItemString(d,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP));
2612 PyDict_SetItemString(d,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT));
2613 PyDict_SetItemString(d,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT));
2614 PyDict_SetItemString(d,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM));
2615 PyDict_SetItemString(d,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO));
2616 PyDict_SetItemString(d,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT));
2617 {
2618 int i;
2619 for (i = 0; _swig_mapping[i].n1; i++)
2620 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2621 }
2622 }