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