]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows3.cpp
Added a couple more numeric character references
[wxWidgets.git] / wxPython / src / gtk / windows3.cpp
1 /*
2 * FILE : src/gtk/windows3.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initwindows3c
55
56 #define SWIG_name "windows3c"
57
58 #include "helpers.h"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
61
62 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 if (!target) {
65 target = o;
66 } else if (target == Py_None) {
67 Py_DECREF(Py_None);
68 target = o;
69 } else {
70 if (!PyList_Check(target)) {
71 o2 = target;
72 target = PyList_New(0);
73 PyList_Append(target, o2);
74 Py_XDECREF(o2);
75 }
76 PyList_Append(target,o);
77 Py_XDECREF(o);
78 }
79 return target;
80 }
81
82 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
83 PyObject* o2;
84 PyObject* o3;
85
86 if (!target) {
87 target = o;
88 } else if (target == Py_None) {
89 Py_DECREF(Py_None);
90 target = o;
91 } else {
92 if (!PyTuple_Check(target)) {
93 o2 = target;
94 target = PyTuple_New(1);
95 PyTuple_SetItem(target, 0, o2);
96 }
97 o3 = PyTuple_New(1);
98 PyTuple_SetItem(o3, 0, o);
99
100 o2 = target;
101 target = PySequence_Concat(o2, o3);
102 Py_DECREF(o2);
103 Py_DECREF(o3);
104 }
105 return target;
106 }
107
108 #if PYTHON_API_VERSION >= 1009
109 static char* wxStringErrorMsg = "String or Unicode type required";
110 #else
111 static char* wxStringErrorMsg = "string type is required for parameter";
112 #endif
113 #ifdef __cplusplus
114 extern "C" {
115 #endif
116 static void *SwigwxSashEventTowxCommandEvent(void *ptr) {
117 wxSashEvent *src;
118 wxCommandEvent *dest;
119 src = (wxSashEvent *) ptr;
120 dest = (wxCommandEvent *) src;
121 return (void *) dest;
122 }
123
124 static void *SwigwxSashEventTowxEvent(void *ptr) {
125 wxSashEvent *src;
126 wxEvent *dest;
127 src = (wxSashEvent *) ptr;
128 dest = (wxEvent *) src;
129 return (void *) dest;
130 }
131
132 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
133 static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
134 PyObject * _resultobj;
135 wxSashEvent * _arg0;
136 wxSashEdgePosition _arg1;
137 PyObject * _argo0 = 0;
138 char *_kwnames[] = { "self","edge", NULL };
139
140 self = self;
141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetEdge",_kwnames,&_argo0,&_arg1))
142 return NULL;
143 if (_argo0) {
144 if (_argo0 == Py_None) { _arg0 = NULL; }
145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
147 return NULL;
148 }
149 }
150 {
151 wxPy_BEGIN_ALLOW_THREADS;
152 wxSashEvent_SetEdge(_arg0,_arg1);
153
154 wxPy_END_ALLOW_THREADS;
155 } Py_INCREF(Py_None);
156 _resultobj = Py_None;
157 return _resultobj;
158 }
159
160 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
161 static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
162 PyObject * _resultobj;
163 wxSashEdgePosition _result;
164 wxSashEvent * _arg0;
165 PyObject * _argo0 = 0;
166 char *_kwnames[] = { "self", NULL };
167
168 self = self;
169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetEdge",_kwnames,&_argo0))
170 return NULL;
171 if (_argo0) {
172 if (_argo0 == Py_None) { _arg0 = NULL; }
173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
175 return NULL;
176 }
177 }
178 {
179 wxPy_BEGIN_ALLOW_THREADS;
180 _result = (wxSashEdgePosition )wxSashEvent_GetEdge(_arg0);
181
182 wxPy_END_ALLOW_THREADS;
183 } _resultobj = Py_BuildValue("i",_result);
184 return _resultobj;
185 }
186
187 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
188 static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
189 PyObject * _resultobj;
190 wxSashEvent * _arg0;
191 wxRect * _arg1;
192 PyObject * _argo0 = 0;
193 wxRect temp;
194 PyObject * _obj1 = 0;
195 char *_kwnames[] = { "self","rect", NULL };
196
197 self = self;
198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_obj1))
199 return NULL;
200 if (_argo0) {
201 if (_argo0 == Py_None) { _arg0 = NULL; }
202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
204 return NULL;
205 }
206 }
207 {
208 _arg1 = &temp;
209 if (! wxRect_helper(_obj1, &_arg1))
210 return NULL;
211 }
212 {
213 wxPy_BEGIN_ALLOW_THREADS;
214 wxSashEvent_SetDragRect(_arg0,*_arg1);
215
216 wxPy_END_ALLOW_THREADS;
217 } Py_INCREF(Py_None);
218 _resultobj = Py_None;
219 return _resultobj;
220 }
221
222 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
223 static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
224 PyObject * _resultobj;
225 wxRect * _result;
226 wxSashEvent * _arg0;
227 PyObject * _argo0 = 0;
228 char *_kwnames[] = { "self", NULL };
229 char _ptemp[128];
230
231 self = self;
232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragRect",_kwnames,&_argo0))
233 return NULL;
234 if (_argo0) {
235 if (_argo0 == Py_None) { _arg0 = NULL; }
236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
238 return NULL;
239 }
240 }
241 {
242 wxPy_BEGIN_ALLOW_THREADS;
243 _result = new wxRect (wxSashEvent_GetDragRect(_arg0));
244
245 wxPy_END_ALLOW_THREADS;
246 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
247 _resultobj = Py_BuildValue("s",_ptemp);
248 return _resultobj;
249 }
250
251 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
252 static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
253 PyObject * _resultobj;
254 wxSashEvent * _arg0;
255 wxSashDragStatus _arg1;
256 PyObject * _argo0 = 0;
257 char *_kwnames[] = { "self","status", NULL };
258
259 self = self;
260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetDragStatus",_kwnames,&_argo0,&_arg1))
261 return NULL;
262 if (_argo0) {
263 if (_argo0 == Py_None) { _arg0 = NULL; }
264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
266 return NULL;
267 }
268 }
269 {
270 wxPy_BEGIN_ALLOW_THREADS;
271 wxSashEvent_SetDragStatus(_arg0,_arg1);
272
273 wxPy_END_ALLOW_THREADS;
274 } Py_INCREF(Py_None);
275 _resultobj = Py_None;
276 return _resultobj;
277 }
278
279 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
280 static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
281 PyObject * _resultobj;
282 wxSashDragStatus _result;
283 wxSashEvent * _arg0;
284 PyObject * _argo0 = 0;
285 char *_kwnames[] = { "self", NULL };
286
287 self = self;
288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragStatus",_kwnames,&_argo0))
289 return NULL;
290 if (_argo0) {
291 if (_argo0 == Py_None) { _arg0 = NULL; }
292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
294 return NULL;
295 }
296 }
297 {
298 wxPy_BEGIN_ALLOW_THREADS;
299 _result = (wxSashDragStatus )wxSashEvent_GetDragStatus(_arg0);
300
301 wxPy_END_ALLOW_THREADS;
302 } _resultobj = Py_BuildValue("i",_result);
303 return _resultobj;
304 }
305
306 static void *SwigwxSashWindowTowxWindow(void *ptr) {
307 wxSashWindow *src;
308 wxWindow *dest;
309 src = (wxSashWindow *) ptr;
310 dest = (wxWindow *) src;
311 return (void *) dest;
312 }
313
314 static void *SwigwxSashWindowTowxEvtHandler(void *ptr) {
315 wxSashWindow *src;
316 wxEvtHandler *dest;
317 src = (wxSashWindow *) ptr;
318 dest = (wxEvtHandler *) src;
319 return (void *) dest;
320 }
321
322 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
323 static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
324 PyObject * _resultobj;
325 wxSashWindow * _result;
326 wxWindow * _arg0;
327 wxWindowID _arg1;
328 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
329 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
330 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
331 char * _arg5 = (char *) "sashWindow";
332 PyObject * _argo0 = 0;
333 wxPoint temp;
334 PyObject * _obj2 = 0;
335 wxSize temp0;
336 PyObject * _obj3 = 0;
337 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
338 char _ptemp[128];
339
340 self = self;
341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
342 return NULL;
343 if (_argo0) {
344 if (_argo0 == Py_None) { _arg0 = NULL; }
345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
347 return NULL;
348 }
349 }
350 if (_obj2)
351 {
352 _arg2 = &temp;
353 if (! wxPoint_helper(_obj2, &_arg2))
354 return NULL;
355 }
356 if (_obj3)
357 {
358 _arg3 = &temp0;
359 if (! wxSize_helper(_obj3, &_arg3))
360 return NULL;
361 }
362 {
363 wxPy_BEGIN_ALLOW_THREADS;
364 _result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
365
366 wxPy_END_ALLOW_THREADS;
367 } if (_result) {
368 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
369 _resultobj = Py_BuildValue("s",_ptemp);
370 } else {
371 Py_INCREF(Py_None);
372 _resultobj = Py_None;
373 }
374 return _resultobj;
375 }
376
377 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
378 static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
379 PyObject * _resultobj;
380 bool _result;
381 wxSashWindow * _arg0;
382 wxSashEdgePosition _arg1;
383 PyObject * _argo0 = 0;
384 char *_kwnames[] = { "self","edge", NULL };
385
386 self = self;
387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetSashVisible",_kwnames,&_argo0,&_arg1))
388 return NULL;
389 if (_argo0) {
390 if (_argo0 == Py_None) { _arg0 = NULL; }
391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
393 return NULL;
394 }
395 }
396 {
397 wxPy_BEGIN_ALLOW_THREADS;
398 _result = (bool )wxSashWindow_GetSashVisible(_arg0,_arg1);
399
400 wxPy_END_ALLOW_THREADS;
401 } _resultobj = Py_BuildValue("i",_result);
402 return _resultobj;
403 }
404
405 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
406 static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
407 PyObject * _resultobj;
408 int _result;
409 wxSashWindow * _arg0;
410 PyObject * _argo0 = 0;
411 char *_kwnames[] = { "self", NULL };
412
413 self = self;
414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetDefaultBorderSize",_kwnames,&_argo0))
415 return NULL;
416 if (_argo0) {
417 if (_argo0 == Py_None) { _arg0 = NULL; }
418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
420 return NULL;
421 }
422 }
423 {
424 wxPy_BEGIN_ALLOW_THREADS;
425 _result = (int )wxSashWindow_GetDefaultBorderSize(_arg0);
426
427 wxPy_END_ALLOW_THREADS;
428 } _resultobj = Py_BuildValue("i",_result);
429 return _resultobj;
430 }
431
432 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
433 static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
434 PyObject * _resultobj;
435 int _result;
436 wxSashWindow * _arg0;
437 wxSashEdgePosition _arg1;
438 PyObject * _argo0 = 0;
439 char *_kwnames[] = { "self","edge", NULL };
440
441 self = self;
442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetEdgeMargin",_kwnames,&_argo0,&_arg1))
443 return NULL;
444 if (_argo0) {
445 if (_argo0 == Py_None) { _arg0 = NULL; }
446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
448 return NULL;
449 }
450 }
451 {
452 wxPy_BEGIN_ALLOW_THREADS;
453 _result = (int )wxSashWindow_GetEdgeMargin(_arg0,_arg1);
454
455 wxPy_END_ALLOW_THREADS;
456 } _resultobj = Py_BuildValue("i",_result);
457 return _resultobj;
458 }
459
460 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
461 static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
462 PyObject * _resultobj;
463 int _result;
464 wxSashWindow * _arg0;
465 PyObject * _argo0 = 0;
466 char *_kwnames[] = { "self", NULL };
467
468 self = self;
469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetExtraBorderSize",_kwnames,&_argo0))
470 return NULL;
471 if (_argo0) {
472 if (_argo0 == Py_None) { _arg0 = NULL; }
473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
475 return NULL;
476 }
477 }
478 {
479 wxPy_BEGIN_ALLOW_THREADS;
480 _result = (int )wxSashWindow_GetExtraBorderSize(_arg0);
481
482 wxPy_END_ALLOW_THREADS;
483 } _resultobj = Py_BuildValue("i",_result);
484 return _resultobj;
485 }
486
487 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
488 static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
489 PyObject * _resultobj;
490 int _result;
491 wxSashWindow * _arg0;
492 PyObject * _argo0 = 0;
493 char *_kwnames[] = { "self", NULL };
494
495 self = self;
496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeX",_kwnames,&_argo0))
497 return NULL;
498 if (_argo0) {
499 if (_argo0 == Py_None) { _arg0 = NULL; }
500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
502 return NULL;
503 }
504 }
505 {
506 wxPy_BEGIN_ALLOW_THREADS;
507 _result = (int )wxSashWindow_GetMaximumSizeX(_arg0);
508
509 wxPy_END_ALLOW_THREADS;
510 } _resultobj = Py_BuildValue("i",_result);
511 return _resultobj;
512 }
513
514 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
515 static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
516 PyObject * _resultobj;
517 int _result;
518 wxSashWindow * _arg0;
519 PyObject * _argo0 = 0;
520 char *_kwnames[] = { "self", NULL };
521
522 self = self;
523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeY",_kwnames,&_argo0))
524 return NULL;
525 if (_argo0) {
526 if (_argo0 == Py_None) { _arg0 = NULL; }
527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
529 return NULL;
530 }
531 }
532 {
533 wxPy_BEGIN_ALLOW_THREADS;
534 _result = (int )wxSashWindow_GetMaximumSizeY(_arg0);
535
536 wxPy_END_ALLOW_THREADS;
537 } _resultobj = Py_BuildValue("i",_result);
538 return _resultobj;
539 }
540
541 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
542 static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
543 PyObject * _resultobj;
544 int _result;
545 wxSashWindow * _arg0;
546 PyObject * _argo0 = 0;
547 char *_kwnames[] = { "self", NULL };
548
549 self = self;
550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeX",_kwnames,&_argo0))
551 return NULL;
552 if (_argo0) {
553 if (_argo0 == Py_None) { _arg0 = NULL; }
554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
556 return NULL;
557 }
558 }
559 {
560 wxPy_BEGIN_ALLOW_THREADS;
561 _result = (int )wxSashWindow_GetMinimumSizeX(_arg0);
562
563 wxPy_END_ALLOW_THREADS;
564 } _resultobj = Py_BuildValue("i",_result);
565 return _resultobj;
566 }
567
568 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
569 static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
570 PyObject * _resultobj;
571 int _result;
572 wxSashWindow * _arg0;
573 PyObject * _argo0 = 0;
574 char *_kwnames[] = { "self", NULL };
575
576 self = self;
577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeY",_kwnames,&_argo0))
578 return NULL;
579 if (_argo0) {
580 if (_argo0 == Py_None) { _arg0 = NULL; }
581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
583 return NULL;
584 }
585 }
586 {
587 wxPy_BEGIN_ALLOW_THREADS;
588 _result = (int )wxSashWindow_GetMinimumSizeY(_arg0);
589
590 wxPy_END_ALLOW_THREADS;
591 } _resultobj = Py_BuildValue("i",_result);
592 return _resultobj;
593 }
594
595 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
596 static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
597 PyObject * _resultobj;
598 bool _result;
599 wxSashWindow * _arg0;
600 wxSashEdgePosition _arg1;
601 PyObject * _argo0 = 0;
602 char *_kwnames[] = { "self","edge", NULL };
603
604 self = self;
605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_HasBorder",_kwnames,&_argo0,&_arg1))
606 return NULL;
607 if (_argo0) {
608 if (_argo0 == Py_None) { _arg0 = NULL; }
609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
611 return NULL;
612 }
613 }
614 {
615 wxPy_BEGIN_ALLOW_THREADS;
616 _result = (bool )wxSashWindow_HasBorder(_arg0,_arg1);
617
618 wxPy_END_ALLOW_THREADS;
619 } _resultobj = Py_BuildValue("i",_result);
620 return _resultobj;
621 }
622
623 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
624 static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
625 PyObject * _resultobj;
626 wxSashWindow * _arg0;
627 int _arg1;
628 PyObject * _argo0 = 0;
629 char *_kwnames[] = { "self","width", NULL };
630
631 self = self;
632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames,&_argo0,&_arg1))
633 return NULL;
634 if (_argo0) {
635 if (_argo0 == Py_None) { _arg0 = NULL; }
636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
638 return NULL;
639 }
640 }
641 {
642 wxPy_BEGIN_ALLOW_THREADS;
643 wxSashWindow_SetDefaultBorderSize(_arg0,_arg1);
644
645 wxPy_END_ALLOW_THREADS;
646 } Py_INCREF(Py_None);
647 _resultobj = Py_None;
648 return _resultobj;
649 }
650
651 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
652 static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
653 PyObject * _resultobj;
654 wxSashWindow * _arg0;
655 int _arg1;
656 PyObject * _argo0 = 0;
657 char *_kwnames[] = { "self","width", NULL };
658
659 self = self;
660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames,&_argo0,&_arg1))
661 return NULL;
662 if (_argo0) {
663 if (_argo0 == Py_None) { _arg0 = NULL; }
664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
666 return NULL;
667 }
668 }
669 {
670 wxPy_BEGIN_ALLOW_THREADS;
671 wxSashWindow_SetExtraBorderSize(_arg0,_arg1);
672
673 wxPy_END_ALLOW_THREADS;
674 } Py_INCREF(Py_None);
675 _resultobj = Py_None;
676 return _resultobj;
677 }
678
679 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
680 static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
681 PyObject * _resultobj;
682 wxSashWindow * _arg0;
683 int _arg1;
684 PyObject * _argo0 = 0;
685 char *_kwnames[] = { "self","min", NULL };
686
687 self = self;
688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames,&_argo0,&_arg1))
689 return NULL;
690 if (_argo0) {
691 if (_argo0 == Py_None) { _arg0 = NULL; }
692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
694 return NULL;
695 }
696 }
697 {
698 wxPy_BEGIN_ALLOW_THREADS;
699 wxSashWindow_SetMaximumSizeX(_arg0,_arg1);
700
701 wxPy_END_ALLOW_THREADS;
702 } Py_INCREF(Py_None);
703 _resultobj = Py_None;
704 return _resultobj;
705 }
706
707 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
708 static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
709 PyObject * _resultobj;
710 wxSashWindow * _arg0;
711 int _arg1;
712 PyObject * _argo0 = 0;
713 char *_kwnames[] = { "self","min", NULL };
714
715 self = self;
716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames,&_argo0,&_arg1))
717 return NULL;
718 if (_argo0) {
719 if (_argo0 == Py_None) { _arg0 = NULL; }
720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
722 return NULL;
723 }
724 }
725 {
726 wxPy_BEGIN_ALLOW_THREADS;
727 wxSashWindow_SetMaximumSizeY(_arg0,_arg1);
728
729 wxPy_END_ALLOW_THREADS;
730 } Py_INCREF(Py_None);
731 _resultobj = Py_None;
732 return _resultobj;
733 }
734
735 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
736 static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
737 PyObject * _resultobj;
738 wxSashWindow * _arg0;
739 int _arg1;
740 PyObject * _argo0 = 0;
741 char *_kwnames[] = { "self","min", NULL };
742
743 self = self;
744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames,&_argo0,&_arg1))
745 return NULL;
746 if (_argo0) {
747 if (_argo0 == Py_None) { _arg0 = NULL; }
748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
750 return NULL;
751 }
752 }
753 {
754 wxPy_BEGIN_ALLOW_THREADS;
755 wxSashWindow_SetMinimumSizeX(_arg0,_arg1);
756
757 wxPy_END_ALLOW_THREADS;
758 } Py_INCREF(Py_None);
759 _resultobj = Py_None;
760 return _resultobj;
761 }
762
763 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
764 static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
765 PyObject * _resultobj;
766 wxSashWindow * _arg0;
767 int _arg1;
768 PyObject * _argo0 = 0;
769 char *_kwnames[] = { "self","min", NULL };
770
771 self = self;
772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames,&_argo0,&_arg1))
773 return NULL;
774 if (_argo0) {
775 if (_argo0 == Py_None) { _arg0 = NULL; }
776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
778 return NULL;
779 }
780 }
781 {
782 wxPy_BEGIN_ALLOW_THREADS;
783 wxSashWindow_SetMinimumSizeY(_arg0,_arg1);
784
785 wxPy_END_ALLOW_THREADS;
786 } Py_INCREF(Py_None);
787 _resultobj = Py_None;
788 return _resultobj;
789 }
790
791 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
792 static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
793 PyObject * _resultobj;
794 wxSashWindow * _arg0;
795 wxSashEdgePosition _arg1;
796 bool _arg2;
797 PyObject * _argo0 = 0;
798 int tempbool2;
799 char *_kwnames[] = { "self","edge","visible", NULL };
800
801 self = self;
802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
803 return NULL;
804 if (_argo0) {
805 if (_argo0 == Py_None) { _arg0 = NULL; }
806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
808 return NULL;
809 }
810 }
811 _arg2 = (bool ) tempbool2;
812 {
813 wxPy_BEGIN_ALLOW_THREADS;
814 wxSashWindow_SetSashVisible(_arg0,_arg1,_arg2);
815
816 wxPy_END_ALLOW_THREADS;
817 } Py_INCREF(Py_None);
818 _resultobj = Py_None;
819 return _resultobj;
820 }
821
822 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
823 static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
824 PyObject * _resultobj;
825 wxSashWindow * _arg0;
826 wxSashEdgePosition _arg1;
827 bool _arg2;
828 PyObject * _argo0 = 0;
829 int tempbool2;
830 char *_kwnames[] = { "self","edge","hasBorder", NULL };
831
832 self = self;
833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashBorder",_kwnames,&_argo0,&_arg1,&tempbool2))
834 return NULL;
835 if (_argo0) {
836 if (_argo0 == Py_None) { _arg0 = NULL; }
837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
839 return NULL;
840 }
841 }
842 _arg2 = (bool ) tempbool2;
843 {
844 wxPy_BEGIN_ALLOW_THREADS;
845 wxSashWindow_SetSashBorder(_arg0,_arg1,_arg2);
846
847 wxPy_END_ALLOW_THREADS;
848 } Py_INCREF(Py_None);
849 _resultobj = Py_None;
850 return _resultobj;
851 }
852
853 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) {
854 wxQueryLayoutInfoEvent *src;
855 wxEvent *dest;
856 src = (wxQueryLayoutInfoEvent *) ptr;
857 dest = (wxEvent *) src;
858 return (void *) dest;
859 }
860
861 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
862 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
863 PyObject * _resultobj;
864 wxQueryLayoutInfoEvent * _arg0;
865 int _arg1;
866 PyObject * _argo0 = 0;
867 char *_kwnames[] = { "self","length", NULL };
868
869 self = self;
870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames,&_argo0,&_arg1))
871 return NULL;
872 if (_argo0) {
873 if (_argo0 == Py_None) { _arg0 = NULL; }
874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
876 return NULL;
877 }
878 }
879 {
880 wxPy_BEGIN_ALLOW_THREADS;
881 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0,_arg1);
882
883 wxPy_END_ALLOW_THREADS;
884 } Py_INCREF(Py_None);
885 _resultobj = Py_None;
886 return _resultobj;
887 }
888
889 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
890 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
891 PyObject * _resultobj;
892 int _result;
893 wxQueryLayoutInfoEvent * _arg0;
894 PyObject * _argo0 = 0;
895 char *_kwnames[] = { "self", NULL };
896
897 self = self;
898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames,&_argo0))
899 return NULL;
900 if (_argo0) {
901 if (_argo0 == Py_None) { _arg0 = NULL; }
902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
904 return NULL;
905 }
906 }
907 {
908 wxPy_BEGIN_ALLOW_THREADS;
909 _result = (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0);
910
911 wxPy_END_ALLOW_THREADS;
912 } _resultobj = Py_BuildValue("i",_result);
913 return _resultobj;
914 }
915
916 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
917 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
918 PyObject * _resultobj;
919 wxQueryLayoutInfoEvent * _arg0;
920 int _arg1;
921 PyObject * _argo0 = 0;
922 char *_kwnames[] = { "self","flags", NULL };
923
924 self = self;
925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames,&_argo0,&_arg1))
926 return NULL;
927 if (_argo0) {
928 if (_argo0 == Py_None) { _arg0 = NULL; }
929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
931 return NULL;
932 }
933 }
934 {
935 wxPy_BEGIN_ALLOW_THREADS;
936 wxQueryLayoutInfoEvent_SetFlags(_arg0,_arg1);
937
938 wxPy_END_ALLOW_THREADS;
939 } Py_INCREF(Py_None);
940 _resultobj = Py_None;
941 return _resultobj;
942 }
943
944 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
945 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
946 PyObject * _resultobj;
947 int _result;
948 wxQueryLayoutInfoEvent * _arg0;
949 PyObject * _argo0 = 0;
950 char *_kwnames[] = { "self", NULL };
951
952 self = self;
953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames,&_argo0))
954 return NULL;
955 if (_argo0) {
956 if (_argo0 == Py_None) { _arg0 = NULL; }
957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
959 return NULL;
960 }
961 }
962 {
963 wxPy_BEGIN_ALLOW_THREADS;
964 _result = (int )wxQueryLayoutInfoEvent_GetFlags(_arg0);
965
966 wxPy_END_ALLOW_THREADS;
967 } _resultobj = Py_BuildValue("i",_result);
968 return _resultobj;
969 }
970
971 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
972 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
973 PyObject * _resultobj;
974 wxQueryLayoutInfoEvent * _arg0;
975 wxSize * _arg1;
976 PyObject * _argo0 = 0;
977 wxSize temp;
978 PyObject * _obj1 = 0;
979 char *_kwnames[] = { "self","size", NULL };
980
981 self = self;
982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_obj1))
983 return NULL;
984 if (_argo0) {
985 if (_argo0 == Py_None) { _arg0 = NULL; }
986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
988 return NULL;
989 }
990 }
991 {
992 _arg1 = &temp;
993 if (! wxSize_helper(_obj1, &_arg1))
994 return NULL;
995 }
996 {
997 wxPy_BEGIN_ALLOW_THREADS;
998 wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
999
1000 wxPy_END_ALLOW_THREADS;
1001 } Py_INCREF(Py_None);
1002 _resultobj = Py_None;
1003 return _resultobj;
1004 }
1005
1006 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1007 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1008 PyObject * _resultobj;
1009 wxSize * _result;
1010 wxQueryLayoutInfoEvent * _arg0;
1011 PyObject * _argo0 = 0;
1012 char *_kwnames[] = { "self", NULL };
1013 char _ptemp[128];
1014
1015 self = self;
1016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames,&_argo0))
1017 return NULL;
1018 if (_argo0) {
1019 if (_argo0 == Py_None) { _arg0 = NULL; }
1020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1022 return NULL;
1023 }
1024 }
1025 {
1026 wxPy_BEGIN_ALLOW_THREADS;
1027 _result = new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0));
1028
1029 wxPy_END_ALLOW_THREADS;
1030 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1031 _resultobj = Py_BuildValue("s",_ptemp);
1032 return _resultobj;
1033 }
1034
1035 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1036 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject * _resultobj;
1038 wxQueryLayoutInfoEvent * _arg0;
1039 wxLayoutOrientation _arg1;
1040 PyObject * _argo0 = 0;
1041 char *_kwnames[] = { "self","orient", NULL };
1042
1043 self = self;
1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames,&_argo0,&_arg1))
1045 return NULL;
1046 if (_argo0) {
1047 if (_argo0 == Py_None) { _arg0 = NULL; }
1048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1050 return NULL;
1051 }
1052 }
1053 {
1054 wxPy_BEGIN_ALLOW_THREADS;
1055 wxQueryLayoutInfoEvent_SetOrientation(_arg0,_arg1);
1056
1057 wxPy_END_ALLOW_THREADS;
1058 } Py_INCREF(Py_None);
1059 _resultobj = Py_None;
1060 return _resultobj;
1061 }
1062
1063 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1064 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1065 PyObject * _resultobj;
1066 wxLayoutOrientation _result;
1067 wxQueryLayoutInfoEvent * _arg0;
1068 PyObject * _argo0 = 0;
1069 char *_kwnames[] = { "self", NULL };
1070
1071 self = self;
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames,&_argo0))
1073 return NULL;
1074 if (_argo0) {
1075 if (_argo0 == Py_None) { _arg0 = NULL; }
1076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1078 return NULL;
1079 }
1080 }
1081 {
1082 wxPy_BEGIN_ALLOW_THREADS;
1083 _result = (wxLayoutOrientation )wxQueryLayoutInfoEvent_GetOrientation(_arg0);
1084
1085 wxPy_END_ALLOW_THREADS;
1086 } _resultobj = Py_BuildValue("i",_result);
1087 return _resultobj;
1088 }
1089
1090 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1091 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1092 PyObject * _resultobj;
1093 wxQueryLayoutInfoEvent * _arg0;
1094 wxLayoutAlignment _arg1;
1095 PyObject * _argo0 = 0;
1096 char *_kwnames[] = { "self","align", NULL };
1097
1098 self = self;
1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames,&_argo0,&_arg1))
1100 return NULL;
1101 if (_argo0) {
1102 if (_argo0 == Py_None) { _arg0 = NULL; }
1103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1105 return NULL;
1106 }
1107 }
1108 {
1109 wxPy_BEGIN_ALLOW_THREADS;
1110 wxQueryLayoutInfoEvent_SetAlignment(_arg0,_arg1);
1111
1112 wxPy_END_ALLOW_THREADS;
1113 } Py_INCREF(Py_None);
1114 _resultobj = Py_None;
1115 return _resultobj;
1116 }
1117
1118 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1119 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1120 PyObject * _resultobj;
1121 wxLayoutAlignment _result;
1122 wxQueryLayoutInfoEvent * _arg0;
1123 PyObject * _argo0 = 0;
1124 char *_kwnames[] = { "self", NULL };
1125
1126 self = self;
1127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames,&_argo0))
1128 return NULL;
1129 if (_argo0) {
1130 if (_argo0 == Py_None) { _arg0 = NULL; }
1131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1133 return NULL;
1134 }
1135 }
1136 {
1137 wxPy_BEGIN_ALLOW_THREADS;
1138 _result = (wxLayoutAlignment )wxQueryLayoutInfoEvent_GetAlignment(_arg0);
1139
1140 wxPy_END_ALLOW_THREADS;
1141 } _resultobj = Py_BuildValue("i",_result);
1142 return _resultobj;
1143 }
1144
1145 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) {
1146 wxCalculateLayoutEvent *src;
1147 wxEvent *dest;
1148 src = (wxCalculateLayoutEvent *) ptr;
1149 dest = (wxEvent *) src;
1150 return (void *) dest;
1151 }
1152
1153 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1154 static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1155 PyObject * _resultobj;
1156 wxCalculateLayoutEvent * _arg0;
1157 int _arg1;
1158 PyObject * _argo0 = 0;
1159 char *_kwnames[] = { "self","flags", NULL };
1160
1161 self = self;
1162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames,&_argo0,&_arg1))
1163 return NULL;
1164 if (_argo0) {
1165 if (_argo0 == Py_None) { _arg0 = NULL; }
1166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1168 return NULL;
1169 }
1170 }
1171 {
1172 wxPy_BEGIN_ALLOW_THREADS;
1173 wxCalculateLayoutEvent_SetFlags(_arg0,_arg1);
1174
1175 wxPy_END_ALLOW_THREADS;
1176 } Py_INCREF(Py_None);
1177 _resultobj = Py_None;
1178 return _resultobj;
1179 }
1180
1181 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1182 static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1183 PyObject * _resultobj;
1184 int _result;
1185 wxCalculateLayoutEvent * _arg0;
1186 PyObject * _argo0 = 0;
1187 char *_kwnames[] = { "self", NULL };
1188
1189 self = self;
1190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetFlags",_kwnames,&_argo0))
1191 return NULL;
1192 if (_argo0) {
1193 if (_argo0 == Py_None) { _arg0 = NULL; }
1194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1196 return NULL;
1197 }
1198 }
1199 {
1200 wxPy_BEGIN_ALLOW_THREADS;
1201 _result = (int )wxCalculateLayoutEvent_GetFlags(_arg0);
1202
1203 wxPy_END_ALLOW_THREADS;
1204 } _resultobj = Py_BuildValue("i",_result);
1205 return _resultobj;
1206 }
1207
1208 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1209 static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1210 PyObject * _resultobj;
1211 wxCalculateLayoutEvent * _arg0;
1212 wxRect * _arg1;
1213 PyObject * _argo0 = 0;
1214 wxRect temp;
1215 PyObject * _obj1 = 0;
1216 char *_kwnames[] = { "self","rect", NULL };
1217
1218 self = self;
1219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_obj1))
1220 return NULL;
1221 if (_argo0) {
1222 if (_argo0 == Py_None) { _arg0 = NULL; }
1223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1225 return NULL;
1226 }
1227 }
1228 {
1229 _arg1 = &temp;
1230 if (! wxRect_helper(_obj1, &_arg1))
1231 return NULL;
1232 }
1233 {
1234 wxPy_BEGIN_ALLOW_THREADS;
1235 wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
1236
1237 wxPy_END_ALLOW_THREADS;
1238 } Py_INCREF(Py_None);
1239 _resultobj = Py_None;
1240 return _resultobj;
1241 }
1242
1243 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1244 static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1245 PyObject * _resultobj;
1246 wxRect * _result;
1247 wxCalculateLayoutEvent * _arg0;
1248 PyObject * _argo0 = 0;
1249 char *_kwnames[] = { "self", NULL };
1250 char _ptemp[128];
1251
1252 self = self;
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetRect",_kwnames,&_argo0))
1254 return NULL;
1255 if (_argo0) {
1256 if (_argo0 == Py_None) { _arg0 = NULL; }
1257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1259 return NULL;
1260 }
1261 }
1262 {
1263 wxPy_BEGIN_ALLOW_THREADS;
1264 _result = new wxRect (wxCalculateLayoutEvent_GetRect(_arg0));
1265
1266 wxPy_END_ALLOW_THREADS;
1267 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1268 _resultobj = Py_BuildValue("s",_ptemp);
1269 return _resultobj;
1270 }
1271
1272 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr) {
1273 wxSashLayoutWindow *src;
1274 wxSashWindow *dest;
1275 src = (wxSashLayoutWindow *) ptr;
1276 dest = (wxSashWindow *) src;
1277 return (void *) dest;
1278 }
1279
1280 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr) {
1281 wxSashLayoutWindow *src;
1282 wxWindow *dest;
1283 src = (wxSashLayoutWindow *) ptr;
1284 dest = (wxWindow *) src;
1285 return (void *) dest;
1286 }
1287
1288 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) {
1289 wxSashLayoutWindow *src;
1290 wxEvtHandler *dest;
1291 src = (wxSashLayoutWindow *) ptr;
1292 dest = (wxEvtHandler *) src;
1293 return (void *) dest;
1294 }
1295
1296 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1297 static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1298 PyObject * _resultobj;
1299 wxSashLayoutWindow * _result;
1300 wxWindow * _arg0;
1301 wxWindowID _arg1;
1302 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1303 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1304 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
1305 char * _arg5 = (char *) "layoutWindow";
1306 PyObject * _argo0 = 0;
1307 wxPoint temp;
1308 PyObject * _obj2 = 0;
1309 wxSize temp0;
1310 PyObject * _obj3 = 0;
1311 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1312 char _ptemp[128];
1313
1314 self = self;
1315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
1316 return NULL;
1317 if (_argo0) {
1318 if (_argo0 == Py_None) { _arg0 = NULL; }
1319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1321 return NULL;
1322 }
1323 }
1324 if (_obj2)
1325 {
1326 _arg2 = &temp;
1327 if (! wxPoint_helper(_obj2, &_arg2))
1328 return NULL;
1329 }
1330 if (_obj3)
1331 {
1332 _arg3 = &temp0;
1333 if (! wxSize_helper(_obj3, &_arg3))
1334 return NULL;
1335 }
1336 {
1337 wxPy_BEGIN_ALLOW_THREADS;
1338 _result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1339
1340 wxPy_END_ALLOW_THREADS;
1341 } if (_result) {
1342 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1343 _resultobj = Py_BuildValue("s",_ptemp);
1344 } else {
1345 Py_INCREF(Py_None);
1346 _resultobj = Py_None;
1347 }
1348 return _resultobj;
1349 }
1350
1351 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1352 static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject * _resultobj;
1354 wxLayoutAlignment _result;
1355 wxSashLayoutWindow * _arg0;
1356 PyObject * _argo0 = 0;
1357 char *_kwnames[] = { "self", NULL };
1358
1359 self = self;
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetAlignment",_kwnames,&_argo0))
1361 return NULL;
1362 if (_argo0) {
1363 if (_argo0 == Py_None) { _arg0 = NULL; }
1364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1366 return NULL;
1367 }
1368 }
1369 {
1370 wxPy_BEGIN_ALLOW_THREADS;
1371 _result = (wxLayoutAlignment )wxSashLayoutWindow_GetAlignment(_arg0);
1372
1373 wxPy_END_ALLOW_THREADS;
1374 } _resultobj = Py_BuildValue("i",_result);
1375 return _resultobj;
1376 }
1377
1378 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1379 static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject * _resultobj;
1381 wxLayoutOrientation _result;
1382 wxSashLayoutWindow * _arg0;
1383 PyObject * _argo0 = 0;
1384 char *_kwnames[] = { "self", NULL };
1385
1386 self = self;
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetOrientation",_kwnames,&_argo0))
1388 return NULL;
1389 if (_argo0) {
1390 if (_argo0 == Py_None) { _arg0 = NULL; }
1391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1393 return NULL;
1394 }
1395 }
1396 {
1397 wxPy_BEGIN_ALLOW_THREADS;
1398 _result = (wxLayoutOrientation )wxSashLayoutWindow_GetOrientation(_arg0);
1399
1400 wxPy_END_ALLOW_THREADS;
1401 } _resultobj = Py_BuildValue("i",_result);
1402 return _resultobj;
1403 }
1404
1405 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1406 static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject * _resultobj;
1408 wxSashLayoutWindow * _arg0;
1409 wxLayoutAlignment _arg1;
1410 PyObject * _argo0 = 0;
1411 char *_kwnames[] = { "self","alignment", NULL };
1412
1413 self = self;
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames,&_argo0,&_arg1))
1415 return NULL;
1416 if (_argo0) {
1417 if (_argo0 == Py_None) { _arg0 = NULL; }
1418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1420 return NULL;
1421 }
1422 }
1423 {
1424 wxPy_BEGIN_ALLOW_THREADS;
1425 wxSashLayoutWindow_SetAlignment(_arg0,_arg1);
1426
1427 wxPy_END_ALLOW_THREADS;
1428 } Py_INCREF(Py_None);
1429 _resultobj = Py_None;
1430 return _resultobj;
1431 }
1432
1433 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1434 static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject * _resultobj;
1436 wxSashLayoutWindow * _arg0;
1437 wxSize * _arg1;
1438 PyObject * _argo0 = 0;
1439 wxSize temp;
1440 PyObject * _obj1 = 0;
1441 char *_kwnames[] = { "self","size", NULL };
1442
1443 self = self;
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_obj1))
1445 return NULL;
1446 if (_argo0) {
1447 if (_argo0 == Py_None) { _arg0 = NULL; }
1448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1450 return NULL;
1451 }
1452 }
1453 {
1454 _arg1 = &temp;
1455 if (! wxSize_helper(_obj1, &_arg1))
1456 return NULL;
1457 }
1458 {
1459 wxPy_BEGIN_ALLOW_THREADS;
1460 wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
1461
1462 wxPy_END_ALLOW_THREADS;
1463 } Py_INCREF(Py_None);
1464 _resultobj = Py_None;
1465 return _resultobj;
1466 }
1467
1468 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1469 static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1470 PyObject * _resultobj;
1471 wxSashLayoutWindow * _arg0;
1472 wxLayoutOrientation _arg1;
1473 PyObject * _argo0 = 0;
1474 char *_kwnames[] = { "self","orientation", NULL };
1475
1476 self = self;
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames,&_argo0,&_arg1))
1478 return NULL;
1479 if (_argo0) {
1480 if (_argo0 == Py_None) { _arg0 = NULL; }
1481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1483 return NULL;
1484 }
1485 }
1486 {
1487 wxPy_BEGIN_ALLOW_THREADS;
1488 wxSashLayoutWindow_SetOrientation(_arg0,_arg1);
1489
1490 wxPy_END_ALLOW_THREADS;
1491 } Py_INCREF(Py_None);
1492 _resultobj = Py_None;
1493 return _resultobj;
1494 }
1495
1496 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1497 static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1498 PyObject * _resultobj;
1499 wxLayoutAlgorithm * _result;
1500 char *_kwnames[] = { NULL };
1501 char _ptemp[128];
1502
1503 self = self;
1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutAlgorithm",_kwnames))
1505 return NULL;
1506 {
1507 wxPy_BEGIN_ALLOW_THREADS;
1508 _result = (wxLayoutAlgorithm *)new_wxLayoutAlgorithm();
1509
1510 wxPy_END_ALLOW_THREADS;
1511 } if (_result) {
1512 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutAlgorithm_p");
1513 _resultobj = Py_BuildValue("s",_ptemp);
1514 } else {
1515 Py_INCREF(Py_None);
1516 _resultobj = Py_None;
1517 }
1518 return _resultobj;
1519 }
1520
1521 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1522 static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject * _resultobj;
1524 wxLayoutAlgorithm * _arg0;
1525 PyObject * _argo0 = 0;
1526 char *_kwnames[] = { "self", NULL };
1527
1528 self = self;
1529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLayoutAlgorithm",_kwnames,&_argo0))
1530 return NULL;
1531 if (_argo0) {
1532 if (_argo0 == Py_None) { _arg0 = NULL; }
1533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1535 return NULL;
1536 }
1537 }
1538 {
1539 wxPy_BEGIN_ALLOW_THREADS;
1540 delete_wxLayoutAlgorithm(_arg0);
1541
1542 wxPy_END_ALLOW_THREADS;
1543 } Py_INCREF(Py_None);
1544 _resultobj = Py_None;
1545 return _resultobj;
1546 }
1547
1548 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1549 static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1550 PyObject * _resultobj;
1551 bool _result;
1552 wxLayoutAlgorithm * _arg0;
1553 wxMDIParentFrame * _arg1;
1554 wxRect * _arg2 = (wxRect *) NULL;
1555 PyObject * _argo0 = 0;
1556 PyObject * _argo1 = 0;
1557 wxRect temp;
1558 PyObject * _obj2 = 0;
1559 char *_kwnames[] = { "self","frame","rect", NULL };
1560
1561 self = self;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_obj2))
1563 return NULL;
1564 if (_argo0) {
1565 if (_argo0 == Py_None) { _arg0 = NULL; }
1566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1568 return NULL;
1569 }
1570 }
1571 if (_argo1) {
1572 if (_argo1 == Py_None) { _arg1 = NULL; }
1573 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
1574 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1575 return NULL;
1576 }
1577 }
1578 if (_obj2)
1579 {
1580 _arg2 = &temp;
1581 if (! wxRect_helper(_obj2, &_arg2))
1582 return NULL;
1583 }
1584 {
1585 wxPy_BEGIN_ALLOW_THREADS;
1586 _result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
1587
1588 wxPy_END_ALLOW_THREADS;
1589 } _resultobj = Py_BuildValue("i",_result);
1590 return _resultobj;
1591 }
1592
1593 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1594 static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject * _resultobj;
1596 bool _result;
1597 wxLayoutAlgorithm * _arg0;
1598 wxFrame * _arg1;
1599 wxWindow * _arg2 = (wxWindow *) NULL;
1600 PyObject * _argo0 = 0;
1601 PyObject * _argo1 = 0;
1602 PyObject * _argo2 = 0;
1603 char *_kwnames[] = { "self","frame","mainWindow", NULL };
1604
1605 self = self;
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames,&_argo0,&_argo1,&_argo2))
1607 return NULL;
1608 if (_argo0) {
1609 if (_argo0 == Py_None) { _arg0 = NULL; }
1610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1612 return NULL;
1613 }
1614 }
1615 if (_argo1) {
1616 if (_argo1 == Py_None) { _arg1 = NULL; }
1617 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
1618 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1619 return NULL;
1620 }
1621 }
1622 if (_argo2) {
1623 if (_argo2 == Py_None) { _arg2 = NULL; }
1624 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1625 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1626 return NULL;
1627 }
1628 }
1629 {
1630 wxPy_BEGIN_ALLOW_THREADS;
1631 _result = (bool )wxLayoutAlgorithm_LayoutFrame(_arg0,_arg1,_arg2);
1632
1633 wxPy_END_ALLOW_THREADS;
1634 } _resultobj = Py_BuildValue("i",_result);
1635 return _resultobj;
1636 }
1637
1638 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1639 static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject * _resultobj;
1641 bool _result;
1642 wxLayoutAlgorithm * _arg0;
1643 wxWindow * _arg1;
1644 wxWindow * _arg2 = (wxWindow *) NULL;
1645 PyObject * _argo0 = 0;
1646 PyObject * _argo1 = 0;
1647 PyObject * _argo2 = 0;
1648 char *_kwnames[] = { "self","parent","mainWindow", NULL };
1649
1650 self = self;
1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames,&_argo0,&_argo1,&_argo2))
1652 return NULL;
1653 if (_argo0) {
1654 if (_argo0 == Py_None) { _arg0 = NULL; }
1655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
1657 return NULL;
1658 }
1659 }
1660 if (_argo1) {
1661 if (_argo1 == Py_None) { _arg1 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1664 return NULL;
1665 }
1666 }
1667 if (_argo2) {
1668 if (_argo2 == Py_None) { _arg2 = NULL; }
1669 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1670 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
1671 return NULL;
1672 }
1673 }
1674 {
1675 wxPy_BEGIN_ALLOW_THREADS;
1676 _result = (bool )wxLayoutAlgorithm_LayoutWindow(_arg0,_arg1,_arg2);
1677
1678 wxPy_END_ALLOW_THREADS;
1679 } _resultobj = Py_BuildValue("i",_result);
1680 return _resultobj;
1681 }
1682
1683 static PyMethodDef windows3cMethods[] = {
1684 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
1685 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
1686 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
1687 { "delete_wxLayoutAlgorithm", (PyCFunction) _wrap_delete_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
1688 { "new_wxLayoutAlgorithm", (PyCFunction) _wrap_new_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
1689 { "wxSashLayoutWindow_SetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
1690 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
1691 { "wxSashLayoutWindow_SetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
1692 { "wxSashLayoutWindow_GetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
1693 { "wxSashLayoutWindow_GetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
1694 { "new_wxSashLayoutWindow", (PyCFunction) _wrap_new_wxSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
1695 { "wxCalculateLayoutEvent_GetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
1696 { "wxCalculateLayoutEvent_SetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
1697 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
1698 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
1699 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
1700 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
1701 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
1702 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
1703 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
1704 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
1705 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
1706 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
1707 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
1708 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
1709 { "wxSashWindow_SetSashBorder", (PyCFunction) _wrap_wxSashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
1710 { "wxSashWindow_SetSashVisible", (PyCFunction) _wrap_wxSashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
1711 { "wxSashWindow_SetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
1712 { "wxSashWindow_SetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
1713 { "wxSashWindow_SetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
1714 { "wxSashWindow_SetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
1715 { "wxSashWindow_SetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
1716 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
1717 { "wxSashWindow_HasBorder", (PyCFunction) _wrap_wxSashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
1718 { "wxSashWindow_GetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
1719 { "wxSashWindow_GetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
1720 { "wxSashWindow_GetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
1721 { "wxSashWindow_GetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
1722 { "wxSashWindow_GetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
1723 { "wxSashWindow_GetEdgeMargin", (PyCFunction) _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
1724 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
1725 { "wxSashWindow_GetSashVisible", (PyCFunction) _wrap_wxSashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
1726 { "new_wxSashWindow", (PyCFunction) _wrap_new_wxSashWindow, METH_VARARGS | METH_KEYWORDS },
1727 { "wxSashEvent_GetDragStatus", (PyCFunction) _wrap_wxSashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
1728 { "wxSashEvent_SetDragStatus", (PyCFunction) _wrap_wxSashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
1729 { "wxSashEvent_GetDragRect", (PyCFunction) _wrap_wxSashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
1730 { "wxSashEvent_SetDragRect", (PyCFunction) _wrap_wxSashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
1731 { "wxSashEvent_GetEdge", (PyCFunction) _wrap_wxSashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
1732 { "wxSashEvent_SetEdge", (PyCFunction) _wrap_wxSashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
1733 { NULL, NULL }
1734 };
1735 #ifdef __cplusplus
1736 }
1737 #endif
1738 /*
1739 * This table is used by the pointer type-checker
1740 */
1741 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1742 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1743 { "_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1744 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1745 { "_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1746 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1747 { "_wxEvent","_class_wxSashEvent",SwigwxSashEventTowxEvent},
1748 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
1749 { "_wxEvent","_class_wxEvent",0},
1750 { "_class_wxActivateEvent","_wxActivateEvent",0},
1751 { "_signed_long","_long",0},
1752 { "_wxMenuEvent","_class_wxMenuEvent",0},
1753 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1754 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1755 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1756 { "_wxPrintQuality","_wxCoord",0},
1757 { "_wxPrintQuality","_int",0},
1758 { "_wxPrintQuality","_signed_int",0},
1759 { "_wxPrintQuality","_unsigned_int",0},
1760 { "_wxPrintQuality","_wxWindowID",0},
1761 { "_wxPrintQuality","_uint",0},
1762 { "_wxPrintQuality","_EBool",0},
1763 { "_wxPrintQuality","_size_t",0},
1764 { "_wxPrintQuality","_time_t",0},
1765 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1766 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1767 { "_class_wxRegionIterator","_wxRegionIterator",0},
1768 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1769 { "_class_wxMenuBar","_wxMenuBar",0},
1770 { "_class_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
1771 { "_class_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
1772 { "_class_wxEvtHandler","_class_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
1773 { "_class_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
1774 { "_class_wxEvtHandler","_wxEvtHandler",0},
1775 { "_wxPaintEvent","_class_wxPaintEvent",0},
1776 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1777 { "_wxCursor","_class_wxCursor",0},
1778 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1779 { "_class_wxToolBarBase","_wxToolBarBase",0},
1780 { "_wxMask","_class_wxMask",0},
1781 { "_wxPen","_class_wxPen",0},
1782 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1783 { "_byte","_unsigned_char",0},
1784 { "_wxDataObject","_class_wxDataObject",0},
1785 { "_wxStaticBox","_class_wxStaticBox",0},
1786 { "_wxColourDatabase","_class_wxColourDatabase",0},
1787 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1788 { "_wxPyDropSource","_class_wxPyDropSource",0},
1789 { "_wxChoice","_class_wxChoice",0},
1790 { "_wxSlider","_class_wxSlider",0},
1791 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
1792 { "_long","_unsigned_long",0},
1793 { "_long","_signed_long",0},
1794 { "_wxImageList","_class_wxImageList",0},
1795 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1796 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1797 { "_wxBitmapButton","_class_wxBitmapButton",0},
1798 { "_wxSashWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
1799 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
1800 { "_wxSashWindow","_class_wxSashWindow",0},
1801 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1802 { "_class_wxClipboard","_wxClipboard",0},
1803 { "_class_wxGauge","_wxGauge",0},
1804 { "_class_wxSashEvent","_wxSashEvent",0},
1805 { "_wxDC","_class_wxDC",0},
1806 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1807 { "_wxSpinEvent","_class_wxSpinEvent",0},
1808 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
1809 { "_size_t","_wxCoord",0},
1810 { "_size_t","_wxPrintQuality",0},
1811 { "_size_t","_time_t",0},
1812 { "_size_t","_unsigned_int",0},
1813 { "_size_t","_int",0},
1814 { "_size_t","_wxWindowID",0},
1815 { "_size_t","_uint",0},
1816 { "_class_wxRealPoint","_wxRealPoint",0},
1817 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1818 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1819 { "_class_wxMenuItem","_wxMenuItem",0},
1820 { "_class_wxPaintEvent","_wxPaintEvent",0},
1821 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1822 { "_class_wxStatusBar","_wxStatusBar",0},
1823 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1824 { "_wxPanel","_class_wxPanel",0},
1825 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1826 { "_wxCheckBox","_class_wxCheckBox",0},
1827 { "_wxPyEvent","_class_wxPyEvent",0},
1828 { "_wxTextCtrl","_class_wxTextCtrl",0},
1829 { "_class_wxMask","_wxMask",0},
1830 { "_wxTextDataObject","_class_wxTextDataObject",0},
1831 { "_class_wxKeyEvent","_wxKeyEvent",0},
1832 { "_wxColour","_class_wxColour",0},
1833 { "_class_wxDialog","_wxDialog",0},
1834 { "_class_wxFileDataObject","_wxFileDataObject",0},
1835 { "_wxIdleEvent","_class_wxIdleEvent",0},
1836 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1837 { "_wxToolBar","_class_wxToolBar",0},
1838 { "_class_wxDataObject","_wxDataObject",0},
1839 { "_wxStaticLine","_class_wxStaticLine",0},
1840 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
1841 { "_wxBrush","_class_wxBrush",0},
1842 { "_wxToggleButton","_class_wxToggleButton",0},
1843 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
1844 { "_wxMiniFrame","_class_wxMiniFrame",0},
1845 { "_wxDataFormat","_class_wxDataFormat",0},
1846 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1847 { "_class_wxSashWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
1848 { "_class_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
1849 { "_class_wxSashWindow","_wxSashWindow",0},
1850 { "_wxShowEvent","_class_wxShowEvent",0},
1851 { "_uint","_wxCoord",0},
1852 { "_uint","_wxPrintQuality",0},
1853 { "_uint","_time_t",0},
1854 { "_uint","_size_t",0},
1855 { "_uint","_unsigned_int",0},
1856 { "_uint","_int",0},
1857 { "_uint","_wxWindowID",0},
1858 { "_wxChar","_char",0},
1859 { "_wxPyValidator","_class_wxPyValidator",0},
1860 { "_class_wxEvent","_class_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1861 { "_class_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
1862 { "_class_wxEvent","_class_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1863 { "_class_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
1864 { "_class_wxEvent","_class_wxSashEvent",SwigwxSashEventTowxEvent},
1865 { "_class_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
1866 { "_class_wxEvent","_wxEvent",0},
1867 { "_wxCheckListBox","_class_wxCheckListBox",0},
1868 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
1869 { "_wxRect","_class_wxRect",0},
1870 { "_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent},
1871 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
1872 { "_wxCommandEvent","_class_wxCommandEvent",0},
1873 { "_wxSizeEvent","_class_wxSizeEvent",0},
1874 { "_wxPoint","_class_wxPoint",0},
1875 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
1876 { "_class_wxButton","_wxButton",0},
1877 { "_wxRadioBox","_class_wxRadioBox",0},
1878 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1879 { "_char","_wxChar",0},
1880 { "_wxBitmap","_class_wxBitmap",0},
1881 { "_wxPenList","_class_wxPenList",0},
1882 { "_wxWindowDC","_class_wxWindowDC",0},
1883 { "_wxTimerEvent","_class_wxTimerEvent",0},
1884 { "_wxScrollBar","_class_wxScrollBar",0},
1885 { "_wxSpinButton","_class_wxSpinButton",0},
1886 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1887 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1888 { "_class_wxValidator","_wxValidator",0},
1889 { "_class_wxPyEvent","_wxPyEvent",0},
1890 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1891 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1892 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
1893 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
1894 { "_class_wxToolBar","_wxToolBar",0},
1895 { "_wxDropTarget","_class_wxDropTarget",0},
1896 { "_class_wxStaticLine","_wxStaticLine",0},
1897 { "_class_wxColourDatabase","_wxColourDatabase",0},
1898 { "_wxScrollEvent","_class_wxScrollEvent",0},
1899 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
1900 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
1901 { "_EBool","_wxCoord",0},
1902 { "_EBool","_wxPrintQuality",0},
1903 { "_EBool","_signed_int",0},
1904 { "_EBool","_int",0},
1905 { "_EBool","_wxWindowID",0},
1906 { "_class_wxRegion","_wxRegion",0},
1907 { "_class_wxDataFormat","_wxDataFormat",0},
1908 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1909 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1910 { "_wxStaticText","_class_wxStaticText",0},
1911 { "_wxFont","_class_wxFont",0},
1912 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1913 { "_wxCloseEvent","_class_wxCloseEvent",0},
1914 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
1915 { "_wxNotebook","_class_wxNotebook",0},
1916 { "_unsigned_long","_long",0},
1917 { "_class_wxRect","_wxRect",0},
1918 { "_class_wxDC","_wxDC",0},
1919 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1920 { "_class_wxBrushList","_wxBrushList",0},
1921 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1922 { "_class_wxPenList","_wxPenList",0},
1923 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1924 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
1925 { "_wxFocusEvent","_class_wxFocusEvent",0},
1926 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1927 { "_class_wxTimerEvent","_wxTimerEvent",0},
1928 { "_class_wxSpinButton","_wxSpinButton",0},
1929 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1930 { "_class_wxPanel","_wxPanel",0},
1931 { "_class_wxCheckBox","_wxCheckBox",0},
1932 { "_wxComboBox","_class_wxComboBox",0},
1933 { "_wxRadioButton","_class_wxRadioButton",0},
1934 { "_signed_int","_wxCoord",0},
1935 { "_signed_int","_wxPrintQuality",0},
1936 { "_signed_int","_EBool",0},
1937 { "_signed_int","_wxWindowID",0},
1938 { "_signed_int","_int",0},
1939 { "_class_wxTextCtrl","_wxTextCtrl",0},
1940 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1941 { "_class_wxTextDataObject","_wxTextDataObject",0},
1942 { "_wxMenu","_class_wxMenu",0},
1943 { "_class_wxMoveEvent","_wxMoveEvent",0},
1944 { "_wxListBox","_class_wxListBox",0},
1945 { "_wxScreenDC","_class_wxScreenDC",0},
1946 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
1947 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
1948 { "_WXTYPE","_short",0},
1949 { "_WXTYPE","_signed_short",0},
1950 { "_WXTYPE","_unsigned_short",0},
1951 { "_class_wxDropTarget","_wxDropTarget",0},
1952 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
1953 { "_class_wxBrush","_wxBrush",0},
1954 { "_unsigned_short","_WXTYPE",0},
1955 { "_unsigned_short","_short",0},
1956 { "_class_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
1957 { "_class_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
1958 { "_class_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow},
1959 { "_class_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
1960 { "_class_wxWindow","_wxWindow",0},
1961 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
1962 { "_class_wxStaticText","_wxStaticText",0},
1963 { "_class_wxFont","_wxFont",0},
1964 { "_wxClipboard","_class_wxClipboard",0},
1965 { "_class_wxPyValidator","_wxPyValidator",0},
1966 { "_class_wxCloseEvent","_wxCloseEvent",0},
1967 { "_wxSashEvent","_class_wxSashEvent",0},
1968 { "_wxBusyInfo","_class_wxBusyInfo",0},
1969 { "_wxFontList","_class_wxFontList",0},
1970 { "_class_wxMenuEvent","_wxMenuEvent",0},
1971 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1972 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1973 { "_wxClientDC","_class_wxClientDC",0},
1974 { "_wxMouseEvent","_class_wxMouseEvent",0},
1975 { "_class_wxPoint","_wxPoint",0},
1976 { "_wxRealPoint","_class_wxRealPoint",0},
1977 { "_class_wxRadioBox","_wxRadioBox",0},
1978 { "_signed_short","_WXTYPE",0},
1979 { "_signed_short","_short",0},
1980 { "_wxMemoryDC","_class_wxMemoryDC",0},
1981 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1982 { "_wxPaintDC","_class_wxPaintDC",0},
1983 { "_class_wxWindowDC","_wxWindowDC",0},
1984 { "_class_wxFocusEvent","_wxFocusEvent",0},
1985 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1986 { "_wxStatusBar","_class_wxStatusBar",0},
1987 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1988 { "_class_wxCursor","_wxCursor",0},
1989 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1990 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1991 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1992 { "_unsigned_char","_byte",0},
1993 { "_class_wxMenu","_wxMenu",0},
1994 { "_wxControl","_class_wxControl",0},
1995 { "_class_wxListBox","_wxListBox",0},
1996 { "_unsigned_int","_wxCoord",0},
1997 { "_unsigned_int","_wxPrintQuality",0},
1998 { "_unsigned_int","_time_t",0},
1999 { "_unsigned_int","_size_t",0},
2000 { "_unsigned_int","_uint",0},
2001 { "_unsigned_int","_wxWindowID",0},
2002 { "_unsigned_int","_int",0},
2003 { "_wxIcon","_class_wxIcon",0},
2004 { "_wxDialog","_class_wxDialog",0},
2005 { "_class_wxPen","_wxPen",0},
2006 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
2007 { "_short","_WXTYPE",0},
2008 { "_short","_unsigned_short",0},
2009 { "_short","_signed_short",0},
2010 { "_class_wxStaticBox","_wxStaticBox",0},
2011 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
2012 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2013 { "_class_wxPyDropSource","_wxPyDropSource",0},
2014 { "_class_wxScrollEvent","_wxScrollEvent",0},
2015 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2016 { "_class_wxChoice","_wxChoice",0},
2017 { "_class_wxSlider","_wxSlider",0},
2018 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2019 { "_class_wxImageList","_wxImageList",0},
2020 { "_class_wxBitmapButton","_wxBitmapButton",0},
2021 { "_wxFrame","_class_wxFrame",0},
2022 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2023 { "_class_wxNotebook","_wxNotebook",0},
2024 { "_wxWindowID","_wxCoord",0},
2025 { "_wxWindowID","_wxPrintQuality",0},
2026 { "_wxWindowID","_time_t",0},
2027 { "_wxWindowID","_size_t",0},
2028 { "_wxWindowID","_EBool",0},
2029 { "_wxWindowID","_uint",0},
2030 { "_wxWindowID","_int",0},
2031 { "_wxWindowID","_signed_int",0},
2032 { "_wxWindowID","_unsigned_int",0},
2033 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2034 { "_int","_wxCoord",0},
2035 { "_int","_wxPrintQuality",0},
2036 { "_int","_time_t",0},
2037 { "_int","_size_t",0},
2038 { "_int","_EBool",0},
2039 { "_int","_uint",0},
2040 { "_int","_wxWindowID",0},
2041 { "_int","_unsigned_int",0},
2042 { "_int","_signed_int",0},
2043 { "_class_wxMouseEvent","_wxMouseEvent",0},
2044 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2045 { "_class_wxSpinEvent","_wxSpinEvent",0},
2046 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2047 { "_time_t","_wxCoord",0},
2048 { "_time_t","_wxPrintQuality",0},
2049 { "_time_t","_unsigned_int",0},
2050 { "_time_t","_int",0},
2051 { "_time_t","_wxWindowID",0},
2052 { "_time_t","_uint",0},
2053 { "_time_t","_size_t",0},
2054 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2055 { "_wxButton","_class_wxButton",0},
2056 { "_wxSize","_class_wxSize",0},
2057 { "_wxRegionIterator","_class_wxRegionIterator",0},
2058 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2059 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2060 { "_class_wxPaintDC","_wxPaintDC",0},
2061 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2062 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2063 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2064 { "_class_wxComboBox","_wxComboBox",0},
2065 { "_class_wxRadioButton","_wxRadioButton",0},
2066 { "_wxValidator","_class_wxValidator",0},
2067 { "_wxToolBarBase","_class_wxToolBarBase",0},
2068 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2069 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2070 { "_class_wxControl","_wxControl",0},
2071 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2072 { "_class_wxIcon","_wxIcon",0},
2073 { "_class_wxColour","_wxColour",0},
2074 { "_class_wxScreenDC","_wxScreenDC",0},
2075 { "_wxPalette","_class_wxPalette",0},
2076 { "_class_wxIdleEvent","_wxIdleEvent",0},
2077 { "_wxCoord","_int",0},
2078 { "_wxCoord","_signed_int",0},
2079 { "_wxCoord","_unsigned_int",0},
2080 { "_wxCoord","_wxWindowID",0},
2081 { "_wxCoord","_uint",0},
2082 { "_wxCoord","_EBool",0},
2083 { "_wxCoord","_size_t",0},
2084 { "_wxCoord","_time_t",0},
2085 { "_wxCoord","_wxPrintQuality",0},
2086 { "_wxEraseEvent","_class_wxEraseEvent",0},
2087 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2088 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2089 { "_class_wxToggleButton","_wxToggleButton",0},
2090 { "_class_wxMiniFrame","_wxMiniFrame",0},
2091 { "_wxRegion","_class_wxRegion",0},
2092 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2093 { "_class_wxShowEvent","_wxShowEvent",0},
2094 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2095 { "_wxActivateEvent","_class_wxActivateEvent",0},
2096 { "_wxGauge","_class_wxGauge",0},
2097 { "_class_wxCheckListBox","_wxCheckListBox",0},
2098 { "_class_wxBusyInfo","_wxBusyInfo",0},
2099 { "_class_wxFontList","_wxFontList",0},
2100 { "_class_wxCommandEvent","_class_wxSashEvent",SwigwxSashEventTowxCommandEvent},
2101 { "_class_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
2102 { "_class_wxCommandEvent","_wxCommandEvent",0},
2103 { "_class_wxClientDC","_wxClientDC",0},
2104 { "_class_wxSizeEvent","_wxSizeEvent",0},
2105 { "_wxBrushList","_class_wxBrushList",0},
2106 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2107 { "_class_wxSize","_wxSize",0},
2108 { "_class_wxBitmap","_wxBitmap",0},
2109 { "_class_wxMemoryDC","_wxMemoryDC",0},
2110 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2111 { "_wxMenuBar","_class_wxMenuBar",0},
2112 { "_wxEvtHandler","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
2113 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
2114 { "_wxEvtHandler","_class_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
2115 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
2116 { "_wxEvtHandler","_class_wxEvtHandler",0},
2117 { "_wxMenuItem","_class_wxMenuItem",0},
2118 { "_class_wxScrollBar","_wxScrollBar",0},
2119 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2120 { "_wxKeyEvent","_class_wxKeyEvent",0},
2121 { "_wxMoveEvent","_class_wxMoveEvent",0},
2122 { "_class_wxPalette","_wxPalette",0},
2123 { "_wxFileDataObject","_class_wxFileDataObject",0},
2124 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
2125 { "_class_wxEraseEvent","_wxEraseEvent",0},
2126 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
2127 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2128 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
2129 { "_wxWindow","_class_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
2130 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
2131 { "_wxWindow","_class_wxSashWindow",SwigwxSashWindowTowxWindow},
2132 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
2133 { "_wxWindow","_class_wxWindow",0},
2134 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2135 { "_class_wxFrame","_wxFrame",0},
2136 {0,0,0}};
2137
2138 static PyObject *SWIG_globals;
2139 #ifdef __cplusplus
2140 extern "C"
2141 #endif
2142 SWIGEXPORT(void) initwindows3c() {
2143 PyObject *m, *d;
2144 SWIG_globals = SWIG_newvarlink();
2145 m = Py_InitModule("windows3c", windows3cMethods);
2146 d = PyModule_GetDict(m);
2147 PyDict_SetItemString(d,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP));
2148 PyDict_SetItemString(d,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT));
2149 PyDict_SetItemString(d,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM));
2150 PyDict_SetItemString(d,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT));
2151 PyDict_SetItemString(d,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE));
2152 PyDict_SetItemString(d,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED));
2153 PyDict_SetItemString(d,"wxSW_3D", PyInt_FromLong((long) wxSW_3D));
2154 PyDict_SetItemString(d,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH));
2155 PyDict_SetItemString(d,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER));
2156 PyDict_SetItemString(d,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER));
2157 PyDict_SetItemString(d,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK));
2158 PyDict_SetItemString(d,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE));
2159 PyDict_SetItemString(d,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL));
2160 PyDict_SetItemString(d,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL));
2161 PyDict_SetItemString(d,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE));
2162 PyDict_SetItemString(d,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP));
2163 PyDict_SetItemString(d,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT));
2164 PyDict_SetItemString(d,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT));
2165 PyDict_SetItemString(d,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM));
2166 PyDict_SetItemString(d,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO));
2167 PyDict_SetItemString(d,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT));
2168 {
2169 int i;
2170 for (i = 0; _swig_mapping[i].n1; i++)
2171 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2172 }
2173 }