]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows3.cpp
SWIGged updates for wxGTK
[wxWidgets.git] / wxPython / src / gtk / windows3.cpp
1 /*
2 * FILE : src/gtk/windows3.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initwindows3c
55
56 #define SWIG_name "windows3c"
57
58 #include "helpers.h"
59 #include <wx/sashwin.h>
60 #include <wx/laywin.h>
61 #ifndef __WXMAC__
62 #include <wx/popupwin.h>
63 #include <wx/tipwin.h>
64 #endif
65
66
67 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
68 PyObject* o2;
69 PyObject* o3;
70
71 if (!target) {
72 target = o;
73 } else if (target == Py_None) {
74 Py_DECREF(Py_None);
75 target = o;
76 } else {
77 if (!PyTuple_Check(target)) {
78 o2 = target;
79 target = PyTuple_New(1);
80 PyTuple_SetItem(target, 0, o2);
81 }
82 o3 = PyTuple_New(1);
83 PyTuple_SetItem(o3, 0, o);
84
85 o2 = target;
86 target = PySequence_Concat(o2, o3);
87 Py_DECREF(o2);
88 Py_DECREF(o3);
89 }
90 return target;
91 }
92
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg = "String or Unicode type required";
95 #else
96 static char* wxStringErrorMsg = "String type required";
97 #endif
98
99 class wxPyPopupTransientWindow : public wxPopupTransientWindow
100 {
101 public:
102 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
103 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
104 : wxPopupTransientWindow(parent, style) {}
105
106 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
107 DEC_PYCALLBACK__(OnDismiss);
108 DEC_PYCALLBACK_BOOL_(CanDismiss);
109 PYPRIVATE;
110 };
111
112 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
113 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
114 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
115 #ifdef __cplusplus
116 extern "C" {
117 #endif
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 static void *SwigwxSashEventTowxObject(void *ptr) {
135 wxSashEvent *src;
136 wxObject *dest;
137 src = (wxSashEvent *) ptr;
138 dest = (wxObject *) src;
139 return (void *) dest;
140 }
141
142 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
143 static PyObject *_wrap_new_wxSashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
144 PyObject * _resultobj;
145 wxSashEvent * _result;
146 int _arg0 = (int ) 0;
147 wxSashEdgePosition _arg1 = (wxSashEdgePosition ) (wxSASH_NONE);
148 char *_kwnames[] = { "id","edge", NULL };
149 char _ptemp[128];
150
151 self = self;
152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxSashEvent",_kwnames,&_arg0,&_arg1))
153 return NULL;
154 {
155 PyThreadState* __tstate = wxPyBeginAllowThreads();
156 _result = (wxSashEvent *)new_wxSashEvent(_arg0,_arg1);
157
158 wxPyEndAllowThreads(__tstate);
159 if (PyErr_Occurred()) return NULL;
160 } if (_result) {
161 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashEvent_p");
162 _resultobj = Py_BuildValue("s",_ptemp);
163 } else {
164 Py_INCREF(Py_None);
165 _resultobj = Py_None;
166 }
167 return _resultobj;
168 }
169
170 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
171 static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
172 PyObject * _resultobj;
173 wxSashEvent * _arg0;
174 wxSashEdgePosition _arg1;
175 PyObject * _argo0 = 0;
176 char *_kwnames[] = { "self","edge", NULL };
177
178 self = self;
179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetEdge",_kwnames,&_argo0,&_arg1))
180 return NULL;
181 if (_argo0) {
182 if (_argo0 == Py_None) { _arg0 = NULL; }
183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
185 return NULL;
186 }
187 }
188 {
189 PyThreadState* __tstate = wxPyBeginAllowThreads();
190 wxSashEvent_SetEdge(_arg0,_arg1);
191
192 wxPyEndAllowThreads(__tstate);
193 if (PyErr_Occurred()) return NULL;
194 } Py_INCREF(Py_None);
195 _resultobj = Py_None;
196 return _resultobj;
197 }
198
199 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
200 static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
201 PyObject * _resultobj;
202 wxSashEdgePosition _result;
203 wxSashEvent * _arg0;
204 PyObject * _argo0 = 0;
205 char *_kwnames[] = { "self", NULL };
206
207 self = self;
208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetEdge",_kwnames,&_argo0))
209 return NULL;
210 if (_argo0) {
211 if (_argo0 == Py_None) { _arg0 = NULL; }
212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
214 return NULL;
215 }
216 }
217 {
218 PyThreadState* __tstate = wxPyBeginAllowThreads();
219 _result = (wxSashEdgePosition )wxSashEvent_GetEdge(_arg0);
220
221 wxPyEndAllowThreads(__tstate);
222 if (PyErr_Occurred()) return NULL;
223 } _resultobj = Py_BuildValue("i",_result);
224 return _resultobj;
225 }
226
227 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
228 static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
229 PyObject * _resultobj;
230 wxSashEvent * _arg0;
231 wxRect * _arg1;
232 PyObject * _argo0 = 0;
233 wxRect temp;
234 PyObject * _obj1 = 0;
235 char *_kwnames[] = { "self","rect", NULL };
236
237 self = self;
238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_obj1))
239 return NULL;
240 if (_argo0) {
241 if (_argo0 == Py_None) { _arg0 = NULL; }
242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
244 return NULL;
245 }
246 }
247 {
248 _arg1 = &temp;
249 if (! wxRect_helper(_obj1, &_arg1))
250 return NULL;
251 }
252 {
253 PyThreadState* __tstate = wxPyBeginAllowThreads();
254 wxSashEvent_SetDragRect(_arg0,*_arg1);
255
256 wxPyEndAllowThreads(__tstate);
257 if (PyErr_Occurred()) return NULL;
258 } Py_INCREF(Py_None);
259 _resultobj = Py_None;
260 return _resultobj;
261 }
262
263 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
264 static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
265 PyObject * _resultobj;
266 wxRect * _result;
267 wxSashEvent * _arg0;
268 PyObject * _argo0 = 0;
269 char *_kwnames[] = { "self", NULL };
270 char _ptemp[128];
271
272 self = self;
273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragRect",_kwnames,&_argo0))
274 return NULL;
275 if (_argo0) {
276 if (_argo0 == Py_None) { _arg0 = NULL; }
277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
279 return NULL;
280 }
281 }
282 {
283 PyThreadState* __tstate = wxPyBeginAllowThreads();
284 _result = new wxRect (wxSashEvent_GetDragRect(_arg0));
285
286 wxPyEndAllowThreads(__tstate);
287 if (PyErr_Occurred()) return NULL;
288 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
289 _resultobj = Py_BuildValue("s",_ptemp);
290 return _resultobj;
291 }
292
293 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
294 static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
295 PyObject * _resultobj;
296 wxSashEvent * _arg0;
297 wxSashDragStatus _arg1;
298 PyObject * _argo0 = 0;
299 char *_kwnames[] = { "self","status", NULL };
300
301 self = self;
302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetDragStatus",_kwnames,&_argo0,&_arg1))
303 return NULL;
304 if (_argo0) {
305 if (_argo0 == Py_None) { _arg0 = NULL; }
306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
308 return NULL;
309 }
310 }
311 {
312 PyThreadState* __tstate = wxPyBeginAllowThreads();
313 wxSashEvent_SetDragStatus(_arg0,_arg1);
314
315 wxPyEndAllowThreads(__tstate);
316 if (PyErr_Occurred()) return NULL;
317 } Py_INCREF(Py_None);
318 _resultobj = Py_None;
319 return _resultobj;
320 }
321
322 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
323 static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
324 PyObject * _resultobj;
325 wxSashDragStatus _result;
326 wxSashEvent * _arg0;
327 PyObject * _argo0 = 0;
328 char *_kwnames[] = { "self", NULL };
329
330 self = self;
331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragStatus",_kwnames,&_argo0))
332 return NULL;
333 if (_argo0) {
334 if (_argo0 == Py_None) { _arg0 = NULL; }
335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) {
336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
337 return NULL;
338 }
339 }
340 {
341 PyThreadState* __tstate = wxPyBeginAllowThreads();
342 _result = (wxSashDragStatus )wxSashEvent_GetDragStatus(_arg0);
343
344 wxPyEndAllowThreads(__tstate);
345 if (PyErr_Occurred()) return NULL;
346 } _resultobj = Py_BuildValue("i",_result);
347 return _resultobj;
348 }
349
350 static void *SwigwxSashWindowTowxWindow(void *ptr) {
351 wxSashWindow *src;
352 wxWindow *dest;
353 src = (wxSashWindow *) ptr;
354 dest = (wxWindow *) src;
355 return (void *) dest;
356 }
357
358 static void *SwigwxSashWindowTowxEvtHandler(void *ptr) {
359 wxSashWindow *src;
360 wxEvtHandler *dest;
361 src = (wxSashWindow *) ptr;
362 dest = (wxEvtHandler *) src;
363 return (void *) dest;
364 }
365
366 static void *SwigwxSashWindowTowxObject(void *ptr) {
367 wxSashWindow *src;
368 wxObject *dest;
369 src = (wxSashWindow *) ptr;
370 dest = (wxObject *) src;
371 return (void *) dest;
372 }
373
374 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
375 static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
376 PyObject * _resultobj;
377 wxSashWindow * _result;
378 wxWindow * _arg0;
379 wxWindowID _arg1;
380 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
381 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
382 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
383 char * _arg5 = (char *) "sashWindow";
384 PyObject * _argo0 = 0;
385 wxPoint temp;
386 PyObject * _obj2 = 0;
387 wxSize temp0;
388 PyObject * _obj3 = 0;
389 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
390 char _ptemp[128];
391
392 self = self;
393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
394 return NULL;
395 if (_argo0) {
396 if (_argo0 == Py_None) { _arg0 = NULL; }
397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
399 return NULL;
400 }
401 }
402 if (_obj2)
403 {
404 _arg2 = &temp;
405 if (! wxPoint_helper(_obj2, &_arg2))
406 return NULL;
407 }
408 if (_obj3)
409 {
410 _arg3 = &temp0;
411 if (! wxSize_helper(_obj3, &_arg3))
412 return NULL;
413 }
414 {
415 PyThreadState* __tstate = wxPyBeginAllowThreads();
416 _result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
417
418 wxPyEndAllowThreads(__tstate);
419 if (PyErr_Occurred()) return NULL;
420 } if (_result) {
421 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
422 _resultobj = Py_BuildValue("s",_ptemp);
423 } else {
424 Py_INCREF(Py_None);
425 _resultobj = Py_None;
426 }
427 return _resultobj;
428 }
429
430 #define new_wxPreSashWindow() (new wxSashWindow())
431 static PyObject *_wrap_new_wxPreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
432 PyObject * _resultobj;
433 wxSashWindow * _result;
434 char *_kwnames[] = { NULL };
435 char _ptemp[128];
436
437 self = self;
438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSashWindow",_kwnames))
439 return NULL;
440 {
441 PyThreadState* __tstate = wxPyBeginAllowThreads();
442 _result = (wxSashWindow *)new_wxPreSashWindow();
443
444 wxPyEndAllowThreads(__tstate);
445 if (PyErr_Occurred()) return NULL;
446 } if (_result) {
447 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p");
448 _resultobj = Py_BuildValue("s",_ptemp);
449 } else {
450 Py_INCREF(Py_None);
451 _resultobj = Py_None;
452 }
453 return _resultobj;
454 }
455
456 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
457 static PyObject *_wrap_wxSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
458 PyObject * _resultobj;
459 bool _result;
460 wxSashWindow * _arg0;
461 wxWindow * _arg1;
462 wxWindowID _arg2;
463 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
464 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
465 long _arg5 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
466 char * _arg6 = (char *) "sashWindow";
467 PyObject * _argo0 = 0;
468 PyObject * _argo1 = 0;
469 wxPoint temp;
470 PyObject * _obj3 = 0;
471 wxSize temp0;
472 PyObject * _obj4 = 0;
473 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
474
475 self = self;
476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxSashWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
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_Create. Expected _wxSashWindow_p.");
482 return NULL;
483 }
484 }
485 if (_argo1) {
486 if (_argo1 == Py_None) { _arg1 = NULL; }
487 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
488 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
489 return NULL;
490 }
491 }
492 if (_obj3)
493 {
494 _arg3 = &temp;
495 if (! wxPoint_helper(_obj3, &_arg3))
496 return NULL;
497 }
498 if (_obj4)
499 {
500 _arg4 = &temp0;
501 if (! wxSize_helper(_obj4, &_arg4))
502 return NULL;
503 }
504 {
505 PyThreadState* __tstate = wxPyBeginAllowThreads();
506 _result = (bool )wxSashWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
507
508 wxPyEndAllowThreads(__tstate);
509 if (PyErr_Occurred()) return NULL;
510 } _resultobj = Py_BuildValue("i",_result);
511 return _resultobj;
512 }
513
514 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
515 static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
516 PyObject * _resultobj;
517 bool _result;
518 wxSashWindow * _arg0;
519 wxSashEdgePosition _arg1;
520 PyObject * _argo0 = 0;
521 char *_kwnames[] = { "self","edge", NULL };
522
523 self = self;
524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetSashVisible",_kwnames,&_argo0,&_arg1))
525 return NULL;
526 if (_argo0) {
527 if (_argo0 == Py_None) { _arg0 = NULL; }
528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
530 return NULL;
531 }
532 }
533 {
534 PyThreadState* __tstate = wxPyBeginAllowThreads();
535 _result = (bool )wxSashWindow_GetSashVisible(_arg0,_arg1);
536
537 wxPyEndAllowThreads(__tstate);
538 if (PyErr_Occurred()) return NULL;
539 } _resultobj = Py_BuildValue("i",_result);
540 return _resultobj;
541 }
542
543 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
544 static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
545 PyObject * _resultobj;
546 int _result;
547 wxSashWindow * _arg0;
548 PyObject * _argo0 = 0;
549 char *_kwnames[] = { "self", NULL };
550
551 self = self;
552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetDefaultBorderSize",_kwnames,&_argo0))
553 return NULL;
554 if (_argo0) {
555 if (_argo0 == Py_None) { _arg0 = NULL; }
556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
558 return NULL;
559 }
560 }
561 {
562 PyThreadState* __tstate = wxPyBeginAllowThreads();
563 _result = (int )wxSashWindow_GetDefaultBorderSize(_arg0);
564
565 wxPyEndAllowThreads(__tstate);
566 if (PyErr_Occurred()) return NULL;
567 } _resultobj = Py_BuildValue("i",_result);
568 return _resultobj;
569 }
570
571 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
572 static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
573 PyObject * _resultobj;
574 int _result;
575 wxSashWindow * _arg0;
576 wxSashEdgePosition _arg1;
577 PyObject * _argo0 = 0;
578 char *_kwnames[] = { "self","edge", NULL };
579
580 self = self;
581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetEdgeMargin",_kwnames,&_argo0,&_arg1))
582 return NULL;
583 if (_argo0) {
584 if (_argo0 == Py_None) { _arg0 = NULL; }
585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
587 return NULL;
588 }
589 }
590 {
591 PyThreadState* __tstate = wxPyBeginAllowThreads();
592 _result = (int )wxSashWindow_GetEdgeMargin(_arg0,_arg1);
593
594 wxPyEndAllowThreads(__tstate);
595 if (PyErr_Occurred()) return NULL;
596 } _resultobj = Py_BuildValue("i",_result);
597 return _resultobj;
598 }
599
600 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
601 static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
602 PyObject * _resultobj;
603 int _result;
604 wxSashWindow * _arg0;
605 PyObject * _argo0 = 0;
606 char *_kwnames[] = { "self", NULL };
607
608 self = self;
609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetExtraBorderSize",_kwnames,&_argo0))
610 return NULL;
611 if (_argo0) {
612 if (_argo0 == Py_None) { _arg0 = NULL; }
613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
615 return NULL;
616 }
617 }
618 {
619 PyThreadState* __tstate = wxPyBeginAllowThreads();
620 _result = (int )wxSashWindow_GetExtraBorderSize(_arg0);
621
622 wxPyEndAllowThreads(__tstate);
623 if (PyErr_Occurred()) return NULL;
624 } _resultobj = Py_BuildValue("i",_result);
625 return _resultobj;
626 }
627
628 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
629 static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
630 PyObject * _resultobj;
631 int _result;
632 wxSashWindow * _arg0;
633 PyObject * _argo0 = 0;
634 char *_kwnames[] = { "self", NULL };
635
636 self = self;
637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeX",_kwnames,&_argo0))
638 return NULL;
639 if (_argo0) {
640 if (_argo0 == Py_None) { _arg0 = NULL; }
641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
643 return NULL;
644 }
645 }
646 {
647 PyThreadState* __tstate = wxPyBeginAllowThreads();
648 _result = (int )wxSashWindow_GetMaximumSizeX(_arg0);
649
650 wxPyEndAllowThreads(__tstate);
651 if (PyErr_Occurred()) return NULL;
652 } _resultobj = Py_BuildValue("i",_result);
653 return _resultobj;
654 }
655
656 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
657 static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
658 PyObject * _resultobj;
659 int _result;
660 wxSashWindow * _arg0;
661 PyObject * _argo0 = 0;
662 char *_kwnames[] = { "self", NULL };
663
664 self = self;
665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeY",_kwnames,&_argo0))
666 return NULL;
667 if (_argo0) {
668 if (_argo0 == Py_None) { _arg0 = NULL; }
669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
671 return NULL;
672 }
673 }
674 {
675 PyThreadState* __tstate = wxPyBeginAllowThreads();
676 _result = (int )wxSashWindow_GetMaximumSizeY(_arg0);
677
678 wxPyEndAllowThreads(__tstate);
679 if (PyErr_Occurred()) return NULL;
680 } _resultobj = Py_BuildValue("i",_result);
681 return _resultobj;
682 }
683
684 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
685 static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
686 PyObject * _resultobj;
687 int _result;
688 wxSashWindow * _arg0;
689 PyObject * _argo0 = 0;
690 char *_kwnames[] = { "self", NULL };
691
692 self = self;
693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeX",_kwnames,&_argo0))
694 return NULL;
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
699 return NULL;
700 }
701 }
702 {
703 PyThreadState* __tstate = wxPyBeginAllowThreads();
704 _result = (int )wxSashWindow_GetMinimumSizeX(_arg0);
705
706 wxPyEndAllowThreads(__tstate);
707 if (PyErr_Occurred()) return NULL;
708 } _resultobj = Py_BuildValue("i",_result);
709 return _resultobj;
710 }
711
712 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
713 static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
714 PyObject * _resultobj;
715 int _result;
716 wxSashWindow * _arg0;
717 PyObject * _argo0 = 0;
718 char *_kwnames[] = { "self", NULL };
719
720 self = self;
721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeY",_kwnames,&_argo0))
722 return NULL;
723 if (_argo0) {
724 if (_argo0 == Py_None) { _arg0 = NULL; }
725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
727 return NULL;
728 }
729 }
730 {
731 PyThreadState* __tstate = wxPyBeginAllowThreads();
732 _result = (int )wxSashWindow_GetMinimumSizeY(_arg0);
733
734 wxPyEndAllowThreads(__tstate);
735 if (PyErr_Occurred()) return NULL;
736 } _resultobj = Py_BuildValue("i",_result);
737 return _resultobj;
738 }
739
740 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
741 static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
742 PyObject * _resultobj;
743 bool _result;
744 wxSashWindow * _arg0;
745 wxSashEdgePosition _arg1;
746 PyObject * _argo0 = 0;
747 char *_kwnames[] = { "self","edge", NULL };
748
749 self = self;
750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_HasBorder",_kwnames,&_argo0,&_arg1))
751 return NULL;
752 if (_argo0) {
753 if (_argo0 == Py_None) { _arg0 = NULL; }
754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
756 return NULL;
757 }
758 }
759 {
760 PyThreadState* __tstate = wxPyBeginAllowThreads();
761 _result = (bool )wxSashWindow_HasBorder(_arg0,_arg1);
762
763 wxPyEndAllowThreads(__tstate);
764 if (PyErr_Occurred()) return NULL;
765 } _resultobj = Py_BuildValue("i",_result);
766 return _resultobj;
767 }
768
769 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
770 static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
771 PyObject * _resultobj;
772 wxSashWindow * _arg0;
773 int _arg1;
774 PyObject * _argo0 = 0;
775 char *_kwnames[] = { "self","width", NULL };
776
777 self = self;
778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames,&_argo0,&_arg1))
779 return NULL;
780 if (_argo0) {
781 if (_argo0 == Py_None) { _arg0 = NULL; }
782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
784 return NULL;
785 }
786 }
787 {
788 PyThreadState* __tstate = wxPyBeginAllowThreads();
789 wxSashWindow_SetDefaultBorderSize(_arg0,_arg1);
790
791 wxPyEndAllowThreads(__tstate);
792 if (PyErr_Occurred()) return NULL;
793 } Py_INCREF(Py_None);
794 _resultobj = Py_None;
795 return _resultobj;
796 }
797
798 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
799 static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
800 PyObject * _resultobj;
801 wxSashWindow * _arg0;
802 int _arg1;
803 PyObject * _argo0 = 0;
804 char *_kwnames[] = { "self","width", NULL };
805
806 self = self;
807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames,&_argo0,&_arg1))
808 return NULL;
809 if (_argo0) {
810 if (_argo0 == Py_None) { _arg0 = NULL; }
811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
813 return NULL;
814 }
815 }
816 {
817 PyThreadState* __tstate = wxPyBeginAllowThreads();
818 wxSashWindow_SetExtraBorderSize(_arg0,_arg1);
819
820 wxPyEndAllowThreads(__tstate);
821 if (PyErr_Occurred()) return NULL;
822 } Py_INCREF(Py_None);
823 _resultobj = Py_None;
824 return _resultobj;
825 }
826
827 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
828 static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
829 PyObject * _resultobj;
830 wxSashWindow * _arg0;
831 int _arg1;
832 PyObject * _argo0 = 0;
833 char *_kwnames[] = { "self","min", NULL };
834
835 self = self;
836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames,&_argo0,&_arg1))
837 return NULL;
838 if (_argo0) {
839 if (_argo0 == Py_None) { _arg0 = NULL; }
840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
842 return NULL;
843 }
844 }
845 {
846 PyThreadState* __tstate = wxPyBeginAllowThreads();
847 wxSashWindow_SetMaximumSizeX(_arg0,_arg1);
848
849 wxPyEndAllowThreads(__tstate);
850 if (PyErr_Occurred()) return NULL;
851 } Py_INCREF(Py_None);
852 _resultobj = Py_None;
853 return _resultobj;
854 }
855
856 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
857 static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
858 PyObject * _resultobj;
859 wxSashWindow * _arg0;
860 int _arg1;
861 PyObject * _argo0 = 0;
862 char *_kwnames[] = { "self","min", NULL };
863
864 self = self;
865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames,&_argo0,&_arg1))
866 return NULL;
867 if (_argo0) {
868 if (_argo0 == Py_None) { _arg0 = NULL; }
869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
871 return NULL;
872 }
873 }
874 {
875 PyThreadState* __tstate = wxPyBeginAllowThreads();
876 wxSashWindow_SetMaximumSizeY(_arg0,_arg1);
877
878 wxPyEndAllowThreads(__tstate);
879 if (PyErr_Occurred()) return NULL;
880 } Py_INCREF(Py_None);
881 _resultobj = Py_None;
882 return _resultobj;
883 }
884
885 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
886 static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
887 PyObject * _resultobj;
888 wxSashWindow * _arg0;
889 int _arg1;
890 PyObject * _argo0 = 0;
891 char *_kwnames[] = { "self","min", NULL };
892
893 self = self;
894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames,&_argo0,&_arg1))
895 return NULL;
896 if (_argo0) {
897 if (_argo0 == Py_None) { _arg0 = NULL; }
898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
900 return NULL;
901 }
902 }
903 {
904 PyThreadState* __tstate = wxPyBeginAllowThreads();
905 wxSashWindow_SetMinimumSizeX(_arg0,_arg1);
906
907 wxPyEndAllowThreads(__tstate);
908 if (PyErr_Occurred()) return NULL;
909 } Py_INCREF(Py_None);
910 _resultobj = Py_None;
911 return _resultobj;
912 }
913
914 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
915 static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
916 PyObject * _resultobj;
917 wxSashWindow * _arg0;
918 int _arg1;
919 PyObject * _argo0 = 0;
920 char *_kwnames[] = { "self","min", NULL };
921
922 self = self;
923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames,&_argo0,&_arg1))
924 return NULL;
925 if (_argo0) {
926 if (_argo0 == Py_None) { _arg0 = NULL; }
927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
929 return NULL;
930 }
931 }
932 {
933 PyThreadState* __tstate = wxPyBeginAllowThreads();
934 wxSashWindow_SetMinimumSizeY(_arg0,_arg1);
935
936 wxPyEndAllowThreads(__tstate);
937 if (PyErr_Occurred()) return NULL;
938 } Py_INCREF(Py_None);
939 _resultobj = Py_None;
940 return _resultobj;
941 }
942
943 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
944 static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
945 PyObject * _resultobj;
946 wxSashWindow * _arg0;
947 wxSashEdgePosition _arg1;
948 bool _arg2;
949 PyObject * _argo0 = 0;
950 int tempbool2;
951 char *_kwnames[] = { "self","edge","visible", NULL };
952
953 self = self;
954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
955 return NULL;
956 if (_argo0) {
957 if (_argo0 == Py_None) { _arg0 = NULL; }
958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
960 return NULL;
961 }
962 }
963 _arg2 = (bool ) tempbool2;
964 {
965 PyThreadState* __tstate = wxPyBeginAllowThreads();
966 wxSashWindow_SetSashVisible(_arg0,_arg1,_arg2);
967
968 wxPyEndAllowThreads(__tstate);
969 if (PyErr_Occurred()) return NULL;
970 } Py_INCREF(Py_None);
971 _resultobj = Py_None;
972 return _resultobj;
973 }
974
975 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
976 static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
977 PyObject * _resultobj;
978 wxSashWindow * _arg0;
979 wxSashEdgePosition _arg1;
980 bool _arg2;
981 PyObject * _argo0 = 0;
982 int tempbool2;
983 char *_kwnames[] = { "self","edge","hasBorder", NULL };
984
985 self = self;
986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashBorder",_kwnames,&_argo0,&_arg1,&tempbool2))
987 return NULL;
988 if (_argo0) {
989 if (_argo0 == Py_None) { _arg0 = NULL; }
990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) {
991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
992 return NULL;
993 }
994 }
995 _arg2 = (bool ) tempbool2;
996 {
997 PyThreadState* __tstate = wxPyBeginAllowThreads();
998 wxSashWindow_SetSashBorder(_arg0,_arg1,_arg2);
999
1000 wxPyEndAllowThreads(__tstate);
1001 if (PyErr_Occurred()) return NULL;
1002 } Py_INCREF(Py_None);
1003 _resultobj = Py_None;
1004 return _resultobj;
1005 }
1006
1007 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) {
1008 wxQueryLayoutInfoEvent *src;
1009 wxEvent *dest;
1010 src = (wxQueryLayoutInfoEvent *) ptr;
1011 dest = (wxEvent *) src;
1012 return (void *) dest;
1013 }
1014
1015 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr) {
1016 wxQueryLayoutInfoEvent *src;
1017 wxObject *dest;
1018 src = (wxQueryLayoutInfoEvent *) ptr;
1019 dest = (wxObject *) src;
1020 return (void *) dest;
1021 }
1022
1023 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1024 static PyObject *_wrap_new_wxQueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1025 PyObject * _resultobj;
1026 wxQueryLayoutInfoEvent * _result;
1027 wxWindowID _arg0 = (wxWindowID ) 0;
1028 char *_kwnames[] = { "id", NULL };
1029 char _ptemp[128];
1030
1031 self = self;
1032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryLayoutInfoEvent",_kwnames,&_arg0))
1033 return NULL;
1034 {
1035 PyThreadState* __tstate = wxPyBeginAllowThreads();
1036 _result = (wxQueryLayoutInfoEvent *)new_wxQueryLayoutInfoEvent(_arg0);
1037
1038 wxPyEndAllowThreads(__tstate);
1039 if (PyErr_Occurred()) return NULL;
1040 } if (_result) {
1041 SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryLayoutInfoEvent_p");
1042 _resultobj = Py_BuildValue("s",_ptemp);
1043 } else {
1044 Py_INCREF(Py_None);
1045 _resultobj = Py_None;
1046 }
1047 return _resultobj;
1048 }
1049
1050 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1051 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
1052 PyObject * _resultobj;
1053 wxQueryLayoutInfoEvent * _arg0;
1054 int _arg1;
1055 PyObject * _argo0 = 0;
1056 char *_kwnames[] = { "self","length", NULL };
1057
1058 self = self;
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames,&_argo0,&_arg1))
1060 return NULL;
1061 if (_argo0) {
1062 if (_argo0 == Py_None) { _arg0 = NULL; }
1063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1065 return NULL;
1066 }
1067 }
1068 {
1069 PyThreadState* __tstate = wxPyBeginAllowThreads();
1070 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0,_arg1);
1071
1072 wxPyEndAllowThreads(__tstate);
1073 if (PyErr_Occurred()) return NULL;
1074 } Py_INCREF(Py_None);
1075 _resultobj = Py_None;
1076 return _resultobj;
1077 }
1078
1079 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1080 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
1081 PyObject * _resultobj;
1082 int _result;
1083 wxQueryLayoutInfoEvent * _arg0;
1084 PyObject * _argo0 = 0;
1085 char *_kwnames[] = { "self", NULL };
1086
1087 self = self;
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames,&_argo0))
1089 return NULL;
1090 if (_argo0) {
1091 if (_argo0 == Py_None) { _arg0 = NULL; }
1092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1094 return NULL;
1095 }
1096 }
1097 {
1098 PyThreadState* __tstate = wxPyBeginAllowThreads();
1099 _result = (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0);
1100
1101 wxPyEndAllowThreads(__tstate);
1102 if (PyErr_Occurred()) return NULL;
1103 } _resultobj = Py_BuildValue("i",_result);
1104 return _resultobj;
1105 }
1106
1107 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1108 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1109 PyObject * _resultobj;
1110 wxQueryLayoutInfoEvent * _arg0;
1111 int _arg1;
1112 PyObject * _argo0 = 0;
1113 char *_kwnames[] = { "self","flags", NULL };
1114
1115 self = self;
1116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames,&_argo0,&_arg1))
1117 return NULL;
1118 if (_argo0) {
1119 if (_argo0 == Py_None) { _arg0 = NULL; }
1120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1122 return NULL;
1123 }
1124 }
1125 {
1126 PyThreadState* __tstate = wxPyBeginAllowThreads();
1127 wxQueryLayoutInfoEvent_SetFlags(_arg0,_arg1);
1128
1129 wxPyEndAllowThreads(__tstate);
1130 if (PyErr_Occurred()) return NULL;
1131 } Py_INCREF(Py_None);
1132 _resultobj = Py_None;
1133 return _resultobj;
1134 }
1135
1136 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1137 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1138 PyObject * _resultobj;
1139 int _result;
1140 wxQueryLayoutInfoEvent * _arg0;
1141 PyObject * _argo0 = 0;
1142 char *_kwnames[] = { "self", NULL };
1143
1144 self = self;
1145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames,&_argo0))
1146 return NULL;
1147 if (_argo0) {
1148 if (_argo0 == Py_None) { _arg0 = NULL; }
1149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1151 return NULL;
1152 }
1153 }
1154 {
1155 PyThreadState* __tstate = wxPyBeginAllowThreads();
1156 _result = (int )wxQueryLayoutInfoEvent_GetFlags(_arg0);
1157
1158 wxPyEndAllowThreads(__tstate);
1159 if (PyErr_Occurred()) return NULL;
1160 } _resultobj = Py_BuildValue("i",_result);
1161 return _resultobj;
1162 }
1163
1164 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1165 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1166 PyObject * _resultobj;
1167 wxQueryLayoutInfoEvent * _arg0;
1168 wxSize * _arg1;
1169 PyObject * _argo0 = 0;
1170 wxSize temp;
1171 PyObject * _obj1 = 0;
1172 char *_kwnames[] = { "self","size", NULL };
1173
1174 self = self;
1175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_obj1))
1176 return NULL;
1177 if (_argo0) {
1178 if (_argo0 == Py_None) { _arg0 = NULL; }
1179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1181 return NULL;
1182 }
1183 }
1184 {
1185 _arg1 = &temp;
1186 if (! wxSize_helper(_obj1, &_arg1))
1187 return NULL;
1188 }
1189 {
1190 PyThreadState* __tstate = wxPyBeginAllowThreads();
1191 wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1);
1192
1193 wxPyEndAllowThreads(__tstate);
1194 if (PyErr_Occurred()) return NULL;
1195 } Py_INCREF(Py_None);
1196 _resultobj = Py_None;
1197 return _resultobj;
1198 }
1199
1200 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1201 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject * _resultobj;
1203 wxSize * _result;
1204 wxQueryLayoutInfoEvent * _arg0;
1205 PyObject * _argo0 = 0;
1206 char *_kwnames[] = { "self", NULL };
1207 char _ptemp[128];
1208
1209 self = self;
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames,&_argo0))
1211 return NULL;
1212 if (_argo0) {
1213 if (_argo0 == Py_None) { _arg0 = NULL; }
1214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1216 return NULL;
1217 }
1218 }
1219 {
1220 PyThreadState* __tstate = wxPyBeginAllowThreads();
1221 _result = new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0));
1222
1223 wxPyEndAllowThreads(__tstate);
1224 if (PyErr_Occurred()) return NULL;
1225 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1226 _resultobj = Py_BuildValue("s",_ptemp);
1227 return _resultobj;
1228 }
1229
1230 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1231 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1232 PyObject * _resultobj;
1233 wxQueryLayoutInfoEvent * _arg0;
1234 wxLayoutOrientation _arg1;
1235 PyObject * _argo0 = 0;
1236 char *_kwnames[] = { "self","orient", NULL };
1237
1238 self = self;
1239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames,&_argo0,&_arg1))
1240 return NULL;
1241 if (_argo0) {
1242 if (_argo0 == Py_None) { _arg0 = NULL; }
1243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1245 return NULL;
1246 }
1247 }
1248 {
1249 PyThreadState* __tstate = wxPyBeginAllowThreads();
1250 wxQueryLayoutInfoEvent_SetOrientation(_arg0,_arg1);
1251
1252 wxPyEndAllowThreads(__tstate);
1253 if (PyErr_Occurred()) return NULL;
1254 } Py_INCREF(Py_None);
1255 _resultobj = Py_None;
1256 return _resultobj;
1257 }
1258
1259 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1260 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1261 PyObject * _resultobj;
1262 wxLayoutOrientation _result;
1263 wxQueryLayoutInfoEvent * _arg0;
1264 PyObject * _argo0 = 0;
1265 char *_kwnames[] = { "self", NULL };
1266
1267 self = self;
1268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames,&_argo0))
1269 return NULL;
1270 if (_argo0) {
1271 if (_argo0 == Py_None) { _arg0 = NULL; }
1272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1274 return NULL;
1275 }
1276 }
1277 {
1278 PyThreadState* __tstate = wxPyBeginAllowThreads();
1279 _result = (wxLayoutOrientation )wxQueryLayoutInfoEvent_GetOrientation(_arg0);
1280
1281 wxPyEndAllowThreads(__tstate);
1282 if (PyErr_Occurred()) return NULL;
1283 } _resultobj = Py_BuildValue("i",_result);
1284 return _resultobj;
1285 }
1286
1287 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1288 static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1289 PyObject * _resultobj;
1290 wxQueryLayoutInfoEvent * _arg0;
1291 wxLayoutAlignment _arg1;
1292 PyObject * _argo0 = 0;
1293 char *_kwnames[] = { "self","align", NULL };
1294
1295 self = self;
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames,&_argo0,&_arg1))
1297 return NULL;
1298 if (_argo0) {
1299 if (_argo0 == Py_None) { _arg0 = NULL; }
1300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1302 return NULL;
1303 }
1304 }
1305 {
1306 PyThreadState* __tstate = wxPyBeginAllowThreads();
1307 wxQueryLayoutInfoEvent_SetAlignment(_arg0,_arg1);
1308
1309 wxPyEndAllowThreads(__tstate);
1310 if (PyErr_Occurred()) return NULL;
1311 } Py_INCREF(Py_None);
1312 _resultobj = Py_None;
1313 return _resultobj;
1314 }
1315
1316 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1317 static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject * _resultobj;
1319 wxLayoutAlignment _result;
1320 wxQueryLayoutInfoEvent * _arg0;
1321 PyObject * _argo0 = 0;
1322 char *_kwnames[] = { "self", NULL };
1323
1324 self = self;
1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames,&_argo0))
1326 return NULL;
1327 if (_argo0) {
1328 if (_argo0 == Py_None) { _arg0 = NULL; }
1329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) {
1330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1331 return NULL;
1332 }
1333 }
1334 {
1335 PyThreadState* __tstate = wxPyBeginAllowThreads();
1336 _result = (wxLayoutAlignment )wxQueryLayoutInfoEvent_GetAlignment(_arg0);
1337
1338 wxPyEndAllowThreads(__tstate);
1339 if (PyErr_Occurred()) return NULL;
1340 } _resultobj = Py_BuildValue("i",_result);
1341 return _resultobj;
1342 }
1343
1344 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) {
1345 wxCalculateLayoutEvent *src;
1346 wxEvent *dest;
1347 src = (wxCalculateLayoutEvent *) ptr;
1348 dest = (wxEvent *) src;
1349 return (void *) dest;
1350 }
1351
1352 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr) {
1353 wxCalculateLayoutEvent *src;
1354 wxObject *dest;
1355 src = (wxCalculateLayoutEvent *) ptr;
1356 dest = (wxObject *) src;
1357 return (void *) dest;
1358 }
1359
1360 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1361 static PyObject *_wrap_new_wxCalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1362 PyObject * _resultobj;
1363 wxCalculateLayoutEvent * _result;
1364 wxWindowID _arg0 = (wxWindowID ) 0;
1365 char *_kwnames[] = { "id", NULL };
1366 char _ptemp[128];
1367
1368 self = self;
1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxCalculateLayoutEvent",_kwnames,&_arg0))
1370 return NULL;
1371 {
1372 PyThreadState* __tstate = wxPyBeginAllowThreads();
1373 _result = (wxCalculateLayoutEvent *)new_wxCalculateLayoutEvent(_arg0);
1374
1375 wxPyEndAllowThreads(__tstate);
1376 if (PyErr_Occurred()) return NULL;
1377 } if (_result) {
1378 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCalculateLayoutEvent_p");
1379 _resultobj = Py_BuildValue("s",_ptemp);
1380 } else {
1381 Py_INCREF(Py_None);
1382 _resultobj = Py_None;
1383 }
1384 return _resultobj;
1385 }
1386
1387 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1388 static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1389 PyObject * _resultobj;
1390 wxCalculateLayoutEvent * _arg0;
1391 int _arg1;
1392 PyObject * _argo0 = 0;
1393 char *_kwnames[] = { "self","flags", NULL };
1394
1395 self = self;
1396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames,&_argo0,&_arg1))
1397 return NULL;
1398 if (_argo0) {
1399 if (_argo0 == Py_None) { _arg0 = NULL; }
1400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1402 return NULL;
1403 }
1404 }
1405 {
1406 PyThreadState* __tstate = wxPyBeginAllowThreads();
1407 wxCalculateLayoutEvent_SetFlags(_arg0,_arg1);
1408
1409 wxPyEndAllowThreads(__tstate);
1410 if (PyErr_Occurred()) return NULL;
1411 } Py_INCREF(Py_None);
1412 _resultobj = Py_None;
1413 return _resultobj;
1414 }
1415
1416 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1417 static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
1418 PyObject * _resultobj;
1419 int _result;
1420 wxCalculateLayoutEvent * _arg0;
1421 PyObject * _argo0 = 0;
1422 char *_kwnames[] = { "self", NULL };
1423
1424 self = self;
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetFlags",_kwnames,&_argo0))
1426 return NULL;
1427 if (_argo0) {
1428 if (_argo0 == Py_None) { _arg0 = NULL; }
1429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1431 return NULL;
1432 }
1433 }
1434 {
1435 PyThreadState* __tstate = wxPyBeginAllowThreads();
1436 _result = (int )wxCalculateLayoutEvent_GetFlags(_arg0);
1437
1438 wxPyEndAllowThreads(__tstate);
1439 if (PyErr_Occurred()) return NULL;
1440 } _resultobj = Py_BuildValue("i",_result);
1441 return _resultobj;
1442 }
1443
1444 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1445 static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject * _resultobj;
1447 wxCalculateLayoutEvent * _arg0;
1448 wxRect * _arg1;
1449 PyObject * _argo0 = 0;
1450 wxRect temp;
1451 PyObject * _obj1 = 0;
1452 char *_kwnames[] = { "self","rect", NULL };
1453
1454 self = self;
1455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_obj1))
1456 return NULL;
1457 if (_argo0) {
1458 if (_argo0 == Py_None) { _arg0 = NULL; }
1459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1461 return NULL;
1462 }
1463 }
1464 {
1465 _arg1 = &temp;
1466 if (! wxRect_helper(_obj1, &_arg1))
1467 return NULL;
1468 }
1469 {
1470 PyThreadState* __tstate = wxPyBeginAllowThreads();
1471 wxCalculateLayoutEvent_SetRect(_arg0,*_arg1);
1472
1473 wxPyEndAllowThreads(__tstate);
1474 if (PyErr_Occurred()) return NULL;
1475 } Py_INCREF(Py_None);
1476 _resultobj = Py_None;
1477 return _resultobj;
1478 }
1479
1480 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1481 static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1482 PyObject * _resultobj;
1483 wxRect * _result;
1484 wxCalculateLayoutEvent * _arg0;
1485 PyObject * _argo0 = 0;
1486 char *_kwnames[] = { "self", NULL };
1487 char _ptemp[128];
1488
1489 self = self;
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetRect",_kwnames,&_argo0))
1491 return NULL;
1492 if (_argo0) {
1493 if (_argo0 == Py_None) { _arg0 = NULL; }
1494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) {
1495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1496 return NULL;
1497 }
1498 }
1499 {
1500 PyThreadState* __tstate = wxPyBeginAllowThreads();
1501 _result = new wxRect (wxCalculateLayoutEvent_GetRect(_arg0));
1502
1503 wxPyEndAllowThreads(__tstate);
1504 if (PyErr_Occurred()) return NULL;
1505 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1506 _resultobj = Py_BuildValue("s",_ptemp);
1507 return _resultobj;
1508 }
1509
1510 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr) {
1511 wxSashLayoutWindow *src;
1512 wxSashWindow *dest;
1513 src = (wxSashLayoutWindow *) ptr;
1514 dest = (wxSashWindow *) src;
1515 return (void *) dest;
1516 }
1517
1518 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr) {
1519 wxSashLayoutWindow *src;
1520 wxWindow *dest;
1521 src = (wxSashLayoutWindow *) ptr;
1522 dest = (wxWindow *) src;
1523 return (void *) dest;
1524 }
1525
1526 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) {
1527 wxSashLayoutWindow *src;
1528 wxEvtHandler *dest;
1529 src = (wxSashLayoutWindow *) ptr;
1530 dest = (wxEvtHandler *) src;
1531 return (void *) dest;
1532 }
1533
1534 static void *SwigwxSashLayoutWindowTowxObject(void *ptr) {
1535 wxSashLayoutWindow *src;
1536 wxObject *dest;
1537 src = (wxSashLayoutWindow *) ptr;
1538 dest = (wxObject *) src;
1539 return (void *) dest;
1540 }
1541
1542 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1543 static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1544 PyObject * _resultobj;
1545 wxSashLayoutWindow * _result;
1546 wxWindow * _arg0;
1547 wxWindowID _arg1;
1548 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1549 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1550 long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
1551 char * _arg5 = (char *) "layoutWindow";
1552 PyObject * _argo0 = 0;
1553 wxPoint temp;
1554 PyObject * _obj2 = 0;
1555 wxSize temp0;
1556 PyObject * _obj3 = 0;
1557 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1558 char _ptemp[128];
1559
1560 self = self;
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
1562 return NULL;
1563 if (_argo0) {
1564 if (_argo0 == Py_None) { _arg0 = NULL; }
1565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1567 return NULL;
1568 }
1569 }
1570 if (_obj2)
1571 {
1572 _arg2 = &temp;
1573 if (! wxPoint_helper(_obj2, &_arg2))
1574 return NULL;
1575 }
1576 if (_obj3)
1577 {
1578 _arg3 = &temp0;
1579 if (! wxSize_helper(_obj3, &_arg3))
1580 return NULL;
1581 }
1582 {
1583 PyThreadState* __tstate = wxPyBeginAllowThreads();
1584 _result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1585
1586 wxPyEndAllowThreads(__tstate);
1587 if (PyErr_Occurred()) return NULL;
1588 } if (_result) {
1589 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1590 _resultobj = Py_BuildValue("s",_ptemp);
1591 } else {
1592 Py_INCREF(Py_None);
1593 _resultobj = Py_None;
1594 }
1595 return _resultobj;
1596 }
1597
1598 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1599 static PyObject *_wrap_new_wxPreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1600 PyObject * _resultobj;
1601 wxSashLayoutWindow * _result;
1602 char *_kwnames[] = { NULL };
1603 char _ptemp[128];
1604
1605 self = self;
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSashLayoutWindow",_kwnames))
1607 return NULL;
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 _result = (wxSashLayoutWindow *)new_wxPreSashLayoutWindow();
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) return NULL;
1614 } if (_result) {
1615 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p");
1616 _resultobj = Py_BuildValue("s",_ptemp);
1617 } else {
1618 Py_INCREF(Py_None);
1619 _resultobj = Py_None;
1620 }
1621 return _resultobj;
1622 }
1623
1624 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1625 static PyObject *_wrap_wxSashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1626 PyObject * _resultobj;
1627 bool _result;
1628 wxSashLayoutWindow * _arg0;
1629 wxWindow * _arg1;
1630 wxWindowID _arg2;
1631 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1632 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1633 long _arg5 = (long ) wxCLIP_CHILDREN|(wxSW_3D);
1634 char * _arg6 = (char *) "layoutWindow";
1635 PyObject * _argo0 = 0;
1636 PyObject * _argo1 = 0;
1637 wxPoint temp;
1638 PyObject * _obj3 = 0;
1639 wxSize temp0;
1640 PyObject * _obj4 = 0;
1641 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1642
1643 self = self;
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxSashLayoutWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
1645 return NULL;
1646 if (_argo0) {
1647 if (_argo0 == Py_None) { _arg0 = NULL; }
1648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1650 return NULL;
1651 }
1652 }
1653 if (_argo1) {
1654 if (_argo1 == Py_None) { _arg1 = NULL; }
1655 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1657 return NULL;
1658 }
1659 }
1660 if (_obj3)
1661 {
1662 _arg3 = &temp;
1663 if (! wxPoint_helper(_obj3, &_arg3))
1664 return NULL;
1665 }
1666 if (_obj4)
1667 {
1668 _arg4 = &temp0;
1669 if (! wxSize_helper(_obj4, &_arg4))
1670 return NULL;
1671 }
1672 {
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 _result = (bool )wxSashLayoutWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) return NULL;
1678 } _resultobj = Py_BuildValue("i",_result);
1679 return _resultobj;
1680 }
1681
1682 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1683 static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject * _resultobj;
1685 wxLayoutAlignment _result;
1686 wxSashLayoutWindow * _arg0;
1687 PyObject * _argo0 = 0;
1688 char *_kwnames[] = { "self", NULL };
1689
1690 self = self;
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetAlignment",_kwnames,&_argo0))
1692 return NULL;
1693 if (_argo0) {
1694 if (_argo0 == Py_None) { _arg0 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1697 return NULL;
1698 }
1699 }
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 _result = (wxLayoutAlignment )wxSashLayoutWindow_GetAlignment(_arg0);
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) return NULL;
1706 } _resultobj = Py_BuildValue("i",_result);
1707 return _resultobj;
1708 }
1709
1710 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1711 static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject * _resultobj;
1713 wxLayoutOrientation _result;
1714 wxSashLayoutWindow * _arg0;
1715 PyObject * _argo0 = 0;
1716 char *_kwnames[] = { "self", NULL };
1717
1718 self = self;
1719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetOrientation",_kwnames,&_argo0))
1720 return NULL;
1721 if (_argo0) {
1722 if (_argo0 == Py_None) { _arg0 = NULL; }
1723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1725 return NULL;
1726 }
1727 }
1728 {
1729 PyThreadState* __tstate = wxPyBeginAllowThreads();
1730 _result = (wxLayoutOrientation )wxSashLayoutWindow_GetOrientation(_arg0);
1731
1732 wxPyEndAllowThreads(__tstate);
1733 if (PyErr_Occurred()) return NULL;
1734 } _resultobj = Py_BuildValue("i",_result);
1735 return _resultobj;
1736 }
1737
1738 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1739 static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject * _resultobj;
1741 wxSashLayoutWindow * _arg0;
1742 wxLayoutAlignment _arg1;
1743 PyObject * _argo0 = 0;
1744 char *_kwnames[] = { "self","alignment", NULL };
1745
1746 self = self;
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames,&_argo0,&_arg1))
1748 return NULL;
1749 if (_argo0) {
1750 if (_argo0 == Py_None) { _arg0 = NULL; }
1751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1753 return NULL;
1754 }
1755 }
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 wxSashLayoutWindow_SetAlignment(_arg0,_arg1);
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) return NULL;
1762 } Py_INCREF(Py_None);
1763 _resultobj = Py_None;
1764 return _resultobj;
1765 }
1766
1767 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1768 static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1769 PyObject * _resultobj;
1770 wxSashLayoutWindow * _arg0;
1771 wxSize * _arg1;
1772 PyObject * _argo0 = 0;
1773 wxSize temp;
1774 PyObject * _obj1 = 0;
1775 char *_kwnames[] = { "self","size", NULL };
1776
1777 self = self;
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_obj1))
1779 return NULL;
1780 if (_argo0) {
1781 if (_argo0 == Py_None) { _arg0 = NULL; }
1782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
1784 return NULL;
1785 }
1786 }
1787 {
1788 _arg1 = &temp;
1789 if (! wxSize_helper(_obj1, &_arg1))
1790 return NULL;
1791 }
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1);
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) return NULL;
1798 } Py_INCREF(Py_None);
1799 _resultobj = Py_None;
1800 return _resultobj;
1801 }
1802
1803 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1804 static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject * _resultobj;
1806 wxSashLayoutWindow * _arg0;
1807 wxLayoutOrientation _arg1;
1808 PyObject * _argo0 = 0;
1809 char *_kwnames[] = { "self","orientation", NULL };
1810
1811 self = self;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames,&_argo0,&_arg1))
1813 return NULL;
1814 if (_argo0) {
1815 if (_argo0 == Py_None) { _arg0 = NULL; }
1816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
1818 return NULL;
1819 }
1820 }
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 wxSashLayoutWindow_SetOrientation(_arg0,_arg1);
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) return NULL;
1827 } Py_INCREF(Py_None);
1828 _resultobj = Py_None;
1829 return _resultobj;
1830 }
1831
1832 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr) {
1833 wxLayoutAlgorithm *src;
1834 wxObject *dest;
1835 src = (wxLayoutAlgorithm *) ptr;
1836 dest = (wxObject *) src;
1837 return (void *) dest;
1838 }
1839
1840 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
1841 static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject * _resultobj;
1843 wxLayoutAlgorithm * _result;
1844 char *_kwnames[] = { NULL };
1845 char _ptemp[128];
1846
1847 self = self;
1848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutAlgorithm",_kwnames))
1849 return NULL;
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 _result = (wxLayoutAlgorithm *)new_wxLayoutAlgorithm();
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) return NULL;
1856 } if (_result) {
1857 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutAlgorithm_p");
1858 _resultobj = Py_BuildValue("s",_ptemp);
1859 } else {
1860 Py_INCREF(Py_None);
1861 _resultobj = Py_None;
1862 }
1863 return _resultobj;
1864 }
1865
1866 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
1867 static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
1868 PyObject * _resultobj;
1869 wxLayoutAlgorithm * _arg0;
1870 PyObject * _argo0 = 0;
1871 char *_kwnames[] = { "self", NULL };
1872
1873 self = self;
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLayoutAlgorithm",_kwnames,&_argo0))
1875 return NULL;
1876 if (_argo0) {
1877 if (_argo0 == Py_None) { _arg0 = NULL; }
1878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
1880 return NULL;
1881 }
1882 }
1883 {
1884 PyThreadState* __tstate = wxPyBeginAllowThreads();
1885 delete_wxLayoutAlgorithm(_arg0);
1886
1887 wxPyEndAllowThreads(__tstate);
1888 if (PyErr_Occurred()) return NULL;
1889 } Py_INCREF(Py_None);
1890 _resultobj = Py_None;
1891 return _resultobj;
1892 }
1893
1894 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
1895 static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject * _resultobj;
1897 bool _result;
1898 wxLayoutAlgorithm * _arg0;
1899 wxMDIParentFrame * _arg1;
1900 wxRect * _arg2 = (wxRect *) NULL;
1901 PyObject * _argo0 = 0;
1902 PyObject * _argo1 = 0;
1903 wxRect temp;
1904 PyObject * _obj2 = 0;
1905 char *_kwnames[] = { "self","frame","rect", NULL };
1906
1907 self = self;
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_obj2))
1909 return NULL;
1910 if (_argo0) {
1911 if (_argo0 == Py_None) { _arg0 = NULL; }
1912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
1914 return NULL;
1915 }
1916 }
1917 if (_argo1) {
1918 if (_argo1 == Py_None) { _arg1 = NULL; }
1919 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
1920 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
1921 return NULL;
1922 }
1923 }
1924 if (_obj2)
1925 {
1926 _arg2 = &temp;
1927 if (! wxRect_helper(_obj2, &_arg2))
1928 return NULL;
1929 }
1930 {
1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
1932 _result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2);
1933
1934 wxPyEndAllowThreads(__tstate);
1935 if (PyErr_Occurred()) return NULL;
1936 } _resultobj = Py_BuildValue("i",_result);
1937 return _resultobj;
1938 }
1939
1940 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
1941 static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1942 PyObject * _resultobj;
1943 bool _result;
1944 wxLayoutAlgorithm * _arg0;
1945 wxFrame * _arg1;
1946 wxWindow * _arg2 = (wxWindow *) NULL;
1947 PyObject * _argo0 = 0;
1948 PyObject * _argo1 = 0;
1949 PyObject * _argo2 = 0;
1950 char *_kwnames[] = { "self","frame","mainWindow", NULL };
1951
1952 self = self;
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames,&_argo0,&_argo1,&_argo2))
1954 return NULL;
1955 if (_argo0) {
1956 if (_argo0 == Py_None) { _arg0 = NULL; }
1957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
1958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
1959 return NULL;
1960 }
1961 }
1962 if (_argo1) {
1963 if (_argo1 == Py_None) { _arg1 = NULL; }
1964 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
1965 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
1966 return NULL;
1967 }
1968 }
1969 if (_argo2) {
1970 if (_argo2 == Py_None) { _arg2 = NULL; }
1971 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1972 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
1973 return NULL;
1974 }
1975 }
1976 {
1977 PyThreadState* __tstate = wxPyBeginAllowThreads();
1978 _result = (bool )wxLayoutAlgorithm_LayoutFrame(_arg0,_arg1,_arg2);
1979
1980 wxPyEndAllowThreads(__tstate);
1981 if (PyErr_Occurred()) return NULL;
1982 } _resultobj = Py_BuildValue("i",_result);
1983 return _resultobj;
1984 }
1985
1986 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
1987 static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1988 PyObject * _resultobj;
1989 bool _result;
1990 wxLayoutAlgorithm * _arg0;
1991 wxWindow * _arg1;
1992 wxWindow * _arg2 = (wxWindow *) NULL;
1993 PyObject * _argo0 = 0;
1994 PyObject * _argo1 = 0;
1995 PyObject * _argo2 = 0;
1996 char *_kwnames[] = { "self","parent","mainWindow", NULL };
1997
1998 self = self;
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames,&_argo0,&_argo1,&_argo2))
2000 return NULL;
2001 if (_argo0) {
2002 if (_argo0 == Py_None) { _arg0 = NULL; }
2003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) {
2004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2005 return NULL;
2006 }
2007 }
2008 if (_argo1) {
2009 if (_argo1 == Py_None) { _arg1 = NULL; }
2010 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2012 return NULL;
2013 }
2014 }
2015 if (_argo2) {
2016 if (_argo2 == Py_None) { _arg2 = NULL; }
2017 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2018 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2019 return NULL;
2020 }
2021 }
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 _result = (bool )wxLayoutAlgorithm_LayoutWindow(_arg0,_arg1,_arg2);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) return NULL;
2028 } _resultobj = Py_BuildValue("i",_result);
2029 return _resultobj;
2030 }
2031
2032 static void *SwigwxPopupWindowTowxWindow(void *ptr) {
2033 wxPopupWindow *src;
2034 wxWindow *dest;
2035 src = (wxPopupWindow *) ptr;
2036 dest = (wxWindow *) src;
2037 return (void *) dest;
2038 }
2039
2040 static void *SwigwxPopupWindowTowxEvtHandler(void *ptr) {
2041 wxPopupWindow *src;
2042 wxEvtHandler *dest;
2043 src = (wxPopupWindow *) ptr;
2044 dest = (wxEvtHandler *) src;
2045 return (void *) dest;
2046 }
2047
2048 static void *SwigwxPopupWindowTowxObject(void *ptr) {
2049 wxPopupWindow *src;
2050 wxObject *dest;
2051 src = (wxPopupWindow *) ptr;
2052 dest = (wxObject *) src;
2053 return (void *) dest;
2054 }
2055
2056 #define new_wxPopupWindow(_swigarg0,_swigarg1) (new wxPopupWindow(_swigarg0,_swigarg1))
2057 static PyObject *_wrap_new_wxPopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject * _resultobj;
2059 wxPopupWindow * _result;
2060 wxWindow * _arg0;
2061 int _arg1 = (int ) wxBORDER_NONE;
2062 PyObject * _argo0 = 0;
2063 char *_kwnames[] = { "parent","flags", NULL };
2064 char _ptemp[128];
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxPopupWindow",_kwnames,&_argo0,&_arg1))
2068 return NULL;
2069 if (_argo0) {
2070 if (_argo0 == Py_None) { _arg0 = NULL; }
2071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPopupWindow. Expected _wxWindow_p.");
2073 return NULL;
2074 }
2075 }
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 _result = (wxPopupWindow *)new_wxPopupWindow(_arg0,_arg1);
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) return NULL;
2082 } if (_result) {
2083 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPopupWindow_p");
2084 _resultobj = Py_BuildValue("s",_ptemp);
2085 } else {
2086 Py_INCREF(Py_None);
2087 _resultobj = Py_None;
2088 }
2089 return _resultobj;
2090 }
2091
2092 #define new_wxPrePopupWindow() (new wxPopupWindow())
2093 static PyObject *_wrap_new_wxPrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject * _resultobj;
2095 wxPopupWindow * _result;
2096 char *_kwnames[] = { NULL };
2097 char _ptemp[128];
2098
2099 self = self;
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePopupWindow",_kwnames))
2101 return NULL;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 _result = (wxPopupWindow *)new_wxPrePopupWindow();
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) return NULL;
2108 } if (_result) {
2109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPopupWindow_p");
2110 _resultobj = Py_BuildValue("s",_ptemp);
2111 } else {
2112 Py_INCREF(Py_None);
2113 _resultobj = Py_None;
2114 }
2115 return _resultobj;
2116 }
2117
2118 #define wxPopupWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
2119 static PyObject *_wrap_wxPopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject * _resultobj;
2121 bool _result;
2122 wxPopupWindow * _arg0;
2123 wxWindow * _arg1;
2124 int _arg2 = (int ) wxBORDER_NONE;
2125 PyObject * _argo0 = 0;
2126 PyObject * _argo1 = 0;
2127 char *_kwnames[] = { "self","parent","flags", NULL };
2128
2129 self = self;
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPopupWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2))
2131 return NULL;
2132 if (_argo0) {
2133 if (_argo0 == Py_None) { _arg0 = NULL; }
2134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPopupWindow_p")) {
2135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupWindow_Create. Expected _wxPopupWindow_p.");
2136 return NULL;
2137 }
2138 }
2139 if (_argo1) {
2140 if (_argo1 == Py_None) { _arg1 = NULL; }
2141 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2142 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPopupWindow_Create. Expected _wxWindow_p.");
2143 return NULL;
2144 }
2145 }
2146 {
2147 PyThreadState* __tstate = wxPyBeginAllowThreads();
2148 _result = (bool )wxPopupWindow_Create(_arg0,_arg1,_arg2);
2149
2150 wxPyEndAllowThreads(__tstate);
2151 if (PyErr_Occurred()) return NULL;
2152 } _resultobj = Py_BuildValue("i",_result);
2153 return _resultobj;
2154 }
2155
2156 #define wxPopupWindow_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
2157 static PyObject *_wrap_wxPopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
2158 PyObject * _resultobj;
2159 wxPopupWindow * _arg0;
2160 wxPoint * _arg1;
2161 wxSize * _arg2;
2162 PyObject * _argo0 = 0;
2163 wxPoint temp;
2164 PyObject * _obj1 = 0;
2165 wxSize temp0;
2166 PyObject * _obj2 = 0;
2167 char *_kwnames[] = { "self","ptOrigin","size", NULL };
2168
2169 self = self;
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPopupWindow_Position",_kwnames,&_argo0,&_obj1,&_obj2))
2171 return NULL;
2172 if (_argo0) {
2173 if (_argo0 == Py_None) { _arg0 = NULL; }
2174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPopupWindow_p")) {
2175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupWindow_Position. Expected _wxPopupWindow_p.");
2176 return NULL;
2177 }
2178 }
2179 {
2180 _arg1 = &temp;
2181 if (! wxPoint_helper(_obj1, &_arg1))
2182 return NULL;
2183 }
2184 {
2185 _arg2 = &temp0;
2186 if (! wxSize_helper(_obj2, &_arg2))
2187 return NULL;
2188 }
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 wxPopupWindow_Position(_arg0,*_arg1,*_arg2);
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) return NULL;
2195 } Py_INCREF(Py_None);
2196 _resultobj = Py_None;
2197 return _resultobj;
2198 }
2199
2200 static void *SwigwxPyPopupTransientWindowTowxPopupWindow(void *ptr) {
2201 wxPyPopupTransientWindow *src;
2202 wxPopupWindow *dest;
2203 src = (wxPyPopupTransientWindow *) ptr;
2204 dest = (wxPopupWindow *) src;
2205 return (void *) dest;
2206 }
2207
2208 static void *SwigwxPyPopupTransientWindowTowxWindow(void *ptr) {
2209 wxPyPopupTransientWindow *src;
2210 wxWindow *dest;
2211 src = (wxPyPopupTransientWindow *) ptr;
2212 dest = (wxWindow *) src;
2213 return (void *) dest;
2214 }
2215
2216 static void *SwigwxPyPopupTransientWindowTowxEvtHandler(void *ptr) {
2217 wxPyPopupTransientWindow *src;
2218 wxEvtHandler *dest;
2219 src = (wxPyPopupTransientWindow *) ptr;
2220 dest = (wxEvtHandler *) src;
2221 return (void *) dest;
2222 }
2223
2224 static void *SwigwxPyPopupTransientWindowTowxObject(void *ptr) {
2225 wxPyPopupTransientWindow *src;
2226 wxObject *dest;
2227 src = (wxPyPopupTransientWindow *) ptr;
2228 dest = (wxObject *) src;
2229 return (void *) dest;
2230 }
2231
2232 #define new_wxPopupTransientWindow(_swigarg0,_swigarg1) (new wxPyPopupTransientWindow(_swigarg0,_swigarg1))
2233 static PyObject *_wrap_new_wxPopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2234 PyObject * _resultobj;
2235 wxPyPopupTransientWindow * _result;
2236 wxWindow * _arg0;
2237 int _arg1 = (int ) wxBORDER_NONE;
2238 PyObject * _argo0 = 0;
2239 char *_kwnames[] = { "parent","style", NULL };
2240 char _ptemp[128];
2241
2242 self = self;
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxPopupTransientWindow",_kwnames,&_argo0,&_arg1))
2244 return NULL;
2245 if (_argo0) {
2246 if (_argo0 == Py_None) { _arg0 = NULL; }
2247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPopupTransientWindow. Expected _wxWindow_p.");
2249 return NULL;
2250 }
2251 }
2252 {
2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
2254 _result = (wxPyPopupTransientWindow *)new_wxPopupTransientWindow(_arg0,_arg1);
2255
2256 wxPyEndAllowThreads(__tstate);
2257 if (PyErr_Occurred()) return NULL;
2258 } if (_result) {
2259 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPopupTransientWindow_p");
2260 _resultobj = Py_BuildValue("s",_ptemp);
2261 } else {
2262 Py_INCREF(Py_None);
2263 _resultobj = Py_None;
2264 }
2265 return _resultobj;
2266 }
2267
2268 #define new_wxPrePopupTransientWindow() (new wxPyPopupTransientWindow())
2269 static PyObject *_wrap_new_wxPrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject * _resultobj;
2271 wxPyPopupTransientWindow * _result;
2272 char *_kwnames[] = { NULL };
2273 char _ptemp[128];
2274
2275 self = self;
2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePopupTransientWindow",_kwnames))
2277 return NULL;
2278 {
2279 PyThreadState* __tstate = wxPyBeginAllowThreads();
2280 _result = (wxPyPopupTransientWindow *)new_wxPrePopupTransientWindow();
2281
2282 wxPyEndAllowThreads(__tstate);
2283 if (PyErr_Occurred()) return NULL;
2284 } if (_result) {
2285 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPopupTransientWindow_p");
2286 _resultobj = Py_BuildValue("s",_ptemp);
2287 } else {
2288 Py_INCREF(Py_None);
2289 _resultobj = Py_None;
2290 }
2291 return _resultobj;
2292 }
2293
2294 #define wxPopupTransientWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2295 static PyObject *_wrap_wxPopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2296 PyObject * _resultobj;
2297 wxPyPopupTransientWindow * _arg0;
2298 PyObject * _arg1;
2299 PyObject * _arg2;
2300 PyObject * _argo0 = 0;
2301 PyObject * _obj1 = 0;
2302 PyObject * _obj2 = 0;
2303 char *_kwnames[] = { "self","self","_class", NULL };
2304
2305 self = self;
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPopupTransientWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2307 return NULL;
2308 if (_argo0) {
2309 if (_argo0 == Py_None) { _arg0 = NULL; }
2310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow__setCallbackInfo. Expected _wxPyPopupTransientWindow_p.");
2312 return NULL;
2313 }
2314 }
2315 {
2316 _arg1 = _obj1;
2317 }
2318 {
2319 _arg2 = _obj2;
2320 }
2321 {
2322 PyThreadState* __tstate = wxPyBeginAllowThreads();
2323 wxPopupTransientWindow__setCallbackInfo(_arg0,_arg1,_arg2);
2324
2325 wxPyEndAllowThreads(__tstate);
2326 if (PyErr_Occurred()) return NULL;
2327 } Py_INCREF(Py_None);
2328 _resultobj = Py_None;
2329 return _resultobj;
2330 }
2331
2332 #define wxPopupTransientWindow_Popup(_swigobj,_swigarg0) (_swigobj->Popup(_swigarg0))
2333 static PyObject *_wrap_wxPopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
2334 PyObject * _resultobj;
2335 wxPyPopupTransientWindow * _arg0;
2336 wxWindow * _arg1 = (wxWindow *) NULL;
2337 PyObject * _argo0 = 0;
2338 PyObject * _argo1 = 0;
2339 char *_kwnames[] = { "self","focus", NULL };
2340
2341 self = self;
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPopupTransientWindow_Popup",_kwnames,&_argo0,&_argo1))
2343 return NULL;
2344 if (_argo0) {
2345 if (_argo0 == Py_None) { _arg0 = NULL; }
2346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow_Popup. Expected _wxPyPopupTransientWindow_p.");
2348 return NULL;
2349 }
2350 }
2351 if (_argo1) {
2352 if (_argo1 == Py_None) { _arg1 = NULL; }
2353 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2354 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPopupTransientWindow_Popup. Expected _wxWindow_p.");
2355 return NULL;
2356 }
2357 }
2358 {
2359 PyThreadState* __tstate = wxPyBeginAllowThreads();
2360 wxPopupTransientWindow_Popup(_arg0,_arg1);
2361
2362 wxPyEndAllowThreads(__tstate);
2363 if (PyErr_Occurred()) return NULL;
2364 } Py_INCREF(Py_None);
2365 _resultobj = Py_None;
2366 return _resultobj;
2367 }
2368
2369 #define wxPopupTransientWindow_Dismiss(_swigobj) (_swigobj->Dismiss())
2370 static PyObject *_wrap_wxPopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
2371 PyObject * _resultobj;
2372 wxPyPopupTransientWindow * _arg0;
2373 PyObject * _argo0 = 0;
2374 char *_kwnames[] = { "self", NULL };
2375
2376 self = self;
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPopupTransientWindow_Dismiss",_kwnames,&_argo0))
2378 return NULL;
2379 if (_argo0) {
2380 if (_argo0 == Py_None) { _arg0 = NULL; }
2381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPopupTransientWindow_p")) {
2382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPopupTransientWindow_Dismiss. Expected _wxPyPopupTransientWindow_p.");
2383 return NULL;
2384 }
2385 }
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 wxPopupTransientWindow_Dismiss(_arg0);
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) return NULL;
2392 } Py_INCREF(Py_None);
2393 _resultobj = Py_None;
2394 return _resultobj;
2395 }
2396
2397 static void *SwigwxTipWindowTowxPyPopupTransientWindow(void *ptr) {
2398 wxTipWindow *src;
2399 wxPyPopupTransientWindow *dest;
2400 src = (wxTipWindow *) ptr;
2401 dest = (wxPyPopupTransientWindow *) src;
2402 return (void *) dest;
2403 }
2404
2405 static void *SwigwxTipWindowTowxPopupWindow(void *ptr) {
2406 wxTipWindow *src;
2407 wxPopupWindow *dest;
2408 src = (wxTipWindow *) ptr;
2409 dest = (wxPopupWindow *) src;
2410 return (void *) dest;
2411 }
2412
2413 static void *SwigwxTipWindowTowxWindow(void *ptr) {
2414 wxTipWindow *src;
2415 wxWindow *dest;
2416 src = (wxTipWindow *) ptr;
2417 dest = (wxWindow *) src;
2418 return (void *) dest;
2419 }
2420
2421 static void *SwigwxTipWindowTowxEvtHandler(void *ptr) {
2422 wxTipWindow *src;
2423 wxEvtHandler *dest;
2424 src = (wxTipWindow *) ptr;
2425 dest = (wxEvtHandler *) src;
2426 return (void *) dest;
2427 }
2428
2429 static void *SwigwxTipWindowTowxObject(void *ptr) {
2430 wxTipWindow *src;
2431 wxObject *dest;
2432 src = (wxTipWindow *) ptr;
2433 dest = (wxObject *) src;
2434 return (void *) dest;
2435 }
2436
2437 static wxTipWindow *new_wxTipWindow(wxWindow *parent,const wxString *text,wxCoord maxLength,wxRect *rectBound) {
2438 wxString tmp = *text;
2439 return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound);
2440 }
2441
2442 static PyObject *_wrap_new_wxTipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject * _resultobj;
2444 wxTipWindow * _result;
2445 wxWindow * _arg0;
2446 wxString * _arg1;
2447 wxCoord _arg2 = (wxCoord ) 100;
2448 wxRect * _arg3 = (wxRect *) NULL;
2449 PyObject * _argo0 = 0;
2450 PyObject * _obj1 = 0;
2451 wxRect temp;
2452 PyObject * _obj3 = 0;
2453 char *_kwnames[] = { "parent","text","maxLength","rectBound", NULL };
2454 char _ptemp[128];
2455
2456 self = self;
2457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iO:new_wxTipWindow",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3))
2458 return NULL;
2459 if (_argo0) {
2460 if (_argo0 == Py_None) { _arg0 = NULL; }
2461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2463 return NULL;
2464 }
2465 }
2466 {
2467 #if PYTHON_API_VERSION >= 1009
2468 char* tmpPtr; int tmpSize;
2469 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2470 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2471 return NULL;
2472 }
2473 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2474 return NULL;
2475 _arg1 = new wxString(tmpPtr, tmpSize);
2476 #else
2477 if (!PyString_Check(_obj1)) {
2478 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2479 return NULL;
2480 }
2481 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2482 #endif
2483 }
2484 if (_obj3)
2485 {
2486 _arg3 = &temp;
2487 if (! wxRect_helper(_obj3, &_arg3))
2488 return NULL;
2489 }
2490 {
2491 PyThreadState* __tstate = wxPyBeginAllowThreads();
2492 _result = (wxTipWindow *)new_wxTipWindow(_arg0,_arg1,_arg2,_arg3);
2493
2494 wxPyEndAllowThreads(__tstate);
2495 if (PyErr_Occurred()) return NULL;
2496 } if (_result) {
2497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipWindow_p");
2498 _resultobj = Py_BuildValue("s",_ptemp);
2499 } else {
2500 Py_INCREF(Py_None);
2501 _resultobj = Py_None;
2502 }
2503 {
2504 if (_obj1)
2505 delete _arg1;
2506 }
2507 return _resultobj;
2508 }
2509
2510 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2511 static PyObject *_wrap_wxTipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2512 PyObject * _resultobj;
2513 wxTipWindow * _arg0;
2514 wxRect * _arg1;
2515 PyObject * _argo0 = 0;
2516 wxRect temp;
2517 PyObject * _obj1 = 0;
2518 char *_kwnames[] = { "self","rectBound", NULL };
2519
2520 self = self;
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTipWindow_SetBoundingRect",_kwnames,&_argo0,&_obj1))
2522 return NULL;
2523 if (_argo0) {
2524 if (_argo0 == Py_None) { _arg0 = NULL; }
2525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipWindow_p")) {
2526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2527 return NULL;
2528 }
2529 }
2530 {
2531 _arg1 = &temp;
2532 if (! wxRect_helper(_obj1, &_arg1))
2533 return NULL;
2534 }
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 wxTipWindow_SetBoundingRect(_arg0,*_arg1);
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) return NULL;
2541 } Py_INCREF(Py_None);
2542 _resultobj = Py_None;
2543 return _resultobj;
2544 }
2545
2546 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2547 static PyObject *_wrap_wxTipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
2548 PyObject * _resultobj;
2549 wxTipWindow * _arg0;
2550 PyObject * _argo0 = 0;
2551 char *_kwnames[] = { "self", NULL };
2552
2553 self = self;
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipWindow_Close",_kwnames,&_argo0))
2555 return NULL;
2556 if (_argo0) {
2557 if (_argo0 == Py_None) { _arg0 = NULL; }
2558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipWindow_p")) {
2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2560 return NULL;
2561 }
2562 }
2563 {
2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
2565 wxTipWindow_Close(_arg0);
2566
2567 wxPyEndAllowThreads(__tstate);
2568 if (PyErr_Occurred()) return NULL;
2569 } Py_INCREF(Py_None);
2570 _resultobj = Py_None;
2571 return _resultobj;
2572 }
2573
2574 static PyMethodDef windows3cMethods[] = {
2575 { "wxTipWindow_Close", (PyCFunction) _wrap_wxTipWindow_Close, METH_VARARGS | METH_KEYWORDS },
2576 { "wxTipWindow_SetBoundingRect", (PyCFunction) _wrap_wxTipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
2577 { "new_wxTipWindow", (PyCFunction) _wrap_new_wxTipWindow, METH_VARARGS | METH_KEYWORDS },
2578 { "wxPopupTransientWindow_Dismiss", (PyCFunction) _wrap_wxPopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
2579 { "wxPopupTransientWindow_Popup", (PyCFunction) _wrap_wxPopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
2580 { "wxPopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_wxPopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2581 { "new_wxPrePopupTransientWindow", (PyCFunction) _wrap_new_wxPrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
2582 { "new_wxPopupTransientWindow", (PyCFunction) _wrap_new_wxPopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
2583 { "wxPopupWindow_Position", (PyCFunction) _wrap_wxPopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
2584 { "wxPopupWindow_Create", (PyCFunction) _wrap_wxPopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
2585 { "new_wxPrePopupWindow", (PyCFunction) _wrap_new_wxPrePopupWindow, METH_VARARGS | METH_KEYWORDS },
2586 { "new_wxPopupWindow", (PyCFunction) _wrap_new_wxPopupWindow, METH_VARARGS | METH_KEYWORDS },
2587 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
2588 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
2589 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
2590 { "delete_wxLayoutAlgorithm", (PyCFunction) _wrap_delete_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
2591 { "new_wxLayoutAlgorithm", (PyCFunction) _wrap_new_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
2592 { "wxSashLayoutWindow_SetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
2593 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
2594 { "wxSashLayoutWindow_SetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
2595 { "wxSashLayoutWindow_GetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
2596 { "wxSashLayoutWindow_GetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
2597 { "wxSashLayoutWindow_Create", (PyCFunction) _wrap_wxSashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
2598 { "new_wxPreSashLayoutWindow", (PyCFunction) _wrap_new_wxPreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
2599 { "new_wxSashLayoutWindow", (PyCFunction) _wrap_new_wxSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
2600 { "wxCalculateLayoutEvent_GetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
2601 { "wxCalculateLayoutEvent_SetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
2602 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
2603 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
2604 { "new_wxCalculateLayoutEvent", (PyCFunction) _wrap_new_wxCalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
2605 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
2606 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
2607 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
2608 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
2609 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
2610 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
2611 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
2612 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
2613 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
2614 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
2615 { "new_wxQueryLayoutInfoEvent", (PyCFunction) _wrap_new_wxQueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
2616 { "wxSashWindow_SetSashBorder", (PyCFunction) _wrap_wxSashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
2617 { "wxSashWindow_SetSashVisible", (PyCFunction) _wrap_wxSashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
2618 { "wxSashWindow_SetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
2619 { "wxSashWindow_SetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
2620 { "wxSashWindow_SetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
2621 { "wxSashWindow_SetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
2622 { "wxSashWindow_SetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
2623 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
2624 { "wxSashWindow_HasBorder", (PyCFunction) _wrap_wxSashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
2625 { "wxSashWindow_GetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
2626 { "wxSashWindow_GetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
2627 { "wxSashWindow_GetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
2628 { "wxSashWindow_GetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
2629 { "wxSashWindow_GetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
2630 { "wxSashWindow_GetEdgeMargin", (PyCFunction) _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
2631 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
2632 { "wxSashWindow_GetSashVisible", (PyCFunction) _wrap_wxSashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
2633 { "wxSashWindow_Create", (PyCFunction) _wrap_wxSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
2634 { "new_wxPreSashWindow", (PyCFunction) _wrap_new_wxPreSashWindow, METH_VARARGS | METH_KEYWORDS },
2635 { "new_wxSashWindow", (PyCFunction) _wrap_new_wxSashWindow, METH_VARARGS | METH_KEYWORDS },
2636 { "wxSashEvent_GetDragStatus", (PyCFunction) _wrap_wxSashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
2637 { "wxSashEvent_SetDragStatus", (PyCFunction) _wrap_wxSashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
2638 { "wxSashEvent_GetDragRect", (PyCFunction) _wrap_wxSashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
2639 { "wxSashEvent_SetDragRect", (PyCFunction) _wrap_wxSashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
2640 { "wxSashEvent_GetEdge", (PyCFunction) _wrap_wxSashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
2641 { "wxSashEvent_SetEdge", (PyCFunction) _wrap_wxSashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
2642 { "new_wxSashEvent", (PyCFunction) _wrap_new_wxSashEvent, METH_VARARGS | METH_KEYWORDS },
2643 { NULL, NULL }
2644 };
2645 #ifdef __cplusplus
2646 }
2647 #endif
2648 /*
2649 * This table is used by the pointer type-checker
2650 */
2651 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2652 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent},
2653 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent},
2654 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent},
2655 { "_signed_long","_long",0},
2656 { "_wxPrintQuality","_wxCoord",0},
2657 { "_wxPrintQuality","_int",0},
2658 { "_wxPrintQuality","_signed_int",0},
2659 { "_wxPrintQuality","_unsigned_int",0},
2660 { "_wxPrintQuality","_wxWindowID",0},
2661 { "_wxPrintQuality","_uint",0},
2662 { "_wxPrintQuality","_EBool",0},
2663 { "_wxPrintQuality","_size_t",0},
2664 { "_wxPrintQuality","_time_t",0},
2665 { "_wxPyPopupTransientWindow","_wxTipWindow",SwigwxTipWindowTowxPyPopupTransientWindow},
2666 { "_byte","_unsigned_char",0},
2667 { "_long","_unsigned_long",0},
2668 { "_long","_signed_long",0},
2669 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow},
2670 { "_size_t","_wxCoord",0},
2671 { "_size_t","_wxPrintQuality",0},
2672 { "_size_t","_time_t",0},
2673 { "_size_t","_unsigned_int",0},
2674 { "_size_t","_int",0},
2675 { "_size_t","_wxWindowID",0},
2676 { "_size_t","_uint",0},
2677 { "_wxPopupWindow","_wxTipWindow",SwigwxTipWindowTowxPopupWindow},
2678 { "_wxPopupWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxPopupWindow},
2679 { "_uint","_wxCoord",0},
2680 { "_uint","_wxPrintQuality",0},
2681 { "_uint","_time_t",0},
2682 { "_uint","_size_t",0},
2683 { "_uint","_unsigned_int",0},
2684 { "_uint","_int",0},
2685 { "_uint","_wxWindowID",0},
2686 { "_wxChar","_char",0},
2687 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent},
2688 { "_char","_wxChar",0},
2689 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2690 { "_EBool","_wxCoord",0},
2691 { "_EBool","_wxPrintQuality",0},
2692 { "_EBool","_signed_int",0},
2693 { "_EBool","_int",0},
2694 { "_EBool","_wxWindowID",0},
2695 { "_unsigned_long","_long",0},
2696 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2697 { "_signed_int","_wxCoord",0},
2698 { "_signed_int","_wxPrintQuality",0},
2699 { "_signed_int","_EBool",0},
2700 { "_signed_int","_wxWindowID",0},
2701 { "_signed_int","_int",0},
2702 { "_WXTYPE","_short",0},
2703 { "_WXTYPE","_signed_short",0},
2704 { "_WXTYPE","_unsigned_short",0},
2705 { "_unsigned_short","_WXTYPE",0},
2706 { "_unsigned_short","_short",0},
2707 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject},
2708 { "_wxObject","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxObject},
2709 { "_wxObject","_wxPopupWindow",SwigwxPopupWindowTowxObject},
2710 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject},
2711 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject},
2712 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject},
2713 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject},
2714 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject},
2715 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject},
2716 { "_signed_short","_WXTYPE",0},
2717 { "_signed_short","_short",0},
2718 { "_unsigned_char","_byte",0},
2719 { "_unsigned_int","_wxCoord",0},
2720 { "_unsigned_int","_wxPrintQuality",0},
2721 { "_unsigned_int","_time_t",0},
2722 { "_unsigned_int","_size_t",0},
2723 { "_unsigned_int","_uint",0},
2724 { "_unsigned_int","_wxWindowID",0},
2725 { "_unsigned_int","_int",0},
2726 { "_short","_WXTYPE",0},
2727 { "_short","_unsigned_short",0},
2728 { "_short","_signed_short",0},
2729 { "_wxWindowID","_wxCoord",0},
2730 { "_wxWindowID","_wxPrintQuality",0},
2731 { "_wxWindowID","_time_t",0},
2732 { "_wxWindowID","_size_t",0},
2733 { "_wxWindowID","_EBool",0},
2734 { "_wxWindowID","_uint",0},
2735 { "_wxWindowID","_int",0},
2736 { "_wxWindowID","_signed_int",0},
2737 { "_wxWindowID","_unsigned_int",0},
2738 { "_int","_wxCoord",0},
2739 { "_int","_wxPrintQuality",0},
2740 { "_int","_time_t",0},
2741 { "_int","_size_t",0},
2742 { "_int","_EBool",0},
2743 { "_int","_uint",0},
2744 { "_int","_wxWindowID",0},
2745 { "_int","_unsigned_int",0},
2746 { "_int","_signed_int",0},
2747 { "_time_t","_wxCoord",0},
2748 { "_time_t","_wxPrintQuality",0},
2749 { "_time_t","_unsigned_int",0},
2750 { "_time_t","_int",0},
2751 { "_time_t","_wxWindowID",0},
2752 { "_time_t","_uint",0},
2753 { "_time_t","_size_t",0},
2754 { "_wxCoord","_int",0},
2755 { "_wxCoord","_signed_int",0},
2756 { "_wxCoord","_unsigned_int",0},
2757 { "_wxCoord","_wxWindowID",0},
2758 { "_wxCoord","_uint",0},
2759 { "_wxCoord","_EBool",0},
2760 { "_wxCoord","_size_t",0},
2761 { "_wxCoord","_time_t",0},
2762 { "_wxCoord","_wxPrintQuality",0},
2763 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler},
2764 { "_wxEvtHandler","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxEvtHandler},
2765 { "_wxEvtHandler","_wxPopupWindow",SwigwxPopupWindowTowxEvtHandler},
2766 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler},
2767 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler},
2768 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow},
2769 { "_wxWindow","_wxPyPopupTransientWindow",SwigwxPyPopupTransientWindowTowxWindow},
2770 { "_wxWindow","_wxPopupWindow",SwigwxPopupWindowTowxWindow},
2771 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow},
2772 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow},
2773 {0,0,0}};
2774
2775 static PyObject *SWIG_globals;
2776 #ifdef __cplusplus
2777 extern "C"
2778 #endif
2779 SWIGEXPORT(void) initwindows3c() {
2780 PyObject *m, *d;
2781 SWIG_globals = SWIG_newvarlink();
2782 m = Py_InitModule("windows3c", windows3cMethods);
2783 d = PyModule_GetDict(m);
2784 PyDict_SetItemString(d,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP));
2785 PyDict_SetItemString(d,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT));
2786 PyDict_SetItemString(d,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM));
2787 PyDict_SetItemString(d,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT));
2788 PyDict_SetItemString(d,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE));
2789 PyDict_SetItemString(d,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED));
2790 PyDict_SetItemString(d,"wxSW_3D", PyInt_FromLong((long) wxSW_3D));
2791 PyDict_SetItemString(d,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH));
2792 PyDict_SetItemString(d,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER));
2793 PyDict_SetItemString(d,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER));
2794 PyDict_SetItemString(d,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK));
2795 PyDict_SetItemString(d,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE));
2796 PyDict_SetItemString(d,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL));
2797 PyDict_SetItemString(d,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL));
2798 PyDict_SetItemString(d,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE));
2799 PyDict_SetItemString(d,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP));
2800 PyDict_SetItemString(d,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT));
2801 PyDict_SetItemString(d,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT));
2802 PyDict_SetItemString(d,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM));
2803 PyDict_SetItemString(d,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO));
2804 PyDict_SetItemString(d,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT));
2805 {
2806 int i;
2807 for (i = 0; _swig_mapping[i].n1; i++)
2808 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2809 }
2810 }