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