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