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