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