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