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