]>
Commit | Line | Data |
---|---|---|
e6056257 RD |
1 | /* |
2 | * FILE : src/mac/windows2.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 883) | |
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 | |
7108497a RD |
22 | #include "Python.h" |
23 | ||
e6056257 RD |
24 | #include <string.h> |
25 | #include <stdlib.h> | |
26 | /* Definitions for Windows/Unix exporting */ | |
27 | #if defined(__WIN32__) | |
28 | # if defined(_MSC_VER) | |
29 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
30 | # else | |
31 | # if defined(__BORLANDC__) | |
32 | # define SWIGEXPORT(a) a _export | |
33 | # else | |
34 | # define SWIGEXPORT(a) a | |
35 | # endif | |
36 | # endif | |
37 | #else | |
38 | # define SWIGEXPORT(a) a | |
39 | #endif | |
40 | ||
e6056257 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
e6056257 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 *); | |
47 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
48 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
49 | extern PyObject *SWIG_newvarlink(void); | |
50 | #ifdef __cplusplus | |
51 | } | |
52 | #endif | |
53 | #define SWIG_init initwindows2c | |
54 | ||
55 | #define SWIG_name "windows2c" | |
56 | ||
57 | #include "helpers.h" | |
e6056257 RD |
58 | #include <wx/notebook.h> |
59 | #include <wx/splitter.h> | |
60 | #include <wx/imaglist.h> | |
61 | #ifdef __WXMSW__ | |
77762d0f | 62 | #include <wx/taskbar.h> |
e6056257 RD |
63 | #endif |
64 | ||
c3bfa1cb RD |
65 | // Put some wx default wxChar* values into wxStrings. |
66 | DECLARE_DEF_STRING(NOTEBOOK_NAME); | |
26eb8715 | 67 | DECLARE_DEF_STRING(PanelNameStr); |
6ca312ba | 68 | DECLARE_DEF_STRING(ControlNameStr); |
c3bfa1cb RD |
69 | |
70 | static const wxChar* wxSplitterNameStr = wxT("splitter"); | |
71 | DECLARE_DEF_STRING(SplitterNameStr); | |
72 | static const wxString wxPyEmptyString(wxT("")); | |
73 | ||
e6056257 RD |
74 | |
75 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
76 | PyObject* o2; | |
77 | PyObject* o3; | |
78 | ||
79 | if (!target) { | |
80 | target = o; | |
81 | } else if (target == Py_None) { | |
82 | Py_DECREF(Py_None); | |
83 | target = o; | |
84 | } else { | |
85 | if (!PyTuple_Check(target)) { | |
86 | o2 = target; | |
87 | target = PyTuple_New(1); | |
88 | PyTuple_SetItem(target, 0, o2); | |
89 | } | |
90 | o3 = PyTuple_New(1); | |
91 | PyTuple_SetItem(o3, 0, o); | |
92 | ||
93 | o2 = target; | |
94 | target = PySequence_Concat(o2, o3); | |
95 | Py_DECREF(o2); | |
96 | Py_DECREF(o3); | |
97 | } | |
98 | return target; | |
99 | } | |
6ca312ba RD |
100 | // C++ version of Python aware wxWindow |
101 | class wxPyWindow : public wxWindow | |
102 | { | |
103 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
104 | public: | |
105 | wxPyWindow() : wxWindow() {} | |
106 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
107 | const wxPoint& pos = wxDefaultPosition, | |
108 | const wxSize& size = wxDefaultSize, | |
109 | long style = 0, | |
110 | const wxString& name = wxPyPanelNameStr) | |
111 | : wxWindow(parent, id, pos, size, style, name) {} | |
112 | ||
113 | ||
114 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
115 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
116 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
117 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
118 | ||
119 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
120 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
121 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
122 | ||
123 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
124 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
125 | ||
126 | DEC_PYCALLBACK__(InitDialog); | |
127 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
128 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
129 | DEC_PYCALLBACK_BOOL_(Validate); | |
130 | ||
131 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
132 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
133 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
134 | ||
3e1f6ec4 RD |
135 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); |
136 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
137 | ||
6ca312ba RD |
138 | PYPRIVATE; |
139 | }; | |
140 | ||
141 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
142 | ||
143 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
144 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
145 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
146 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
147 | ||
148 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
149 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
150 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
151 | ||
152 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
153 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
154 | ||
155 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
156 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
157 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
158 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
159 | ||
160 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
161 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
162 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
163 | ||
3e1f6ec4 RD |
164 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); |
165 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
166 | ||
6ca312ba RD |
167 | // C++ version of Python aware wxControl |
168 | class wxPyControl : public wxControl | |
169 | { | |
170 | DECLARE_DYNAMIC_CLASS(wxPyControl) | |
171 | public: | |
172 | wxPyControl() : wxControl() {} | |
173 | wxPyControl(wxWindow* parent, const wxWindowID id, | |
174 | const wxPoint& pos = wxDefaultPosition, | |
175 | const wxSize& size = wxDefaultSize, | |
176 | long style = 0, | |
177 | const wxValidator& validator=wxDefaultValidator, | |
178 | const wxString& name = wxPyControlNameStr) | |
179 | : wxControl(parent, id, pos, size, style, validator, name) {} | |
180 | ||
181 | ||
182 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
183 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
184 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
185 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
186 | ||
187 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
188 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
189 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
190 | ||
191 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
192 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
193 | ||
194 | DEC_PYCALLBACK__(InitDialog); | |
195 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
196 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
197 | DEC_PYCALLBACK_BOOL_(Validate); | |
198 | ||
199 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
200 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
201 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
202 | ||
3e1f6ec4 RD |
203 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); |
204 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
205 | ||
6ca312ba RD |
206 | PYPRIVATE; |
207 | }; | |
208 | ||
209 | IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl); | |
210 | ||
211 | IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow); | |
212 | IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize); | |
213 | IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize); | |
214 | IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize); | |
215 | ||
216 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize); | |
217 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize); | |
218 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition); | |
219 | ||
220 | IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize); | |
221 | IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize); | |
222 | ||
223 | IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog); | |
224 | IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow); | |
225 | IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow); | |
226 | IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate); | |
227 | ||
228 | IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus); | |
229 | IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard); | |
230 | IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize); | |
231 | ||
3e1f6ec4 RD |
232 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild); |
233 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild); | |
234 | ||
4615b725 RD |
235 | // C++ version of Python aware wxPanel |
236 | class wxPyPanel : public wxPanel | |
237 | { | |
238 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
239 | public: | |
240 | wxPyPanel() : wxPanel() {} | |
241 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
242 | const wxPoint& pos = wxDefaultPosition, | |
243 | const wxSize& size = wxDefaultSize, | |
244 | long style = 0, | |
245 | const wxString& name = wxPyPanelNameStr) | |
246 | : wxPanel(parent, id, pos, size, style, name) {} | |
247 | ||
248 | ||
249 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
250 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
251 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
252 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
253 | ||
254 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
255 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
256 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
257 | ||
258 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
259 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
260 | ||
261 | DEC_PYCALLBACK__(InitDialog); | |
262 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
263 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
264 | DEC_PYCALLBACK_BOOL_(Validate); | |
265 | ||
266 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
267 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
268 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
269 | ||
3e1f6ec4 RD |
270 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); |
271 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
272 | ||
4615b725 RD |
273 | PYPRIVATE; |
274 | }; | |
275 | ||
276 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
277 | ||
278 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
279 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
280 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
281 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
282 | ||
283 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
284 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
285 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
286 | ||
287 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
288 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
289 | ||
290 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
291 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
292 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
293 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
294 | ||
295 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
296 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
297 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
298 | ||
3e1f6ec4 RD |
299 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); |
300 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
301 | ||
e6056257 RD |
302 | #ifdef __cplusplus |
303 | extern "C" { | |
304 | #endif | |
305 | static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) { | |
306 | wxNotebookEvent *src; | |
307 | wxNotifyEvent *dest; | |
308 | src = (wxNotebookEvent *) ptr; | |
309 | dest = (wxNotifyEvent *) src; | |
310 | return (void *) dest; | |
311 | } | |
312 | ||
313 | static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) { | |
314 | wxNotebookEvent *src; | |
315 | wxCommandEvent *dest; | |
316 | src = (wxNotebookEvent *) ptr; | |
317 | dest = (wxCommandEvent *) src; | |
318 | return (void *) dest; | |
319 | } | |
320 | ||
321 | static void *SwigwxNotebookEventTowxEvent(void *ptr) { | |
322 | wxNotebookEvent *src; | |
323 | wxEvent *dest; | |
324 | src = (wxNotebookEvent *) ptr; | |
325 | dest = (wxEvent *) src; | |
326 | return (void *) dest; | |
327 | } | |
328 | ||
329 | static void *SwigwxNotebookEventTowxObject(void *ptr) { | |
330 | wxNotebookEvent *src; | |
331 | wxObject *dest; | |
332 | src = (wxNotebookEvent *) ptr; | |
333 | dest = (wxObject *) src; | |
334 | return (void *) dest; | |
335 | } | |
336 | ||
337 | #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
338 | static PyObject *_wrap_new_wxNotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
339 | PyObject * _resultobj; | |
340 | wxNotebookEvent * _result; | |
341 | wxEventType _arg0 = (wxEventType ) wxEVT_NULL; | |
342 | int _arg1 = (int ) 0; | |
343 | int _arg2 = (int ) -1; | |
344 | int _arg3 = (int ) -1; | |
7108497a | 345 | char *_kwnames[] = { "commandType","id","sel","oldSel", NULL }; |
e6056257 RD |
346 | char _ptemp[128]; |
347 | ||
348 | self = self; | |
349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxNotebookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) | |
350 | return NULL; | |
351 | { | |
0e2ff151 | 352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 353 | _result = (wxNotebookEvent *)new_wxNotebookEvent(_arg0,_arg1,_arg2,_arg3); |
e6056257 | 354 | |
0e2ff151 | 355 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
356 | if (PyErr_Occurred()) return NULL; |
357 | } if (_result) { | |
358 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookEvent_p"); | |
359 | _resultobj = Py_BuildValue("s",_ptemp); | |
360 | } else { | |
361 | Py_INCREF(Py_None); | |
362 | _resultobj = Py_None; | |
363 | } | |
364 | return _resultobj; | |
365 | } | |
366 | ||
367 | #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
368 | static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
369 | PyObject * _resultobj; | |
370 | int _result; | |
371 | wxNotebookEvent * _arg0; | |
372 | PyObject * _argo0 = 0; | |
373 | char *_kwnames[] = { "self", NULL }; | |
374 | ||
375 | self = self; | |
376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0)) | |
377 | return NULL; | |
378 | if (_argo0) { | |
379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p."); | |
382 | return NULL; | |
383 | } | |
384 | } | |
385 | { | |
0e2ff151 | 386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 387 | _result = (int )wxNotebookEvent_GetSelection(_arg0); |
e6056257 | 388 | |
0e2ff151 | 389 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
390 | if (PyErr_Occurred()) return NULL; |
391 | } _resultobj = Py_BuildValue("i",_result); | |
392 | return _resultobj; | |
393 | } | |
394 | ||
395 | #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection()) | |
396 | static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
397 | PyObject * _resultobj; | |
398 | int _result; | |
399 | wxNotebookEvent * _arg0; | |
400 | PyObject * _argo0 = 0; | |
401 | char *_kwnames[] = { "self", NULL }; | |
402 | ||
403 | self = self; | |
404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0)) | |
405 | return NULL; | |
406 | if (_argo0) { | |
407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p."); | |
410 | return NULL; | |
411 | } | |
412 | } | |
413 | { | |
0e2ff151 | 414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 415 | _result = (int )wxNotebookEvent_GetOldSelection(_arg0); |
e6056257 | 416 | |
0e2ff151 | 417 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
418 | if (PyErr_Occurred()) return NULL; |
419 | } _resultobj = Py_BuildValue("i",_result); | |
420 | return _resultobj; | |
421 | } | |
422 | ||
423 | #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0)) | |
424 | static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
425 | PyObject * _resultobj; | |
426 | wxNotebookEvent * _arg0; | |
427 | int _arg1; | |
428 | PyObject * _argo0 = 0; | |
429 | char *_kwnames[] = { "self","page", NULL }; | |
430 | ||
431 | self = self; | |
432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1)) | |
433 | return NULL; | |
434 | if (_argo0) { | |
435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p."); | |
438 | return NULL; | |
439 | } | |
440 | } | |
441 | { | |
0e2ff151 | 442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 443 | wxNotebookEvent_SetOldSelection(_arg0,_arg1); |
e6056257 | 444 | |
0e2ff151 | 445 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
446 | if (PyErr_Occurred()) return NULL; |
447 | } Py_INCREF(Py_None); | |
448 | _resultobj = Py_None; | |
449 | return _resultobj; | |
450 | } | |
451 | ||
452 | #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
453 | static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
454 | PyObject * _resultobj; | |
455 | wxNotebookEvent * _arg0; | |
456 | int _arg1; | |
457 | PyObject * _argo0 = 0; | |
458 | char *_kwnames[] = { "self","page", NULL }; | |
459 | ||
460 | self = self; | |
461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1)) | |
462 | return NULL; | |
463 | if (_argo0) { | |
464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p."); | |
467 | return NULL; | |
468 | } | |
469 | } | |
470 | { | |
0e2ff151 | 471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 472 | wxNotebookEvent_SetSelection(_arg0,_arg1); |
e6056257 | 473 | |
0e2ff151 | 474 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
475 | if (PyErr_Occurred()) return NULL; |
476 | } Py_INCREF(Py_None); | |
477 | _resultobj = Py_None; | |
478 | return _resultobj; | |
479 | } | |
480 | ||
481 | static void *SwigwxNotebookTowxControl(void *ptr) { | |
482 | wxNotebook *src; | |
483 | wxControl *dest; | |
484 | src = (wxNotebook *) ptr; | |
485 | dest = (wxControl *) src; | |
486 | return (void *) dest; | |
487 | } | |
488 | ||
489 | static void *SwigwxNotebookTowxWindow(void *ptr) { | |
490 | wxNotebook *src; | |
491 | wxWindow *dest; | |
492 | src = (wxNotebook *) ptr; | |
493 | dest = (wxWindow *) src; | |
494 | return (void *) dest; | |
495 | } | |
496 | ||
497 | static void *SwigwxNotebookTowxEvtHandler(void *ptr) { | |
498 | wxNotebook *src; | |
499 | wxEvtHandler *dest; | |
500 | src = (wxNotebook *) ptr; | |
501 | dest = (wxEvtHandler *) src; | |
502 | return (void *) dest; | |
503 | } | |
504 | ||
505 | static void *SwigwxNotebookTowxObject(void *ptr) { | |
506 | wxNotebook *src; | |
507 | wxObject *dest; | |
508 | src = (wxNotebook *) ptr; | |
509 | dest = (wxObject *) src; | |
510 | return (void *) dest; | |
511 | } | |
512 | ||
513 | #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
514 | static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
515 | PyObject * _resultobj; | |
516 | wxNotebook * _result; | |
517 | wxWindow * _arg0; | |
518 | wxWindowID _arg1; | |
519 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
520 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
521 | long _arg4 = (long ) 0; | |
c3bfa1cb | 522 | wxString * _arg5 = (wxString *) &wxPyNOTEBOOK_NAME; |
e6056257 RD |
523 | PyObject * _argo0 = 0; |
524 | wxPoint temp; | |
525 | PyObject * _obj2 = 0; | |
526 | wxSize temp0; | |
527 | PyObject * _obj3 = 0; | |
c3bfa1cb | 528 | PyObject * _obj5 = 0; |
e6056257 RD |
529 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
530 | char _ptemp[128]; | |
531 | ||
532 | self = self; | |
c3bfa1cb | 533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
e6056257 RD |
534 | return NULL; |
535 | if (_argo0) { | |
536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p."); | |
539 | return NULL; | |
540 | } | |
541 | } | |
542 | if (_obj2) | |
543 | { | |
544 | _arg2 = &temp; | |
545 | if (! wxPoint_helper(_obj2, &_arg2)) | |
546 | return NULL; | |
547 | } | |
548 | if (_obj3) | |
549 | { | |
550 | _arg3 = &temp0; | |
551 | if (! wxSize_helper(_obj3, &_arg3)) | |
552 | return NULL; | |
c3bfa1cb RD |
553 | } |
554 | if (_obj5) | |
555 | { | |
556 | _arg5 = wxString_in_helper(_obj5); | |
557 | if (_arg5 == NULL) | |
558 | return NULL; | |
e6056257 RD |
559 | } |
560 | { | |
0e2ff151 | 561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 562 | _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
e6056257 | 563 | |
0e2ff151 | 564 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
565 | if (PyErr_Occurred()) return NULL; |
566 | } if (_result) { | |
567 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p"); | |
568 | _resultobj = Py_BuildValue("s",_ptemp); | |
569 | } else { | |
570 | Py_INCREF(Py_None); | |
571 | _resultobj = Py_None; | |
572 | } | |
c3bfa1cb RD |
573 | { |
574 | if (_obj5) | |
575 | delete _arg5; | |
576 | } | |
e6056257 RD |
577 | return _resultobj; |
578 | } | |
579 | ||
580 | #define new_wxPreNotebook() (new wxNotebook()) | |
581 | static PyObject *_wrap_new_wxPreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
582 | PyObject * _resultobj; | |
583 | wxNotebook * _result; | |
584 | char *_kwnames[] = { NULL }; | |
585 | char _ptemp[128]; | |
586 | ||
587 | self = self; | |
588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreNotebook",_kwnames)) | |
589 | return NULL; | |
590 | { | |
0e2ff151 | 591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 592 | _result = (wxNotebook *)new_wxPreNotebook(); |
e6056257 | 593 | |
0e2ff151 | 594 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
595 | if (PyErr_Occurred()) return NULL; |
596 | } if (_result) { | |
597 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p"); | |
598 | _resultobj = Py_BuildValue("s",_ptemp); | |
599 | } else { | |
600 | Py_INCREF(Py_None); | |
601 | _resultobj = Py_None; | |
602 | } | |
603 | return _resultobj; | |
604 | } | |
605 | ||
606 | #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
607 | static PyObject *_wrap_wxNotebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
608 | PyObject * _resultobj; | |
609 | bool _result; | |
610 | wxNotebook * _arg0; | |
611 | wxWindow * _arg1; | |
612 | wxWindowID _arg2; | |
613 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
614 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
615 | long _arg5 = (long ) 0; | |
c3bfa1cb | 616 | wxString * _arg6 = (wxString *) &wxPyNOTEBOOK_NAME; |
e6056257 RD |
617 | PyObject * _argo0 = 0; |
618 | PyObject * _argo1 = 0; | |
619 | wxPoint temp; | |
620 | PyObject * _obj3 = 0; | |
621 | wxSize temp0; | |
622 | PyObject * _obj4 = 0; | |
c3bfa1cb | 623 | PyObject * _obj6 = 0; |
e6056257 RD |
624 | char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL }; |
625 | ||
626 | self = self; | |
c3bfa1cb | 627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxNotebook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6)) |
e6056257 RD |
628 | return NULL; |
629 | if (_argo0) { | |
630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p."); | |
633 | return NULL; | |
634 | } | |
635 | } | |
636 | if (_argo1) { | |
637 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
638 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p."); | |
640 | return NULL; | |
641 | } | |
642 | } | |
643 | if (_obj3) | |
644 | { | |
645 | _arg3 = &temp; | |
646 | if (! wxPoint_helper(_obj3, &_arg3)) | |
647 | return NULL; | |
648 | } | |
649 | if (_obj4) | |
650 | { | |
651 | _arg4 = &temp0; | |
652 | if (! wxSize_helper(_obj4, &_arg4)) | |
653 | return NULL; | |
c3bfa1cb RD |
654 | } |
655 | if (_obj6) | |
656 | { | |
657 | _arg6 = wxString_in_helper(_obj6); | |
658 | if (_arg6 == NULL) | |
659 | return NULL; | |
e6056257 RD |
660 | } |
661 | { | |
0e2ff151 | 662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 663 | _result = (bool )wxNotebook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
e6056257 | 664 | |
0e2ff151 | 665 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
666 | if (PyErr_Occurred()) return NULL; |
667 | } _resultobj = Py_BuildValue("i",_result); | |
c3bfa1cb RD |
668 | { |
669 | if (_obj6) | |
670 | delete _arg6; | |
671 | } | |
e6056257 RD |
672 | return _resultobj; |
673 | } | |
674 | ||
675 | #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount()) | |
676 | static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
677 | PyObject * _resultobj; | |
678 | int _result; | |
679 | wxNotebook * _arg0; | |
680 | PyObject * _argo0 = 0; | |
681 | char *_kwnames[] = { "self", NULL }; | |
682 | ||
683 | self = self; | |
684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0)) | |
685 | return NULL; | |
686 | if (_argo0) { | |
687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p."); | |
690 | return NULL; | |
691 | } | |
692 | } | |
693 | { | |
0e2ff151 | 694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 695 | _result = (int )wxNotebook_GetPageCount(_arg0); |
e6056257 | 696 | |
0e2ff151 | 697 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
698 | if (PyErr_Occurred()) return NULL; |
699 | } _resultobj = Py_BuildValue("i",_result); | |
700 | return _resultobj; | |
701 | } | |
702 | ||
d84a9306 RD |
703 | #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0)) |
704 | static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e6056257 | 705 | PyObject * _resultobj; |
d84a9306 | 706 | wxWindow * _result; |
e6056257 RD |
707 | wxNotebook * _arg0; |
708 | int _arg1; | |
709 | PyObject * _argo0 = 0; | |
7108497a | 710 | char *_kwnames[] = { "self","page", NULL }; |
e6056257 RD |
711 | |
712 | self = self; | |
d84a9306 | 713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1)) |
e6056257 RD |
714 | return NULL; |
715 | if (_argo0) { | |
716 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
717 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
d84a9306 | 718 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p."); |
e6056257 RD |
719 | return NULL; |
720 | } | |
721 | } | |
e6056257 | 722 | { |
0e2ff151 | 723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
d84a9306 | 724 | _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1); |
e6056257 | 725 | |
0e2ff151 | 726 | wxPyEndAllowThreads(__tstate); |
e6056257 | 727 | if (PyErr_Occurred()) return NULL; |
d84a9306 | 728 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e6056257 RD |
729 | return _resultobj; |
730 | } | |
731 | ||
732 | #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
733 | static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
734 | PyObject * _resultobj; | |
735 | int _result; | |
736 | wxNotebook * _arg0; | |
737 | PyObject * _argo0 = 0; | |
738 | char *_kwnames[] = { "self", NULL }; | |
739 | ||
740 | self = self; | |
741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0)) | |
742 | return NULL; | |
743 | if (_argo0) { | |
744 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
745 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p."); | |
747 | return NULL; | |
748 | } | |
749 | } | |
750 | { | |
0e2ff151 | 751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 752 | _result = (int )wxNotebook_GetSelection(_arg0); |
e6056257 | 753 | |
0e2ff151 | 754 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
755 | if (PyErr_Occurred()) return NULL; |
756 | } _resultobj = Py_BuildValue("i",_result); | |
757 | return _resultobj; | |
758 | } | |
759 | ||
760 | #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1)) | |
761 | static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
762 | PyObject * _resultobj; | |
763 | bool _result; | |
764 | wxNotebook * _arg0; | |
765 | int _arg1; | |
766 | wxString * _arg2; | |
767 | PyObject * _argo0 = 0; | |
768 | PyObject * _obj2 = 0; | |
7108497a | 769 | char *_kwnames[] = { "self","page","text", NULL }; |
e6056257 RD |
770 | |
771 | self = self; | |
772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2)) | |
773 | return NULL; | |
774 | if (_argo0) { | |
775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p."); | |
778 | return NULL; | |
779 | } | |
780 | } | |
781 | { | |
6824d4f9 RD |
782 | _arg2 = wxString_in_helper(_obj2); |
783 | if (_arg2 == NULL) | |
e6056257 | 784 | return NULL; |
e6056257 RD |
785 | } |
786 | { | |
0e2ff151 | 787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 788 | _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2); |
e6056257 | 789 | |
0e2ff151 | 790 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
791 | if (PyErr_Occurred()) return NULL; |
792 | } _resultobj = Py_BuildValue("i",_result); | |
793 | { | |
794 | if (_obj2) | |
795 | delete _arg2; | |
796 | } | |
797 | return _resultobj; | |
798 | } | |
799 | ||
800 | #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0)) | |
801 | static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
802 | PyObject * _resultobj; | |
803 | wxString * _result; | |
804 | wxNotebook * _arg0; | |
805 | int _arg1; | |
806 | PyObject * _argo0 = 0; | |
7108497a | 807 | char *_kwnames[] = { "self","page", NULL }; |
e6056257 RD |
808 | |
809 | self = self; | |
810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1)) | |
811 | return NULL; | |
812 | if (_argo0) { | |
813 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
814 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p."); | |
816 | return NULL; | |
817 | } | |
818 | } | |
819 | { | |
0e2ff151 | 820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 821 | _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1)); |
e6056257 | 822 | |
0e2ff151 | 823 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
824 | if (PyErr_Occurred()) return NULL; |
825 | }{ | |
6824d4f9 | 826 | #if wxUSE_UNICODE |
7108497a | 827 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
6824d4f9 | 828 | #else |
e6056257 | 829 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 830 | #endif |
e6056257 RD |
831 | } |
832 | { | |
833 | delete _result; | |
834 | } | |
835 | return _resultobj; | |
836 | } | |
837 | ||
838 | #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) | |
839 | static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
840 | PyObject * _resultobj; | |
841 | wxNotebook * _arg0; | |
842 | wxImageList * _arg1; | |
843 | PyObject * _argo0 = 0; | |
844 | PyObject * _argo1 = 0; | |
845 | char *_kwnames[] = { "self","imageList", NULL }; | |
846 | ||
847 | self = self; | |
848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1)) | |
849 | return NULL; | |
850 | if (_argo0) { | |
851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p."); | |
854 | return NULL; | |
855 | } | |
856 | } | |
857 | if (_argo1) { | |
858 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
859 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p."); | |
861 | return NULL; | |
862 | } | |
863 | } | |
864 | { | |
0e2ff151 | 865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 866 | wxNotebook_SetImageList(_arg0,_arg1); |
e6056257 | 867 | |
0e2ff151 | 868 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
869 | if (PyErr_Occurred()) return NULL; |
870 | } Py_INCREF(Py_None); | |
871 | _resultobj = Py_None; | |
872 | return _resultobj; | |
873 | } | |
874 | ||
875 | #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0)) | |
876 | static PyObject *_wrap_wxNotebook_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
877 | PyObject * _resultobj; | |
878 | wxNotebook * _arg0; | |
879 | wxImageList * _arg1; | |
880 | PyObject * _argo0 = 0; | |
881 | PyObject * _argo1 = 0; | |
882 | char *_kwnames[] = { "self","imageList", NULL }; | |
883 | ||
884 | self = self; | |
885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_AssignImageList",_kwnames,&_argo0,&_argo1)) | |
886 | return NULL; | |
887 | if (_argo0) { | |
888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p."); | |
891 | return NULL; | |
892 | } | |
893 | } | |
894 | if (_argo1) { | |
895 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
896 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p."); | |
898 | return NULL; | |
899 | } | |
900 | } | |
901 | { | |
0e2ff151 | 902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 903 | wxNotebook_AssignImageList(_arg0,_arg1); |
e6056257 | 904 | |
0e2ff151 | 905 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
906 | if (PyErr_Occurred()) return NULL; |
907 | } Py_INCREF(Py_None); | |
908 | _resultobj = Py_None; | |
909 | return _resultobj; | |
910 | } | |
911 | ||
912 | #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList()) | |
913 | static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
914 | PyObject * _resultobj; | |
915 | wxImageList * _result; | |
916 | wxNotebook * _arg0; | |
917 | PyObject * _argo0 = 0; | |
918 | char *_kwnames[] = { "self", NULL }; | |
919 | ||
920 | self = self; | |
921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0)) | |
922 | return NULL; | |
923 | if (_argo0) { | |
924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p."); | |
927 | return NULL; | |
928 | } | |
929 | } | |
930 | { | |
0e2ff151 | 931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 932 | _result = (wxImageList *)wxNotebook_GetImageList(_arg0); |
e6056257 | 933 | |
0e2ff151 | 934 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
935 | if (PyErr_Occurred()) return NULL; |
936 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
937 | return _resultobj; | |
938 | } | |
939 | ||
940 | #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0)) | |
941 | static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
942 | PyObject * _resultobj; | |
943 | int _result; | |
944 | wxNotebook * _arg0; | |
945 | int _arg1; | |
946 | PyObject * _argo0 = 0; | |
7108497a | 947 | char *_kwnames[] = { "self","page", NULL }; |
e6056257 RD |
948 | |
949 | self = self; | |
950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1)) | |
951 | return NULL; | |
952 | if (_argo0) { | |
953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p."); | |
956 | return NULL; | |
957 | } | |
958 | } | |
959 | { | |
0e2ff151 | 960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 961 | _result = (int )wxNotebook_GetPageImage(_arg0,_arg1); |
e6056257 | 962 | |
0e2ff151 | 963 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
964 | if (PyErr_Occurred()) return NULL; |
965 | } _resultobj = Py_BuildValue("i",_result); | |
966 | return _resultobj; | |
967 | } | |
968 | ||
969 | #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1)) | |
970 | static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
971 | PyObject * _resultobj; | |
972 | bool _result; | |
973 | wxNotebook * _arg0; | |
974 | int _arg1; | |
975 | int _arg2; | |
976 | PyObject * _argo0 = 0; | |
d84a9306 | 977 | char *_kwnames[] = { "self","page","nImage", NULL }; |
e6056257 RD |
978 | |
979 | self = self; | |
980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2)) | |
981 | return NULL; | |
982 | if (_argo0) { | |
983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p."); | |
986 | return NULL; | |
987 | } | |
988 | } | |
989 | { | |
0e2ff151 | 990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 991 | _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2); |
e6056257 | 992 | |
0e2ff151 | 993 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
994 | if (PyErr_Occurred()) return NULL; |
995 | } _resultobj = Py_BuildValue("i",_result); | |
996 | return _resultobj; | |
997 | } | |
998 | ||
999 | #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount()) | |
1000 | static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1001 | PyObject * _resultobj; | |
1002 | int _result; | |
1003 | wxNotebook * _arg0; | |
1004 | PyObject * _argo0 = 0; | |
1005 | char *_kwnames[] = { "self", NULL }; | |
1006 | ||
1007 | self = self; | |
1008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0)) | |
1009 | return NULL; | |
1010 | if (_argo0) { | |
1011 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1012 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p."); | |
1014 | return NULL; | |
1015 | } | |
1016 | } | |
1017 | { | |
0e2ff151 | 1018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1019 | _result = (int )wxNotebook_GetRowCount(_arg0); |
e6056257 | 1020 | |
0e2ff151 | 1021 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1022 | if (PyErr_Occurred()) return NULL; |
1023 | } _resultobj = Py_BuildValue("i",_result); | |
1024 | return _resultobj; | |
1025 | } | |
1026 | ||
1027 | #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0)) | |
1028 | static PyObject *_wrap_wxNotebook_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1029 | PyObject * _resultobj; | |
1030 | wxNotebook * _arg0; | |
1031 | wxSize * _arg1; | |
1032 | PyObject * _argo0 = 0; | |
1033 | wxSize temp; | |
1034 | PyObject * _obj1 = 0; | |
1035 | char *_kwnames[] = { "self","size", NULL }; | |
1036 | ||
1037 | self = self; | |
1038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPageSize",_kwnames,&_argo0,&_obj1)) | |
1039 | return NULL; | |
1040 | if (_argo0) { | |
1041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p."); | |
1044 | return NULL; | |
1045 | } | |
1046 | } | |
1047 | { | |
1048 | _arg1 = &temp; | |
1049 | if (! wxSize_helper(_obj1, &_arg1)) | |
1050 | return NULL; | |
1051 | } | |
1052 | { | |
0e2ff151 | 1053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1054 | wxNotebook_SetPageSize(_arg0,*_arg1); |
e6056257 | 1055 | |
0e2ff151 | 1056 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1057 | if (PyErr_Occurred()) return NULL; |
1058 | } Py_INCREF(Py_None); | |
1059 | _resultobj = Py_None; | |
1060 | return _resultobj; | |
1061 | } | |
1062 | ||
1063 | #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0)) | |
1064 | static PyObject *_wrap_wxNotebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1065 | PyObject * _resultobj; | |
1066 | wxNotebook * _arg0; | |
1067 | wxSize * _arg1; | |
1068 | PyObject * _argo0 = 0; | |
1069 | wxSize temp; | |
1070 | PyObject * _obj1 = 0; | |
1071 | char *_kwnames[] = { "self","padding", NULL }; | |
1072 | ||
1073 | self = self; | |
1074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPadding",_kwnames,&_argo0,&_obj1)) | |
1075 | return NULL; | |
1076 | if (_argo0) { | |
1077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p."); | |
1080 | return NULL; | |
1081 | } | |
1082 | } | |
1083 | { | |
1084 | _arg1 = &temp; | |
1085 | if (! wxSize_helper(_obj1, &_arg1)) | |
1086 | return NULL; | |
1087 | } | |
1088 | { | |
0e2ff151 | 1089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1090 | wxNotebook_SetPadding(_arg0,*_arg1); |
e6056257 | 1091 | |
0e2ff151 | 1092 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1093 | if (PyErr_Occurred()) return NULL; |
1094 | } Py_INCREF(Py_None); | |
1095 | _resultobj = Py_None; | |
1096 | return _resultobj; | |
1097 | } | |
1098 | ||
d84a9306 RD |
1099 | #define wxNotebook_SetTabSize(_swigobj,_swigarg0) (_swigobj->SetTabSize(_swigarg0)) |
1100 | static PyObject *_wrap_wxNotebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1101 | PyObject * _resultobj; | |
1102 | wxNotebook * _arg0; | |
1103 | wxSize * _arg1; | |
1104 | PyObject * _argo0 = 0; | |
1105 | wxSize temp; | |
1106 | PyObject * _obj1 = 0; | |
1107 | char *_kwnames[] = { "self","sz", NULL }; | |
1108 | ||
1109 | self = self; | |
1110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetTabSize",_kwnames,&_argo0,&_obj1)) | |
1111 | return NULL; | |
1112 | if (_argo0) { | |
1113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetTabSize. Expected _wxNotebook_p."); | |
1116 | return NULL; | |
1117 | } | |
1118 | } | |
1119 | { | |
1120 | _arg1 = &temp; | |
1121 | if (! wxSize_helper(_obj1, &_arg1)) | |
1122 | return NULL; | |
1123 | } | |
1124 | { | |
1125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1126 | wxNotebook_SetTabSize(_arg0,*_arg1); | |
1127 | ||
1128 | wxPyEndAllowThreads(__tstate); | |
1129 | if (PyErr_Occurred()) return NULL; | |
1130 | } Py_INCREF(Py_None); | |
1131 | _resultobj = Py_None; | |
1132 | return _resultobj; | |
1133 | } | |
1134 | ||
1135 | #define wxNotebook_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0)) | |
1136 | static PyObject *_wrap_wxNotebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1137 | PyObject * _resultobj; | |
1138 | wxSize * _result; | |
1139 | wxNotebook * _arg0; | |
1140 | wxSize * _arg1; | |
1141 | PyObject * _argo0 = 0; | |
1142 | wxSize temp; | |
1143 | PyObject * _obj1 = 0; | |
1144 | char *_kwnames[] = { "self","sizePage", NULL }; | |
1145 | char _ptemp[128]; | |
1146 | ||
1147 | self = self; | |
1148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_CalcSizeFromPage",_kwnames,&_argo0,&_obj1)) | |
1149 | return NULL; | |
1150 | if (_argo0) { | |
1151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_CalcSizeFromPage. Expected _wxNotebook_p."); | |
1154 | return NULL; | |
1155 | } | |
1156 | } | |
1157 | { | |
1158 | _arg1 = &temp; | |
1159 | if (! wxSize_helper(_obj1, &_arg1)) | |
1160 | return NULL; | |
1161 | } | |
1162 | { | |
1163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1164 | _result = new wxSize (wxNotebook_CalcSizeFromPage(_arg0,*_arg1)); | |
1165 | ||
1166 | wxPyEndAllowThreads(__tstate); | |
1167 | if (PyErr_Occurred()) return NULL; | |
1168 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1169 | _resultobj = Py_BuildValue("s",_ptemp); | |
1170 | return _resultobj; | |
1171 | } | |
1172 | ||
e6056257 RD |
1173 | #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0)) |
1174 | static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1175 | PyObject * _resultobj; | |
1176 | bool _result; | |
1177 | wxNotebook * _arg0; | |
1178 | int _arg1; | |
1179 | PyObject * _argo0 = 0; | |
7108497a | 1180 | char *_kwnames[] = { "self","page", NULL }; |
e6056257 RD |
1181 | |
1182 | self = self; | |
1183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1)) | |
1184 | return NULL; | |
1185 | if (_argo0) { | |
1186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p."); | |
1189 | return NULL; | |
1190 | } | |
1191 | } | |
1192 | { | |
0e2ff151 | 1193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1194 | _result = (bool )wxNotebook_DeletePage(_arg0,_arg1); |
e6056257 | 1195 | |
0e2ff151 | 1196 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1197 | if (PyErr_Occurred()) return NULL; |
1198 | } _resultobj = Py_BuildValue("i",_result); | |
1199 | return _resultobj; | |
1200 | } | |
1201 | ||
1202 | #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0)) | |
1203 | static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1204 | PyObject * _resultobj; | |
1205 | bool _result; | |
1206 | wxNotebook * _arg0; | |
1207 | int _arg1; | |
1208 | PyObject * _argo0 = 0; | |
7108497a | 1209 | char *_kwnames[] = { "self","page", NULL }; |
e6056257 RD |
1210 | |
1211 | self = self; | |
1212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1)) | |
1213 | return NULL; | |
1214 | if (_argo0) { | |
1215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p."); | |
1218 | return NULL; | |
1219 | } | |
1220 | } | |
1221 | { | |
0e2ff151 | 1222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1223 | _result = (bool )wxNotebook_RemovePage(_arg0,_arg1); |
e6056257 | 1224 | |
0e2ff151 | 1225 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1226 | if (PyErr_Occurred()) return NULL; |
1227 | } _resultobj = Py_BuildValue("i",_result); | |
1228 | return _resultobj; | |
1229 | } | |
1230 | ||
1231 | #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages()) | |
1232 | static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1233 | PyObject * _resultobj; | |
1234 | bool _result; | |
1235 | wxNotebook * _arg0; | |
1236 | PyObject * _argo0 = 0; | |
1237 | char *_kwnames[] = { "self", NULL }; | |
1238 | ||
1239 | self = self; | |
1240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0)) | |
1241 | return NULL; | |
1242 | if (_argo0) { | |
1243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p."); | |
1246 | return NULL; | |
1247 | } | |
1248 | } | |
1249 | { | |
0e2ff151 | 1250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1251 | _result = (bool )wxNotebook_DeleteAllPages(_arg0); |
e6056257 | 1252 | |
0e2ff151 | 1253 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1254 | if (PyErr_Occurred()) return NULL; |
1255 | } _resultobj = Py_BuildValue("i",_result); | |
1256 | return _resultobj; | |
1257 | } | |
1258 | ||
1259 | #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1260 | static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1261 | PyObject * _resultobj; | |
1262 | bool _result; | |
1263 | wxNotebook * _arg0; | |
1264 | wxWindow * _arg1; | |
1265 | wxString * _arg2; | |
d84a9306 | 1266 | bool _arg3 = (bool ) FALSE; |
e6056257 RD |
1267 | int _arg4 = (int ) -1; |
1268 | PyObject * _argo0 = 0; | |
1269 | PyObject * _argo1 = 0; | |
1270 | PyObject * _obj2 = 0; | |
d84a9306 RD |
1271 | int tempbool3 = (int) FALSE; |
1272 | char *_kwnames[] = { "self","page","text","telect","imageId", NULL }; | |
e6056257 RD |
1273 | |
1274 | self = self; | |
d84a9306 | 1275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&tempbool3,&_arg4)) |
e6056257 RD |
1276 | return NULL; |
1277 | if (_argo0) { | |
1278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p."); | |
1281 | return NULL; | |
1282 | } | |
1283 | } | |
1284 | if (_argo1) { | |
1285 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1286 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p."); | |
1288 | return NULL; | |
1289 | } | |
1290 | } | |
1291 | { | |
6824d4f9 RD |
1292 | _arg2 = wxString_in_helper(_obj2); |
1293 | if (_arg2 == NULL) | |
e6056257 | 1294 | return NULL; |
e6056257 | 1295 | } |
d84a9306 | 1296 | _arg3 = (bool ) tempbool3; |
e6056257 | 1297 | { |
0e2ff151 | 1298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1299 | _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4); |
e6056257 | 1300 | |
0e2ff151 | 1301 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1302 | if (PyErr_Occurred()) return NULL; |
1303 | } _resultobj = Py_BuildValue("i",_result); | |
1304 | { | |
1305 | if (_obj2) | |
1306 | delete _arg2; | |
1307 | } | |
1308 | return _resultobj; | |
1309 | } | |
1310 | ||
1311 | #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1312 | static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1313 | PyObject * _resultobj; | |
1314 | bool _result; | |
1315 | wxNotebook * _arg0; | |
1316 | int _arg1; | |
1317 | wxWindow * _arg2; | |
1318 | wxString * _arg3; | |
1319 | bool _arg4 = (bool ) FALSE; | |
1320 | int _arg5 = (int ) -1; | |
1321 | PyObject * _argo0 = 0; | |
1322 | PyObject * _argo2 = 0; | |
1323 | PyObject * _obj3 = 0; | |
1324 | int tempbool4 = (int) FALSE; | |
d84a9306 | 1325 | char *_kwnames[] = { "self","index","page","text","select","imageId", NULL }; |
e6056257 RD |
1326 | |
1327 | self = self; | |
1328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxNotebook_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5)) | |
1329 | return NULL; | |
1330 | if (_argo0) { | |
1331 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1332 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p."); | |
1334 | return NULL; | |
1335 | } | |
1336 | } | |
1337 | if (_argo2) { | |
1338 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1339 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
1340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p."); | |
1341 | return NULL; | |
1342 | } | |
1343 | } | |
1344 | { | |
6824d4f9 RD |
1345 | _arg3 = wxString_in_helper(_obj3); |
1346 | if (_arg3 == NULL) | |
e6056257 | 1347 | return NULL; |
e6056257 RD |
1348 | } |
1349 | _arg4 = (bool ) tempbool4; | |
1350 | { | |
0e2ff151 | 1351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1352 | _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); |
e6056257 | 1353 | |
0e2ff151 | 1354 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1355 | if (PyErr_Occurred()) return NULL; |
1356 | } _resultobj = Py_BuildValue("i",_result); | |
1357 | { | |
1358 | if (_obj3) | |
1359 | delete _arg3; | |
1360 | } | |
1361 | return _resultobj; | |
1362 | } | |
1363 | ||
d84a9306 RD |
1364 | #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) |
1365 | static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e6056257 | 1366 | PyObject * _resultobj; |
d84a9306 | 1367 | int _result; |
e6056257 RD |
1368 | wxNotebook * _arg0; |
1369 | int _arg1; | |
1370 | PyObject * _argo0 = 0; | |
7108497a | 1371 | char *_kwnames[] = { "self","page", NULL }; |
e6056257 RD |
1372 | |
1373 | self = self; | |
d84a9306 | 1374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1)) |
e6056257 RD |
1375 | return NULL; |
1376 | if (_argo0) { | |
1377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
d84a9306 | 1379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p."); |
e6056257 RD |
1380 | return NULL; |
1381 | } | |
1382 | } | |
1383 | { | |
0e2ff151 | 1384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
d84a9306 | 1385 | _result = (int )wxNotebook_SetSelection(_arg0,_arg1); |
e6056257 | 1386 | |
0e2ff151 | 1387 | wxPyEndAllowThreads(__tstate); |
e6056257 | 1388 | if (PyErr_Occurred()) return NULL; |
d84a9306 | 1389 | } _resultobj = Py_BuildValue("i",_result); |
e6056257 RD |
1390 | return _resultobj; |
1391 | } | |
1392 | ||
d84a9306 RD |
1393 | #define wxNotebook_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1)) |
1394 | static PyObject *_wrap_wxNotebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1395 | PyObject * _resultobj; | |
1396 | int _result; | |
1397 | wxNotebook * _arg0; | |
1398 | wxPoint * _arg1; | |
1399 | long * _arg2; | |
1400 | long temp; | |
1401 | PyObject * _argo0 = 0; | |
1402 | wxPoint temp0; | |
1403 | PyObject * _obj1 = 0; | |
1404 | char *_kwnames[] = { "self","pt", NULL }; | |
1405 | ||
1406 | self = self; | |
1407 | { | |
1408 | _arg2 = &temp; | |
1409 | } | |
1410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_HitTest",_kwnames,&_argo0,&_obj1)) | |
1411 | return NULL; | |
1412 | if (_argo0) { | |
1413 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1414 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
1415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_HitTest. Expected _wxNotebook_p."); | |
1416 | return NULL; | |
e6056257 | 1417 | } |
d84a9306 RD |
1418 | } |
1419 | { | |
1420 | _arg1 = &temp0; | |
1421 | if (! wxPoint_helper(_obj1, &_arg1)) | |
1422 | return NULL; | |
1423 | } | |
1424 | { | |
1425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1426 | _result = (int )wxNotebook_HitTest(_arg0,*_arg1,_arg2); | |
1427 | ||
1428 | wxPyEndAllowThreads(__tstate); | |
1429 | if (PyErr_Occurred()) return NULL; | |
1430 | } _resultobj = Py_BuildValue("i",_result); | |
1431 | { | |
1432 | PyObject *o; | |
1433 | o = PyInt_FromLong((long) (*_arg2)); | |
1434 | _resultobj = t_output_helper(_resultobj, o); | |
1435 | } | |
1436 | return _resultobj; | |
1437 | } | |
1438 | ||
1439 | #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0)) | |
1440 | static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e6056257 RD |
1441 | PyObject * _resultobj; |
1442 | wxNotebook * _arg0; | |
d84a9306 | 1443 | bool _arg1 = (bool ) TRUE; |
e6056257 | 1444 | PyObject * _argo0 = 0; |
d84a9306 RD |
1445 | int tempbool1 = (int) TRUE; |
1446 | char *_kwnames[] = { "self","forward", NULL }; | |
e6056257 RD |
1447 | |
1448 | self = self; | |
d84a9306 | 1449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1)) |
e6056257 RD |
1450 | return NULL; |
1451 | if (_argo0) { | |
1452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
d84a9306 | 1454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p."); |
e6056257 RD |
1455 | return NULL; |
1456 | } | |
1457 | } | |
d84a9306 | 1458 | _arg1 = (bool ) tempbool1; |
e6056257 | 1459 | { |
0e2ff151 | 1460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
d84a9306 | 1461 | wxNotebook_AdvanceSelection(_arg0,_arg1); |
e6056257 | 1462 | |
0e2ff151 | 1463 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1464 | if (PyErr_Occurred()) return NULL; |
1465 | } Py_INCREF(Py_None); | |
1466 | _resultobj = Py_None; | |
1467 | return _resultobj; | |
1468 | } | |
1469 | ||
70b76c7c RD |
1470 | static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr) { |
1471 | wxSplitterEvent *src; | |
1472 | wxNotifyEvent *dest; | |
1473 | src = (wxSplitterEvent *) ptr; | |
1474 | dest = (wxNotifyEvent *) src; | |
1475 | return (void *) dest; | |
1476 | } | |
1477 | ||
e6056257 RD |
1478 | static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) { |
1479 | wxSplitterEvent *src; | |
1480 | wxCommandEvent *dest; | |
1481 | src = (wxSplitterEvent *) ptr; | |
1482 | dest = (wxCommandEvent *) src; | |
1483 | return (void *) dest; | |
1484 | } | |
1485 | ||
1486 | static void *SwigwxSplitterEventTowxEvent(void *ptr) { | |
1487 | wxSplitterEvent *src; | |
1488 | wxEvent *dest; | |
1489 | src = (wxSplitterEvent *) ptr; | |
1490 | dest = (wxEvent *) src; | |
1491 | return (void *) dest; | |
1492 | } | |
1493 | ||
1494 | static void *SwigwxSplitterEventTowxObject(void *ptr) { | |
1495 | wxSplitterEvent *src; | |
1496 | wxObject *dest; | |
1497 | src = (wxSplitterEvent *) ptr; | |
1498 | dest = (wxObject *) src; | |
1499 | return (void *) dest; | |
1500 | } | |
1501 | ||
1502 | #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1)) | |
1503 | static PyObject *_wrap_new_wxSplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1504 | PyObject * _resultobj; | |
1505 | wxSplitterEvent * _result; | |
1506 | wxEventType _arg0 = (wxEventType ) wxEVT_NULL; | |
1507 | wxSplitterWindow * _arg1 = (wxSplitterWindow *) NULL; | |
1508 | PyObject * _argo1 = 0; | |
1509 | char *_kwnames[] = { "type","splitter", NULL }; | |
1510 | char _ptemp[128]; | |
1511 | ||
1512 | self = self; | |
1513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxSplitterEvent",_kwnames,&_arg0,&_argo1)) | |
1514 | return NULL; | |
1515 | if (_argo1) { | |
1516 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1517 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSplitterWindow_p")) { | |
1518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p."); | |
1519 | return NULL; | |
1520 | } | |
1521 | } | |
1522 | { | |
0e2ff151 | 1523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1524 | _result = (wxSplitterEvent *)new_wxSplitterEvent(_arg0,_arg1); |
e6056257 | 1525 | |
0e2ff151 | 1526 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1527 | if (PyErr_Occurred()) return NULL; |
1528 | } if (_result) { | |
1529 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterEvent_p"); | |
1530 | _resultobj = Py_BuildValue("s",_ptemp); | |
1531 | } else { | |
1532 | Py_INCREF(Py_None); | |
1533 | _resultobj = Py_None; | |
1534 | } | |
1535 | return _resultobj; | |
1536 | } | |
1537 | ||
1538 | #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
1539 | static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1540 | PyObject * _resultobj; | |
1541 | int _result; | |
1542 | wxSplitterEvent * _arg0; | |
1543 | PyObject * _argo0 = 0; | |
1544 | char *_kwnames[] = { "self", NULL }; | |
1545 | ||
1546 | self = self; | |
1547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0)) | |
1548 | return NULL; | |
1549 | if (_argo0) { | |
1550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
1552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p."); | |
1553 | return NULL; | |
1554 | } | |
1555 | } | |
1556 | { | |
0e2ff151 | 1557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1558 | _result = (int )wxSplitterEvent_GetSashPosition(_arg0); |
e6056257 | 1559 | |
0e2ff151 | 1560 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1561 | if (PyErr_Occurred()) return NULL; |
1562 | } _resultobj = Py_BuildValue("i",_result); | |
1563 | return _resultobj; | |
1564 | } | |
1565 | ||
1566 | #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX()) | |
1567 | static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1568 | PyObject * _resultobj; | |
1569 | int _result; | |
1570 | wxSplitterEvent * _arg0; | |
1571 | PyObject * _argo0 = 0; | |
1572 | char *_kwnames[] = { "self", NULL }; | |
1573 | ||
1574 | self = self; | |
1575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0)) | |
1576 | return NULL; | |
1577 | if (_argo0) { | |
1578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
1580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p."); | |
1581 | return NULL; | |
1582 | } | |
1583 | } | |
1584 | { | |
0e2ff151 | 1585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1586 | _result = (int )wxSplitterEvent_GetX(_arg0); |
e6056257 | 1587 | |
0e2ff151 | 1588 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1589 | if (PyErr_Occurred()) return NULL; |
1590 | } _resultobj = Py_BuildValue("i",_result); | |
1591 | return _resultobj; | |
1592 | } | |
1593 | ||
1594 | #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY()) | |
1595 | static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1596 | PyObject * _resultobj; | |
1597 | int _result; | |
1598 | wxSplitterEvent * _arg0; | |
1599 | PyObject * _argo0 = 0; | |
1600 | char *_kwnames[] = { "self", NULL }; | |
1601 | ||
1602 | self = self; | |
1603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0)) | |
1604 | return NULL; | |
1605 | if (_argo0) { | |
1606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
1608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p."); | |
1609 | return NULL; | |
1610 | } | |
1611 | } | |
1612 | { | |
0e2ff151 | 1613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1614 | _result = (int )wxSplitterEvent_GetY(_arg0); |
e6056257 | 1615 | |
0e2ff151 | 1616 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1617 | if (PyErr_Occurred()) return NULL; |
1618 | } _resultobj = Py_BuildValue("i",_result); | |
1619 | return _resultobj; | |
1620 | } | |
1621 | ||
1622 | #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved()) | |
1623 | static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1624 | PyObject * _resultobj; | |
1625 | wxWindow * _result; | |
1626 | wxSplitterEvent * _arg0; | |
1627 | PyObject * _argo0 = 0; | |
1628 | char *_kwnames[] = { "self", NULL }; | |
1629 | ||
1630 | self = self; | |
1631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0)) | |
1632 | return NULL; | |
1633 | if (_argo0) { | |
1634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
1636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p."); | |
1637 | return NULL; | |
1638 | } | |
1639 | } | |
1640 | { | |
0e2ff151 | 1641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1642 | _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0); |
e6056257 | 1643 | |
0e2ff151 | 1644 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1645 | if (PyErr_Occurred()) return NULL; |
1646 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
1647 | return _resultobj; | |
1648 | } | |
1649 | ||
1650 | #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0)) | |
1651 | static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1652 | PyObject * _resultobj; | |
1653 | wxSplitterEvent * _arg0; | |
1654 | int _arg1; | |
1655 | PyObject * _argo0 = 0; | |
1656 | char *_kwnames[] = { "self","pos", NULL }; | |
1657 | ||
1658 | self = self; | |
1659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1)) | |
1660 | return NULL; | |
1661 | if (_argo0) { | |
1662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
1664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p."); | |
1665 | return NULL; | |
1666 | } | |
1667 | } | |
1668 | { | |
0e2ff151 | 1669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1670 | wxSplitterEvent_SetSashPosition(_arg0,_arg1); |
e6056257 | 1671 | |
0e2ff151 | 1672 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1673 | if (PyErr_Occurred()) return NULL; |
1674 | } Py_INCREF(Py_None); | |
1675 | _resultobj = Py_None; | |
1676 | return _resultobj; | |
1677 | } | |
1678 | ||
1679 | static void *SwigwxSplitterWindowTowxWindow(void *ptr) { | |
1680 | wxSplitterWindow *src; | |
1681 | wxWindow *dest; | |
1682 | src = (wxSplitterWindow *) ptr; | |
1683 | dest = (wxWindow *) src; | |
1684 | return (void *) dest; | |
1685 | } | |
1686 | ||
1687 | static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) { | |
1688 | wxSplitterWindow *src; | |
1689 | wxEvtHandler *dest; | |
1690 | src = (wxSplitterWindow *) ptr; | |
1691 | dest = (wxEvtHandler *) src; | |
1692 | return (void *) dest; | |
1693 | } | |
1694 | ||
1695 | static void *SwigwxSplitterWindowTowxObject(void *ptr) { | |
1696 | wxSplitterWindow *src; | |
1697 | wxObject *dest; | |
1698 | src = (wxSplitterWindow *) ptr; | |
1699 | dest = (wxObject *) src; | |
1700 | return (void *) dest; | |
1701 | } | |
1702 | ||
1703 | #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1704 | static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1705 | PyObject * _resultobj; | |
1706 | wxSplitterWindow * _result; | |
1707 | wxWindow * _arg0; | |
1708 | wxWindowID _arg1; | |
1709 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
1710 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
d84a9306 | 1711 | long _arg4 = (long ) (wxSP_3D)|wxCLIP_CHILDREN; |
c3bfa1cb | 1712 | wxString * _arg5 = (wxString *) &wxPySplitterNameStr; |
e6056257 RD |
1713 | PyObject * _argo0 = 0; |
1714 | wxPoint temp; | |
1715 | PyObject * _obj2 = 0; | |
1716 | wxSize temp0; | |
1717 | PyObject * _obj3 = 0; | |
c3bfa1cb | 1718 | PyObject * _obj5 = 0; |
e6056257 RD |
1719 | char *_kwnames[] = { "parent","id","point","size","style","name", NULL }; |
1720 | char _ptemp[128]; | |
1721 | ||
1722 | self = self; | |
c3bfa1cb | 1723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
e6056257 RD |
1724 | return NULL; |
1725 | if (_argo0) { | |
1726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p."); | |
1729 | return NULL; | |
1730 | } | |
1731 | } | |
1732 | if (_obj2) | |
1733 | { | |
1734 | _arg2 = &temp; | |
1735 | if (! wxPoint_helper(_obj2, &_arg2)) | |
1736 | return NULL; | |
1737 | } | |
1738 | if (_obj3) | |
1739 | { | |
1740 | _arg3 = &temp0; | |
1741 | if (! wxSize_helper(_obj3, &_arg3)) | |
1742 | return NULL; | |
c3bfa1cb RD |
1743 | } |
1744 | if (_obj5) | |
1745 | { | |
1746 | _arg5 = wxString_in_helper(_obj5); | |
1747 | if (_arg5 == NULL) | |
1748 | return NULL; | |
e6056257 RD |
1749 | } |
1750 | { | |
0e2ff151 | 1751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 1752 | _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
e6056257 | 1753 | |
0e2ff151 | 1754 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1755 | if (PyErr_Occurred()) return NULL; |
1756 | } if (_result) { | |
1757 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p"); | |
1758 | _resultobj = Py_BuildValue("s",_ptemp); | |
1759 | } else { | |
1760 | Py_INCREF(Py_None); | |
1761 | _resultobj = Py_None; | |
1762 | } | |
c3bfa1cb RD |
1763 | { |
1764 | if (_obj5) | |
1765 | delete _arg5; | |
1766 | } | |
e6056257 RD |
1767 | return _resultobj; |
1768 | } | |
1769 | ||
1770 | #define new_wxPreSplitterWindow() (new wxSplitterWindow()) | |
1771 | static PyObject *_wrap_new_wxPreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1772 | PyObject * _resultobj; | |
1773 | wxSplitterWindow * _result; | |
1774 | char *_kwnames[] = { NULL }; | |
1775 | char _ptemp[128]; | |
1776 | ||
1777 | self = self; | |
1778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSplitterWindow",_kwnames)) | |
1779 | return NULL; | |
1780 | { | |
0e2ff151 | 1781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1782 | _result = (wxSplitterWindow *)new_wxPreSplitterWindow(); |
e6056257 | 1783 | |
0e2ff151 | 1784 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1785 | if (PyErr_Occurred()) return NULL; |
1786 | } if (_result) { | |
1787 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p"); | |
1788 | _resultobj = Py_BuildValue("s",_ptemp); | |
1789 | } else { | |
1790 | Py_INCREF(Py_None); | |
1791 | _resultobj = Py_None; | |
1792 | } | |
1793 | return _resultobj; | |
1794 | } | |
1795 | ||
1796 | #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1797 | static PyObject *_wrap_wxSplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1798 | PyObject * _resultobj; | |
1799 | bool _result; | |
1800 | wxSplitterWindow * _arg0; | |
1801 | wxWindow * _arg1; | |
1802 | wxWindowID _arg2; | |
1803 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
1804 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
d84a9306 | 1805 | long _arg5 = (long ) (wxSP_3D)|wxCLIP_CHILDREN; |
c3bfa1cb | 1806 | wxString * _arg6 = (wxString *) &wxPySplitterNameStr; |
e6056257 RD |
1807 | PyObject * _argo0 = 0; |
1808 | PyObject * _argo1 = 0; | |
1809 | wxPoint temp; | |
1810 | PyObject * _obj3 = 0; | |
1811 | wxSize temp0; | |
1812 | PyObject * _obj4 = 0; | |
c3bfa1cb | 1813 | PyObject * _obj6 = 0; |
e6056257 RD |
1814 | char *_kwnames[] = { "self","parent","id","point","size","style","name", NULL }; |
1815 | ||
1816 | self = self; | |
c3bfa1cb | 1817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxSplitterWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6)) |
e6056257 RD |
1818 | return NULL; |
1819 | if (_argo0) { | |
1820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p."); | |
1823 | return NULL; | |
1824 | } | |
1825 | } | |
1826 | if (_argo1) { | |
1827 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1828 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p."); | |
1830 | return NULL; | |
1831 | } | |
1832 | } | |
1833 | if (_obj3) | |
1834 | { | |
1835 | _arg3 = &temp; | |
1836 | if (! wxPoint_helper(_obj3, &_arg3)) | |
1837 | return NULL; | |
1838 | } | |
1839 | if (_obj4) | |
1840 | { | |
1841 | _arg4 = &temp0; | |
1842 | if (! wxSize_helper(_obj4, &_arg4)) | |
1843 | return NULL; | |
c3bfa1cb RD |
1844 | } |
1845 | if (_obj6) | |
1846 | { | |
1847 | _arg6 = wxString_in_helper(_obj6); | |
1848 | if (_arg6 == NULL) | |
1849 | return NULL; | |
e6056257 RD |
1850 | } |
1851 | { | |
0e2ff151 | 1852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 1853 | _result = (bool )wxSplitterWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
e6056257 | 1854 | |
0e2ff151 | 1855 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1856 | if (PyErr_Occurred()) return NULL; |
1857 | } _resultobj = Py_BuildValue("i",_result); | |
c3bfa1cb RD |
1858 | { |
1859 | if (_obj6) | |
1860 | delete _arg6; | |
1861 | } | |
e6056257 RD |
1862 | return _resultobj; |
1863 | } | |
1864 | ||
1865 | #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1()) | |
1866 | static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1867 | PyObject * _resultobj; | |
1868 | wxWindow * _result; | |
1869 | wxSplitterWindow * _arg0; | |
1870 | PyObject * _argo0 = 0; | |
1871 | char *_kwnames[] = { "self", NULL }; | |
1872 | ||
1873 | self = self; | |
1874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0)) | |
1875 | return NULL; | |
1876 | if (_argo0) { | |
1877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p."); | |
1880 | return NULL; | |
1881 | } | |
1882 | } | |
1883 | { | |
0e2ff151 | 1884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1885 | _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0); |
e6056257 | 1886 | |
0e2ff151 | 1887 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1888 | if (PyErr_Occurred()) return NULL; |
1889 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
1890 | return _resultobj; | |
1891 | } | |
1892 | ||
1893 | #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2()) | |
1894 | static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1895 | PyObject * _resultobj; | |
1896 | wxWindow * _result; | |
1897 | wxSplitterWindow * _arg0; | |
1898 | PyObject * _argo0 = 0; | |
1899 | char *_kwnames[] = { "self", NULL }; | |
1900 | ||
1901 | self = self; | |
1902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0)) | |
1903 | return NULL; | |
1904 | if (_argo0) { | |
1905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p."); | |
1908 | return NULL; | |
1909 | } | |
1910 | } | |
1911 | { | |
0e2ff151 | 1912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1913 | _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0); |
e6056257 | 1914 | |
0e2ff151 | 1915 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1916 | if (PyErr_Occurred()) return NULL; |
1917 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
1918 | return _resultobj; | |
1919 | } | |
1920 | ||
1921 | #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0)) | |
1922 | static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1923 | PyObject * _resultobj; | |
1924 | wxSplitterWindow * _arg0; | |
1925 | int _arg1; | |
1926 | PyObject * _argo0 = 0; | |
1927 | char *_kwnames[] = { "self","mode", NULL }; | |
1928 | ||
1929 | self = self; | |
1930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1)) | |
1931 | return NULL; | |
1932 | if (_argo0) { | |
1933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p."); | |
1936 | return NULL; | |
1937 | } | |
1938 | } | |
1939 | { | |
0e2ff151 | 1940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1941 | wxSplitterWindow_SetSplitMode(_arg0,_arg1); |
e6056257 | 1942 | |
0e2ff151 | 1943 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1944 | if (PyErr_Occurred()) return NULL; |
1945 | } Py_INCREF(Py_None); | |
1946 | _resultobj = Py_None; | |
1947 | return _resultobj; | |
1948 | } | |
1949 | ||
1950 | #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode()) | |
1951 | static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1952 | PyObject * _resultobj; | |
1953 | int _result; | |
1954 | wxSplitterWindow * _arg0; | |
1955 | PyObject * _argo0 = 0; | |
1956 | char *_kwnames[] = { "self", NULL }; | |
1957 | ||
1958 | self = self; | |
1959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0)) | |
1960 | return NULL; | |
1961 | if (_argo0) { | |
1962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p."); | |
1965 | return NULL; | |
1966 | } | |
1967 | } | |
1968 | { | |
0e2ff151 | 1969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1970 | _result = (int )wxSplitterWindow_GetSplitMode(_arg0); |
e6056257 | 1971 | |
0e2ff151 | 1972 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
1973 | if (PyErr_Occurred()) return NULL; |
1974 | } _resultobj = Py_BuildValue("i",_result); | |
1975 | return _resultobj; | |
1976 | } | |
1977 | ||
1978 | #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0)) | |
1979 | static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1980 | PyObject * _resultobj; | |
1981 | wxSplitterWindow * _arg0; | |
1982 | wxWindow * _arg1; | |
1983 | PyObject * _argo0 = 0; | |
1984 | PyObject * _argo1 = 0; | |
1985 | char *_kwnames[] = { "self","window", NULL }; | |
1986 | ||
1987 | self = self; | |
1988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1)) | |
1989 | return NULL; | |
1990 | if (_argo0) { | |
1991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p."); | |
1994 | return NULL; | |
1995 | } | |
1996 | } | |
1997 | if (_argo1) { | |
1998 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1999 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p."); | |
2001 | return NULL; | |
2002 | } | |
2003 | } | |
2004 | { | |
0e2ff151 | 2005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2006 | wxSplitterWindow_Initialize(_arg0,_arg1); |
e6056257 | 2007 | |
0e2ff151 | 2008 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2009 | if (PyErr_Occurred()) return NULL; |
2010 | } Py_INCREF(Py_None); | |
2011 | _resultobj = Py_None; | |
2012 | return _resultobj; | |
2013 | } | |
2014 | ||
2015 | #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2)) | |
2016 | static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2017 | PyObject * _resultobj; | |
2018 | bool _result; | |
2019 | wxSplitterWindow * _arg0; | |
2020 | wxWindow * _arg1; | |
2021 | wxWindow * _arg2; | |
2022 | int _arg3 = (int ) 0; | |
2023 | PyObject * _argo0 = 0; | |
2024 | PyObject * _argo1 = 0; | |
2025 | PyObject * _argo2 = 0; | |
2026 | char *_kwnames[] = { "self","window1","window2","sashPosition", NULL }; | |
2027 | ||
2028 | self = self; | |
2029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) | |
2030 | return NULL; | |
2031 | if (_argo0) { | |
2032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p."); | |
2035 | return NULL; | |
2036 | } | |
2037 | } | |
2038 | if (_argo1) { | |
2039 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2040 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); | |
2042 | return NULL; | |
2043 | } | |
2044 | } | |
2045 | if (_argo2) { | |
2046 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2047 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
2048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); | |
2049 | return NULL; | |
2050 | } | |
2051 | } | |
2052 | { | |
0e2ff151 | 2053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2054 | _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3); |
e6056257 | 2055 | |
0e2ff151 | 2056 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2057 | if (PyErr_Occurred()) return NULL; |
2058 | } _resultobj = Py_BuildValue("i",_result); | |
2059 | return _resultobj; | |
2060 | } | |
2061 | ||
2062 | #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2)) | |
2063 | static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2064 | PyObject * _resultobj; | |
2065 | bool _result; | |
2066 | wxSplitterWindow * _arg0; | |
2067 | wxWindow * _arg1; | |
2068 | wxWindow * _arg2; | |
2069 | int _arg3 = (int ) 0; | |
2070 | PyObject * _argo0 = 0; | |
2071 | PyObject * _argo1 = 0; | |
2072 | PyObject * _argo2 = 0; | |
2073 | char *_kwnames[] = { "self","window1","window2","sashPosition", NULL }; | |
2074 | ||
2075 | self = self; | |
2076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) | |
2077 | return NULL; | |
2078 | if (_argo0) { | |
2079 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2080 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p."); | |
2082 | return NULL; | |
2083 | } | |
2084 | } | |
2085 | if (_argo1) { | |
2086 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2087 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); | |
2089 | return NULL; | |
2090 | } | |
2091 | } | |
2092 | if (_argo2) { | |
2093 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2094 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
2095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); | |
2096 | return NULL; | |
2097 | } | |
2098 | } | |
2099 | { | |
0e2ff151 | 2100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2101 | _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3); |
e6056257 | 2102 | |
0e2ff151 | 2103 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2104 | if (PyErr_Occurred()) return NULL; |
2105 | } _resultobj = Py_BuildValue("i",_result); | |
2106 | return _resultobj; | |
2107 | } | |
2108 | ||
2109 | #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0)) | |
2110 | static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2111 | PyObject * _resultobj; | |
2112 | bool _result; | |
2113 | wxSplitterWindow * _arg0; | |
2114 | wxWindow * _arg1 = (wxWindow *) NULL; | |
2115 | PyObject * _argo0 = 0; | |
2116 | PyObject * _argo1 = 0; | |
2117 | char *_kwnames[] = { "self","toRemove", NULL }; | |
2118 | ||
2119 | self = self; | |
2120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1)) | |
2121 | return NULL; | |
2122 | if (_argo0) { | |
2123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p."); | |
2126 | return NULL; | |
2127 | } | |
2128 | } | |
2129 | if (_argo1) { | |
2130 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2131 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p."); | |
2133 | return NULL; | |
2134 | } | |
2135 | } | |
2136 | { | |
0e2ff151 | 2137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2138 | _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1); |
e6056257 | 2139 | |
0e2ff151 | 2140 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2141 | if (PyErr_Occurred()) return NULL; |
2142 | } _resultobj = Py_BuildValue("i",_result); | |
2143 | return _resultobj; | |
2144 | } | |
2145 | ||
2146 | #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1)) | |
2147 | static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2148 | PyObject * _resultobj; | |
2149 | bool _result; | |
2150 | wxSplitterWindow * _arg0; | |
2151 | wxWindow * _arg1; | |
2152 | wxWindow * _arg2; | |
2153 | PyObject * _argo0 = 0; | |
2154 | PyObject * _argo1 = 0; | |
2155 | PyObject * _argo2 = 0; | |
2156 | char *_kwnames[] = { "self","winOld","winNew", NULL }; | |
2157 | ||
2158 | self = self; | |
2159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2)) | |
2160 | return NULL; | |
2161 | if (_argo0) { | |
2162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p."); | |
2165 | return NULL; | |
2166 | } | |
2167 | } | |
2168 | if (_argo1) { | |
2169 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2170 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p."); | |
2172 | return NULL; | |
2173 | } | |
2174 | } | |
2175 | if (_argo2) { | |
2176 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2177 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
2178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p."); | |
2179 | return NULL; | |
2180 | } | |
2181 | } | |
2182 | { | |
0e2ff151 | 2183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2184 | _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2); |
e6056257 | 2185 | |
0e2ff151 | 2186 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2187 | if (PyErr_Occurred()) return NULL; |
2188 | } _resultobj = Py_BuildValue("i",_result); | |
2189 | return _resultobj; | |
2190 | } | |
2191 | ||
2192 | #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit()) | |
2193 | static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2194 | PyObject * _resultobj; | |
2195 | bool _result; | |
2196 | wxSplitterWindow * _arg0; | |
2197 | PyObject * _argo0 = 0; | |
2198 | char *_kwnames[] = { "self", NULL }; | |
2199 | ||
2200 | self = self; | |
2201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0)) | |
2202 | return NULL; | |
2203 | if (_argo0) { | |
2204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p."); | |
2207 | return NULL; | |
2208 | } | |
2209 | } | |
2210 | { | |
0e2ff151 | 2211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2212 | _result = (bool )wxSplitterWindow_IsSplit(_arg0); |
e6056257 | 2213 | |
0e2ff151 | 2214 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2215 | if (PyErr_Occurred()) return NULL; |
2216 | } _resultobj = Py_BuildValue("i",_result); | |
2217 | return _resultobj; | |
2218 | } | |
2219 | ||
2220 | #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0)) | |
2221 | static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2222 | PyObject * _resultobj; | |
2223 | wxSplitterWindow * _arg0; | |
2224 | int _arg1; | |
2225 | PyObject * _argo0 = 0; | |
2226 | char *_kwnames[] = { "self","width", NULL }; | |
2227 | ||
2228 | self = self; | |
2229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1)) | |
2230 | return NULL; | |
2231 | if (_argo0) { | |
2232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p."); | |
2235 | return NULL; | |
2236 | } | |
2237 | } | |
2238 | { | |
0e2ff151 | 2239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2240 | wxSplitterWindow_SetSashSize(_arg0,_arg1); |
e6056257 | 2241 | |
0e2ff151 | 2242 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2243 | if (PyErr_Occurred()) return NULL; |
2244 | } Py_INCREF(Py_None); | |
2245 | _resultobj = Py_None; | |
2246 | return _resultobj; | |
2247 | } | |
2248 | ||
2249 | #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0)) | |
2250 | static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2251 | PyObject * _resultobj; | |
2252 | wxSplitterWindow * _arg0; | |
2253 | int _arg1; | |
2254 | PyObject * _argo0 = 0; | |
2255 | char *_kwnames[] = { "self","width", NULL }; | |
2256 | ||
2257 | self = self; | |
2258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1)) | |
2259 | return NULL; | |
2260 | if (_argo0) { | |
2261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p."); | |
2264 | return NULL; | |
2265 | } | |
2266 | } | |
2267 | { | |
0e2ff151 | 2268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2269 | wxSplitterWindow_SetBorderSize(_arg0,_arg1); |
e6056257 | 2270 | |
0e2ff151 | 2271 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2272 | if (PyErr_Occurred()) return NULL; |
2273 | } Py_INCREF(Py_None); | |
2274 | _resultobj = Py_None; | |
2275 | return _resultobj; | |
2276 | } | |
2277 | ||
2278 | #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize()) | |
2279 | static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2280 | PyObject * _resultobj; | |
2281 | int _result; | |
2282 | wxSplitterWindow * _arg0; | |
2283 | PyObject * _argo0 = 0; | |
2284 | char *_kwnames[] = { "self", NULL }; | |
2285 | ||
2286 | self = self; | |
2287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0)) | |
2288 | return NULL; | |
2289 | if (_argo0) { | |
2290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p."); | |
2293 | return NULL; | |
2294 | } | |
2295 | } | |
2296 | { | |
0e2ff151 | 2297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2298 | _result = (int )wxSplitterWindow_GetSashSize(_arg0); |
e6056257 | 2299 | |
0e2ff151 | 2300 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2301 | if (PyErr_Occurred()) return NULL; |
2302 | } _resultobj = Py_BuildValue("i",_result); | |
2303 | return _resultobj; | |
2304 | } | |
2305 | ||
2306 | #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize()) | |
2307 | static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2308 | PyObject * _resultobj; | |
2309 | int _result; | |
2310 | wxSplitterWindow * _arg0; | |
2311 | PyObject * _argo0 = 0; | |
2312 | char *_kwnames[] = { "self", NULL }; | |
2313 | ||
2314 | self = self; | |
2315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0)) | |
2316 | return NULL; | |
2317 | if (_argo0) { | |
2318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p."); | |
2321 | return NULL; | |
2322 | } | |
2323 | } | |
2324 | { | |
0e2ff151 | 2325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2326 | _result = (int )wxSplitterWindow_GetBorderSize(_arg0); |
e6056257 | 2327 | |
0e2ff151 | 2328 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2329 | if (PyErr_Occurred()) return NULL; |
2330 | } _resultobj = Py_BuildValue("i",_result); | |
2331 | return _resultobj; | |
2332 | } | |
2333 | ||
2334 | #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1)) | |
2335 | static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2336 | PyObject * _resultobj; | |
2337 | wxSplitterWindow * _arg0; | |
2338 | int _arg1; | |
2339 | bool _arg2 = (bool ) TRUE; | |
2340 | PyObject * _argo0 = 0; | |
2341 | int tempbool2 = (int) TRUE; | |
2342 | char *_kwnames[] = { "self","position","redraw", NULL }; | |
2343 | ||
2344 | self = self; | |
2345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2346 | return NULL; | |
2347 | if (_argo0) { | |
2348 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2349 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p."); | |
2351 | return NULL; | |
2352 | } | |
2353 | } | |
2354 | _arg2 = (bool ) tempbool2; | |
2355 | { | |
0e2ff151 | 2356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2357 | wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2); |
e6056257 | 2358 | |
0e2ff151 | 2359 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2360 | if (PyErr_Occurred()) return NULL; |
2361 | } Py_INCREF(Py_None); | |
2362 | _resultobj = Py_None; | |
2363 | return _resultobj; | |
2364 | } | |
2365 | ||
2366 | #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
2367 | static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2368 | PyObject * _resultobj; | |
2369 | int _result; | |
2370 | wxSplitterWindow * _arg0; | |
2371 | PyObject * _argo0 = 0; | |
2372 | char *_kwnames[] = { "self", NULL }; | |
2373 | ||
2374 | self = self; | |
2375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0)) | |
2376 | return NULL; | |
2377 | if (_argo0) { | |
2378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p."); | |
2381 | return NULL; | |
2382 | } | |
2383 | } | |
2384 | { | |
0e2ff151 | 2385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2386 | _result = (int )wxSplitterWindow_GetSashPosition(_arg0); |
e6056257 | 2387 | |
0e2ff151 | 2388 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2389 | if (PyErr_Occurred()) return NULL; |
2390 | } _resultobj = Py_BuildValue("i",_result); | |
2391 | return _resultobj; | |
2392 | } | |
2393 | ||
2394 | #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0)) | |
2395 | static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2396 | PyObject * _resultobj; | |
2397 | wxSplitterWindow * _arg0; | |
2398 | int _arg1; | |
2399 | PyObject * _argo0 = 0; | |
2400 | char *_kwnames[] = { "self","min", NULL }; | |
2401 | ||
2402 | self = self; | |
2403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1)) | |
2404 | return NULL; | |
2405 | if (_argo0) { | |
2406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p."); | |
2409 | return NULL; | |
2410 | } | |
2411 | } | |
2412 | { | |
0e2ff151 | 2413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2414 | wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1); |
e6056257 | 2415 | |
0e2ff151 | 2416 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2417 | if (PyErr_Occurred()) return NULL; |
2418 | } Py_INCREF(Py_None); | |
2419 | _resultobj = Py_None; | |
2420 | return _resultobj; | |
2421 | } | |
2422 | ||
2423 | #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize()) | |
2424 | static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2425 | PyObject * _resultobj; | |
2426 | int _result; | |
2427 | wxSplitterWindow * _arg0; | |
2428 | PyObject * _argo0 = 0; | |
2429 | char *_kwnames[] = { "self", NULL }; | |
2430 | ||
2431 | self = self; | |
2432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0)) | |
2433 | return NULL; | |
2434 | if (_argo0) { | |
2435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p."); | |
2438 | return NULL; | |
2439 | } | |
2440 | } | |
2441 | { | |
0e2ff151 | 2442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2443 | _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0); |
e6056257 | 2444 | |
0e2ff151 | 2445 | wxPyEndAllowThreads(__tstate); |
e6056257 RD |
2446 | if (PyErr_Occurred()) return NULL; |
2447 | } _resultobj = Py_BuildValue("i",_result); | |
2448 | return _resultobj; | |
2449 | } | |
2450 | ||
eb28fd47 RD |
2451 | #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows()) |
2452 | static PyObject *_wrap_wxSplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2453 | PyObject * _resultobj; | |
2454 | wxSplitterWindow * _arg0; | |
2455 | PyObject * _argo0 = 0; | |
2456 | char *_kwnames[] = { "self", NULL }; | |
2457 | ||
2458 | self = self; | |
2459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_SizeWindows",_kwnames,&_argo0)) | |
2460 | return NULL; | |
2461 | if (_argo0) { | |
2462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p."); | |
2465 | return NULL; | |
2466 | } | |
2467 | } | |
2468 | { | |
2469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2470 | wxSplitterWindow_SizeWindows(_arg0); | |
2471 | ||
2472 | wxPyEndAllowThreads(__tstate); | |
2473 | if (PyErr_Occurred()) return NULL; | |
2474 | } Py_INCREF(Py_None); | |
2475 | _resultobj = Py_None; | |
2476 | return _resultobj; | |
2477 | } | |
2478 | ||
2479 | #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0)) | |
2480 | static PyObject *_wrap_wxSplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2481 | PyObject * _resultobj; | |
2482 | wxSplitterWindow * _arg0; | |
2483 | bool _arg1; | |
2484 | PyObject * _argo0 = 0; | |
2485 | int tempbool1; | |
2486 | char *_kwnames[] = { "self","needUpdating", NULL }; | |
2487 | ||
2488 | self = self; | |
2489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames,&_argo0,&tempbool1)) | |
2490 | return NULL; | |
2491 | if (_argo0) { | |
2492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p."); | |
2495 | return NULL; | |
2496 | } | |
2497 | } | |
2498 | _arg1 = (bool ) tempbool1; | |
2499 | { | |
2500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2501 | wxSplitterWindow_SetNeedUpdating(_arg0,_arg1); | |
2502 | ||
2503 | wxPyEndAllowThreads(__tstate); | |
2504 | if (PyErr_Occurred()) return NULL; | |
2505 | } Py_INCREF(Py_None); | |
2506 | _resultobj = Py_None; | |
2507 | return _resultobj; | |
2508 | } | |
2509 | ||
2510 | #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating()) | |
2511 | static PyObject *_wrap_wxSplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2512 | PyObject * _resultobj; | |
2513 | bool _result; | |
2514 | wxSplitterWindow * _arg0; | |
2515 | PyObject * _argo0 = 0; | |
2516 | char *_kwnames[] = { "self", NULL }; | |
2517 | ||
2518 | self = self; | |
2519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetNeedUpdating",_kwnames,&_argo0)) | |
2520 | return NULL; | |
2521 | if (_argo0) { | |
2522 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2523 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
2524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p."); | |
2525 | return NULL; | |
2526 | } | |
2527 | } | |
2528 | { | |
2529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2530 | _result = (bool )wxSplitterWindow_GetNeedUpdating(_arg0); | |
2531 | ||
2532 | wxPyEndAllowThreads(__tstate); | |
2533 | if (PyErr_Occurred()) return NULL; | |
2534 | } _resultobj = Py_BuildValue("i",_result); | |
2535 | return _resultobj; | |
2536 | } | |
2537 | ||
6ca312ba RD |
2538 | static void *SwigwxPyWindowTowxWindow(void *ptr) { |
2539 | wxPyWindow *src; | |
2540 | wxWindow *dest; | |
2541 | src = (wxPyWindow *) ptr; | |
2542 | dest = (wxWindow *) src; | |
2543 | return (void *) dest; | |
2544 | } | |
2545 | ||
2546 | static void *SwigwxPyWindowTowxEvtHandler(void *ptr) { | |
2547 | wxPyWindow *src; | |
2548 | wxEvtHandler *dest; | |
2549 | src = (wxPyWindow *) ptr; | |
2550 | dest = (wxEvtHandler *) src; | |
2551 | return (void *) dest; | |
2552 | } | |
2553 | ||
2554 | static void *SwigwxPyWindowTowxObject(void *ptr) { | |
2555 | wxPyWindow *src; | |
2556 | wxObject *dest; | |
2557 | src = (wxPyWindow *) ptr; | |
2558 | dest = (wxObject *) src; | |
2559 | return (void *) dest; | |
2560 | } | |
2561 | ||
2562 | #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2563 | static PyObject *_wrap_new_wxPyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2564 | PyObject * _resultobj; | |
2565 | wxPyWindow * _result; | |
2566 | wxWindow * _arg0; | |
2567 | wxWindowID _arg1; | |
2568 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
2569 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
2570 | long _arg4 = (long ) 0; | |
2571 | wxString * _arg5 = (wxString *) &wxPyPanelNameStr; | |
2572 | PyObject * _argo0 = 0; | |
2573 | wxPoint temp; | |
2574 | PyObject * _obj2 = 0; | |
2575 | wxSize temp0; | |
2576 | PyObject * _obj3 = 0; | |
2577 | PyObject * _obj5 = 0; | |
2578 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
2579 | char _ptemp[128]; | |
2580 | ||
2581 | self = self; | |
2582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) | |
2583 | return NULL; | |
2584 | if (_argo0) { | |
2585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
2587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p."); | |
2588 | return NULL; | |
2589 | } | |
2590 | } | |
2591 | if (_obj2) | |
2592 | { | |
2593 | _arg2 = &temp; | |
2594 | if (! wxPoint_helper(_obj2, &_arg2)) | |
2595 | return NULL; | |
2596 | } | |
2597 | if (_obj3) | |
2598 | { | |
2599 | _arg3 = &temp0; | |
2600 | if (! wxSize_helper(_obj3, &_arg3)) | |
2601 | return NULL; | |
2602 | } | |
2603 | if (_obj5) | |
2604 | { | |
2605 | _arg5 = wxString_in_helper(_obj5); | |
2606 | if (_arg5 == NULL) | |
2607 | return NULL; | |
2608 | } | |
2609 | { | |
2610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2611 | _result = (wxPyWindow *)new_wxPyWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); | |
2612 | ||
2613 | wxPyEndAllowThreads(__tstate); | |
2614 | if (PyErr_Occurred()) return NULL; | |
2615 | } if (_result) { | |
2616 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyWindow_p"); | |
2617 | _resultobj = Py_BuildValue("s",_ptemp); | |
2618 | } else { | |
2619 | Py_INCREF(Py_None); | |
2620 | _resultobj = Py_None; | |
2621 | } | |
2622 | { | |
2623 | if (_obj5) | |
2624 | delete _arg5; | |
2625 | } | |
2626 | return _resultobj; | |
2627 | } | |
2628 | ||
2629 | #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) | |
2630 | static PyObject *_wrap_wxPyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2631 | PyObject * _resultobj; | |
2632 | wxPyWindow * _arg0; | |
2633 | PyObject * _arg1; | |
2634 | PyObject * _arg2; | |
2635 | PyObject * _argo0 = 0; | |
2636 | PyObject * _obj1 = 0; | |
2637 | PyObject * _obj2 = 0; | |
2638 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2639 | ||
2640 | self = self; | |
2641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) | |
2642 | return NULL; | |
2643 | if (_argo0) { | |
2644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p."); | |
2647 | return NULL; | |
2648 | } | |
2649 | } | |
2650 | { | |
2651 | _arg1 = _obj1; | |
2652 | } | |
2653 | { | |
2654 | _arg2 = _obj2; | |
2655 | } | |
2656 | { | |
2657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2658 | wxPyWindow__setCallbackInfo(_arg0,_arg1,_arg2); | |
2659 | ||
2660 | wxPyEndAllowThreads(__tstate); | |
2661 | if (PyErr_Occurred()) return NULL; | |
2662 | } Py_INCREF(Py_None); | |
2663 | _resultobj = Py_None; | |
2664 | return _resultobj; | |
2665 | } | |
2666 | ||
2667 | #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2668 | static PyObject *_wrap_wxPyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2669 | PyObject * _resultobj; | |
2670 | wxPyWindow * _arg0; | |
2671 | int _arg1; | |
2672 | int _arg2; | |
2673 | int _arg3; | |
2674 | int _arg4; | |
2675 | PyObject * _argo0 = 0; | |
2676 | char *_kwnames[] = { "self","x","y","width","height", NULL }; | |
2677 | ||
2678 | self = self; | |
2679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2680 | return NULL; | |
2681 | if (_argo0) { | |
2682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p."); | |
2685 | return NULL; | |
2686 | } | |
2687 | } | |
2688 | { | |
2689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2690 | wxPyWindow_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2691 | ||
2692 | wxPyEndAllowThreads(__tstate); | |
2693 | if (PyErr_Occurred()) return NULL; | |
2694 | } Py_INCREF(Py_None); | |
2695 | _resultobj = Py_None; | |
2696 | return _resultobj; | |
2697 | } | |
2698 | ||
2699 | #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2700 | static PyObject *_wrap_wxPyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2701 | PyObject * _resultobj; | |
2702 | wxPyWindow * _arg0; | |
2703 | int _arg1; | |
2704 | int _arg2; | |
2705 | int _arg3; | |
2706 | int _arg4; | |
2707 | int _arg5 = (int ) wxSIZE_AUTO; | |
2708 | PyObject * _argo0 = 0; | |
2709 | char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL }; | |
2710 | ||
2711 | self = self; | |
2712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2713 | return NULL; | |
2714 | if (_argo0) { | |
2715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p."); | |
2718 | return NULL; | |
2719 | } | |
2720 | } | |
2721 | { | |
2722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2723 | wxPyWindow_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2724 | ||
2725 | wxPyEndAllowThreads(__tstate); | |
2726 | if (PyErr_Occurred()) return NULL; | |
2727 | } Py_INCREF(Py_None); | |
2728 | _resultobj = Py_None; | |
2729 | return _resultobj; | |
2730 | } | |
2731 | ||
2732 | #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1)) | |
2733 | static PyObject *_wrap_wxPyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2734 | PyObject * _resultobj; | |
2735 | wxPyWindow * _arg0; | |
2736 | int _arg1; | |
2737 | int _arg2; | |
2738 | PyObject * _argo0 = 0; | |
2739 | char *_kwnames[] = { "self","width","height", NULL }; | |
2740 | ||
2741 | self = self; | |
2742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2743 | return NULL; | |
2744 | if (_argo0) { | |
2745 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2746 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p."); | |
2748 | return NULL; | |
2749 | } | |
2750 | } | |
2751 | { | |
2752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2753 | wxPyWindow_base_DoSetClientSize(_arg0,_arg1,_arg2); | |
2754 | ||
2755 | wxPyEndAllowThreads(__tstate); | |
2756 | if (PyErr_Occurred()) return NULL; | |
2757 | } Py_INCREF(Py_None); | |
2758 | _resultobj = Py_None; | |
2759 | return _resultobj; | |
2760 | } | |
2761 | ||
2762 | #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1)) | |
2763 | static PyObject *_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2764 | PyObject * _resultobj; | |
2765 | wxPyWindow * _arg0; | |
2766 | int _arg1; | |
2767 | int _arg2; | |
2768 | PyObject * _argo0 = 0; | |
2769 | char *_kwnames[] = { "self","x","y", NULL }; | |
2770 | ||
2771 | self = self; | |
2772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2773 | return NULL; | |
2774 | if (_argo0) { | |
2775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p."); | |
2778 | return NULL; | |
2779 | } | |
2780 | } | |
2781 | { | |
2782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2783 | wxPyWindow_base_DoSetVirtualSize(_arg0,_arg1,_arg2); | |
2784 | ||
2785 | wxPyEndAllowThreads(__tstate); | |
2786 | if (PyErr_Occurred()) return NULL; | |
2787 | } Py_INCREF(Py_None); | |
2788 | _resultobj = Py_None; | |
2789 | return _resultobj; | |
2790 | } | |
2791 | ||
2792 | #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1)) | |
2793 | static PyObject *_wrap_wxPyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2794 | PyObject * _resultobj; | |
2795 | wxPyWindow * _arg0; | |
2796 | int * _arg1; | |
2797 | int temp; | |
2798 | int * _arg2; | |
2799 | int temp0; | |
2800 | PyObject * _argo0 = 0; | |
2801 | char *_kwnames[] = { "self", NULL }; | |
2802 | ||
2803 | self = self; | |
2804 | { | |
2805 | _arg1 = &temp; | |
2806 | } | |
2807 | { | |
2808 | _arg2 = &temp0; | |
2809 | } | |
2810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetSize",_kwnames,&_argo0)) | |
2811 | return NULL; | |
2812 | if (_argo0) { | |
2813 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2814 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p."); | |
2816 | return NULL; | |
2817 | } | |
2818 | } | |
2819 | { | |
2820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2821 | wxPyWindow_base_DoGetSize(_arg0,_arg1,_arg2); | |
2822 | ||
2823 | wxPyEndAllowThreads(__tstate); | |
2824 | if (PyErr_Occurred()) return NULL; | |
2825 | } Py_INCREF(Py_None); | |
2826 | _resultobj = Py_None; | |
2827 | { | |
2828 | PyObject *o; | |
2829 | o = PyInt_FromLong((long) (*_arg1)); | |
2830 | _resultobj = t_output_helper(_resultobj, o); | |
2831 | } | |
2832 | { | |
2833 | PyObject *o; | |
2834 | o = PyInt_FromLong((long) (*_arg2)); | |
2835 | _resultobj = t_output_helper(_resultobj, o); | |
2836 | } | |
2837 | return _resultobj; | |
2838 | } | |
2839 | ||
2840 | #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1)) | |
2841 | static PyObject *_wrap_wxPyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2842 | PyObject * _resultobj; | |
2843 | wxPyWindow * _arg0; | |
2844 | int * _arg1; | |
2845 | int temp; | |
2846 | int * _arg2; | |
2847 | int temp0; | |
2848 | PyObject * _argo0 = 0; | |
2849 | char *_kwnames[] = { "self", NULL }; | |
2850 | ||
2851 | self = self; | |
2852 | { | |
2853 | _arg1 = &temp; | |
2854 | } | |
2855 | { | |
2856 | _arg2 = &temp0; | |
2857 | } | |
2858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetClientSize",_kwnames,&_argo0)) | |
2859 | return NULL; | |
2860 | if (_argo0) { | |
2861 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2862 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p."); | |
2864 | return NULL; | |
2865 | } | |
2866 | } | |
2867 | { | |
2868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2869 | wxPyWindow_base_DoGetClientSize(_arg0,_arg1,_arg2); | |
2870 | ||
2871 | wxPyEndAllowThreads(__tstate); | |
2872 | if (PyErr_Occurred()) return NULL; | |
2873 | } Py_INCREF(Py_None); | |
2874 | _resultobj = Py_None; | |
2875 | { | |
2876 | PyObject *o; | |
2877 | o = PyInt_FromLong((long) (*_arg1)); | |
2878 | _resultobj = t_output_helper(_resultobj, o); | |
2879 | } | |
2880 | { | |
2881 | PyObject *o; | |
2882 | o = PyInt_FromLong((long) (*_arg2)); | |
2883 | _resultobj = t_output_helper(_resultobj, o); | |
2884 | } | |
2885 | return _resultobj; | |
2886 | } | |
2887 | ||
2888 | #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1)) | |
2889 | static PyObject *_wrap_wxPyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2890 | PyObject * _resultobj; | |
2891 | wxPyWindow * _arg0; | |
2892 | int * _arg1; | |
2893 | int temp; | |
2894 | int * _arg2; | |
2895 | int temp0; | |
2896 | PyObject * _argo0 = 0; | |
2897 | char *_kwnames[] = { "self", NULL }; | |
2898 | ||
2899 | self = self; | |
2900 | { | |
2901 | _arg1 = &temp; | |
2902 | } | |
2903 | { | |
2904 | _arg2 = &temp0; | |
2905 | } | |
2906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetPosition",_kwnames,&_argo0)) | |
2907 | return NULL; | |
2908 | if (_argo0) { | |
2909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p."); | |
2912 | return NULL; | |
2913 | } | |
2914 | } | |
2915 | { | |
2916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2917 | wxPyWindow_base_DoGetPosition(_arg0,_arg1,_arg2); | |
2918 | ||
2919 | wxPyEndAllowThreads(__tstate); | |
2920 | if (PyErr_Occurred()) return NULL; | |
2921 | } Py_INCREF(Py_None); | |
2922 | _resultobj = Py_None; | |
2923 | { | |
2924 | PyObject *o; | |
2925 | o = PyInt_FromLong((long) (*_arg1)); | |
2926 | _resultobj = t_output_helper(_resultobj, o); | |
2927 | } | |
2928 | { | |
2929 | PyObject *o; | |
2930 | o = PyInt_FromLong((long) (*_arg2)); | |
2931 | _resultobj = t_output_helper(_resultobj, o); | |
2932 | } | |
2933 | return _resultobj; | |
2934 | } | |
2935 | ||
2936 | #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize()) | |
2937 | static PyObject *_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2938 | PyObject * _resultobj; | |
2939 | wxSize * _result; | |
2940 | wxPyWindow * _arg0; | |
2941 | PyObject * _argo0 = 0; | |
2942 | char *_kwnames[] = { "self", NULL }; | |
2943 | char _ptemp[128]; | |
2944 | ||
2945 | self = self; | |
2946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames,&_argo0)) | |
2947 | return NULL; | |
2948 | if (_argo0) { | |
2949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p."); | |
2952 | return NULL; | |
2953 | } | |
2954 | } | |
2955 | { | |
2956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2957 | _result = new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0)); | |
2958 | ||
2959 | wxPyEndAllowThreads(__tstate); | |
2960 | if (PyErr_Occurred()) return NULL; | |
2961 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
2962 | _resultobj = Py_BuildValue("s",_ptemp); | |
2963 | return _resultobj; | |
2964 | } | |
2965 | ||
2966 | #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize()) | |
2967 | static PyObject *_wrap_wxPyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2968 | PyObject * _resultobj; | |
2969 | wxSize * _result; | |
2970 | wxPyWindow * _arg0; | |
2971 | PyObject * _argo0 = 0; | |
2972 | char *_kwnames[] = { "self", NULL }; | |
2973 | char _ptemp[128]; | |
2974 | ||
2975 | self = self; | |
2976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetBestSize",_kwnames,&_argo0)) | |
2977 | return NULL; | |
2978 | if (_argo0) { | |
2979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
2981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p."); | |
2982 | return NULL; | |
2983 | } | |
2984 | } | |
2985 | { | |
2986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2987 | _result = new wxSize (wxPyWindow_base_DoGetBestSize(_arg0)); | |
2988 | ||
2989 | wxPyEndAllowThreads(__tstate); | |
2990 | if (PyErr_Occurred()) return NULL; | |
2991 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
2992 | _resultobj = Py_BuildValue("s",_ptemp); | |
2993 | return _resultobj; | |
2994 | } | |
2995 | ||
2996 | #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog()) | |
2997 | static PyObject *_wrap_wxPyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2998 | PyObject * _resultobj; | |
2999 | wxPyWindow * _arg0; | |
3000 | PyObject * _argo0 = 0; | |
3001 | char *_kwnames[] = { "self", NULL }; | |
3002 | ||
3003 | self = self; | |
3004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_InitDialog",_kwnames,&_argo0)) | |
3005 | return NULL; | |
3006 | if (_argo0) { | |
3007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p."); | |
3010 | return NULL; | |
3011 | } | |
3012 | } | |
3013 | { | |
3014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3015 | wxPyWindow_base_InitDialog(_arg0); | |
3016 | ||
3017 | wxPyEndAllowThreads(__tstate); | |
3018 | if (PyErr_Occurred()) return NULL; | |
3019 | } Py_INCREF(Py_None); | |
3020 | _resultobj = Py_None; | |
3021 | return _resultobj; | |
3022 | } | |
3023 | ||
3024 | #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow()) | |
3025 | static PyObject *_wrap_wxPyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3026 | PyObject * _resultobj; | |
3027 | bool _result; | |
3028 | wxPyWindow * _arg0; | |
3029 | PyObject * _argo0 = 0; | |
3030 | char *_kwnames[] = { "self", NULL }; | |
3031 | ||
3032 | self = self; | |
3033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataToWindow",_kwnames,&_argo0)) | |
3034 | return NULL; | |
3035 | if (_argo0) { | |
3036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p."); | |
3039 | return NULL; | |
3040 | } | |
3041 | } | |
3042 | { | |
3043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3044 | _result = (bool )wxPyWindow_base_TransferDataToWindow(_arg0); | |
3045 | ||
3046 | wxPyEndAllowThreads(__tstate); | |
3047 | if (PyErr_Occurred()) return NULL; | |
3048 | } _resultobj = Py_BuildValue("i",_result); | |
3049 | return _resultobj; | |
3050 | } | |
3051 | ||
3052 | #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow()) | |
3053 | static PyObject *_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3054 | PyObject * _resultobj; | |
3055 | bool _result; | |
3056 | wxPyWindow * _arg0; | |
3057 | PyObject * _argo0 = 0; | |
3058 | char *_kwnames[] = { "self", NULL }; | |
3059 | ||
3060 | self = self; | |
3061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames,&_argo0)) | |
3062 | return NULL; | |
3063 | if (_argo0) { | |
3064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p."); | |
3067 | return NULL; | |
3068 | } | |
3069 | } | |
3070 | { | |
3071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3072 | _result = (bool )wxPyWindow_base_TransferDataFromWindow(_arg0); | |
3073 | ||
3074 | wxPyEndAllowThreads(__tstate); | |
3075 | if (PyErr_Occurred()) return NULL; | |
3076 | } _resultobj = Py_BuildValue("i",_result); | |
3077 | return _resultobj; | |
3078 | } | |
3079 | ||
3080 | #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate()) | |
3081 | static PyObject *_wrap_wxPyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3082 | PyObject * _resultobj; | |
3083 | bool _result; | |
3084 | wxPyWindow * _arg0; | |
3085 | PyObject * _argo0 = 0; | |
3086 | char *_kwnames[] = { "self", NULL }; | |
3087 | ||
3088 | self = self; | |
3089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_Validate",_kwnames,&_argo0)) | |
3090 | return NULL; | |
3091 | if (_argo0) { | |
3092 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3093 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p."); | |
3095 | return NULL; | |
3096 | } | |
3097 | } | |
3098 | { | |
3099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3100 | _result = (bool )wxPyWindow_base_Validate(_arg0); | |
3101 | ||
3102 | wxPyEndAllowThreads(__tstate); | |
3103 | if (PyErr_Occurred()) return NULL; | |
3104 | } _resultobj = Py_BuildValue("i",_result); | |
3105 | return _resultobj; | |
3106 | } | |
3107 | ||
3108 | #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus()) | |
3109 | static PyObject *_wrap_wxPyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3110 | PyObject * _resultobj; | |
3111 | bool _result; | |
3112 | wxPyWindow * _arg0; | |
3113 | PyObject * _argo0 = 0; | |
3114 | char *_kwnames[] = { "self", NULL }; | |
3115 | ||
3116 | self = self; | |
3117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocus",_kwnames,&_argo0)) | |
3118 | return NULL; | |
3119 | if (_argo0) { | |
3120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p."); | |
3123 | return NULL; | |
3124 | } | |
3125 | } | |
3126 | { | |
3127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3128 | _result = (bool )wxPyWindow_base_AcceptsFocus(_arg0); | |
3129 | ||
3130 | wxPyEndAllowThreads(__tstate); | |
3131 | if (PyErr_Occurred()) return NULL; | |
3132 | } _resultobj = Py_BuildValue("i",_result); | |
3133 | return _resultobj; | |
3134 | } | |
3135 | ||
3136 | #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard()) | |
3137 | static PyObject *_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3138 | PyObject * _resultobj; | |
3139 | bool _result; | |
3140 | wxPyWindow * _arg0; | |
3141 | PyObject * _argo0 = 0; | |
3142 | char *_kwnames[] = { "self", NULL }; | |
3143 | ||
3144 | self = self; | |
3145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0)) | |
3146 | return NULL; | |
3147 | if (_argo0) { | |
3148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p."); | |
3151 | return NULL; | |
3152 | } | |
3153 | } | |
3154 | { | |
3155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3156 | _result = (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0); | |
3157 | ||
3158 | wxPyEndAllowThreads(__tstate); | |
3159 | if (PyErr_Occurred()) return NULL; | |
3160 | } _resultobj = Py_BuildValue("i",_result); | |
3161 | return _resultobj; | |
3162 | } | |
3163 | ||
3164 | #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize()) | |
3165 | static PyObject *_wrap_wxPyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3166 | PyObject * _resultobj; | |
3167 | wxSize * _result; | |
3168 | wxPyWindow * _arg0; | |
3169 | PyObject * _argo0 = 0; | |
3170 | char *_kwnames[] = { "self", NULL }; | |
3171 | char _ptemp[128]; | |
3172 | ||
3173 | self = self; | |
3174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_GetMaxSize",_kwnames,&_argo0)) | |
3175 | return NULL; | |
3176 | if (_argo0) { | |
3177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p."); | |
3180 | return NULL; | |
3181 | } | |
3182 | } | |
3183 | { | |
3184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3185 | _result = new wxSize (wxPyWindow_base_GetMaxSize(_arg0)); | |
3186 | ||
3187 | wxPyEndAllowThreads(__tstate); | |
3188 | if (PyErr_Occurred()) return NULL; | |
3189 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
3190 | _resultobj = Py_BuildValue("s",_ptemp); | |
3191 | return _resultobj; | |
3192 | } | |
3193 | ||
3e1f6ec4 RD |
3194 | #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0)) |
3195 | static PyObject *_wrap_wxPyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3196 | PyObject * _resultobj; | |
3197 | wxPyWindow * _arg0; | |
3198 | wxWindow * _arg1; | |
3199 | PyObject * _argo0 = 0; | |
3200 | PyObject * _argo1 = 0; | |
3201 | char *_kwnames[] = { "self","child", NULL }; | |
3202 | ||
3203 | self = self; | |
3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWindow_base_AddChild",_kwnames,&_argo0,&_argo1)) | |
3205 | return NULL; | |
3206 | if (_argo0) { | |
3207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p."); | |
3210 | return NULL; | |
3211 | } | |
3212 | } | |
3213 | if (_argo1) { | |
3214 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3215 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
3216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p."); | |
3217 | return NULL; | |
3218 | } | |
3219 | } | |
3220 | { | |
3221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3222 | wxPyWindow_base_AddChild(_arg0,_arg1); | |
3223 | ||
3224 | wxPyEndAllowThreads(__tstate); | |
3225 | if (PyErr_Occurred()) return NULL; | |
3226 | } Py_INCREF(Py_None); | |
3227 | _resultobj = Py_None; | |
3228 | return _resultobj; | |
3229 | } | |
3230 | ||
3231 | #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0)) | |
3232 | static PyObject *_wrap_wxPyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3233 | PyObject * _resultobj; | |
3234 | wxPyWindow * _arg0; | |
3235 | wxWindow * _arg1; | |
3236 | PyObject * _argo0 = 0; | |
3237 | PyObject * _argo1 = 0; | |
3238 | char *_kwnames[] = { "self","child", NULL }; | |
3239 | ||
3240 | self = self; | |
3241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWindow_base_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
3242 | return NULL; | |
3243 | if (_argo0) { | |
3244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) { | |
3246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p."); | |
3247 | return NULL; | |
3248 | } | |
3249 | } | |
3250 | if (_argo1) { | |
3251 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3252 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
3253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p."); | |
3254 | return NULL; | |
3255 | } | |
3256 | } | |
3257 | { | |
3258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3259 | wxPyWindow_base_RemoveChild(_arg0,_arg1); | |
3260 | ||
3261 | wxPyEndAllowThreads(__tstate); | |
3262 | if (PyErr_Occurred()) return NULL; | |
3263 | } Py_INCREF(Py_None); | |
3264 | _resultobj = Py_None; | |
3265 | return _resultobj; | |
3266 | } | |
3267 | ||
6ca312ba RD |
3268 | static void *SwigwxPyControlTowxControl(void *ptr) { |
3269 | wxPyControl *src; | |
3270 | wxControl *dest; | |
3271 | src = (wxPyControl *) ptr; | |
3272 | dest = (wxControl *) src; | |
3273 | return (void *) dest; | |
3274 | } | |
3275 | ||
3276 | static void *SwigwxPyControlTowxWindow(void *ptr) { | |
3277 | wxPyControl *src; | |
3278 | wxWindow *dest; | |
3279 | src = (wxPyControl *) ptr; | |
3280 | dest = (wxWindow *) src; | |
3281 | return (void *) dest; | |
3282 | } | |
3283 | ||
3284 | static void *SwigwxPyControlTowxEvtHandler(void *ptr) { | |
3285 | wxPyControl *src; | |
3286 | wxEvtHandler *dest; | |
3287 | src = (wxPyControl *) ptr; | |
3288 | dest = (wxEvtHandler *) src; | |
3289 | return (void *) dest; | |
3290 | } | |
3291 | ||
3292 | static void *SwigwxPyControlTowxObject(void *ptr) { | |
3293 | wxPyControl *src; | |
3294 | wxObject *dest; | |
3295 | src = (wxPyControl *) ptr; | |
3296 | dest = (wxObject *) src; | |
3297 | return (void *) dest; | |
3298 | } | |
3299 | ||
3300 | #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
3301 | static PyObject *_wrap_new_wxPyControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3302 | PyObject * _resultobj; | |
3303 | wxPyControl * _result; | |
3304 | wxWindow * _arg0; | |
3305 | wxWindowID _arg1; | |
3306 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
3307 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
3308 | long _arg4 = (long ) 0; | |
3309 | wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator; | |
3310 | wxString * _arg6 = (wxString *) &wxPyControlNameStr; | |
3311 | PyObject * _argo0 = 0; | |
3312 | wxPoint temp; | |
3313 | PyObject * _obj2 = 0; | |
3314 | wxSize temp0; | |
3315 | PyObject * _obj3 = 0; | |
3316 | PyObject * _argo5 = 0; | |
3317 | PyObject * _obj6 = 0; | |
3318 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; | |
3319 | char _ptemp[128]; | |
3320 | ||
3321 | self = self; | |
3322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxPyControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6)) | |
3323 | return NULL; | |
3324 | if (_argo0) { | |
3325 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3326 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
3327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p."); | |
3328 | return NULL; | |
3329 | } | |
3330 | } | |
3331 | if (_obj2) | |
3332 | { | |
3333 | _arg2 = &temp; | |
3334 | if (! wxPoint_helper(_obj2, &_arg2)) | |
3335 | return NULL; | |
3336 | } | |
3337 | if (_obj3) | |
3338 | { | |
3339 | _arg3 = &temp0; | |
3340 | if (! wxSize_helper(_obj3, &_arg3)) | |
3341 | return NULL; | |
3342 | } | |
3343 | if (_argo5) { | |
7108497a | 3344 | if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { |
6ca312ba RD |
3345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p."); |
3346 | return NULL; | |
3347 | } | |
3348 | } | |
3349 | if (_obj6) | |
3350 | { | |
3351 | _arg6 = wxString_in_helper(_obj6); | |
3352 | if (_arg6 == NULL) | |
3353 | return NULL; | |
3354 | } | |
3355 | { | |
3356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3357 | _result = (wxPyControl *)new_wxPyControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6); | |
3358 | ||
3359 | wxPyEndAllowThreads(__tstate); | |
3360 | if (PyErr_Occurred()) return NULL; | |
3361 | } if (_result) { | |
3362 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControl_p"); | |
3363 | _resultobj = Py_BuildValue("s",_ptemp); | |
3364 | } else { | |
3365 | Py_INCREF(Py_None); | |
3366 | _resultobj = Py_None; | |
3367 | } | |
3368 | { | |
3369 | if (_obj6) | |
3370 | delete _arg6; | |
3371 | } | |
3372 | return _resultobj; | |
3373 | } | |
3374 | ||
3375 | #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) | |
3376 | static PyObject *_wrap_wxPyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3377 | PyObject * _resultobj; | |
3378 | wxPyControl * _arg0; | |
3379 | PyObject * _arg1; | |
3380 | PyObject * _arg2; | |
3381 | PyObject * _argo0 = 0; | |
3382 | PyObject * _obj1 = 0; | |
3383 | PyObject * _obj2 = 0; | |
3384 | char *_kwnames[] = { "self","self","_class", NULL }; | |
3385 | ||
3386 | self = self; | |
3387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) | |
3388 | return NULL; | |
3389 | if (_argo0) { | |
3390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p."); | |
3393 | return NULL; | |
3394 | } | |
3395 | } | |
3396 | { | |
3397 | _arg1 = _obj1; | |
3398 | } | |
3399 | { | |
3400 | _arg2 = _obj2; | |
3401 | } | |
3402 | { | |
3403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3404 | wxPyControl__setCallbackInfo(_arg0,_arg1,_arg2); | |
3405 | ||
3406 | wxPyEndAllowThreads(__tstate); | |
3407 | if (PyErr_Occurred()) return NULL; | |
3408 | } Py_INCREF(Py_None); | |
3409 | _resultobj = Py_None; | |
3410 | return _resultobj; | |
3411 | } | |
3412 | ||
3413 | #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3414 | static PyObject *_wrap_wxPyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3415 | PyObject * _resultobj; | |
3416 | wxPyControl * _arg0; | |
3417 | int _arg1; | |
3418 | int _arg2; | |
3419 | int _arg3; | |
3420 | int _arg4; | |
3421 | PyObject * _argo0 = 0; | |
3422 | char *_kwnames[] = { "self","x","y","width","height", NULL }; | |
3423 | ||
3424 | self = self; | |
3425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3426 | return NULL; | |
3427 | if (_argo0) { | |
3428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p."); | |
3431 | return NULL; | |
3432 | } | |
3433 | } | |
3434 | { | |
3435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3436 | wxPyControl_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3437 | ||
3438 | wxPyEndAllowThreads(__tstate); | |
3439 | if (PyErr_Occurred()) return NULL; | |
3440 | } Py_INCREF(Py_None); | |
3441 | _resultobj = Py_None; | |
3442 | return _resultobj; | |
3443 | } | |
3444 | ||
3445 | #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3446 | static PyObject *_wrap_wxPyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3447 | PyObject * _resultobj; | |
3448 | wxPyControl * _arg0; | |
3449 | int _arg1; | |
3450 | int _arg2; | |
3451 | int _arg3; | |
3452 | int _arg4; | |
3453 | int _arg5 = (int ) wxSIZE_AUTO; | |
3454 | PyObject * _argo0 = 0; | |
3455 | char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL }; | |
3456 | ||
3457 | self = self; | |
3458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3459 | return NULL; | |
3460 | if (_argo0) { | |
3461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p."); | |
3464 | return NULL; | |
3465 | } | |
3466 | } | |
3467 | { | |
3468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3469 | wxPyControl_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3470 | ||
3471 | wxPyEndAllowThreads(__tstate); | |
3472 | if (PyErr_Occurred()) return NULL; | |
3473 | } Py_INCREF(Py_None); | |
3474 | _resultobj = Py_None; | |
3475 | return _resultobj; | |
3476 | } | |
3477 | ||
3478 | #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1)) | |
3479 | static PyObject *_wrap_wxPyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3480 | PyObject * _resultobj; | |
3481 | wxPyControl * _arg0; | |
3482 | int _arg1; | |
3483 | int _arg2; | |
3484 | PyObject * _argo0 = 0; | |
3485 | char *_kwnames[] = { "self","width","height", NULL }; | |
3486 | ||
3487 | self = self; | |
3488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3489 | return NULL; | |
3490 | if (_argo0) { | |
3491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p."); | |
3494 | return NULL; | |
3495 | } | |
3496 | } | |
3497 | { | |
3498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3499 | wxPyControl_base_DoSetClientSize(_arg0,_arg1,_arg2); | |
3500 | ||
3501 | wxPyEndAllowThreads(__tstate); | |
3502 | if (PyErr_Occurred()) return NULL; | |
3503 | } Py_INCREF(Py_None); | |
3504 | _resultobj = Py_None; | |
3505 | return _resultobj; | |
3506 | } | |
3507 | ||
3508 | #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1)) | |
3509 | static PyObject *_wrap_wxPyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3510 | PyObject * _resultobj; | |
3511 | wxPyControl * _arg0; | |
3512 | int _arg1; | |
3513 | int _arg2; | |
3514 | PyObject * _argo0 = 0; | |
3515 | char *_kwnames[] = { "self","x","y", NULL }; | |
3516 | ||
3517 | self = self; | |
3518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3519 | return NULL; | |
3520 | if (_argo0) { | |
3521 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3522 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p."); | |
3524 | return NULL; | |
3525 | } | |
3526 | } | |
3527 | { | |
3528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3529 | wxPyControl_base_DoSetVirtualSize(_arg0,_arg1,_arg2); | |
3530 | ||
3531 | wxPyEndAllowThreads(__tstate); | |
3532 | if (PyErr_Occurred()) return NULL; | |
3533 | } Py_INCREF(Py_None); | |
3534 | _resultobj = Py_None; | |
3535 | return _resultobj; | |
3536 | } | |
3537 | ||
3538 | #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1)) | |
3539 | static PyObject *_wrap_wxPyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3540 | PyObject * _resultobj; | |
3541 | wxPyControl * _arg0; | |
3542 | int * _arg1; | |
3543 | int temp; | |
3544 | int * _arg2; | |
3545 | int temp0; | |
3546 | PyObject * _argo0 = 0; | |
3547 | char *_kwnames[] = { "self", NULL }; | |
3548 | ||
3549 | self = self; | |
3550 | { | |
3551 | _arg1 = &temp; | |
3552 | } | |
3553 | { | |
3554 | _arg2 = &temp0; | |
3555 | } | |
3556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetSize",_kwnames,&_argo0)) | |
3557 | return NULL; | |
3558 | if (_argo0) { | |
3559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p."); | |
3562 | return NULL; | |
3563 | } | |
3564 | } | |
3565 | { | |
3566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3567 | wxPyControl_base_DoGetSize(_arg0,_arg1,_arg2); | |
3568 | ||
3569 | wxPyEndAllowThreads(__tstate); | |
3570 | if (PyErr_Occurred()) return NULL; | |
3571 | } Py_INCREF(Py_None); | |
3572 | _resultobj = Py_None; | |
3573 | { | |
3574 | PyObject *o; | |
3575 | o = PyInt_FromLong((long) (*_arg1)); | |
3576 | _resultobj = t_output_helper(_resultobj, o); | |
3577 | } | |
3578 | { | |
3579 | PyObject *o; | |
3580 | o = PyInt_FromLong((long) (*_arg2)); | |
3581 | _resultobj = t_output_helper(_resultobj, o); | |
3582 | } | |
3583 | return _resultobj; | |
3584 | } | |
3585 | ||
3586 | #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1)) | |
3587 | static PyObject *_wrap_wxPyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3588 | PyObject * _resultobj; | |
3589 | wxPyControl * _arg0; | |
3590 | int * _arg1; | |
3591 | int temp; | |
3592 | int * _arg2; | |
3593 | int temp0; | |
3594 | PyObject * _argo0 = 0; | |
3595 | char *_kwnames[] = { "self", NULL }; | |
3596 | ||
3597 | self = self; | |
3598 | { | |
3599 | _arg1 = &temp; | |
3600 | } | |
3601 | { | |
3602 | _arg2 = &temp0; | |
3603 | } | |
3604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetClientSize",_kwnames,&_argo0)) | |
3605 | return NULL; | |
3606 | if (_argo0) { | |
3607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p."); | |
3610 | return NULL; | |
3611 | } | |
3612 | } | |
3613 | { | |
3614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3615 | wxPyControl_base_DoGetClientSize(_arg0,_arg1,_arg2); | |
3616 | ||
3617 | wxPyEndAllowThreads(__tstate); | |
3618 | if (PyErr_Occurred()) return NULL; | |
3619 | } Py_INCREF(Py_None); | |
3620 | _resultobj = Py_None; | |
3621 | { | |
3622 | PyObject *o; | |
3623 | o = PyInt_FromLong((long) (*_arg1)); | |
3624 | _resultobj = t_output_helper(_resultobj, o); | |
3625 | } | |
3626 | { | |
3627 | PyObject *o; | |
3628 | o = PyInt_FromLong((long) (*_arg2)); | |
3629 | _resultobj = t_output_helper(_resultobj, o); | |
3630 | } | |
3631 | return _resultobj; | |
3632 | } | |
3633 | ||
3634 | #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1)) | |
3635 | static PyObject *_wrap_wxPyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3636 | PyObject * _resultobj; | |
3637 | wxPyControl * _arg0; | |
3638 | int * _arg1; | |
3639 | int temp; | |
3640 | int * _arg2; | |
3641 | int temp0; | |
3642 | PyObject * _argo0 = 0; | |
3643 | char *_kwnames[] = { "self", NULL }; | |
3644 | ||
3645 | self = self; | |
3646 | { | |
3647 | _arg1 = &temp; | |
3648 | } | |
3649 | { | |
3650 | _arg2 = &temp0; | |
3651 | } | |
3652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetPosition",_kwnames,&_argo0)) | |
3653 | return NULL; | |
3654 | if (_argo0) { | |
3655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p."); | |
3658 | return NULL; | |
3659 | } | |
3660 | } | |
3661 | { | |
3662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3663 | wxPyControl_base_DoGetPosition(_arg0,_arg1,_arg2); | |
3664 | ||
3665 | wxPyEndAllowThreads(__tstate); | |
3666 | if (PyErr_Occurred()) return NULL; | |
3667 | } Py_INCREF(Py_None); | |
3668 | _resultobj = Py_None; | |
3669 | { | |
3670 | PyObject *o; | |
3671 | o = PyInt_FromLong((long) (*_arg1)); | |
3672 | _resultobj = t_output_helper(_resultobj, o); | |
3673 | } | |
3674 | { | |
3675 | PyObject *o; | |
3676 | o = PyInt_FromLong((long) (*_arg2)); | |
3677 | _resultobj = t_output_helper(_resultobj, o); | |
3678 | } | |
3679 | return _resultobj; | |
3680 | } | |
3681 | ||
3682 | #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize()) | |
3683 | static PyObject *_wrap_wxPyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3684 | PyObject * _resultobj; | |
3685 | wxSize * _result; | |
3686 | wxPyControl * _arg0; | |
3687 | PyObject * _argo0 = 0; | |
3688 | char *_kwnames[] = { "self", NULL }; | |
3689 | char _ptemp[128]; | |
3690 | ||
3691 | self = self; | |
3692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetVirtualSize",_kwnames,&_argo0)) | |
3693 | return NULL; | |
3694 | if (_argo0) { | |
3695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p."); | |
3698 | return NULL; | |
3699 | } | |
3700 | } | |
3701 | { | |
3702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3703 | _result = new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0)); | |
3704 | ||
3705 | wxPyEndAllowThreads(__tstate); | |
3706 | if (PyErr_Occurred()) return NULL; | |
3707 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
3708 | _resultobj = Py_BuildValue("s",_ptemp); | |
3709 | return _resultobj; | |
3710 | } | |
3711 | ||
3712 | #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize()) | |
3713 | static PyObject *_wrap_wxPyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3714 | PyObject * _resultobj; | |
3715 | wxSize * _result; | |
3716 | wxPyControl * _arg0; | |
3717 | PyObject * _argo0 = 0; | |
3718 | char *_kwnames[] = { "self", NULL }; | |
3719 | char _ptemp[128]; | |
3720 | ||
3721 | self = self; | |
3722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetBestSize",_kwnames,&_argo0)) | |
3723 | return NULL; | |
3724 | if (_argo0) { | |
3725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p."); | |
3728 | return NULL; | |
3729 | } | |
3730 | } | |
3731 | { | |
3732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3733 | _result = new wxSize (wxPyControl_base_DoGetBestSize(_arg0)); | |
3734 | ||
3735 | wxPyEndAllowThreads(__tstate); | |
3736 | if (PyErr_Occurred()) return NULL; | |
3737 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
3738 | _resultobj = Py_BuildValue("s",_ptemp); | |
3739 | return _resultobj; | |
3740 | } | |
3741 | ||
3742 | #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog()) | |
3743 | static PyObject *_wrap_wxPyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3744 | PyObject * _resultobj; | |
3745 | wxPyControl * _arg0; | |
3746 | PyObject * _argo0 = 0; | |
3747 | char *_kwnames[] = { "self", NULL }; | |
3748 | ||
3749 | self = self; | |
3750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_InitDialog",_kwnames,&_argo0)) | |
3751 | return NULL; | |
3752 | if (_argo0) { | |
3753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p."); | |
3756 | return NULL; | |
3757 | } | |
3758 | } | |
3759 | { | |
3760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3761 | wxPyControl_base_InitDialog(_arg0); | |
3762 | ||
3763 | wxPyEndAllowThreads(__tstate); | |
3764 | if (PyErr_Occurred()) return NULL; | |
3765 | } Py_INCREF(Py_None); | |
3766 | _resultobj = Py_None; | |
3767 | return _resultobj; | |
3768 | } | |
3769 | ||
3770 | #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow()) | |
3771 | static PyObject *_wrap_wxPyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3772 | PyObject * _resultobj; | |
3773 | bool _result; | |
3774 | wxPyControl * _arg0; | |
3775 | PyObject * _argo0 = 0; | |
3776 | char *_kwnames[] = { "self", NULL }; | |
3777 | ||
3778 | self = self; | |
3779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataToWindow",_kwnames,&_argo0)) | |
3780 | return NULL; | |
3781 | if (_argo0) { | |
3782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p."); | |
3785 | return NULL; | |
3786 | } | |
3787 | } | |
3788 | { | |
3789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3790 | _result = (bool )wxPyControl_base_TransferDataToWindow(_arg0); | |
3791 | ||
3792 | wxPyEndAllowThreads(__tstate); | |
3793 | if (PyErr_Occurred()) return NULL; | |
3794 | } _resultobj = Py_BuildValue("i",_result); | |
3795 | return _resultobj; | |
3796 | } | |
3797 | ||
3798 | #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow()) | |
3799 | static PyObject *_wrap_wxPyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3800 | PyObject * _resultobj; | |
3801 | bool _result; | |
3802 | wxPyControl * _arg0; | |
3803 | PyObject * _argo0 = 0; | |
3804 | char *_kwnames[] = { "self", NULL }; | |
3805 | ||
3806 | self = self; | |
3807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataFromWindow",_kwnames,&_argo0)) | |
3808 | return NULL; | |
3809 | if (_argo0) { | |
3810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p."); | |
3813 | return NULL; | |
3814 | } | |
3815 | } | |
3816 | { | |
3817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3818 | _result = (bool )wxPyControl_base_TransferDataFromWindow(_arg0); | |
3819 | ||
3820 | wxPyEndAllowThreads(__tstate); | |
3821 | if (PyErr_Occurred()) return NULL; | |
3822 | } _resultobj = Py_BuildValue("i",_result); | |
3823 | return _resultobj; | |
3824 | } | |
3825 | ||
3826 | #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate()) | |
3827 | static PyObject *_wrap_wxPyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3828 | PyObject * _resultobj; | |
3829 | bool _result; | |
3830 | wxPyControl * _arg0; | |
3831 | PyObject * _argo0 = 0; | |
3832 | char *_kwnames[] = { "self", NULL }; | |
3833 | ||
3834 | self = self; | |
3835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_Validate",_kwnames,&_argo0)) | |
3836 | return NULL; | |
3837 | if (_argo0) { | |
3838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p."); | |
3841 | return NULL; | |
3842 | } | |
3843 | } | |
3844 | { | |
3845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3846 | _result = (bool )wxPyControl_base_Validate(_arg0); | |
3847 | ||
3848 | wxPyEndAllowThreads(__tstate); | |
3849 | if (PyErr_Occurred()) return NULL; | |
3850 | } _resultobj = Py_BuildValue("i",_result); | |
3851 | return _resultobj; | |
3852 | } | |
3853 | ||
3854 | #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus()) | |
3855 | static PyObject *_wrap_wxPyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3856 | PyObject * _resultobj; | |
3857 | bool _result; | |
3858 | wxPyControl * _arg0; | |
3859 | PyObject * _argo0 = 0; | |
3860 | char *_kwnames[] = { "self", NULL }; | |
3861 | ||
3862 | self = self; | |
3863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocus",_kwnames,&_argo0)) | |
3864 | return NULL; | |
3865 | if (_argo0) { | |
3866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p."); | |
3869 | return NULL; | |
3870 | } | |
3871 | } | |
3872 | { | |
3873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3874 | _result = (bool )wxPyControl_base_AcceptsFocus(_arg0); | |
3875 | ||
3876 | wxPyEndAllowThreads(__tstate); | |
3877 | if (PyErr_Occurred()) return NULL; | |
3878 | } _resultobj = Py_BuildValue("i",_result); | |
3879 | return _resultobj; | |
3880 | } | |
3881 | ||
3882 | #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard()) | |
3883 | static PyObject *_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3884 | PyObject * _resultobj; | |
3885 | bool _result; | |
3886 | wxPyControl * _arg0; | |
3887 | PyObject * _argo0 = 0; | |
3888 | char *_kwnames[] = { "self", NULL }; | |
3889 | ||
3890 | self = self; | |
3891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0)) | |
3892 | return NULL; | |
3893 | if (_argo0) { | |
3894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p."); | |
3897 | return NULL; | |
3898 | } | |
3899 | } | |
3900 | { | |
3901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3902 | _result = (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0); | |
3903 | ||
3904 | wxPyEndAllowThreads(__tstate); | |
3905 | if (PyErr_Occurred()) return NULL; | |
3906 | } _resultobj = Py_BuildValue("i",_result); | |
3907 | return _resultobj; | |
3908 | } | |
3909 | ||
3910 | #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize()) | |
3911 | static PyObject *_wrap_wxPyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3912 | PyObject * _resultobj; | |
3913 | wxSize * _result; | |
3914 | wxPyControl * _arg0; | |
3915 | PyObject * _argo0 = 0; | |
3916 | char *_kwnames[] = { "self", NULL }; | |
3917 | char _ptemp[128]; | |
3918 | ||
3919 | self = self; | |
3920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_GetMaxSize",_kwnames,&_argo0)) | |
3921 | return NULL; | |
3922 | if (_argo0) { | |
3923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p."); | |
3926 | return NULL; | |
3927 | } | |
3928 | } | |
3929 | { | |
3930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3931 | _result = new wxSize (wxPyControl_base_GetMaxSize(_arg0)); | |
3932 | ||
3933 | wxPyEndAllowThreads(__tstate); | |
3934 | if (PyErr_Occurred()) return NULL; | |
3935 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
3936 | _resultobj = Py_BuildValue("s",_ptemp); | |
3937 | return _resultobj; | |
3938 | } | |
3939 | ||
3e1f6ec4 RD |
3940 | #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0)) |
3941 | static PyObject *_wrap_wxPyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3942 | PyObject * _resultobj; | |
3943 | wxPyControl * _arg0; | |
3944 | wxWindow * _arg1; | |
3945 | PyObject * _argo0 = 0; | |
3946 | PyObject * _argo1 = 0; | |
3947 | char *_kwnames[] = { "self","child", NULL }; | |
3948 | ||
3949 | self = self; | |
3950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControl_base_AddChild",_kwnames,&_argo0,&_argo1)) | |
3951 | return NULL; | |
3952 | if (_argo0) { | |
3953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p."); | |
3956 | return NULL; | |
3957 | } | |
3958 | } | |
3959 | if (_argo1) { | |
3960 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3961 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
3962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p."); | |
3963 | return NULL; | |
3964 | } | |
3965 | } | |
3966 | { | |
3967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3968 | wxPyControl_base_AddChild(_arg0,_arg1); | |
3969 | ||
3970 | wxPyEndAllowThreads(__tstate); | |
3971 | if (PyErr_Occurred()) return NULL; | |
3972 | } Py_INCREF(Py_None); | |
3973 | _resultobj = Py_None; | |
3974 | return _resultobj; | |
3975 | } | |
3976 | ||
3977 | #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0)) | |
3978 | static PyObject *_wrap_wxPyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3979 | PyObject * _resultobj; | |
3980 | wxPyControl * _arg0; | |
3981 | wxWindow * _arg1; | |
3982 | PyObject * _argo0 = 0; | |
3983 | PyObject * _argo1 = 0; | |
3984 | char *_kwnames[] = { "self","child", NULL }; | |
3985 | ||
3986 | self = self; | |
3987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControl_base_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
3988 | return NULL; | |
3989 | if (_argo0) { | |
3990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) { | |
3992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p."); | |
3993 | return NULL; | |
3994 | } | |
3995 | } | |
3996 | if (_argo1) { | |
3997 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3998 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
3999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p."); | |
4000 | return NULL; | |
4001 | } | |
4002 | } | |
4003 | { | |
4004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4005 | wxPyControl_base_RemoveChild(_arg0,_arg1); | |
4006 | ||
4007 | wxPyEndAllowThreads(__tstate); | |
4008 | if (PyErr_Occurred()) return NULL; | |
4009 | } Py_INCREF(Py_None); | |
4010 | _resultobj = Py_None; | |
4011 | return _resultobj; | |
4012 | } | |
4013 | ||
4615b725 RD |
4014 | static void *SwigwxPyPanelTowxPanel(void *ptr) { |
4015 | wxPyPanel *src; | |
4016 | wxPanel *dest; | |
4017 | src = (wxPyPanel *) ptr; | |
4018 | dest = (wxPanel *) src; | |
4019 | return (void *) dest; | |
4020 | } | |
4021 | ||
4022 | static void *SwigwxPyPanelTowxWindow(void *ptr) { | |
4023 | wxPyPanel *src; | |
4024 | wxWindow *dest; | |
4025 | src = (wxPyPanel *) ptr; | |
4026 | dest = (wxWindow *) src; | |
4027 | return (void *) dest; | |
4028 | } | |
4029 | ||
4030 | static void *SwigwxPyPanelTowxEvtHandler(void *ptr) { | |
4031 | wxPyPanel *src; | |
4032 | wxEvtHandler *dest; | |
4033 | src = (wxPyPanel *) ptr; | |
4034 | dest = (wxEvtHandler *) src; | |
4035 | return (void *) dest; | |
4036 | } | |
4037 | ||
4038 | static void *SwigwxPyPanelTowxObject(void *ptr) { | |
4039 | wxPyPanel *src; | |
4040 | wxObject *dest; | |
4041 | src = (wxPyPanel *) ptr; | |
4042 | dest = (wxObject *) src; | |
4043 | return (void *) dest; | |
4044 | } | |
4045 | ||
4046 | #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4047 | static PyObject *_wrap_new_wxPyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4048 | PyObject * _resultobj; | |
4049 | wxPyPanel * _result; | |
4050 | wxWindow * _arg0; | |
4051 | wxWindowID _arg1; | |
4052 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
4053 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
4054 | long _arg4 = (long ) 0; | |
4055 | wxString * _arg5 = (wxString *) &wxPyPanelNameStr; | |
4056 | PyObject * _argo0 = 0; | |
4057 | wxPoint temp; | |
4058 | PyObject * _obj2 = 0; | |
4059 | wxSize temp0; | |
4060 | PyObject * _obj3 = 0; | |
4061 | PyObject * _obj5 = 0; | |
4062 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
4063 | char _ptemp[128]; | |
4064 | ||
4065 | self = self; | |
4066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) | |
4067 | return NULL; | |
4068 | if (_argo0) { | |
4069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
4071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p."); | |
4072 | return NULL; | |
4073 | } | |
4074 | } | |
4075 | if (_obj2) | |
4076 | { | |
4077 | _arg2 = &temp; | |
4078 | if (! wxPoint_helper(_obj2, &_arg2)) | |
4079 | return NULL; | |
4080 | } | |
4081 | if (_obj3) | |
4082 | { | |
4083 | _arg3 = &temp0; | |
4084 | if (! wxSize_helper(_obj3, &_arg3)) | |
4085 | return NULL; | |
4086 | } | |
4087 | if (_obj5) | |
4088 | { | |
4089 | _arg5 = wxString_in_helper(_obj5); | |
4090 | if (_arg5 == NULL) | |
4091 | return NULL; | |
4092 | } | |
4093 | { | |
4094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4095 | _result = (wxPyPanel *)new_wxPyPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); | |
4096 | ||
4097 | wxPyEndAllowThreads(__tstate); | |
4098 | if (PyErr_Occurred()) return NULL; | |
4099 | } if (_result) { | |
4100 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPanel_p"); | |
4101 | _resultobj = Py_BuildValue("s",_ptemp); | |
4102 | } else { | |
4103 | Py_INCREF(Py_None); | |
4104 | _resultobj = Py_None; | |
4105 | } | |
4106 | { | |
4107 | if (_obj5) | |
4108 | delete _arg5; | |
4109 | } | |
4110 | return _resultobj; | |
4111 | } | |
4112 | ||
4113 | #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) | |
4114 | static PyObject *_wrap_wxPyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4115 | PyObject * _resultobj; | |
4116 | wxPyPanel * _arg0; | |
4117 | PyObject * _arg1; | |
4118 | PyObject * _arg2; | |
4119 | PyObject * _argo0 = 0; | |
4120 | PyObject * _obj1 = 0; | |
4121 | PyObject * _obj2 = 0; | |
4122 | char *_kwnames[] = { "self","self","_class", NULL }; | |
4123 | ||
4124 | self = self; | |
4125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPanel__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) | |
4126 | return NULL; | |
4127 | if (_argo0) { | |
4128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p."); | |
4131 | return NULL; | |
4132 | } | |
4133 | } | |
4134 | { | |
4135 | _arg1 = _obj1; | |
4136 | } | |
4137 | { | |
4138 | _arg2 = _obj2; | |
4139 | } | |
4140 | { | |
4141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4142 | wxPyPanel__setCallbackInfo(_arg0,_arg1,_arg2); | |
4143 | ||
4144 | wxPyEndAllowThreads(__tstate); | |
4145 | if (PyErr_Occurred()) return NULL; | |
4146 | } Py_INCREF(Py_None); | |
4147 | _resultobj = Py_None; | |
4148 | return _resultobj; | |
4149 | } | |
4150 | ||
4151 | #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4152 | static PyObject *_wrap_wxPyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4153 | PyObject * _resultobj; | |
4154 | wxPyPanel * _arg0; | |
4155 | int _arg1; | |
4156 | int _arg2; | |
4157 | int _arg3; | |
4158 | int _arg4; | |
4159 | PyObject * _argo0 = 0; | |
4160 | char *_kwnames[] = { "self","x","y","width","height", NULL }; | |
4161 | ||
4162 | self = self; | |
4163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4164 | return NULL; | |
4165 | if (_argo0) { | |
4166 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4167 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p."); | |
4169 | return NULL; | |
4170 | } | |
4171 | } | |
4172 | { | |
4173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4174 | wxPyPanel_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4175 | ||
4176 | wxPyEndAllowThreads(__tstate); | |
4177 | if (PyErr_Occurred()) return NULL; | |
4178 | } Py_INCREF(Py_None); | |
4179 | _resultobj = Py_None; | |
4180 | return _resultobj; | |
4181 | } | |
4182 | ||
4183 | #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4184 | static PyObject *_wrap_wxPyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4185 | PyObject * _resultobj; | |
4186 | wxPyPanel * _arg0; | |
4187 | int _arg1; | |
4188 | int _arg2; | |
4189 | int _arg3; | |
4190 | int _arg4; | |
4191 | int _arg5 = (int ) wxSIZE_AUTO; | |
4192 | PyObject * _argo0 = 0; | |
4193 | char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL }; | |
4194 | ||
4195 | self = self; | |
4196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4197 | return NULL; | |
4198 | if (_argo0) { | |
4199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p."); | |
4202 | return NULL; | |
4203 | } | |
4204 | } | |
4205 | { | |
4206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4207 | wxPyPanel_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4208 | ||
4209 | wxPyEndAllowThreads(__tstate); | |
4210 | if (PyErr_Occurred()) return NULL; | |
4211 | } Py_INCREF(Py_None); | |
4212 | _resultobj = Py_None; | |
4213 | return _resultobj; | |
4214 | } | |
4215 | ||
4216 | #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1)) | |
4217 | static PyObject *_wrap_wxPyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4218 | PyObject * _resultobj; | |
4219 | wxPyPanel * _arg0; | |
4220 | int _arg1; | |
4221 | int _arg2; | |
4222 | PyObject * _argo0 = 0; | |
4223 | char *_kwnames[] = { "self","width","height", NULL }; | |
4224 | ||
4225 | self = self; | |
4226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4227 | return NULL; | |
4228 | if (_argo0) { | |
4229 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4230 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p."); | |
4232 | return NULL; | |
4233 | } | |
4234 | } | |
4235 | { | |
4236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4237 | wxPyPanel_base_DoSetClientSize(_arg0,_arg1,_arg2); | |
4238 | ||
4239 | wxPyEndAllowThreads(__tstate); | |
4240 | if (PyErr_Occurred()) return NULL; | |
4241 | } Py_INCREF(Py_None); | |
4242 | _resultobj = Py_None; | |
4243 | return _resultobj; | |
4244 | } | |
4245 | ||
4246 | #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1)) | |
4247 | static PyObject *_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4248 | PyObject * _resultobj; | |
4249 | wxPyPanel * _arg0; | |
4250 | int _arg1; | |
4251 | int _arg2; | |
4252 | PyObject * _argo0 = 0; | |
4253 | char *_kwnames[] = { "self","x","y", NULL }; | |
4254 | ||
4255 | self = self; | |
4256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4257 | return NULL; | |
4258 | if (_argo0) { | |
4259 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4260 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p."); | |
4262 | return NULL; | |
4263 | } | |
4264 | } | |
4265 | { | |
4266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4267 | wxPyPanel_base_DoSetVirtualSize(_arg0,_arg1,_arg2); | |
4268 | ||
4269 | wxPyEndAllowThreads(__tstate); | |
4270 | if (PyErr_Occurred()) return NULL; | |
4271 | } Py_INCREF(Py_None); | |
4272 | _resultobj = Py_None; | |
4273 | return _resultobj; | |
4274 | } | |
4275 | ||
4276 | #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1)) | |
4277 | static PyObject *_wrap_wxPyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4278 | PyObject * _resultobj; | |
4279 | wxPyPanel * _arg0; | |
4280 | int * _arg1; | |
4281 | int temp; | |
4282 | int * _arg2; | |
4283 | int temp0; | |
4284 | PyObject * _argo0 = 0; | |
4285 | char *_kwnames[] = { "self", NULL }; | |
4286 | ||
4287 | self = self; | |
4288 | { | |
4289 | _arg1 = &temp; | |
4290 | } | |
4291 | { | |
4292 | _arg2 = &temp0; | |
4293 | } | |
4294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetSize",_kwnames,&_argo0)) | |
4295 | return NULL; | |
4296 | if (_argo0) { | |
4297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p."); | |
4300 | return NULL; | |
4301 | } | |
4302 | } | |
4303 | { | |
4304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4305 | wxPyPanel_base_DoGetSize(_arg0,_arg1,_arg2); | |
4306 | ||
4307 | wxPyEndAllowThreads(__tstate); | |
4308 | if (PyErr_Occurred()) return NULL; | |
4309 | } Py_INCREF(Py_None); | |
4310 | _resultobj = Py_None; | |
4311 | { | |
4312 | PyObject *o; | |
4313 | o = PyInt_FromLong((long) (*_arg1)); | |
4314 | _resultobj = t_output_helper(_resultobj, o); | |
4315 | } | |
4316 | { | |
4317 | PyObject *o; | |
4318 | o = PyInt_FromLong((long) (*_arg2)); | |
4319 | _resultobj = t_output_helper(_resultobj, o); | |
4320 | } | |
4321 | return _resultobj; | |
4322 | } | |
4323 | ||
4324 | #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1)) | |
4325 | static PyObject *_wrap_wxPyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4326 | PyObject * _resultobj; | |
4327 | wxPyPanel * _arg0; | |
4328 | int * _arg1; | |
4329 | int temp; | |
4330 | int * _arg2; | |
4331 | int temp0; | |
4332 | PyObject * _argo0 = 0; | |
4333 | char *_kwnames[] = { "self", NULL }; | |
4334 | ||
4335 | self = self; | |
4336 | { | |
4337 | _arg1 = &temp; | |
4338 | } | |
4339 | { | |
4340 | _arg2 = &temp0; | |
4341 | } | |
4342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetClientSize",_kwnames,&_argo0)) | |
4343 | return NULL; | |
4344 | if (_argo0) { | |
4345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p."); | |
4348 | return NULL; | |
4349 | } | |
4350 | } | |
4351 | { | |
4352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4353 | wxPyPanel_base_DoGetClientSize(_arg0,_arg1,_arg2); | |
4354 | ||
4355 | wxPyEndAllowThreads(__tstate); | |
4356 | if (PyErr_Occurred()) return NULL; | |
4357 | } Py_INCREF(Py_None); | |
4358 | _resultobj = Py_None; | |
4359 | { | |
4360 | PyObject *o; | |
4361 | o = PyInt_FromLong((long) (*_arg1)); | |
4362 | _resultobj = t_output_helper(_resultobj, o); | |
4363 | } | |
4364 | { | |
4365 | PyObject *o; | |
4366 | o = PyInt_FromLong((long) (*_arg2)); | |
4367 | _resultobj = t_output_helper(_resultobj, o); | |
4368 | } | |
4369 | return _resultobj; | |
4370 | } | |
4371 | ||
4372 | #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1)) | |
4373 | static PyObject *_wrap_wxPyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4374 | PyObject * _resultobj; | |
4375 | wxPyPanel * _arg0; | |
4376 | int * _arg1; | |
4377 | int temp; | |
4378 | int * _arg2; | |
4379 | int temp0; | |
4380 | PyObject * _argo0 = 0; | |
4381 | char *_kwnames[] = { "self", NULL }; | |
4382 | ||
4383 | self = self; | |
4384 | { | |
4385 | _arg1 = &temp; | |
4386 | } | |
4387 | { | |
4388 | _arg2 = &temp0; | |
4389 | } | |
4390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetPosition",_kwnames,&_argo0)) | |
4391 | return NULL; | |
4392 | if (_argo0) { | |
4393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p."); | |
4396 | return NULL; | |
4397 | } | |
4398 | } | |
4399 | { | |
4400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4401 | wxPyPanel_base_DoGetPosition(_arg0,_arg1,_arg2); | |
4402 | ||
4403 | wxPyEndAllowThreads(__tstate); | |
4404 | if (PyErr_Occurred()) return NULL; | |
4405 | } Py_INCREF(Py_None); | |
4406 | _resultobj = Py_None; | |
4407 | { | |
4408 | PyObject *o; | |
4409 | o = PyInt_FromLong((long) (*_arg1)); | |
4410 | _resultobj = t_output_helper(_resultobj, o); | |
4411 | } | |
4412 | { | |
4413 | PyObject *o; | |
4414 | o = PyInt_FromLong((long) (*_arg2)); | |
4415 | _resultobj = t_output_helper(_resultobj, o); | |
4416 | } | |
4417 | return _resultobj; | |
4418 | } | |
4419 | ||
4420 | #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize()) | |
4421 | static PyObject *_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4422 | PyObject * _resultobj; | |
4423 | wxSize * _result; | |
4424 | wxPyPanel * _arg0; | |
4425 | PyObject * _argo0 = 0; | |
4426 | char *_kwnames[] = { "self", NULL }; | |
4427 | char _ptemp[128]; | |
4428 | ||
4429 | self = self; | |
4430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames,&_argo0)) | |
4431 | return NULL; | |
4432 | if (_argo0) { | |
4433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p."); | |
4436 | return NULL; | |
4437 | } | |
4438 | } | |
4439 | { | |
4440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4441 | _result = new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0)); | |
4442 | ||
4443 | wxPyEndAllowThreads(__tstate); | |
4444 | if (PyErr_Occurred()) return NULL; | |
4445 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
4446 | _resultobj = Py_BuildValue("s",_ptemp); | |
4447 | return _resultobj; | |
4448 | } | |
4449 | ||
4450 | #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize()) | |
4451 | static PyObject *_wrap_wxPyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4452 | PyObject * _resultobj; | |
4453 | wxSize * _result; | |
4454 | wxPyPanel * _arg0; | |
4455 | PyObject * _argo0 = 0; | |
4456 | char *_kwnames[] = { "self", NULL }; | |
4457 | char _ptemp[128]; | |
4458 | ||
4459 | self = self; | |
4460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetBestSize",_kwnames,&_argo0)) | |
4461 | return NULL; | |
4462 | if (_argo0) { | |
4463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p."); | |
4466 | return NULL; | |
4467 | } | |
4468 | } | |
4469 | { | |
4470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4471 | _result = new wxSize (wxPyPanel_base_DoGetBestSize(_arg0)); | |
4472 | ||
4473 | wxPyEndAllowThreads(__tstate); | |
4474 | if (PyErr_Occurred()) return NULL; | |
4475 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
4476 | _resultobj = Py_BuildValue("s",_ptemp); | |
4477 | return _resultobj; | |
4478 | } | |
4479 | ||
4480 | #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog()) | |
4481 | static PyObject *_wrap_wxPyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4482 | PyObject * _resultobj; | |
4483 | wxPyPanel * _arg0; | |
4484 | PyObject * _argo0 = 0; | |
4485 | char *_kwnames[] = { "self", NULL }; | |
4486 | ||
4487 | self = self; | |
4488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_InitDialog",_kwnames,&_argo0)) | |
4489 | return NULL; | |
4490 | if (_argo0) { | |
4491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p."); | |
4494 | return NULL; | |
4495 | } | |
4496 | } | |
4497 | { | |
4498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4499 | wxPyPanel_base_InitDialog(_arg0); | |
4500 | ||
4501 | wxPyEndAllowThreads(__tstate); | |
4502 | if (PyErr_Occurred()) return NULL; | |
4503 | } Py_INCREF(Py_None); | |
4504 | _resultobj = Py_None; | |
4505 | return _resultobj; | |
4506 | } | |
4507 | ||
4508 | #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow()) | |
4509 | static PyObject *_wrap_wxPyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4510 | PyObject * _resultobj; | |
4511 | bool _result; | |
4512 | wxPyPanel * _arg0; | |
4513 | PyObject * _argo0 = 0; | |
4514 | char *_kwnames[] = { "self", NULL }; | |
4515 | ||
4516 | self = self; | |
4517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_TransferDataToWindow",_kwnames,&_argo0)) | |
4518 | return NULL; | |
4519 | if (_argo0) { | |
4520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p."); | |
4523 | return NULL; | |
4524 | } | |
4525 | } | |
4526 | { | |
4527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4528 | _result = (bool )wxPyPanel_base_TransferDataToWindow(_arg0); | |
4529 | ||
4530 | wxPyEndAllowThreads(__tstate); | |
4531 | if (PyErr_Occurred()) return NULL; | |
4532 | } _resultobj = Py_BuildValue("i",_result); | |
4533 | return _resultobj; | |
4534 | } | |
4535 | ||
4536 | #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow()) | |
4537 | static PyObject *_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4538 | PyObject * _resultobj; | |
4539 | bool _result; | |
4540 | wxPyPanel * _arg0; | |
4541 | PyObject * _argo0 = 0; | |
4542 | char *_kwnames[] = { "self", NULL }; | |
4543 | ||
4544 | self = self; | |
4545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames,&_argo0)) | |
4546 | return NULL; | |
4547 | if (_argo0) { | |
4548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p."); | |
4551 | return NULL; | |
4552 | } | |
4553 | } | |
4554 | { | |
4555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4556 | _result = (bool )wxPyPanel_base_TransferDataFromWindow(_arg0); | |
4557 | ||
4558 | wxPyEndAllowThreads(__tstate); | |
4559 | if (PyErr_Occurred()) return NULL; | |
4560 | } _resultobj = Py_BuildValue("i",_result); | |
4561 | return _resultobj; | |
4562 | } | |
4563 | ||
4564 | #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate()) | |
4565 | static PyObject *_wrap_wxPyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4566 | PyObject * _resultobj; | |
4567 | bool _result; | |
4568 | wxPyPanel * _arg0; | |
4569 | PyObject * _argo0 = 0; | |
4570 | char *_kwnames[] = { "self", NULL }; | |
4571 | ||
4572 | self = self; | |
4573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_Validate",_kwnames,&_argo0)) | |
4574 | return NULL; | |
4575 | if (_argo0) { | |
4576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p."); | |
4579 | return NULL; | |
4580 | } | |
4581 | } | |
4582 | { | |
4583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4584 | _result = (bool )wxPyPanel_base_Validate(_arg0); | |
4585 | ||
4586 | wxPyEndAllowThreads(__tstate); | |
4587 | if (PyErr_Occurred()) return NULL; | |
4588 | } _resultobj = Py_BuildValue("i",_result); | |
4589 | return _resultobj; | |
4590 | } | |
4591 | ||
4592 | #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus()) | |
4593 | static PyObject *_wrap_wxPyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4594 | PyObject * _resultobj; | |
4595 | bool _result; | |
4596 | wxPyPanel * _arg0; | |
4597 | PyObject * _argo0 = 0; | |
4598 | char *_kwnames[] = { "self", NULL }; | |
4599 | ||
4600 | self = self; | |
4601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_AcceptsFocus",_kwnames,&_argo0)) | |
4602 | return NULL; | |
4603 | if (_argo0) { | |
4604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p."); | |
4607 | return NULL; | |
4608 | } | |
4609 | } | |
4610 | { | |
4611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4612 | _result = (bool )wxPyPanel_base_AcceptsFocus(_arg0); | |
4613 | ||
4614 | wxPyEndAllowThreads(__tstate); | |
4615 | if (PyErr_Occurred()) return NULL; | |
4616 | } _resultobj = Py_BuildValue("i",_result); | |
4617 | return _resultobj; | |
4618 | } | |
4619 | ||
4620 | #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard()) | |
4621 | static PyObject *_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4622 | PyObject * _resultobj; | |
4623 | bool _result; | |
4624 | wxPyPanel * _arg0; | |
4625 | PyObject * _argo0 = 0; | |
4626 | char *_kwnames[] = { "self", NULL }; | |
4627 | ||
4628 | self = self; | |
4629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0)) | |
4630 | return NULL; | |
4631 | if (_argo0) { | |
4632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p."); | |
4635 | return NULL; | |
4636 | } | |
4637 | } | |
4638 | { | |
4639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4640 | _result = (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0); | |
4641 | ||
4642 | wxPyEndAllowThreads(__tstate); | |
4643 | if (PyErr_Occurred()) return NULL; | |
4644 | } _resultobj = Py_BuildValue("i",_result); | |
4645 | return _resultobj; | |
4646 | } | |
4647 | ||
4648 | #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize()) | |
4649 | static PyObject *_wrap_wxPyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4650 | PyObject * _resultobj; | |
4651 | wxSize * _result; | |
4652 | wxPyPanel * _arg0; | |
4653 | PyObject * _argo0 = 0; | |
4654 | char *_kwnames[] = { "self", NULL }; | |
4655 | char _ptemp[128]; | |
4656 | ||
4657 | self = self; | |
4658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_GetMaxSize",_kwnames,&_argo0)) | |
4659 | return NULL; | |
4660 | if (_argo0) { | |
4661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p."); | |
4664 | return NULL; | |
4665 | } | |
4666 | } | |
4667 | { | |
4668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4669 | _result = new wxSize (wxPyPanel_base_GetMaxSize(_arg0)); | |
4670 | ||
4671 | wxPyEndAllowThreads(__tstate); | |
4672 | if (PyErr_Occurred()) return NULL; | |
4673 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
4674 | _resultobj = Py_BuildValue("s",_ptemp); | |
4675 | return _resultobj; | |
4676 | } | |
4677 | ||
3e1f6ec4 RD |
4678 | #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0)) |
4679 | static PyObject *_wrap_wxPyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4680 | PyObject * _resultobj; | |
4681 | wxPyPanel * _arg0; | |
4682 | wxWindow * _arg1; | |
4683 | PyObject * _argo0 = 0; | |
4684 | PyObject * _argo1 = 0; | |
4685 | char *_kwnames[] = { "self","child", NULL }; | |
4686 | ||
4687 | self = self; | |
4688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPanel_base_AddChild",_kwnames,&_argo0,&_argo1)) | |
4689 | return NULL; | |
4690 | if (_argo0) { | |
4691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p."); | |
4694 | return NULL; | |
4695 | } | |
4696 | } | |
4697 | if (_argo1) { | |
4698 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4699 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
4700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p."); | |
4701 | return NULL; | |
4702 | } | |
4703 | } | |
4704 | { | |
4705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4706 | wxPyPanel_base_AddChild(_arg0,_arg1); | |
4707 | ||
4708 | wxPyEndAllowThreads(__tstate); | |
4709 | if (PyErr_Occurred()) return NULL; | |
4710 | } Py_INCREF(Py_None); | |
4711 | _resultobj = Py_None; | |
4712 | return _resultobj; | |
4713 | } | |
4714 | ||
4715 | #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0)) | |
4716 | static PyObject *_wrap_wxPyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4717 | PyObject * _resultobj; | |
4718 | wxPyPanel * _arg0; | |
4719 | wxWindow * _arg1; | |
4720 | PyObject * _argo0 = 0; | |
4721 | PyObject * _argo1 = 0; | |
4722 | char *_kwnames[] = { "self","child", NULL }; | |
4723 | ||
4724 | self = self; | |
4725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPanel_base_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
4726 | return NULL; | |
4727 | if (_argo0) { | |
4728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) { | |
4730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p."); | |
4731 | return NULL; | |
4732 | } | |
4733 | } | |
4734 | if (_argo1) { | |
4735 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4736 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
4737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p."); | |
4738 | return NULL; | |
4739 | } | |
4740 | } | |
4741 | { | |
4742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4743 | wxPyPanel_base_RemoveChild(_arg0,_arg1); | |
4744 | ||
4745 | wxPyEndAllowThreads(__tstate); | |
4746 | if (PyErr_Occurred()) return NULL; | |
4747 | } Py_INCREF(Py_None); | |
4748 | _resultobj = Py_None; | |
4749 | return _resultobj; | |
4750 | } | |
4751 | ||
e6056257 | 4752 | static PyMethodDef windows2cMethods[] = { |
3e1f6ec4 RD |
4753 | { "wxPyPanel_base_RemoveChild", (PyCFunction) _wrap_wxPyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, |
4754 | { "wxPyPanel_base_AddChild", (PyCFunction) _wrap_wxPyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
4615b725 RD |
4755 | { "wxPyPanel_base_GetMaxSize", (PyCFunction) _wrap_wxPyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, |
4756 | { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
4757 | { "wxPyPanel_base_AcceptsFocus", (PyCFunction) _wrap_wxPyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
4758 | { "wxPyPanel_base_Validate", (PyCFunction) _wrap_wxPyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
4759 | { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
4760 | { "wxPyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
4761 | { "wxPyPanel_base_InitDialog", (PyCFunction) _wrap_wxPyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
4762 | { "wxPyPanel_base_DoGetBestSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
4763 | { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
4764 | { "wxPyPanel_base_DoGetPosition", (PyCFunction) _wrap_wxPyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
4765 | { "wxPyPanel_base_DoGetClientSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
4766 | { "wxPyPanel_base_DoGetSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
4767 | { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
4768 | { "wxPyPanel_base_DoSetClientSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
4769 | { "wxPyPanel_base_DoSetSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
4770 | { "wxPyPanel_base_DoMoveWindow", (PyCFunction) _wrap_wxPyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
4771 | { "wxPyPanel__setCallbackInfo", (PyCFunction) _wrap_wxPyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
4772 | { "new_wxPyPanel", (PyCFunction) _wrap_new_wxPyPanel, METH_VARARGS | METH_KEYWORDS }, | |
3e1f6ec4 RD |
4773 | { "wxPyControl_base_RemoveChild", (PyCFunction) _wrap_wxPyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, |
4774 | { "wxPyControl_base_AddChild", (PyCFunction) _wrap_wxPyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
6ca312ba RD |
4775 | { "wxPyControl_base_GetMaxSize", (PyCFunction) _wrap_wxPyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, |
4776 | { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
4777 | { "wxPyControl_base_AcceptsFocus", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
4778 | { "wxPyControl_base_Validate", (PyCFunction) _wrap_wxPyControl_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
4779 | { "wxPyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
4780 | { "wxPyControl_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
4781 | { "wxPyControl_base_InitDialog", (PyCFunction) _wrap_wxPyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
4782 | { "wxPyControl_base_DoGetBestSize", (PyCFunction) _wrap_wxPyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
4783 | { "wxPyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
4784 | { "wxPyControl_base_DoGetPosition", (PyCFunction) _wrap_wxPyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
4785 | { "wxPyControl_base_DoGetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
4786 | { "wxPyControl_base_DoGetSize", (PyCFunction) _wrap_wxPyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
4787 | { "wxPyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
4788 | { "wxPyControl_base_DoSetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
4789 | { "wxPyControl_base_DoSetSize", (PyCFunction) _wrap_wxPyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
4790 | { "wxPyControl_base_DoMoveWindow", (PyCFunction) _wrap_wxPyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
4791 | { "wxPyControl__setCallbackInfo", (PyCFunction) _wrap_wxPyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
4792 | { "new_wxPyControl", (PyCFunction) _wrap_new_wxPyControl, METH_VARARGS | METH_KEYWORDS }, | |
3e1f6ec4 RD |
4793 | { "wxPyWindow_base_RemoveChild", (PyCFunction) _wrap_wxPyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, |
4794 | { "wxPyWindow_base_AddChild", (PyCFunction) _wrap_wxPyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
6ca312ba RD |
4795 | { "wxPyWindow_base_GetMaxSize", (PyCFunction) _wrap_wxPyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, |
4796 | { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
4797 | { "wxPyWindow_base_AcceptsFocus", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
4798 | { "wxPyWindow_base_Validate", (PyCFunction) _wrap_wxPyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
4799 | { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
4800 | { "wxPyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
4801 | { "wxPyWindow_base_InitDialog", (PyCFunction) _wrap_wxPyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
4802 | { "wxPyWindow_base_DoGetBestSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
4803 | { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
4804 | { "wxPyWindow_base_DoGetPosition", (PyCFunction) _wrap_wxPyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
4805 | { "wxPyWindow_base_DoGetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
4806 | { "wxPyWindow_base_DoGetSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
4807 | { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
4808 | { "wxPyWindow_base_DoSetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
4809 | { "wxPyWindow_base_DoSetSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
4810 | { "wxPyWindow_base_DoMoveWindow", (PyCFunction) _wrap_wxPyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
4811 | { "wxPyWindow__setCallbackInfo", (PyCFunction) _wrap_wxPyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
4812 | { "new_wxPyWindow", (PyCFunction) _wrap_new_wxPyWindow, METH_VARARGS | METH_KEYWORDS }, | |
eb28fd47 RD |
4813 | { "wxSplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, |
4814 | { "wxSplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
4815 | { "wxSplitterWindow_SizeWindows", (PyCFunction) _wrap_wxSplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
e6056257 RD |
4816 | { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, |
4817 | { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
4818 | { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
4819 | { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
4820 | { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
4821 | { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
4822 | { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
4823 | { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
4824 | { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
4825 | { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
4826 | { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
4827 | { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
4828 | { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
4829 | { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
4830 | { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
4831 | { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
4832 | { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
4833 | { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
4834 | { "wxSplitterWindow_Create", (PyCFunction) _wrap_wxSplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
4835 | { "new_wxPreSplitterWindow", (PyCFunction) _wrap_new_wxPreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
4836 | { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
4837 | { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
4838 | { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
4839 | { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
4840 | { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
4841 | { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
4842 | { "new_wxSplitterEvent", (PyCFunction) _wrap_new_wxSplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
d84a9306 RD |
4843 | { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS }, |
4844 | { "wxNotebook_HitTest", (PyCFunction) _wrap_wxNotebook_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
4845 | { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
e6056257 RD |
4846 | { "wxNotebook_InsertPage", (PyCFunction) _wrap_wxNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS }, |
4847 | { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS }, | |
4848 | { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS }, | |
4849 | { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS }, | |
4850 | { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS }, | |
d84a9306 RD |
4851 | { "wxNotebook_CalcSizeFromPage", (PyCFunction) _wrap_wxNotebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS }, |
4852 | { "wxNotebook_SetTabSize", (PyCFunction) _wrap_wxNotebook_SetTabSize, METH_VARARGS | METH_KEYWORDS }, | |
e6056257 RD |
4853 | { "wxNotebook_SetPadding", (PyCFunction) _wrap_wxNotebook_SetPadding, METH_VARARGS | METH_KEYWORDS }, |
4854 | { "wxNotebook_SetPageSize", (PyCFunction) _wrap_wxNotebook_SetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
4855 | { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS }, | |
4856 | { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS }, | |
4857 | { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS }, | |
4858 | { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
4859 | { "wxNotebook_AssignImageList", (PyCFunction) _wrap_wxNotebook_AssignImageList, METH_VARARGS | METH_KEYWORDS }, | |
4860 | { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
4861 | { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS }, | |
4862 | { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS }, | |
4863 | { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
d84a9306 | 4864 | { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS }, |
e6056257 RD |
4865 | { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS }, |
4866 | { "wxNotebook_Create", (PyCFunction) _wrap_wxNotebook_Create, METH_VARARGS | METH_KEYWORDS }, | |
4867 | { "new_wxPreNotebook", (PyCFunction) _wrap_new_wxPreNotebook, METH_VARARGS | METH_KEYWORDS }, | |
4868 | { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS }, | |
4869 | { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
4870 | { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS }, | |
4871 | { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS }, | |
4872 | { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
4873 | { "new_wxNotebookEvent", (PyCFunction) _wrap_new_wxNotebookEvent, METH_VARARGS | METH_KEYWORDS }, | |
4874 | { NULL, NULL } | |
4875 | }; | |
4876 | #ifdef __cplusplus | |
4877 | } | |
4878 | #endif | |
4879 | /* | |
4880 | * This table is used by the pointer type-checker | |
4881 | */ | |
4882 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
4883 | { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
4884 | { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
4885 | { "_signed_long","_long",0}, | |
4886 | { "_wxPrintQuality","_wxCoord",0}, | |
4887 | { "_wxPrintQuality","_int",0}, | |
4888 | { "_wxPrintQuality","_signed_int",0}, | |
4889 | { "_wxPrintQuality","_unsigned_int",0}, | |
4890 | { "_wxPrintQuality","_wxWindowID",0}, | |
4891 | { "_wxPrintQuality","_uint",0}, | |
4892 | { "_wxPrintQuality","_EBool",0}, | |
4893 | { "_wxPrintQuality","_size_t",0}, | |
4894 | { "_wxPrintQuality","_time_t",0}, | |
70b76c7c | 4895 | { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent}, |
e6056257 RD |
4896 | { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, |
4897 | { "_byte","_unsigned_char",0}, | |
4898 | { "_long","_unsigned_long",0}, | |
4899 | { "_long","_signed_long",0}, | |
4900 | { "_size_t","_wxCoord",0}, | |
4901 | { "_size_t","_wxPrintQuality",0}, | |
4902 | { "_size_t","_time_t",0}, | |
4903 | { "_size_t","_unsigned_int",0}, | |
4904 | { "_size_t","_int",0}, | |
4905 | { "_size_t","_wxWindowID",0}, | |
4906 | { "_size_t","_uint",0}, | |
4615b725 | 4907 | { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel}, |
e6056257 RD |
4908 | { "_uint","_wxCoord",0}, |
4909 | { "_uint","_wxPrintQuality",0}, | |
4910 | { "_uint","_time_t",0}, | |
4911 | { "_uint","_size_t",0}, | |
4912 | { "_uint","_unsigned_int",0}, | |
4913 | { "_uint","_int",0}, | |
4914 | { "_uint","_wxWindowID",0}, | |
4915 | { "_wxChar","_char",0}, | |
4916 | { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
4917 | { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
4918 | { "_char","_wxChar",0}, | |
4919 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, | |
4920 | { "_EBool","_wxCoord",0}, | |
4921 | { "_EBool","_wxPrintQuality",0}, | |
4922 | { "_EBool","_signed_int",0}, | |
4923 | { "_EBool","_int",0}, | |
4924 | { "_EBool","_wxWindowID",0}, | |
4925 | { "_unsigned_long","_long",0}, | |
4926 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, | |
4927 | { "_signed_int","_wxCoord",0}, | |
4928 | { "_signed_int","_wxPrintQuality",0}, | |
4929 | { "_signed_int","_EBool",0}, | |
4930 | { "_signed_int","_wxWindowID",0}, | |
4931 | { "_signed_int","_int",0}, | |
4932 | { "_WXTYPE","_short",0}, | |
4933 | { "_WXTYPE","_signed_short",0}, | |
4934 | { "_WXTYPE","_unsigned_short",0}, | |
4935 | { "_unsigned_short","_WXTYPE",0}, | |
4936 | { "_unsigned_short","_short",0}, | |
4615b725 | 4937 | { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject}, |
6ca312ba RD |
4938 | { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject}, |
4939 | { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject}, | |
e6056257 RD |
4940 | { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject}, |
4941 | { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject}, | |
4942 | { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject}, | |
4943 | { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject}, | |
4944 | { "_signed_short","_WXTYPE",0}, | |
4945 | { "_signed_short","_short",0}, | |
4946 | { "_unsigned_char","_byte",0}, | |
6ca312ba | 4947 | { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl}, |
e6056257 RD |
4948 | { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl}, |
4949 | { "_unsigned_int","_wxCoord",0}, | |
4950 | { "_unsigned_int","_wxPrintQuality",0}, | |
4951 | { "_unsigned_int","_time_t",0}, | |
4952 | { "_unsigned_int","_size_t",0}, | |
4953 | { "_unsigned_int","_uint",0}, | |
4954 | { "_unsigned_int","_wxWindowID",0}, | |
4955 | { "_unsigned_int","_int",0}, | |
4956 | { "_short","_WXTYPE",0}, | |
4957 | { "_short","_unsigned_short",0}, | |
4958 | { "_short","_signed_short",0}, | |
4959 | { "_wxWindowID","_wxCoord",0}, | |
4960 | { "_wxWindowID","_wxPrintQuality",0}, | |
4961 | { "_wxWindowID","_time_t",0}, | |
4962 | { "_wxWindowID","_size_t",0}, | |
4963 | { "_wxWindowID","_EBool",0}, | |
4964 | { "_wxWindowID","_uint",0}, | |
4965 | { "_wxWindowID","_int",0}, | |
4966 | { "_wxWindowID","_signed_int",0}, | |
4967 | { "_wxWindowID","_unsigned_int",0}, | |
4968 | { "_int","_wxCoord",0}, | |
4969 | { "_int","_wxPrintQuality",0}, | |
4970 | { "_int","_time_t",0}, | |
4971 | { "_int","_size_t",0}, | |
4972 | { "_int","_EBool",0}, | |
4973 | { "_int","_uint",0}, | |
4974 | { "_int","_wxWindowID",0}, | |
4975 | { "_int","_unsigned_int",0}, | |
4976 | { "_int","_signed_int",0}, | |
4977 | { "_time_t","_wxCoord",0}, | |
4978 | { "_time_t","_wxPrintQuality",0}, | |
4979 | { "_time_t","_unsigned_int",0}, | |
4980 | { "_time_t","_int",0}, | |
4981 | { "_time_t","_wxWindowID",0}, | |
4982 | { "_time_t","_uint",0}, | |
4983 | { "_time_t","_size_t",0}, | |
4984 | { "_wxCoord","_int",0}, | |
4985 | { "_wxCoord","_signed_int",0}, | |
4986 | { "_wxCoord","_unsigned_int",0}, | |
4987 | { "_wxCoord","_wxWindowID",0}, | |
4988 | { "_wxCoord","_uint",0}, | |
4989 | { "_wxCoord","_EBool",0}, | |
4990 | { "_wxCoord","_size_t",0}, | |
4991 | { "_wxCoord","_time_t",0}, | |
4992 | { "_wxCoord","_wxPrintQuality",0}, | |
4615b725 | 4993 | { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler}, |
6ca312ba RD |
4994 | { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler}, |
4995 | { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler}, | |
e6056257 RD |
4996 | { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, |
4997 | { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
4615b725 | 4998 | { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow}, |
6ca312ba RD |
4999 | { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow}, |
5000 | { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow}, | |
e6056257 RD |
5001 | { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, |
5002 | { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow}, | |
5003 | {0,0,0}}; | |
5004 | ||
5005 | static PyObject *SWIG_globals; | |
5006 | #ifdef __cplusplus | |
5007 | extern "C" | |
5008 | #endif | |
5009 | SWIGEXPORT(void) initwindows2c() { | |
5010 | PyObject *m, *d; | |
5011 | SWIG_globals = SWIG_newvarlink(); | |
5012 | m = Py_InitModule("windows2c", windows2cMethods); | |
5013 | d = PyModule_GetDict(m); | |
5014 | PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED)); | |
5015 | PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING)); | |
d84a9306 RD |
5016 | PyDict_SetItemString(d,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH)); |
5017 | PyDict_SetItemString(d,"wxNB_TOP", PyInt_FromLong((long) wxNB_TOP)); | |
5018 | PyDict_SetItemString(d,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT)); | |
5019 | PyDict_SetItemString(d,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT)); | |
5020 | PyDict_SetItemString(d,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM)); | |
5021 | PyDict_SetItemString(d,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE)); | |
5022 | PyDict_SetItemString(d,"wxNB_HITTEST_NOWHERE", PyInt_FromLong((long) wxNB_HITTEST_NOWHERE)); | |
5023 | PyDict_SetItemString(d,"wxNB_HITTEST_ONICON", PyInt_FromLong((long) wxNB_HITTEST_ONICON)); | |
5024 | PyDict_SetItemString(d,"wxNB_HITTEST_ONLABEL", PyInt_FromLong((long) wxNB_HITTEST_ONLABEL)); | |
5025 | PyDict_SetItemString(d,"wxNB_HITTEST_ONITEM", PyInt_FromLong((long) wxNB_HITTEST_ONITEM)); | |
e6056257 RD |
5026 | PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); |
5027 | PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); | |
5028 | PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
5029 | PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
5030 | PyDict_SetItemString(d,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL)); | |
5031 | PyDict_SetItemString(d,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL)); | |
5032 | PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE)); | |
5033 | PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING)); | |
5034 | PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN)); | |
d84a9306 RD |
5035 | PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL)); |
5036 | PyDict_SetItemString(d,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL)); | |
5037 | PyDict_SetItemString(d,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS)); | |
5038 | PyDict_SetItemString(d,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP)); | |
5039 | PyDict_SetItemString(d,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER)); | |
5040 | PyDict_SetItemString(d,"wxSP_3D", PyInt_FromLong((long) wxSP_3D)); | |
5041 | PyDict_SetItemString(d,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH)); | |
5042 | PyDict_SetItemString(d,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER)); | |
5043 | PyDict_SetItemString(d,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH)); | |
5044 | PyDict_SetItemString(d,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER)); | |
5045 | PyDict_SetItemString(d,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE)); | |
5046 | PyDict_SetItemString(d,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT)); | |
e6056257 RD |
5047 | { |
5048 | int i; | |
5049 | for (i = 0; _swig_mapping[i].n1; i++) | |
5050 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
5051 | } | |
5052 | } |