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