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