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