]>
Commit | Line | Data |
---|---|---|
08127323 | 1 | /* |
c368d904 | 2 | * FILE : src/msw/windows3.cpp |
08127323 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
08127323 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
08127323 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
c368d904 | 30 | # define SWIGEXPORT(a) a _export |
08127323 | 31 | # else |
c368d904 | 32 | # define SWIGEXPORT(a) a |
08127323 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
c368d904 | 36 | # define SWIGEXPORT(a) a |
08127323 RD |
37 | #endif |
38 | ||
c368d904 RD |
39 | #include "Python.h" |
40 | ||
08127323 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
185d7c3e | 44 | |
08127323 RD |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
1d99702e | 48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
08127323 RD |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
08127323 RD |
54 | #define SWIG_init initwindows3c |
55 | ||
56 | #define SWIG_name "windows3c" | |
57 | ||
58 | #include "helpers.h" | |
59 | #include <wx/sashwin.h> | |
60 | #include <wx/laywin.h> | |
61 | ||
08127323 RD |
62 | |
63 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
64 | PyObject* o2; | |
65 | PyObject* o3; | |
66 | ||
e0672e2f | 67 | if (!target) { |
08127323 | 68 | target = o; |
e0672e2f | 69 | } else if (target == Py_None) { |
08127323 RD |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
e0672e2f | 72 | } else { |
08127323 RD |
73 | if (!PyTuple_Check(target)) { |
74 | o2 = target; | |
75 | target = PyTuple_New(1); | |
76 | PyTuple_SetItem(target, 0, o2); | |
77 | } | |
e0672e2f RD |
78 | o3 = PyTuple_New(1); |
79 | PyTuple_SetItem(o3, 0, o); | |
08127323 RD |
80 | |
81 | o2 = target; | |
e0672e2f RD |
82 | target = PySequence_Concat(o2, o3); |
83 | Py_DECREF(o2); | |
08127323 RD |
84 | Py_DECREF(o3); |
85 | } | |
86 | return target; | |
87 | } | |
88 | ||
794c5cb1 RD |
89 | #if PYTHON_API_VERSION >= 1009 |
90 | static char* wxStringErrorMsg = "String or Unicode type required"; | |
91 | #else | |
92 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
93 | #endif | |
1d99702e RD |
94 | #ifdef __cplusplus |
95 | extern "C" { | |
96 | #endif | |
08127323 RD |
97 | static void *SwigwxSashEventTowxCommandEvent(void *ptr) { |
98 | wxSashEvent *src; | |
99 | wxCommandEvent *dest; | |
100 | src = (wxSashEvent *) ptr; | |
101 | dest = (wxCommandEvent *) src; | |
102 | return (void *) dest; | |
103 | } | |
104 | ||
105 | static void *SwigwxSashEventTowxEvent(void *ptr) { | |
106 | wxSashEvent *src; | |
107 | wxEvent *dest; | |
108 | src = (wxSashEvent *) ptr; | |
109 | dest = (wxEvent *) src; | |
110 | return (void *) dest; | |
111 | } | |
112 | ||
9416aa89 RD |
113 | static void *SwigwxSashEventTowxObject(void *ptr) { |
114 | wxSashEvent *src; | |
115 | wxObject *dest; | |
116 | src = (wxSashEvent *) ptr; | |
117 | dest = (wxObject *) src; | |
118 | return (void *) dest; | |
119 | } | |
120 | ||
08127323 | 121 | #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0)) |
efc5f224 | 122 | static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
123 | PyObject * _resultobj; |
124 | wxSashEvent * _arg0; | |
125 | wxSashEdgePosition _arg1; | |
1d99702e | 126 | PyObject * _argo0 = 0; |
efc5f224 | 127 | char *_kwnames[] = { "self","edge", NULL }; |
08127323 RD |
128 | |
129 | self = self; | |
efc5f224 | 130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetEdge",_kwnames,&_argo0,&_arg1)) |
08127323 | 131 | return NULL; |
1d99702e RD |
132 | if (_argo0) { |
133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) { | |
08127323 RD |
135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p."); |
136 | return NULL; | |
137 | } | |
138 | } | |
cf694132 RD |
139 | { |
140 | wxPy_BEGIN_ALLOW_THREADS; | |
141 | wxSashEvent_SetEdge(_arg0,_arg1); | |
142 | ||
143 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 144 | if (PyErr_Occurred()) return NULL; |
cf694132 | 145 | } Py_INCREF(Py_None); |
08127323 RD |
146 | _resultobj = Py_None; |
147 | return _resultobj; | |
148 | } | |
149 | ||
150 | #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge()) | |
efc5f224 | 151 | static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
152 | PyObject * _resultobj; |
153 | wxSashEdgePosition _result; | |
154 | wxSashEvent * _arg0; | |
1d99702e | 155 | PyObject * _argo0 = 0; |
efc5f224 | 156 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
157 | |
158 | self = self; | |
efc5f224 | 159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetEdge",_kwnames,&_argo0)) |
08127323 | 160 | return NULL; |
1d99702e RD |
161 | if (_argo0) { |
162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) { | |
08127323 RD |
164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p."); |
165 | return NULL; | |
166 | } | |
167 | } | |
cf694132 RD |
168 | { |
169 | wxPy_BEGIN_ALLOW_THREADS; | |
170 | _result = (wxSashEdgePosition )wxSashEvent_GetEdge(_arg0); | |
171 | ||
172 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 173 | if (PyErr_Occurred()) return NULL; |
cf694132 | 174 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
175 | return _resultobj; |
176 | } | |
177 | ||
178 | #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0)) | |
efc5f224 | 179 | static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
180 | PyObject * _resultobj; |
181 | wxSashEvent * _arg0; | |
182 | wxRect * _arg1; | |
1d99702e | 183 | PyObject * _argo0 = 0; |
2f90df85 RD |
184 | wxRect temp; |
185 | PyObject * _obj1 = 0; | |
efc5f224 | 186 | char *_kwnames[] = { "self","rect", NULL }; |
08127323 RD |
187 | |
188 | self = self; | |
2f90df85 | 189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_obj1)) |
08127323 | 190 | return NULL; |
1d99702e RD |
191 | if (_argo0) { |
192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) { | |
08127323 RD |
194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p."); |
195 | return NULL; | |
196 | } | |
197 | } | |
2f90df85 RD |
198 | { |
199 | _arg1 = &temp; | |
200 | if (! wxRect_helper(_obj1, &_arg1)) | |
08127323 | 201 | return NULL; |
2f90df85 | 202 | } |
cf694132 RD |
203 | { |
204 | wxPy_BEGIN_ALLOW_THREADS; | |
205 | wxSashEvent_SetDragRect(_arg0,*_arg1); | |
206 | ||
207 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 208 | if (PyErr_Occurred()) return NULL; |
cf694132 | 209 | } Py_INCREF(Py_None); |
08127323 RD |
210 | _resultobj = Py_None; |
211 | return _resultobj; | |
212 | } | |
213 | ||
214 | #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect()) | |
efc5f224 | 215 | static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
216 | PyObject * _resultobj; |
217 | wxRect * _result; | |
218 | wxSashEvent * _arg0; | |
1d99702e | 219 | PyObject * _argo0 = 0; |
efc5f224 | 220 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
221 | char _ptemp[128]; |
222 | ||
223 | self = self; | |
efc5f224 | 224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragRect",_kwnames,&_argo0)) |
08127323 | 225 | return NULL; |
1d99702e RD |
226 | if (_argo0) { |
227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) { | |
08127323 RD |
229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p."); |
230 | return NULL; | |
231 | } | |
232 | } | |
cf694132 RD |
233 | { |
234 | wxPy_BEGIN_ALLOW_THREADS; | |
235 | _result = new wxRect (wxSashEvent_GetDragRect(_arg0)); | |
236 | ||
237 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 238 | if (PyErr_Occurred()) return NULL; |
cf694132 | 239 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
08127323 RD |
240 | _resultobj = Py_BuildValue("s",_ptemp); |
241 | return _resultobj; | |
242 | } | |
243 | ||
244 | #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0)) | |
efc5f224 | 245 | static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
246 | PyObject * _resultobj; |
247 | wxSashEvent * _arg0; | |
248 | wxSashDragStatus _arg1; | |
1d99702e | 249 | PyObject * _argo0 = 0; |
efc5f224 | 250 | char *_kwnames[] = { "self","status", NULL }; |
08127323 RD |
251 | |
252 | self = self; | |
efc5f224 | 253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetDragStatus",_kwnames,&_argo0,&_arg1)) |
08127323 | 254 | return NULL; |
1d99702e RD |
255 | if (_argo0) { |
256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) { | |
08127323 RD |
258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p."); |
259 | return NULL; | |
260 | } | |
261 | } | |
cf694132 RD |
262 | { |
263 | wxPy_BEGIN_ALLOW_THREADS; | |
264 | wxSashEvent_SetDragStatus(_arg0,_arg1); | |
265 | ||
266 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 267 | if (PyErr_Occurred()) return NULL; |
cf694132 | 268 | } Py_INCREF(Py_None); |
08127323 RD |
269 | _resultobj = Py_None; |
270 | return _resultobj; | |
271 | } | |
272 | ||
273 | #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus()) | |
efc5f224 | 274 | static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
275 | PyObject * _resultobj; |
276 | wxSashDragStatus _result; | |
277 | wxSashEvent * _arg0; | |
1d99702e | 278 | PyObject * _argo0 = 0; |
efc5f224 | 279 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
280 | |
281 | self = self; | |
efc5f224 | 282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragStatus",_kwnames,&_argo0)) |
08127323 | 283 | return NULL; |
1d99702e RD |
284 | if (_argo0) { |
285 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
286 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashEvent_p")) { | |
08127323 RD |
287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p."); |
288 | return NULL; | |
289 | } | |
290 | } | |
cf694132 RD |
291 | { |
292 | wxPy_BEGIN_ALLOW_THREADS; | |
293 | _result = (wxSashDragStatus )wxSashEvent_GetDragStatus(_arg0); | |
294 | ||
295 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 296 | if (PyErr_Occurred()) return NULL; |
cf694132 | 297 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
298 | return _resultobj; |
299 | } | |
300 | ||
301 | static void *SwigwxSashWindowTowxWindow(void *ptr) { | |
302 | wxSashWindow *src; | |
303 | wxWindow *dest; | |
304 | src = (wxSashWindow *) ptr; | |
305 | dest = (wxWindow *) src; | |
306 | return (void *) dest; | |
307 | } | |
308 | ||
309 | static void *SwigwxSashWindowTowxEvtHandler(void *ptr) { | |
310 | wxSashWindow *src; | |
311 | wxEvtHandler *dest; | |
312 | src = (wxSashWindow *) ptr; | |
313 | dest = (wxEvtHandler *) src; | |
314 | return (void *) dest; | |
315 | } | |
316 | ||
9416aa89 RD |
317 | static void *SwigwxSashWindowTowxObject(void *ptr) { |
318 | wxSashWindow *src; | |
319 | wxObject *dest; | |
320 | src = (wxSashWindow *) ptr; | |
321 | dest = (wxObject *) src; | |
322 | return (void *) dest; | |
323 | } | |
324 | ||
08127323 | 325 | #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
efc5f224 | 326 | static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
327 | PyObject * _resultobj; |
328 | wxSashWindow * _result; | |
329 | wxWindow * _arg0; | |
330 | wxWindowID _arg1; | |
e508a2b6 RD |
331 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
332 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
1d99702e RD |
333 | long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D); |
334 | char * _arg5 = (char *) "sashWindow"; | |
335 | PyObject * _argo0 = 0; | |
2f90df85 RD |
336 | wxPoint temp; |
337 | PyObject * _obj2 = 0; | |
338 | wxSize temp0; | |
339 | PyObject * _obj3 = 0; | |
efc5f224 | 340 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
08127323 RD |
341 | char _ptemp[128]; |
342 | ||
343 | self = self; | |
2f90df85 | 344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
08127323 | 345 | return NULL; |
1d99702e RD |
346 | if (_argo0) { |
347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
08127323 RD |
349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p."); |
350 | return NULL; | |
351 | } | |
352 | } | |
2f90df85 RD |
353 | if (_obj2) |
354 | { | |
355 | _arg2 = &temp; | |
356 | if (! wxPoint_helper(_obj2, &_arg2)) | |
08127323 | 357 | return NULL; |
2f90df85 RD |
358 | } |
359 | if (_obj3) | |
360 | { | |
361 | _arg3 = &temp0; | |
362 | if (! wxSize_helper(_obj3, &_arg3)) | |
08127323 | 363 | return NULL; |
2f90df85 | 364 | } |
cf694132 RD |
365 | { |
366 | wxPy_BEGIN_ALLOW_THREADS; | |
367 | _result = (wxSashWindow *)new_wxSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
368 | ||
369 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 370 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
371 | } if (_result) { |
372 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashWindow_p"); | |
373 | _resultobj = Py_BuildValue("s",_ptemp); | |
374 | } else { | |
375 | Py_INCREF(Py_None); | |
376 | _resultobj = Py_None; | |
377 | } | |
08127323 RD |
378 | return _resultobj; |
379 | } | |
380 | ||
381 | #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0)) | |
efc5f224 | 382 | static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
383 | PyObject * _resultobj; |
384 | bool _result; | |
385 | wxSashWindow * _arg0; | |
386 | wxSashEdgePosition _arg1; | |
1d99702e | 387 | PyObject * _argo0 = 0; |
efc5f224 | 388 | char *_kwnames[] = { "self","edge", NULL }; |
08127323 RD |
389 | |
390 | self = self; | |
efc5f224 | 391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetSashVisible",_kwnames,&_argo0,&_arg1)) |
08127323 | 392 | return NULL; |
1d99702e RD |
393 | if (_argo0) { |
394 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
395 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p."); |
397 | return NULL; | |
398 | } | |
399 | } | |
cf694132 RD |
400 | { |
401 | wxPy_BEGIN_ALLOW_THREADS; | |
402 | _result = (bool )wxSashWindow_GetSashVisible(_arg0,_arg1); | |
403 | ||
404 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 405 | if (PyErr_Occurred()) return NULL; |
cf694132 | 406 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
407 | return _resultobj; |
408 | } | |
409 | ||
410 | #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize()) | |
efc5f224 | 411 | static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
412 | PyObject * _resultobj; |
413 | int _result; | |
414 | wxSashWindow * _arg0; | |
1d99702e | 415 | PyObject * _argo0 = 0; |
efc5f224 | 416 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
417 | |
418 | self = self; | |
efc5f224 | 419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetDefaultBorderSize",_kwnames,&_argo0)) |
08127323 | 420 | return NULL; |
1d99702e RD |
421 | if (_argo0) { |
422 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
423 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p."); |
425 | return NULL; | |
426 | } | |
427 | } | |
cf694132 RD |
428 | { |
429 | wxPy_BEGIN_ALLOW_THREADS; | |
430 | _result = (int )wxSashWindow_GetDefaultBorderSize(_arg0); | |
431 | ||
432 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 433 | if (PyErr_Occurred()) return NULL; |
cf694132 | 434 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
435 | return _resultobj; |
436 | } | |
437 | ||
438 | #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0)) | |
efc5f224 | 439 | static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
440 | PyObject * _resultobj; |
441 | int _result; | |
442 | wxSashWindow * _arg0; | |
443 | wxSashEdgePosition _arg1; | |
1d99702e | 444 | PyObject * _argo0 = 0; |
efc5f224 | 445 | char *_kwnames[] = { "self","edge", NULL }; |
08127323 RD |
446 | |
447 | self = self; | |
efc5f224 | 448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetEdgeMargin",_kwnames,&_argo0,&_arg1)) |
08127323 | 449 | return NULL; |
1d99702e RD |
450 | if (_argo0) { |
451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p."); |
454 | return NULL; | |
455 | } | |
456 | } | |
cf694132 RD |
457 | { |
458 | wxPy_BEGIN_ALLOW_THREADS; | |
459 | _result = (int )wxSashWindow_GetEdgeMargin(_arg0,_arg1); | |
460 | ||
461 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 462 | if (PyErr_Occurred()) return NULL; |
cf694132 | 463 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
464 | return _resultobj; |
465 | } | |
466 | ||
467 | #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize()) | |
efc5f224 | 468 | static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
469 | PyObject * _resultobj; |
470 | int _result; | |
471 | wxSashWindow * _arg0; | |
1d99702e | 472 | PyObject * _argo0 = 0; |
efc5f224 | 473 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
474 | |
475 | self = self; | |
efc5f224 | 476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetExtraBorderSize",_kwnames,&_argo0)) |
08127323 | 477 | return NULL; |
1d99702e RD |
478 | if (_argo0) { |
479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p."); |
482 | return NULL; | |
483 | } | |
484 | } | |
cf694132 RD |
485 | { |
486 | wxPy_BEGIN_ALLOW_THREADS; | |
487 | _result = (int )wxSashWindow_GetExtraBorderSize(_arg0); | |
488 | ||
489 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 490 | if (PyErr_Occurred()) return NULL; |
cf694132 | 491 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
492 | return _resultobj; |
493 | } | |
494 | ||
495 | #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX()) | |
efc5f224 | 496 | static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
497 | PyObject * _resultobj; |
498 | int _result; | |
499 | wxSashWindow * _arg0; | |
1d99702e | 500 | PyObject * _argo0 = 0; |
efc5f224 | 501 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
502 | |
503 | self = self; | |
efc5f224 | 504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeX",_kwnames,&_argo0)) |
08127323 | 505 | return NULL; |
1d99702e RD |
506 | if (_argo0) { |
507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p."); |
510 | return NULL; | |
511 | } | |
512 | } | |
cf694132 RD |
513 | { |
514 | wxPy_BEGIN_ALLOW_THREADS; | |
515 | _result = (int )wxSashWindow_GetMaximumSizeX(_arg0); | |
516 | ||
517 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 518 | if (PyErr_Occurred()) return NULL; |
cf694132 | 519 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
520 | return _resultobj; |
521 | } | |
522 | ||
523 | #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY()) | |
efc5f224 | 524 | static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
525 | PyObject * _resultobj; |
526 | int _result; | |
527 | wxSashWindow * _arg0; | |
1d99702e | 528 | PyObject * _argo0 = 0; |
efc5f224 | 529 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
530 | |
531 | self = self; | |
efc5f224 | 532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeY",_kwnames,&_argo0)) |
08127323 | 533 | return NULL; |
1d99702e RD |
534 | if (_argo0) { |
535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p."); |
538 | return NULL; | |
539 | } | |
540 | } | |
cf694132 RD |
541 | { |
542 | wxPy_BEGIN_ALLOW_THREADS; | |
543 | _result = (int )wxSashWindow_GetMaximumSizeY(_arg0); | |
544 | ||
545 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 546 | if (PyErr_Occurred()) return NULL; |
cf694132 | 547 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
548 | return _resultobj; |
549 | } | |
550 | ||
551 | #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX()) | |
efc5f224 | 552 | static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
553 | PyObject * _resultobj; |
554 | int _result; | |
555 | wxSashWindow * _arg0; | |
1d99702e | 556 | PyObject * _argo0 = 0; |
efc5f224 | 557 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
558 | |
559 | self = self; | |
efc5f224 | 560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeX",_kwnames,&_argo0)) |
08127323 | 561 | return NULL; |
1d99702e RD |
562 | if (_argo0) { |
563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p."); |
566 | return NULL; | |
567 | } | |
568 | } | |
cf694132 RD |
569 | { |
570 | wxPy_BEGIN_ALLOW_THREADS; | |
571 | _result = (int )wxSashWindow_GetMinimumSizeX(_arg0); | |
572 | ||
573 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 574 | if (PyErr_Occurred()) return NULL; |
cf694132 | 575 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
576 | return _resultobj; |
577 | } | |
578 | ||
579 | #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY()) | |
efc5f224 | 580 | static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
581 | PyObject * _resultobj; |
582 | int _result; | |
583 | wxSashWindow * _arg0; | |
1d99702e | 584 | PyObject * _argo0 = 0; |
efc5f224 | 585 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
586 | |
587 | self = self; | |
efc5f224 | 588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeY",_kwnames,&_argo0)) |
08127323 | 589 | return NULL; |
1d99702e RD |
590 | if (_argo0) { |
591 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
592 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p."); |
594 | return NULL; | |
595 | } | |
596 | } | |
cf694132 RD |
597 | { |
598 | wxPy_BEGIN_ALLOW_THREADS; | |
599 | _result = (int )wxSashWindow_GetMinimumSizeY(_arg0); | |
600 | ||
601 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 602 | if (PyErr_Occurred()) return NULL; |
cf694132 | 603 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
604 | return _resultobj; |
605 | } | |
606 | ||
607 | #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0)) | |
efc5f224 | 608 | static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
609 | PyObject * _resultobj; |
610 | bool _result; | |
611 | wxSashWindow * _arg0; | |
612 | wxSashEdgePosition _arg1; | |
1d99702e | 613 | PyObject * _argo0 = 0; |
efc5f224 | 614 | char *_kwnames[] = { "self","edge", NULL }; |
08127323 RD |
615 | |
616 | self = self; | |
efc5f224 | 617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_HasBorder",_kwnames,&_argo0,&_arg1)) |
08127323 | 618 | return NULL; |
1d99702e RD |
619 | if (_argo0) { |
620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p."); |
623 | return NULL; | |
624 | } | |
625 | } | |
cf694132 RD |
626 | { |
627 | wxPy_BEGIN_ALLOW_THREADS; | |
628 | _result = (bool )wxSashWindow_HasBorder(_arg0,_arg1); | |
629 | ||
630 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 631 | if (PyErr_Occurred()) return NULL; |
cf694132 | 632 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
633 | return _resultobj; |
634 | } | |
635 | ||
636 | #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0)) | |
efc5f224 | 637 | static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
638 | PyObject * _resultobj; |
639 | wxSashWindow * _arg0; | |
640 | int _arg1; | |
1d99702e | 641 | PyObject * _argo0 = 0; |
efc5f224 | 642 | char *_kwnames[] = { "self","width", NULL }; |
08127323 RD |
643 | |
644 | self = self; | |
efc5f224 | 645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames,&_argo0,&_arg1)) |
08127323 | 646 | return NULL; |
1d99702e RD |
647 | if (_argo0) { |
648 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
649 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
650 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p."); |
651 | return NULL; | |
652 | } | |
653 | } | |
cf694132 RD |
654 | { |
655 | wxPy_BEGIN_ALLOW_THREADS; | |
656 | wxSashWindow_SetDefaultBorderSize(_arg0,_arg1); | |
657 | ||
658 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 659 | if (PyErr_Occurred()) return NULL; |
cf694132 | 660 | } Py_INCREF(Py_None); |
08127323 RD |
661 | _resultobj = Py_None; |
662 | return _resultobj; | |
663 | } | |
664 | ||
665 | #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0)) | |
efc5f224 | 666 | static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
667 | PyObject * _resultobj; |
668 | wxSashWindow * _arg0; | |
669 | int _arg1; | |
1d99702e | 670 | PyObject * _argo0 = 0; |
efc5f224 | 671 | char *_kwnames[] = { "self","width", NULL }; |
08127323 RD |
672 | |
673 | self = self; | |
efc5f224 | 674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames,&_argo0,&_arg1)) |
08127323 | 675 | return NULL; |
1d99702e RD |
676 | if (_argo0) { |
677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p."); |
680 | return NULL; | |
681 | } | |
682 | } | |
cf694132 RD |
683 | { |
684 | wxPy_BEGIN_ALLOW_THREADS; | |
685 | wxSashWindow_SetExtraBorderSize(_arg0,_arg1); | |
686 | ||
687 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 688 | if (PyErr_Occurred()) return NULL; |
cf694132 | 689 | } Py_INCREF(Py_None); |
08127323 RD |
690 | _resultobj = Py_None; |
691 | return _resultobj; | |
692 | } | |
693 | ||
694 | #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0)) | |
efc5f224 | 695 | static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
696 | PyObject * _resultobj; |
697 | wxSashWindow * _arg0; | |
698 | int _arg1; | |
1d99702e | 699 | PyObject * _argo0 = 0; |
efc5f224 | 700 | char *_kwnames[] = { "self","min", NULL }; |
08127323 RD |
701 | |
702 | self = self; | |
efc5f224 | 703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames,&_argo0,&_arg1)) |
08127323 | 704 | return NULL; |
1d99702e RD |
705 | if (_argo0) { |
706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p."); |
709 | return NULL; | |
710 | } | |
711 | } | |
cf694132 RD |
712 | { |
713 | wxPy_BEGIN_ALLOW_THREADS; | |
714 | wxSashWindow_SetMaximumSizeX(_arg0,_arg1); | |
715 | ||
716 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 717 | if (PyErr_Occurred()) return NULL; |
cf694132 | 718 | } Py_INCREF(Py_None); |
08127323 RD |
719 | _resultobj = Py_None; |
720 | return _resultobj; | |
721 | } | |
722 | ||
723 | #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0)) | |
efc5f224 | 724 | static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
725 | PyObject * _resultobj; |
726 | wxSashWindow * _arg0; | |
727 | int _arg1; | |
1d99702e | 728 | PyObject * _argo0 = 0; |
efc5f224 | 729 | char *_kwnames[] = { "self","min", NULL }; |
08127323 RD |
730 | |
731 | self = self; | |
efc5f224 | 732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames,&_argo0,&_arg1)) |
08127323 | 733 | return NULL; |
1d99702e RD |
734 | if (_argo0) { |
735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p."); |
738 | return NULL; | |
739 | } | |
740 | } | |
cf694132 RD |
741 | { |
742 | wxPy_BEGIN_ALLOW_THREADS; | |
743 | wxSashWindow_SetMaximumSizeY(_arg0,_arg1); | |
744 | ||
745 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 746 | if (PyErr_Occurred()) return NULL; |
cf694132 | 747 | } Py_INCREF(Py_None); |
08127323 RD |
748 | _resultobj = Py_None; |
749 | return _resultobj; | |
750 | } | |
751 | ||
752 | #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0)) | |
efc5f224 | 753 | static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
754 | PyObject * _resultobj; |
755 | wxSashWindow * _arg0; | |
756 | int _arg1; | |
1d99702e | 757 | PyObject * _argo0 = 0; |
efc5f224 | 758 | char *_kwnames[] = { "self","min", NULL }; |
08127323 RD |
759 | |
760 | self = self; | |
efc5f224 | 761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames,&_argo0,&_arg1)) |
08127323 | 762 | return NULL; |
1d99702e RD |
763 | if (_argo0) { |
764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p."); |
767 | return NULL; | |
768 | } | |
769 | } | |
cf694132 RD |
770 | { |
771 | wxPy_BEGIN_ALLOW_THREADS; | |
772 | wxSashWindow_SetMinimumSizeX(_arg0,_arg1); | |
773 | ||
774 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 775 | if (PyErr_Occurred()) return NULL; |
cf694132 | 776 | } Py_INCREF(Py_None); |
08127323 RD |
777 | _resultobj = Py_None; |
778 | return _resultobj; | |
779 | } | |
780 | ||
781 | #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0)) | |
efc5f224 | 782 | static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
783 | PyObject * _resultobj; |
784 | wxSashWindow * _arg0; | |
785 | int _arg1; | |
1d99702e | 786 | PyObject * _argo0 = 0; |
efc5f224 | 787 | char *_kwnames[] = { "self","min", NULL }; |
08127323 RD |
788 | |
789 | self = self; | |
efc5f224 | 790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames,&_argo0,&_arg1)) |
08127323 | 791 | return NULL; |
1d99702e RD |
792 | if (_argo0) { |
793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p."); |
796 | return NULL; | |
797 | } | |
798 | } | |
cf694132 RD |
799 | { |
800 | wxPy_BEGIN_ALLOW_THREADS; | |
801 | wxSashWindow_SetMinimumSizeY(_arg0,_arg1); | |
802 | ||
803 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 804 | if (PyErr_Occurred()) return NULL; |
cf694132 | 805 | } Py_INCREF(Py_None); |
08127323 RD |
806 | _resultobj = Py_None; |
807 | return _resultobj; | |
808 | } | |
809 | ||
810 | #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1)) | |
efc5f224 | 811 | static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
812 | PyObject * _resultobj; |
813 | wxSashWindow * _arg0; | |
814 | wxSashEdgePosition _arg1; | |
815 | bool _arg2; | |
1d99702e | 816 | PyObject * _argo0 = 0; |
08127323 | 817 | int tempbool2; |
efc5f224 | 818 | char *_kwnames[] = { "self","edge","visible", NULL }; |
08127323 RD |
819 | |
820 | self = self; | |
efc5f224 | 821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) |
08127323 | 822 | return NULL; |
1d99702e RD |
823 | if (_argo0) { |
824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p."); |
827 | return NULL; | |
828 | } | |
829 | } | |
830 | _arg2 = (bool ) tempbool2; | |
cf694132 RD |
831 | { |
832 | wxPy_BEGIN_ALLOW_THREADS; | |
833 | wxSashWindow_SetSashVisible(_arg0,_arg1,_arg2); | |
834 | ||
835 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 836 | if (PyErr_Occurred()) return NULL; |
cf694132 | 837 | } Py_INCREF(Py_None); |
08127323 RD |
838 | _resultobj = Py_None; |
839 | return _resultobj; | |
840 | } | |
841 | ||
842 | #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1)) | |
efc5f224 | 843 | static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
844 | PyObject * _resultobj; |
845 | wxSashWindow * _arg0; | |
846 | wxSashEdgePosition _arg1; | |
847 | bool _arg2; | |
1d99702e | 848 | PyObject * _argo0 = 0; |
08127323 | 849 | int tempbool2; |
efc5f224 | 850 | char *_kwnames[] = { "self","edge","hasBorder", NULL }; |
08127323 RD |
851 | |
852 | self = self; | |
efc5f224 | 853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashBorder",_kwnames,&_argo0,&_arg1,&tempbool2)) |
08127323 | 854 | return NULL; |
1d99702e RD |
855 | if (_argo0) { |
856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashWindow_p")) { | |
08127323 RD |
858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p."); |
859 | return NULL; | |
860 | } | |
861 | } | |
862 | _arg2 = (bool ) tempbool2; | |
cf694132 RD |
863 | { |
864 | wxPy_BEGIN_ALLOW_THREADS; | |
865 | wxSashWindow_SetSashBorder(_arg0,_arg1,_arg2); | |
866 | ||
867 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 868 | if (PyErr_Occurred()) return NULL; |
cf694132 | 869 | } Py_INCREF(Py_None); |
08127323 RD |
870 | _resultobj = Py_None; |
871 | return _resultobj; | |
872 | } | |
873 | ||
874 | static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) { | |
875 | wxQueryLayoutInfoEvent *src; | |
876 | wxEvent *dest; | |
877 | src = (wxQueryLayoutInfoEvent *) ptr; | |
878 | dest = (wxEvent *) src; | |
879 | return (void *) dest; | |
880 | } | |
881 | ||
9416aa89 RD |
882 | static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr) { |
883 | wxQueryLayoutInfoEvent *src; | |
884 | wxObject *dest; | |
885 | src = (wxQueryLayoutInfoEvent *) ptr; | |
886 | dest = (wxObject *) src; | |
887 | return (void *) dest; | |
888 | } | |
889 | ||
08127323 | 890 | #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0)) |
efc5f224 | 891 | static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
892 | PyObject * _resultobj; |
893 | wxQueryLayoutInfoEvent * _arg0; | |
894 | int _arg1; | |
1d99702e | 895 | PyObject * _argo0 = 0; |
efc5f224 | 896 | char *_kwnames[] = { "self","length", NULL }; |
08127323 RD |
897 | |
898 | self = self; | |
efc5f224 | 899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames,&_argo0,&_arg1)) |
08127323 | 900 | return NULL; |
1d99702e RD |
901 | if (_argo0) { |
902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p."); |
905 | return NULL; | |
906 | } | |
907 | } | |
cf694132 RD |
908 | { |
909 | wxPy_BEGIN_ALLOW_THREADS; | |
910 | wxQueryLayoutInfoEvent_SetRequestedLength(_arg0,_arg1); | |
911 | ||
912 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 913 | if (PyErr_Occurred()) return NULL; |
cf694132 | 914 | } Py_INCREF(Py_None); |
08127323 RD |
915 | _resultobj = Py_None; |
916 | return _resultobj; | |
917 | } | |
918 | ||
919 | #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength()) | |
efc5f224 | 920 | static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
921 | PyObject * _resultobj; |
922 | int _result; | |
923 | wxQueryLayoutInfoEvent * _arg0; | |
1d99702e | 924 | PyObject * _argo0 = 0; |
efc5f224 | 925 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
926 | |
927 | self = self; | |
efc5f224 | 928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames,&_argo0)) |
08127323 | 929 | return NULL; |
1d99702e RD |
930 | if (_argo0) { |
931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p."); |
934 | return NULL; | |
935 | } | |
936 | } | |
cf694132 RD |
937 | { |
938 | wxPy_BEGIN_ALLOW_THREADS; | |
939 | _result = (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0); | |
940 | ||
941 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 942 | if (PyErr_Occurred()) return NULL; |
cf694132 | 943 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
944 | return _resultobj; |
945 | } | |
946 | ||
947 | #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0)) | |
efc5f224 | 948 | static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
949 | PyObject * _resultobj; |
950 | wxQueryLayoutInfoEvent * _arg0; | |
951 | int _arg1; | |
1d99702e | 952 | PyObject * _argo0 = 0; |
efc5f224 | 953 | char *_kwnames[] = { "self","flags", NULL }; |
08127323 RD |
954 | |
955 | self = self; | |
efc5f224 | 956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames,&_argo0,&_arg1)) |
08127323 | 957 | return NULL; |
1d99702e RD |
958 | if (_argo0) { |
959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p."); |
962 | return NULL; | |
963 | } | |
964 | } | |
cf694132 RD |
965 | { |
966 | wxPy_BEGIN_ALLOW_THREADS; | |
967 | wxQueryLayoutInfoEvent_SetFlags(_arg0,_arg1); | |
968 | ||
969 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 970 | if (PyErr_Occurred()) return NULL; |
cf694132 | 971 | } Py_INCREF(Py_None); |
08127323 RD |
972 | _resultobj = Py_None; |
973 | return _resultobj; | |
974 | } | |
975 | ||
976 | #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags()) | |
efc5f224 | 977 | static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
978 | PyObject * _resultobj; |
979 | int _result; | |
980 | wxQueryLayoutInfoEvent * _arg0; | |
1d99702e | 981 | PyObject * _argo0 = 0; |
efc5f224 | 982 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
983 | |
984 | self = self; | |
efc5f224 | 985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames,&_argo0)) |
08127323 | 986 | return NULL; |
1d99702e RD |
987 | if (_argo0) { |
988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p."); |
991 | return NULL; | |
992 | } | |
993 | } | |
cf694132 RD |
994 | { |
995 | wxPy_BEGIN_ALLOW_THREADS; | |
996 | _result = (int )wxQueryLayoutInfoEvent_GetFlags(_arg0); | |
997 | ||
998 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 999 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1000 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
1001 | return _resultobj; |
1002 | } | |
1003 | ||
1004 | #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
efc5f224 | 1005 | static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1006 | PyObject * _resultobj; |
1007 | wxQueryLayoutInfoEvent * _arg0; | |
1008 | wxSize * _arg1; | |
1d99702e | 1009 | PyObject * _argo0 = 0; |
2f90df85 RD |
1010 | wxSize temp; |
1011 | PyObject * _obj1 = 0; | |
efc5f224 | 1012 | char *_kwnames[] = { "self","size", NULL }; |
08127323 RD |
1013 | |
1014 | self = self; | |
2f90df85 | 1015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_obj1)) |
08127323 | 1016 | return NULL; |
1d99702e RD |
1017 | if (_argo0) { |
1018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
1020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p."); |
1021 | return NULL; | |
1022 | } | |
1023 | } | |
2f90df85 RD |
1024 | { |
1025 | _arg1 = &temp; | |
1026 | if (! wxSize_helper(_obj1, &_arg1)) | |
08127323 | 1027 | return NULL; |
2f90df85 | 1028 | } |
cf694132 RD |
1029 | { |
1030 | wxPy_BEGIN_ALLOW_THREADS; | |
1031 | wxQueryLayoutInfoEvent_SetSize(_arg0,*_arg1); | |
1032 | ||
1033 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1034 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1035 | } Py_INCREF(Py_None); |
08127323 RD |
1036 | _resultobj = Py_None; |
1037 | return _resultobj; | |
1038 | } | |
1039 | ||
1040 | #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize()) | |
efc5f224 | 1041 | static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1042 | PyObject * _resultobj; |
1043 | wxSize * _result; | |
1044 | wxQueryLayoutInfoEvent * _arg0; | |
1d99702e | 1045 | PyObject * _argo0 = 0; |
efc5f224 | 1046 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
1047 | char _ptemp[128]; |
1048 | ||
1049 | self = self; | |
efc5f224 | 1050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames,&_argo0)) |
08127323 | 1051 | return NULL; |
1d99702e RD |
1052 | if (_argo0) { |
1053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
1055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p."); |
1056 | return NULL; | |
1057 | } | |
1058 | } | |
cf694132 RD |
1059 | { |
1060 | wxPy_BEGIN_ALLOW_THREADS; | |
1061 | _result = new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0)); | |
1062 | ||
1063 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1064 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1065 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
08127323 RD |
1066 | _resultobj = Py_BuildValue("s",_ptemp); |
1067 | return _resultobj; | |
1068 | } | |
1069 | ||
1070 | #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0)) | |
efc5f224 | 1071 | static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1072 | PyObject * _resultobj; |
1073 | wxQueryLayoutInfoEvent * _arg0; | |
1074 | wxLayoutOrientation _arg1; | |
1d99702e | 1075 | PyObject * _argo0 = 0; |
efc5f224 | 1076 | char *_kwnames[] = { "self","orient", NULL }; |
08127323 RD |
1077 | |
1078 | self = self; | |
efc5f224 | 1079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames,&_argo0,&_arg1)) |
08127323 | 1080 | return NULL; |
1d99702e RD |
1081 | if (_argo0) { |
1082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
1084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p."); |
1085 | return NULL; | |
1086 | } | |
1087 | } | |
cf694132 RD |
1088 | { |
1089 | wxPy_BEGIN_ALLOW_THREADS; | |
1090 | wxQueryLayoutInfoEvent_SetOrientation(_arg0,_arg1); | |
1091 | ||
1092 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1093 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1094 | } Py_INCREF(Py_None); |
08127323 RD |
1095 | _resultobj = Py_None; |
1096 | return _resultobj; | |
1097 | } | |
1098 | ||
1099 | #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
efc5f224 | 1100 | static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1101 | PyObject * _resultobj; |
1102 | wxLayoutOrientation _result; | |
1103 | wxQueryLayoutInfoEvent * _arg0; | |
1d99702e | 1104 | PyObject * _argo0 = 0; |
efc5f224 | 1105 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
1106 | |
1107 | self = self; | |
efc5f224 | 1108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames,&_argo0)) |
08127323 | 1109 | return NULL; |
1d99702e RD |
1110 | if (_argo0) { |
1111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
1113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p."); |
1114 | return NULL; | |
1115 | } | |
1116 | } | |
cf694132 RD |
1117 | { |
1118 | wxPy_BEGIN_ALLOW_THREADS; | |
1119 | _result = (wxLayoutOrientation )wxQueryLayoutInfoEvent_GetOrientation(_arg0); | |
1120 | ||
1121 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1122 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1123 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
1124 | return _resultobj; |
1125 | } | |
1126 | ||
1127 | #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0)) | |
efc5f224 | 1128 | static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1129 | PyObject * _resultobj; |
1130 | wxQueryLayoutInfoEvent * _arg0; | |
1131 | wxLayoutAlignment _arg1; | |
1d99702e | 1132 | PyObject * _argo0 = 0; |
efc5f224 | 1133 | char *_kwnames[] = { "self","align", NULL }; |
08127323 RD |
1134 | |
1135 | self = self; | |
efc5f224 | 1136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames,&_argo0,&_arg1)) |
08127323 | 1137 | return NULL; |
1d99702e RD |
1138 | if (_argo0) { |
1139 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1140 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
1141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p."); |
1142 | return NULL; | |
1143 | } | |
1144 | } | |
cf694132 RD |
1145 | { |
1146 | wxPy_BEGIN_ALLOW_THREADS; | |
1147 | wxQueryLayoutInfoEvent_SetAlignment(_arg0,_arg1); | |
1148 | ||
1149 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1150 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1151 | } Py_INCREF(Py_None); |
08127323 RD |
1152 | _resultobj = Py_None; |
1153 | return _resultobj; | |
1154 | } | |
1155 | ||
1156 | #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment()) | |
efc5f224 | 1157 | static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1158 | PyObject * _resultobj; |
1159 | wxLayoutAlignment _result; | |
1160 | wxQueryLayoutInfoEvent * _arg0; | |
1d99702e | 1161 | PyObject * _argo0 = 0; |
efc5f224 | 1162 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
1163 | |
1164 | self = self; | |
efc5f224 | 1165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames,&_argo0)) |
08127323 | 1166 | return NULL; |
1d99702e RD |
1167 | if (_argo0) { |
1168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryLayoutInfoEvent_p")) { | |
08127323 RD |
1170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p."); |
1171 | return NULL; | |
1172 | } | |
1173 | } | |
cf694132 RD |
1174 | { |
1175 | wxPy_BEGIN_ALLOW_THREADS; | |
1176 | _result = (wxLayoutAlignment )wxQueryLayoutInfoEvent_GetAlignment(_arg0); | |
1177 | ||
1178 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1179 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1180 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
1181 | return _resultobj; |
1182 | } | |
1183 | ||
1184 | static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) { | |
1185 | wxCalculateLayoutEvent *src; | |
1186 | wxEvent *dest; | |
1187 | src = (wxCalculateLayoutEvent *) ptr; | |
1188 | dest = (wxEvent *) src; | |
1189 | return (void *) dest; | |
1190 | } | |
1191 | ||
9416aa89 RD |
1192 | static void *SwigwxCalculateLayoutEventTowxObject(void *ptr) { |
1193 | wxCalculateLayoutEvent *src; | |
1194 | wxObject *dest; | |
1195 | src = (wxCalculateLayoutEvent *) ptr; | |
1196 | dest = (wxObject *) src; | |
1197 | return (void *) dest; | |
1198 | } | |
1199 | ||
08127323 | 1200 | #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0)) |
efc5f224 | 1201 | static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1202 | PyObject * _resultobj; |
1203 | wxCalculateLayoutEvent * _arg0; | |
1204 | int _arg1; | |
1d99702e | 1205 | PyObject * _argo0 = 0; |
efc5f224 | 1206 | char *_kwnames[] = { "self","flags", NULL }; |
08127323 RD |
1207 | |
1208 | self = self; | |
efc5f224 | 1209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames,&_argo0,&_arg1)) |
08127323 | 1210 | return NULL; |
1d99702e RD |
1211 | if (_argo0) { |
1212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) { | |
08127323 RD |
1214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p."); |
1215 | return NULL; | |
1216 | } | |
1217 | } | |
cf694132 RD |
1218 | { |
1219 | wxPy_BEGIN_ALLOW_THREADS; | |
1220 | wxCalculateLayoutEvent_SetFlags(_arg0,_arg1); | |
1221 | ||
1222 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1223 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1224 | } Py_INCREF(Py_None); |
08127323 RD |
1225 | _resultobj = Py_None; |
1226 | return _resultobj; | |
1227 | } | |
1228 | ||
1229 | #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags()) | |
efc5f224 | 1230 | static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1231 | PyObject * _resultobj; |
1232 | int _result; | |
1233 | wxCalculateLayoutEvent * _arg0; | |
1d99702e | 1234 | PyObject * _argo0 = 0; |
efc5f224 | 1235 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
1236 | |
1237 | self = self; | |
efc5f224 | 1238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetFlags",_kwnames,&_argo0)) |
08127323 | 1239 | return NULL; |
1d99702e RD |
1240 | if (_argo0) { |
1241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) { | |
08127323 RD |
1243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p."); |
1244 | return NULL; | |
1245 | } | |
1246 | } | |
cf694132 RD |
1247 | { |
1248 | wxPy_BEGIN_ALLOW_THREADS; | |
1249 | _result = (int )wxCalculateLayoutEvent_GetFlags(_arg0); | |
1250 | ||
1251 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1252 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1253 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
1254 | return _resultobj; |
1255 | } | |
1256 | ||
1257 | #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0)) | |
efc5f224 | 1258 | static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1259 | PyObject * _resultobj; |
1260 | wxCalculateLayoutEvent * _arg0; | |
1261 | wxRect * _arg1; | |
1d99702e | 1262 | PyObject * _argo0 = 0; |
2f90df85 RD |
1263 | wxRect temp; |
1264 | PyObject * _obj1 = 0; | |
efc5f224 | 1265 | char *_kwnames[] = { "self","rect", NULL }; |
08127323 RD |
1266 | |
1267 | self = self; | |
2f90df85 | 1268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_obj1)) |
08127323 | 1269 | return NULL; |
1d99702e RD |
1270 | if (_argo0) { |
1271 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1272 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) { | |
08127323 RD |
1273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p."); |
1274 | return NULL; | |
1275 | } | |
1276 | } | |
2f90df85 RD |
1277 | { |
1278 | _arg1 = &temp; | |
1279 | if (! wxRect_helper(_obj1, &_arg1)) | |
08127323 | 1280 | return NULL; |
2f90df85 | 1281 | } |
cf694132 RD |
1282 | { |
1283 | wxPy_BEGIN_ALLOW_THREADS; | |
1284 | wxCalculateLayoutEvent_SetRect(_arg0,*_arg1); | |
1285 | ||
1286 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1287 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1288 | } Py_INCREF(Py_None); |
08127323 RD |
1289 | _resultobj = Py_None; |
1290 | return _resultobj; | |
1291 | } | |
1292 | ||
1293 | #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect()) | |
efc5f224 | 1294 | static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1295 | PyObject * _resultobj; |
1296 | wxRect * _result; | |
1297 | wxCalculateLayoutEvent * _arg0; | |
1d99702e | 1298 | PyObject * _argo0 = 0; |
efc5f224 | 1299 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
1300 | char _ptemp[128]; |
1301 | ||
1302 | self = self; | |
efc5f224 | 1303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetRect",_kwnames,&_argo0)) |
08127323 | 1304 | return NULL; |
1d99702e RD |
1305 | if (_argo0) { |
1306 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1307 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCalculateLayoutEvent_p")) { | |
08127323 RD |
1308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p."); |
1309 | return NULL; | |
1310 | } | |
1311 | } | |
cf694132 RD |
1312 | { |
1313 | wxPy_BEGIN_ALLOW_THREADS; | |
1314 | _result = new wxRect (wxCalculateLayoutEvent_GetRect(_arg0)); | |
1315 | ||
1316 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1317 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1318 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
08127323 RD |
1319 | _resultobj = Py_BuildValue("s",_ptemp); |
1320 | return _resultobj; | |
1321 | } | |
1322 | ||
1323 | static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr) { | |
1324 | wxSashLayoutWindow *src; | |
1325 | wxSashWindow *dest; | |
1326 | src = (wxSashLayoutWindow *) ptr; | |
1327 | dest = (wxSashWindow *) src; | |
1328 | return (void *) dest; | |
1329 | } | |
1330 | ||
1331 | static void *SwigwxSashLayoutWindowTowxWindow(void *ptr) { | |
1332 | wxSashLayoutWindow *src; | |
1333 | wxWindow *dest; | |
1334 | src = (wxSashLayoutWindow *) ptr; | |
1335 | dest = (wxWindow *) src; | |
1336 | return (void *) dest; | |
1337 | } | |
1338 | ||
1339 | static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) { | |
1340 | wxSashLayoutWindow *src; | |
1341 | wxEvtHandler *dest; | |
1342 | src = (wxSashLayoutWindow *) ptr; | |
1343 | dest = (wxEvtHandler *) src; | |
1344 | return (void *) dest; | |
1345 | } | |
1346 | ||
9416aa89 RD |
1347 | static void *SwigwxSashLayoutWindowTowxObject(void *ptr) { |
1348 | wxSashLayoutWindow *src; | |
1349 | wxObject *dest; | |
1350 | src = (wxSashLayoutWindow *) ptr; | |
1351 | dest = (wxObject *) src; | |
1352 | return (void *) dest; | |
1353 | } | |
1354 | ||
08127323 | 1355 | #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
efc5f224 | 1356 | static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1357 | PyObject * _resultobj; |
1358 | wxSashLayoutWindow * _result; | |
1359 | wxWindow * _arg0; | |
1360 | wxWindowID _arg1; | |
e508a2b6 RD |
1361 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
1362 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
1d99702e RD |
1363 | long _arg4 = (long ) wxCLIP_CHILDREN|(wxSW_3D); |
1364 | char * _arg5 = (char *) "layoutWindow"; | |
1365 | PyObject * _argo0 = 0; | |
2f90df85 RD |
1366 | wxPoint temp; |
1367 | PyObject * _obj2 = 0; | |
1368 | wxSize temp0; | |
1369 | PyObject * _obj3 = 0; | |
efc5f224 | 1370 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
08127323 RD |
1371 | char _ptemp[128]; |
1372 | ||
1373 | self = self; | |
2f90df85 | 1374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
08127323 | 1375 | return NULL; |
1d99702e RD |
1376 | if (_argo0) { |
1377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
08127323 RD |
1379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p."); |
1380 | return NULL; | |
1381 | } | |
1382 | } | |
2f90df85 RD |
1383 | if (_obj2) |
1384 | { | |
1385 | _arg2 = &temp; | |
1386 | if (! wxPoint_helper(_obj2, &_arg2)) | |
08127323 | 1387 | return NULL; |
2f90df85 RD |
1388 | } |
1389 | if (_obj3) | |
1390 | { | |
1391 | _arg3 = &temp0; | |
1392 | if (! wxSize_helper(_obj3, &_arg3)) | |
08127323 | 1393 | return NULL; |
2f90df85 | 1394 | } |
cf694132 RD |
1395 | { |
1396 | wxPy_BEGIN_ALLOW_THREADS; | |
1397 | _result = (wxSashLayoutWindow *)new_wxSashLayoutWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
1398 | ||
1399 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1400 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
1401 | } if (_result) { |
1402 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSashLayoutWindow_p"); | |
1403 | _resultobj = Py_BuildValue("s",_ptemp); | |
1404 | } else { | |
1405 | Py_INCREF(Py_None); | |
1406 | _resultobj = Py_None; | |
1407 | } | |
08127323 RD |
1408 | return _resultobj; |
1409 | } | |
1410 | ||
1411 | #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment()) | |
efc5f224 | 1412 | static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1413 | PyObject * _resultobj; |
1414 | wxLayoutAlignment _result; | |
1415 | wxSashLayoutWindow * _arg0; | |
1d99702e | 1416 | PyObject * _argo0 = 0; |
efc5f224 | 1417 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
1418 | |
1419 | self = self; | |
efc5f224 | 1420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetAlignment",_kwnames,&_argo0)) |
08127323 | 1421 | return NULL; |
1d99702e RD |
1422 | if (_argo0) { |
1423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) { | |
08127323 RD |
1425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p."); |
1426 | return NULL; | |
1427 | } | |
1428 | } | |
cf694132 RD |
1429 | { |
1430 | wxPy_BEGIN_ALLOW_THREADS; | |
1431 | _result = (wxLayoutAlignment )wxSashLayoutWindow_GetAlignment(_arg0); | |
1432 | ||
1433 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1434 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1435 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
1436 | return _resultobj; |
1437 | } | |
1438 | ||
1439 | #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
efc5f224 | 1440 | static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1441 | PyObject * _resultobj; |
1442 | wxLayoutOrientation _result; | |
1443 | wxSashLayoutWindow * _arg0; | |
1d99702e | 1444 | PyObject * _argo0 = 0; |
efc5f224 | 1445 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
1446 | |
1447 | self = self; | |
efc5f224 | 1448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetOrientation",_kwnames,&_argo0)) |
08127323 | 1449 | return NULL; |
1d99702e RD |
1450 | if (_argo0) { |
1451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) { | |
08127323 RD |
1453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p."); |
1454 | return NULL; | |
1455 | } | |
1456 | } | |
cf694132 RD |
1457 | { |
1458 | wxPy_BEGIN_ALLOW_THREADS; | |
1459 | _result = (wxLayoutOrientation )wxSashLayoutWindow_GetOrientation(_arg0); | |
1460 | ||
1461 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1462 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1463 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
1464 | return _resultobj; |
1465 | } | |
1466 | ||
1467 | #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0)) | |
efc5f224 | 1468 | static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1469 | PyObject * _resultobj; |
1470 | wxSashLayoutWindow * _arg0; | |
1471 | wxLayoutAlignment _arg1; | |
1d99702e | 1472 | PyObject * _argo0 = 0; |
efc5f224 | 1473 | char *_kwnames[] = { "self","alignment", NULL }; |
08127323 RD |
1474 | |
1475 | self = self; | |
efc5f224 | 1476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames,&_argo0,&_arg1)) |
08127323 | 1477 | return NULL; |
1d99702e RD |
1478 | if (_argo0) { |
1479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) { | |
08127323 RD |
1481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p."); |
1482 | return NULL; | |
1483 | } | |
1484 | } | |
cf694132 RD |
1485 | { |
1486 | wxPy_BEGIN_ALLOW_THREADS; | |
1487 | wxSashLayoutWindow_SetAlignment(_arg0,_arg1); | |
1488 | ||
1489 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1490 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1491 | } Py_INCREF(Py_None); |
08127323 RD |
1492 | _resultobj = Py_None; |
1493 | return _resultobj; | |
1494 | } | |
1495 | ||
1496 | #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0)) | |
efc5f224 | 1497 | static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1498 | PyObject * _resultobj; |
1499 | wxSashLayoutWindow * _arg0; | |
1500 | wxSize * _arg1; | |
1d99702e | 1501 | PyObject * _argo0 = 0; |
2f90df85 RD |
1502 | wxSize temp; |
1503 | PyObject * _obj1 = 0; | |
efc5f224 | 1504 | char *_kwnames[] = { "self","size", NULL }; |
08127323 RD |
1505 | |
1506 | self = self; | |
2f90df85 | 1507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_obj1)) |
08127323 | 1508 | return NULL; |
1d99702e RD |
1509 | if (_argo0) { |
1510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) { | |
08127323 RD |
1512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p."); |
1513 | return NULL; | |
1514 | } | |
1515 | } | |
2f90df85 RD |
1516 | { |
1517 | _arg1 = &temp; | |
1518 | if (! wxSize_helper(_obj1, &_arg1)) | |
08127323 | 1519 | return NULL; |
2f90df85 | 1520 | } |
cf694132 RD |
1521 | { |
1522 | wxPy_BEGIN_ALLOW_THREADS; | |
1523 | wxSashLayoutWindow_SetDefaultSize(_arg0,*_arg1); | |
1524 | ||
1525 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1526 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1527 | } Py_INCREF(Py_None); |
08127323 RD |
1528 | _resultobj = Py_None; |
1529 | return _resultobj; | |
1530 | } | |
1531 | ||
1532 | #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0)) | |
efc5f224 | 1533 | static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1534 | PyObject * _resultobj; |
1535 | wxSashLayoutWindow * _arg0; | |
1536 | wxLayoutOrientation _arg1; | |
1d99702e | 1537 | PyObject * _argo0 = 0; |
efc5f224 | 1538 | char *_kwnames[] = { "self","orientation", NULL }; |
08127323 RD |
1539 | |
1540 | self = self; | |
efc5f224 | 1541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames,&_argo0,&_arg1)) |
08127323 | 1542 | return NULL; |
1d99702e RD |
1543 | if (_argo0) { |
1544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSashLayoutWindow_p")) { | |
08127323 RD |
1546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p."); |
1547 | return NULL; | |
1548 | } | |
1549 | } | |
cf694132 RD |
1550 | { |
1551 | wxPy_BEGIN_ALLOW_THREADS; | |
1552 | wxSashLayoutWindow_SetOrientation(_arg0,_arg1); | |
1553 | ||
1554 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1555 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1556 | } Py_INCREF(Py_None); |
08127323 RD |
1557 | _resultobj = Py_None; |
1558 | return _resultobj; | |
1559 | } | |
1560 | ||
9416aa89 RD |
1561 | static void *SwigwxLayoutAlgorithmTowxObject(void *ptr) { |
1562 | wxLayoutAlgorithm *src; | |
1563 | wxObject *dest; | |
1564 | src = (wxLayoutAlgorithm *) ptr; | |
1565 | dest = (wxObject *) src; | |
1566 | return (void *) dest; | |
1567 | } | |
1568 | ||
08127323 | 1569 | #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm()) |
efc5f224 | 1570 | static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1571 | PyObject * _resultobj; |
1572 | wxLayoutAlgorithm * _result; | |
efc5f224 | 1573 | char *_kwnames[] = { NULL }; |
08127323 RD |
1574 | char _ptemp[128]; |
1575 | ||
1576 | self = self; | |
efc5f224 | 1577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutAlgorithm",_kwnames)) |
08127323 | 1578 | return NULL; |
cf694132 RD |
1579 | { |
1580 | wxPy_BEGIN_ALLOW_THREADS; | |
1581 | _result = (wxLayoutAlgorithm *)new_wxLayoutAlgorithm(); | |
1582 | ||
1583 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1584 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
1585 | } if (_result) { |
1586 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutAlgorithm_p"); | |
1587 | _resultobj = Py_BuildValue("s",_ptemp); | |
1588 | } else { | |
1589 | Py_INCREF(Py_None); | |
1590 | _resultobj = Py_None; | |
1591 | } | |
08127323 RD |
1592 | return _resultobj; |
1593 | } | |
1594 | ||
1595 | #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj) | |
efc5f224 | 1596 | static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1597 | PyObject * _resultobj; |
1598 | wxLayoutAlgorithm * _arg0; | |
1d99702e | 1599 | PyObject * _argo0 = 0; |
efc5f224 | 1600 | char *_kwnames[] = { "self", NULL }; |
08127323 RD |
1601 | |
1602 | self = self; | |
efc5f224 | 1603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLayoutAlgorithm",_kwnames,&_argo0)) |
08127323 | 1604 | return NULL; |
1d99702e RD |
1605 | if (_argo0) { |
1606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) { | |
08127323 RD |
1608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p."); |
1609 | return NULL; | |
1610 | } | |
1611 | } | |
cf694132 RD |
1612 | { |
1613 | wxPy_BEGIN_ALLOW_THREADS; | |
1614 | delete_wxLayoutAlgorithm(_arg0); | |
1615 | ||
1616 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1617 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1618 | } Py_INCREF(Py_None); |
08127323 RD |
1619 | _resultobj = Py_None; |
1620 | return _resultobj; | |
1621 | } | |
1622 | ||
1623 | #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1)) | |
efc5f224 | 1624 | static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1625 | PyObject * _resultobj; |
1626 | bool _result; | |
1627 | wxLayoutAlgorithm * _arg0; | |
1628 | wxMDIParentFrame * _arg1; | |
1d99702e RD |
1629 | wxRect * _arg2 = (wxRect *) NULL; |
1630 | PyObject * _argo0 = 0; | |
1631 | PyObject * _argo1 = 0; | |
2f90df85 RD |
1632 | wxRect temp; |
1633 | PyObject * _obj2 = 0; | |
efc5f224 | 1634 | char *_kwnames[] = { "self","frame","rect", NULL }; |
08127323 RD |
1635 | |
1636 | self = self; | |
2f90df85 | 1637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_obj2)) |
08127323 | 1638 | return NULL; |
1d99702e RD |
1639 | if (_argo0) { |
1640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) { | |
08127323 RD |
1642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p."); |
1643 | return NULL; | |
1644 | } | |
1645 | } | |
1d99702e RD |
1646 | if (_argo1) { |
1647 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1648 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) { | |
08127323 RD |
1649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p."); |
1650 | return NULL; | |
1651 | } | |
1652 | } | |
2f90df85 RD |
1653 | if (_obj2) |
1654 | { | |
1655 | _arg2 = &temp; | |
1656 | if (! wxRect_helper(_obj2, &_arg2)) | |
08127323 | 1657 | return NULL; |
2f90df85 | 1658 | } |
cf694132 RD |
1659 | { |
1660 | wxPy_BEGIN_ALLOW_THREADS; | |
1661 | _result = (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0,_arg1,_arg2); | |
1662 | ||
1663 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1664 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1665 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
1666 | return _resultobj; |
1667 | } | |
1668 | ||
1669 | #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1)) | |
efc5f224 | 1670 | static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1671 | PyObject * _resultobj; |
1672 | bool _result; | |
1673 | wxLayoutAlgorithm * _arg0; | |
1674 | wxFrame * _arg1; | |
1d99702e RD |
1675 | wxWindow * _arg2 = (wxWindow *) NULL; |
1676 | PyObject * _argo0 = 0; | |
1677 | PyObject * _argo1 = 0; | |
1678 | PyObject * _argo2 = 0; | |
efc5f224 | 1679 | char *_kwnames[] = { "self","frame","mainWindow", NULL }; |
08127323 RD |
1680 | |
1681 | self = self; | |
efc5f224 | 1682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames,&_argo0,&_argo1,&_argo2)) |
08127323 | 1683 | return NULL; |
1d99702e RD |
1684 | if (_argo0) { |
1685 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1686 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) { | |
08127323 RD |
1687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p."); |
1688 | return NULL; | |
1689 | } | |
1690 | } | |
1d99702e RD |
1691 | if (_argo1) { |
1692 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1693 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) { | |
08127323 RD |
1694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p."); |
1695 | return NULL; | |
1696 | } | |
1697 | } | |
1d99702e RD |
1698 | if (_argo2) { |
1699 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1700 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
08127323 RD |
1701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p."); |
1702 | return NULL; | |
1703 | } | |
1704 | } | |
cf694132 RD |
1705 | { |
1706 | wxPy_BEGIN_ALLOW_THREADS; | |
1707 | _result = (bool )wxLayoutAlgorithm_LayoutFrame(_arg0,_arg1,_arg2); | |
1708 | ||
1709 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1710 | if (PyErr_Occurred()) return NULL; |
cf694132 RD |
1711 | } _resultobj = Py_BuildValue("i",_result); |
1712 | return _resultobj; | |
1713 | } | |
1714 | ||
1715 | #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1)) | |
efc5f224 | 1716 | static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
1717 | PyObject * _resultobj; |
1718 | bool _result; | |
1719 | wxLayoutAlgorithm * _arg0; | |
1720 | wxWindow * _arg1; | |
1d99702e RD |
1721 | wxWindow * _arg2 = (wxWindow *) NULL; |
1722 | PyObject * _argo0 = 0; | |
1723 | PyObject * _argo1 = 0; | |
1724 | PyObject * _argo2 = 0; | |
efc5f224 | 1725 | char *_kwnames[] = { "self","parent","mainWindow", NULL }; |
cf694132 RD |
1726 | |
1727 | self = self; | |
efc5f224 | 1728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames,&_argo0,&_argo1,&_argo2)) |
cf694132 | 1729 | return NULL; |
1d99702e RD |
1730 | if (_argo0) { |
1731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutAlgorithm_p")) { | |
cf694132 RD |
1733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p."); |
1734 | return NULL; | |
1735 | } | |
1736 | } | |
1d99702e RD |
1737 | if (_argo1) { |
1738 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1739 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
cf694132 RD |
1740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p."); |
1741 | return NULL; | |
1742 | } | |
1743 | } | |
1d99702e RD |
1744 | if (_argo2) { |
1745 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1746 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
cf694132 RD |
1747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p."); |
1748 | return NULL; | |
1749 | } | |
1750 | } | |
1751 | { | |
1752 | wxPy_BEGIN_ALLOW_THREADS; | |
1753 | _result = (bool )wxLayoutAlgorithm_LayoutWindow(_arg0,_arg1,_arg2); | |
1754 | ||
1755 | wxPy_END_ALLOW_THREADS; | |
493f1553 | 1756 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1757 | } _resultobj = Py_BuildValue("i",_result); |
08127323 RD |
1758 | return _resultobj; |
1759 | } | |
1760 | ||
1761 | static PyMethodDef windows3cMethods[] = { | |
efc5f224 RD |
1762 | { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, |
1763 | { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
1764 | { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
1765 | { "delete_wxLayoutAlgorithm", (PyCFunction) _wrap_delete_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
1766 | { "new_wxLayoutAlgorithm", (PyCFunction) _wrap_new_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
1767 | { "wxSashLayoutWindow_SetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
1768 | { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
1769 | { "wxSashLayoutWindow_SetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
1770 | { "wxSashLayoutWindow_GetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
1771 | { "wxSashLayoutWindow_GetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
1772 | { "new_wxSashLayoutWindow", (PyCFunction) _wrap_new_wxSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
1773 | { "wxCalculateLayoutEvent_GetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
1774 | { "wxCalculateLayoutEvent_SetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
1775 | { "wxCalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
1776 | { "wxCalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
1777 | { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
1778 | { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
1779 | { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
1780 | { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
1781 | { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
1782 | { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
1783 | { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
1784 | { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
1785 | { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
1786 | { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
1787 | { "wxSashWindow_SetSashBorder", (PyCFunction) _wrap_wxSashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
1788 | { "wxSashWindow_SetSashVisible", (PyCFunction) _wrap_wxSashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
1789 | { "wxSashWindow_SetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
1790 | { "wxSashWindow_SetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
1791 | { "wxSashWindow_SetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
1792 | { "wxSashWindow_SetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
1793 | { "wxSashWindow_SetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
1794 | { "wxSashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
1795 | { "wxSashWindow_HasBorder", (PyCFunction) _wrap_wxSashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
1796 | { "wxSashWindow_GetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
1797 | { "wxSashWindow_GetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
1798 | { "wxSashWindow_GetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
1799 | { "wxSashWindow_GetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
1800 | { "wxSashWindow_GetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
1801 | { "wxSashWindow_GetEdgeMargin", (PyCFunction) _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
1802 | { "wxSashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
1803 | { "wxSashWindow_GetSashVisible", (PyCFunction) _wrap_wxSashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
1804 | { "new_wxSashWindow", (PyCFunction) _wrap_new_wxSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
1805 | { "wxSashEvent_GetDragStatus", (PyCFunction) _wrap_wxSashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
1806 | { "wxSashEvent_SetDragStatus", (PyCFunction) _wrap_wxSashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
1807 | { "wxSashEvent_GetDragRect", (PyCFunction) _wrap_wxSashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
1808 | { "wxSashEvent_SetDragRect", (PyCFunction) _wrap_wxSashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
1809 | { "wxSashEvent_GetEdge", (PyCFunction) _wrap_wxSashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
1810 | { "wxSashEvent_SetEdge", (PyCFunction) _wrap_wxSashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
08127323 RD |
1811 | { NULL, NULL } |
1812 | }; | |
1d99702e RD |
1813 | #ifdef __cplusplus |
1814 | } | |
1815 | #endif | |
1816 | /* | |
1817 | * This table is used by the pointer type-checker | |
1818 | */ | |
1819 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1d99702e | 1820 | { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent}, |
1d99702e | 1821 | { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent}, |
1d99702e | 1822 | { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent}, |
1d99702e | 1823 | { "_signed_long","_long",0}, |
b1462dfa | 1824 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
1825 | { "_wxPrintQuality","_int",0}, |
1826 | { "_wxPrintQuality","_signed_int",0}, | |
1827 | { "_wxPrintQuality","_unsigned_int",0}, | |
1828 | { "_wxPrintQuality","_wxWindowID",0}, | |
1829 | { "_wxPrintQuality","_uint",0}, | |
1830 | { "_wxPrintQuality","_EBool",0}, | |
1831 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 1832 | { "_wxPrintQuality","_time_t",0}, |
1d99702e | 1833 | { "_byte","_unsigned_char",0}, |
1d99702e RD |
1834 | { "_long","_unsigned_long",0}, |
1835 | { "_long","_signed_long",0}, | |
1d99702e | 1836 | { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow}, |
b1462dfa | 1837 | { "_size_t","_wxCoord",0}, |
1d99702e | 1838 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 1839 | { "_size_t","_time_t",0}, |
1d99702e RD |
1840 | { "_size_t","_unsigned_int",0}, |
1841 | { "_size_t","_int",0}, | |
1842 | { "_size_t","_wxWindowID",0}, | |
1843 | { "_size_t","_uint",0}, | |
b1462dfa | 1844 | { "_uint","_wxCoord",0}, |
1d99702e | 1845 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 1846 | { "_uint","_time_t",0}, |
1d99702e RD |
1847 | { "_uint","_size_t",0}, |
1848 | { "_uint","_unsigned_int",0}, | |
1849 | { "_uint","_int",0}, | |
1850 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 1851 | { "_wxChar","_char",0}, |
1d99702e | 1852 | { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent}, |
f6bcfd97 | 1853 | { "_char","_wxChar",0}, |
b1462dfa | 1854 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
1855 | { "_EBool","_wxPrintQuality",0}, |
1856 | { "_EBool","_signed_int",0}, | |
1857 | { "_EBool","_int",0}, | |
1858 | { "_EBool","_wxWindowID",0}, | |
1d99702e | 1859 | { "_unsigned_long","_long",0}, |
b1462dfa | 1860 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
1861 | { "_signed_int","_wxPrintQuality",0}, |
1862 | { "_signed_int","_EBool",0}, | |
1863 | { "_signed_int","_wxWindowID",0}, | |
1864 | { "_signed_int","_int",0}, | |
1d99702e RD |
1865 | { "_WXTYPE","_short",0}, |
1866 | { "_WXTYPE","_signed_short",0}, | |
1867 | { "_WXTYPE","_unsigned_short",0}, | |
1d99702e RD |
1868 | { "_unsigned_short","_WXTYPE",0}, |
1869 | { "_unsigned_short","_short",0}, | |
9416aa89 | 1870 | { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject}, |
9416aa89 | 1871 | { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject}, |
9416aa89 | 1872 | { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject}, |
9416aa89 | 1873 | { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject}, |
9416aa89 | 1874 | { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject}, |
9416aa89 | 1875 | { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject}, |
1d99702e RD |
1876 | { "_signed_short","_WXTYPE",0}, |
1877 | { "_signed_short","_short",0}, | |
1d99702e | 1878 | { "_unsigned_char","_byte",0}, |
b1462dfa | 1879 | { "_unsigned_int","_wxCoord",0}, |
1d99702e | 1880 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 1881 | { "_unsigned_int","_time_t",0}, |
1d99702e RD |
1882 | { "_unsigned_int","_size_t",0}, |
1883 | { "_unsigned_int","_uint",0}, | |
1884 | { "_unsigned_int","_wxWindowID",0}, | |
1885 | { "_unsigned_int","_int",0}, | |
1d99702e RD |
1886 | { "_short","_WXTYPE",0}, |
1887 | { "_short","_unsigned_short",0}, | |
1888 | { "_short","_signed_short",0}, | |
b1462dfa | 1889 | { "_wxWindowID","_wxCoord",0}, |
1d99702e | 1890 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 1891 | { "_wxWindowID","_time_t",0}, |
1d99702e RD |
1892 | { "_wxWindowID","_size_t",0}, |
1893 | { "_wxWindowID","_EBool",0}, | |
1894 | { "_wxWindowID","_uint",0}, | |
1895 | { "_wxWindowID","_int",0}, | |
1896 | { "_wxWindowID","_signed_int",0}, | |
1897 | { "_wxWindowID","_unsigned_int",0}, | |
b1462dfa | 1898 | { "_int","_wxCoord",0}, |
1d99702e | 1899 | { "_int","_wxPrintQuality",0}, |
c368d904 | 1900 | { "_int","_time_t",0}, |
1d99702e RD |
1901 | { "_int","_size_t",0}, |
1902 | { "_int","_EBool",0}, | |
1903 | { "_int","_uint",0}, | |
1904 | { "_int","_wxWindowID",0}, | |
1905 | { "_int","_unsigned_int",0}, | |
1906 | { "_int","_signed_int",0}, | |
c368d904 RD |
1907 | { "_time_t","_wxCoord",0}, |
1908 | { "_time_t","_wxPrintQuality",0}, | |
1909 | { "_time_t","_unsigned_int",0}, | |
1910 | { "_time_t","_int",0}, | |
1911 | { "_time_t","_wxWindowID",0}, | |
1912 | { "_time_t","_uint",0}, | |
1913 | { "_time_t","_size_t",0}, | |
b1462dfa RD |
1914 | { "_wxCoord","_int",0}, |
1915 | { "_wxCoord","_signed_int",0}, | |
1916 | { "_wxCoord","_unsigned_int",0}, | |
1917 | { "_wxCoord","_wxWindowID",0}, | |
1918 | { "_wxCoord","_uint",0}, | |
1919 | { "_wxCoord","_EBool",0}, | |
1920 | { "_wxCoord","_size_t",0}, | |
c368d904 | 1921 | { "_wxCoord","_time_t",0}, |
b1462dfa | 1922 | { "_wxCoord","_wxPrintQuality",0}, |
1d99702e | 1923 | { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler}, |
1d99702e | 1924 | { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler}, |
1d99702e | 1925 | { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow}, |
1d99702e | 1926 | { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow}, |
1d99702e RD |
1927 | {0,0,0}}; |
1928 | ||
08127323 RD |
1929 | static PyObject *SWIG_globals; |
1930 | #ifdef __cplusplus | |
1931 | extern "C" | |
1932 | #endif | |
1d99702e | 1933 | SWIGEXPORT(void) initwindows3c() { |
08127323 RD |
1934 | PyObject *m, *d; |
1935 | SWIG_globals = SWIG_newvarlink(); | |
1936 | m = Py_InitModule("windows3c", windows3cMethods); | |
1937 | d = PyModule_GetDict(m); | |
1938 | PyDict_SetItemString(d,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP)); | |
1939 | PyDict_SetItemString(d,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT)); | |
1940 | PyDict_SetItemString(d,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM)); | |
1941 | PyDict_SetItemString(d,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT)); | |
1942 | PyDict_SetItemString(d,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE)); | |
1943 | PyDict_SetItemString(d,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED)); | |
1944 | PyDict_SetItemString(d,"wxSW_3D", PyInt_FromLong((long) wxSW_3D)); | |
1b62f00d RD |
1945 | PyDict_SetItemString(d,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH)); |
1946 | PyDict_SetItemString(d,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER)); | |
1947 | PyDict_SetItemString(d,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER)); | |
08127323 RD |
1948 | PyDict_SetItemString(d,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK)); |
1949 | PyDict_SetItemString(d,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE)); | |
1950 | PyDict_SetItemString(d,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL)); | |
1951 | PyDict_SetItemString(d,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL)); | |
1952 | PyDict_SetItemString(d,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE)); | |
1953 | PyDict_SetItemString(d,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP)); | |
1954 | PyDict_SetItemString(d,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT)); | |
1955 | PyDict_SetItemString(d,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT)); | |
1956 | PyDict_SetItemString(d,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM)); | |
1957 | PyDict_SetItemString(d,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO)); | |
1958 | PyDict_SetItemString(d,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT)); | |
1d99702e RD |
1959 | { |
1960 | int i; | |
1961 | for (i = 0; _swig_mapping[i].n1; i++) | |
1962 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
1963 | } | |
08127323 | 1964 | } |