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