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