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