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