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