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