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