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