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