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