]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * FILE : gtk/windows.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Patch 5) | |
7 | * | |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a,b) __declspec(dllexport) a b | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a,b) a _export b | |
31 | # else | |
32 | # define SWIGEXPORT(a,b) a b | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a,b) a b | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
47 | extern PyObject *SWIG_newvarlink(void); | |
48 | #ifdef __cplusplus | |
49 | } | |
50 | #endif | |
51 | ||
52 | #define SWIG_init initwindowsc | |
53 | ||
54 | #define SWIG_name "windowsc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/menuitem.h> | |
58 | ||
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
61 | PyObject* o3; | |
62 | if (!target) { | |
63 | target = o; | |
64 | } else if (target == Py_None) { | |
65 | Py_DECREF(Py_None); | |
66 | target = o; | |
67 | } else { | |
68 | if (!PyList_Check(target)) { | |
69 | o2 = target; | |
70 | target = PyList_New(0); | |
71 | PyList_Append(target, o2); | |
72 | Py_XDECREF(o2); | |
73 | } | |
74 | PyList_Append(target,o); | |
75 | Py_XDECREF(o); | |
76 | } | |
77 | return target; | |
78 | } | |
79 | ||
80 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
81 | PyObject* o2; | |
82 | PyObject* o3; | |
83 | ||
84 | if (!target) { | |
85 | target = o; | |
86 | } else if (target == Py_None) { | |
87 | Py_DECREF(Py_None); | |
88 | target = o; | |
89 | } else { | |
90 | if (!PyTuple_Check(target)) { | |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
95 | o3 = PyTuple_New(1); | |
96 | PyTuple_SetItem(o3, 0, o); | |
97 | ||
98 | o2 = target; | |
99 | target = PySequence_Concat(o2, o3); | |
100 | Py_DECREF(o2); | |
101 | Py_DECREF(o3); | |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
106 | ||
107 | extern byte* byte_LIST_helper(PyObject* source); | |
108 | extern int* int_LIST_helper(PyObject* source); | |
109 | extern long* long_LIST_helper(PyObject* source); | |
110 | extern char** string_LIST_helper(PyObject* source); | |
111 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
112 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
113 | extern wxString* wxString_LIST_helper(PyObject* source); | |
114 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); | |
115 | ||
116 | ||
117 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
118 | static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) { | |
119 | if (PyCallable_Check(func)) { | |
120 | self->Connect(id, lastId, eventType, | |
121 | (wxObjectEventFunction) &wxPyCallback::EventThunker, | |
122 | new wxPyCallback(func)); | |
123 | } | |
124 | } | |
125 | static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args) { | |
126 | PyObject * _resultobj; | |
127 | wxEvtHandler * _arg0; | |
128 | int _arg1; | |
129 | int _arg2; | |
130 | int _arg3; | |
131 | PyObject * _arg4; | |
132 | char * _argc0 = 0; | |
133 | PyObject * _obj4 = 0; | |
134 | ||
135 | self = self; | |
136 | if(!PyArg_ParseTuple(args,"siiiO:wxEvtHandler_Connect",&_argc0,&_arg1,&_arg2,&_arg3,&_obj4)) | |
137 | return NULL; | |
138 | if (_argc0) { | |
139 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvtHandler_p")) { | |
140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p."); | |
141 | return NULL; | |
142 | } | |
143 | } | |
144 | { | |
145 | _arg4 = _obj4; | |
146 | } | |
147 | wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4); | |
148 | Py_INCREF(Py_None); | |
149 | _resultobj = Py_None; | |
150 | return _resultobj; | |
151 | } | |
152 | ||
153 | static void *SwigwxWindowTowxEvtHandler(void *ptr) { | |
154 | wxWindow *src; | |
155 | wxEvtHandler *dest; | |
156 | src = (wxWindow *) ptr; | |
157 | dest = (wxEvtHandler *) src; | |
158 | return (void *) dest; | |
159 | } | |
160 | ||
161 | #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
162 | static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args) { | |
163 | PyObject * _resultobj; | |
164 | wxWindow * _result; | |
165 | wxWindow * _arg0; | |
166 | wxWindowID _arg1; | |
167 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
168 | wxSize * _arg3 = &wxPyDefaultSize; | |
169 | long _arg4 = 0; | |
170 | char * _arg5 = "panel"; | |
171 | char * _argc0 = 0; | |
172 | char * _argc2 = 0; | |
173 | char * _argc3 = 0; | |
174 | char _ptemp[128]; | |
175 | ||
176 | self = self; | |
177 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
178 | return NULL; | |
179 | if (_argc0) { | |
180 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p."); | |
182 | return NULL; | |
183 | } | |
184 | } | |
185 | if (_argc2) { | |
186 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p."); | |
188 | return NULL; | |
189 | } | |
190 | } | |
191 | if (_argc3) { | |
192 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p."); | |
194 | return NULL; | |
195 | } | |
196 | } | |
197 | _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
198 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
199 | _resultobj = Py_BuildValue("s",_ptemp); | |
200 | return _resultobj; | |
201 | } | |
202 | ||
203 | #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse()) | |
204 | static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args) { | |
205 | PyObject * _resultobj; | |
206 | wxWindow * _arg0; | |
207 | char * _argc0 = 0; | |
208 | ||
209 | self = self; | |
210 | if(!PyArg_ParseTuple(args,"s:wxWindow_CaptureMouse",&_argc0)) | |
211 | return NULL; | |
212 | if (_argc0) { | |
213 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p."); | |
215 | return NULL; | |
216 | } | |
217 | } | |
218 | wxWindow_CaptureMouse(_arg0); | |
219 | Py_INCREF(Py_None); | |
220 | _resultobj = Py_None; | |
221 | return _resultobj; | |
222 | } | |
223 | ||
224 | #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0)) | |
225 | static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args) { | |
226 | PyObject * _resultobj; | |
227 | wxWindow * _arg0; | |
228 | int _arg1 = (wxHORIZONTAL); | |
229 | char * _argc0 = 0; | |
230 | ||
231 | self = self; | |
232 | if(!PyArg_ParseTuple(args,"s|i:wxWindow_Center",&_argc0,&_arg1)) | |
233 | return NULL; | |
234 | if (_argc0) { | |
235 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p."); | |
237 | return NULL; | |
238 | } | |
239 | } | |
240 | wxWindow_Center(_arg0,_arg1); | |
241 | Py_INCREF(Py_None); | |
242 | _resultobj = Py_None; | |
243 | return _resultobj; | |
244 | } | |
245 | ||
246 | #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) | |
247 | static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args) { | |
248 | PyObject * _resultobj; | |
249 | wxWindow * _arg0; | |
250 | int _arg1 = (wxHORIZONTAL); | |
251 | char * _argc0 = 0; | |
252 | ||
253 | self = self; | |
254 | if(!PyArg_ParseTuple(args,"s|i:wxWindow_Centre",&_argc0,&_arg1)) | |
255 | return NULL; | |
256 | if (_argc0) { | |
257 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p."); | |
259 | return NULL; | |
260 | } | |
261 | } | |
262 | wxWindow_Centre(_arg0,_arg1); | |
263 | Py_INCREF(Py_None); | |
264 | _resultobj = Py_None; | |
265 | return _resultobj; | |
266 | } | |
267 | ||
268 | #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1)) | |
269 | static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args) { | |
270 | PyObject * _resultobj; | |
271 | wxWindow * _arg0; | |
272 | int * _arg1; | |
273 | int * _arg2; | |
274 | char * _argc0 = 0; | |
275 | int temp; | |
276 | PyObject * _obj1 = 0; | |
277 | int temp0; | |
278 | PyObject * _obj2 = 0; | |
279 | ||
280 | self = self; | |
281 | if(!PyArg_ParseTuple(args,"sOO:wxWindow_ClientToScreenXY",&_argc0,&_obj1,&_obj2)) | |
282 | return NULL; | |
283 | if (_argc0) { | |
284 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p."); | |
286 | return NULL; | |
287 | } | |
288 | } | |
289 | { | |
290 | temp = (int) PyInt_AsLong(_obj1); | |
291 | _arg1 = &temp; | |
292 | } | |
293 | { | |
294 | temp0 = (int) PyInt_AsLong(_obj2); | |
295 | _arg2 = &temp0; | |
296 | } | |
297 | wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2); | |
298 | Py_INCREF(Py_None); | |
299 | _resultobj = Py_None; | |
300 | { | |
301 | PyObject *o; | |
302 | o = PyInt_FromLong((long) (*_arg1)); | |
303 | _resultobj = t_output_helper(_resultobj, o); | |
304 | } | |
305 | { | |
306 | PyObject *o; | |
307 | o = PyInt_FromLong((long) (*_arg2)); | |
308 | _resultobj = t_output_helper(_resultobj, o); | |
309 | } | |
310 | return _resultobj; | |
311 | } | |
312 | ||
313 | #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0)) | |
314 | static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args) { | |
315 | PyObject * _resultobj; | |
316 | bool _result; | |
317 | wxWindow * _arg0; | |
318 | int _arg1 = (0); | |
319 | char * _argc0 = 0; | |
320 | ||
321 | self = self; | |
322 | if(!PyArg_ParseTuple(args,"s|i:wxWindow_Close",&_argc0,&_arg1)) | |
323 | return NULL; | |
324 | if (_argc0) { | |
325 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p."); | |
327 | return NULL; | |
328 | } | |
329 | } | |
330 | _result = (bool )wxWindow_Close(_arg0,_arg1); | |
331 | _resultobj = Py_BuildValue("i",_result); | |
332 | return _resultobj; | |
333 | } | |
334 | ||
335 | #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy()) | |
336 | static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args) { | |
337 | PyObject * _resultobj; | |
338 | bool _result; | |
339 | wxWindow * _arg0; | |
340 | char * _argc0 = 0; | |
341 | ||
342 | self = self; | |
343 | if(!PyArg_ParseTuple(args,"s:wxWindow_Destroy",&_argc0)) | |
344 | return NULL; | |
345 | if (_argc0) { | |
346 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p."); | |
348 | return NULL; | |
349 | } | |
350 | } | |
351 | _result = (bool )wxWindow_Destroy(_arg0); | |
352 | _resultobj = Py_BuildValue("i",_result); | |
353 | return _resultobj; | |
354 | } | |
355 | ||
356 | #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren()) | |
357 | static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args) { | |
358 | PyObject * _resultobj; | |
359 | wxWindow * _arg0; | |
360 | char * _argc0 = 0; | |
361 | ||
362 | self = self; | |
363 | if(!PyArg_ParseTuple(args,"s:wxWindow_DestroyChildren",&_argc0)) | |
364 | return NULL; | |
365 | if (_argc0) { | |
366 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p."); | |
368 | return NULL; | |
369 | } | |
370 | } | |
371 | wxWindow_DestroyChildren(_arg0); | |
372 | Py_INCREF(Py_None); | |
373 | _resultobj = Py_None; | |
374 | return _resultobj; | |
375 | } | |
376 | ||
377 | #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) | |
378 | static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args) { | |
379 | PyObject * _resultobj; | |
380 | wxWindow * _arg0; | |
381 | bool _arg1; | |
382 | char * _argc0 = 0; | |
383 | int tempbool1; | |
384 | ||
385 | self = self; | |
386 | if(!PyArg_ParseTuple(args,"si:wxWindow_Enable",&_argc0,&tempbool1)) | |
387 | return NULL; | |
388 | if (_argc0) { | |
389 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p."); | |
391 | return NULL; | |
392 | } | |
393 | } | |
394 | _arg1 = (bool ) tempbool1; | |
395 | wxWindow_Enable(_arg0,_arg1); | |
396 | Py_INCREF(Py_None); | |
397 | _resultobj = Py_None; | |
398 | return _resultobj; | |
399 | } | |
400 | ||
401 | #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0)) | |
402 | static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args) { | |
403 | PyObject * _resultobj; | |
404 | wxWindow * _result; | |
405 | wxWindow * _arg0; | |
406 | long _arg1; | |
407 | char * _argc0 = 0; | |
408 | char _ptemp[128]; | |
409 | ||
410 | self = self; | |
411 | if(!PyArg_ParseTuple(args,"sl:wxWindow_FindWindowById",&_argc0,&_arg1)) | |
412 | return NULL; | |
413 | if (_argc0) { | |
414 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p."); | |
416 | return NULL; | |
417 | } | |
418 | } | |
419 | _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1); | |
420 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
421 | _resultobj = Py_BuildValue("s",_ptemp); | |
422 | return _resultobj; | |
423 | } | |
424 | ||
425 | #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0)) | |
426 | static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args) { | |
427 | PyObject * _resultobj; | |
428 | wxWindow * _result; | |
429 | wxWindow * _arg0; | |
430 | wxString * _arg1; | |
431 | char * _argc0 = 0; | |
432 | PyObject * _obj1 = 0; | |
433 | char _ptemp[128]; | |
434 | ||
435 | self = self; | |
436 | if(!PyArg_ParseTuple(args,"sO:wxWindow_FindWindowByName",&_argc0,&_obj1)) | |
437 | return NULL; | |
438 | if (_argc0) { | |
439 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p."); | |
441 | return NULL; | |
442 | } | |
443 | } | |
444 | { | |
445 | if (!PyString_Check(_obj1)) { | |
446 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
447 | return NULL; | |
448 | } | |
449 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
450 | } | |
451 | _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1); | |
452 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
453 | _resultobj = Py_BuildValue("s",_ptemp); | |
454 | { | |
455 | if (_obj1) | |
456 | delete _arg1; | |
457 | } | |
458 | return _resultobj; | |
459 | } | |
460 | ||
461 | #define wxWindow_Fit(_swigobj) (_swigobj->Fit()) | |
462 | static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args) { | |
463 | PyObject * _resultobj; | |
464 | wxWindow * _arg0; | |
465 | char * _argc0 = 0; | |
466 | ||
467 | self = self; | |
468 | if(!PyArg_ParseTuple(args,"s:wxWindow_Fit",&_argc0)) | |
469 | return NULL; | |
470 | if (_argc0) { | |
471 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p."); | |
473 | return NULL; | |
474 | } | |
475 | } | |
476 | wxWindow_Fit(_arg0); | |
477 | Py_INCREF(Py_None); | |
478 | _resultobj = Py_None; | |
479 | return _resultobj; | |
480 | } | |
481 | ||
482 | #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
483 | static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args) { | |
484 | PyObject * _resultobj; | |
485 | wxColour * _result; | |
486 | wxWindow * _arg0; | |
487 | char * _argc0 = 0; | |
488 | char _ptemp[128]; | |
489 | ||
490 | self = self; | |
491 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetBackgroundColour",&_argc0)) | |
492 | return NULL; | |
493 | if (_argc0) { | |
494 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p."); | |
496 | return NULL; | |
497 | } | |
498 | } | |
499 | _result = new wxColour (wxWindow_GetBackgroundColour(_arg0)); | |
500 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
501 | _resultobj = Py_BuildValue("s",_ptemp); | |
502 | return _resultobj; | |
503 | } | |
504 | ||
505 | #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight()) | |
506 | static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args) { | |
507 | PyObject * _resultobj; | |
508 | int _result; | |
509 | wxWindow * _arg0; | |
510 | char * _argc0 = 0; | |
511 | ||
512 | self = self; | |
513 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetCharHeight",&_argc0)) | |
514 | return NULL; | |
515 | if (_argc0) { | |
516 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p."); | |
518 | return NULL; | |
519 | } | |
520 | } | |
521 | _result = (int )wxWindow_GetCharHeight(_arg0); | |
522 | _resultobj = Py_BuildValue("i",_result); | |
523 | return _resultobj; | |
524 | } | |
525 | ||
526 | #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth()) | |
527 | static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args) { | |
528 | PyObject * _resultobj; | |
529 | int _result; | |
530 | wxWindow * _arg0; | |
531 | char * _argc0 = 0; | |
532 | ||
533 | self = self; | |
534 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetCharWidth",&_argc0)) | |
535 | return NULL; | |
536 | if (_argc0) { | |
537 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p."); | |
539 | return NULL; | |
540 | } | |
541 | } | |
542 | _result = (int )wxWindow_GetCharWidth(_arg0); | |
543 | _resultobj = Py_BuildValue("i",_result); | |
544 | return _resultobj; | |
545 | } | |
546 | ||
547 | #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1)) | |
548 | static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args) { | |
549 | PyObject * _resultobj; | |
550 | wxWindow * _arg0; | |
551 | int * _arg1; | |
552 | int temp; | |
553 | int * _arg2; | |
554 | int temp0; | |
555 | char * _argc0 = 0; | |
556 | ||
557 | self = self; | |
558 | { | |
559 | _arg1 = &temp; | |
560 | } | |
561 | { | |
562 | _arg2 = &temp0; | |
563 | } | |
564 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSizeTuple",&_argc0)) | |
565 | return NULL; | |
566 | if (_argc0) { | |
567 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p."); | |
569 | return NULL; | |
570 | } | |
571 | } | |
572 | wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2); | |
573 | Py_INCREF(Py_None); | |
574 | _resultobj = Py_None; | |
575 | { | |
576 | PyObject *o; | |
577 | o = PyInt_FromLong((long) (*_arg1)); | |
578 | _resultobj = t_output_helper(_resultobj, o); | |
579 | } | |
580 | { | |
581 | PyObject *o; | |
582 | o = PyInt_FromLong((long) (*_arg2)); | |
583 | _resultobj = t_output_helper(_resultobj, o); | |
584 | } | |
585 | return _resultobj; | |
586 | } | |
587 | ||
588 | #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize()) | |
589 | static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args) { | |
590 | PyObject * _resultobj; | |
591 | wxSize * _result; | |
592 | wxWindow * _arg0; | |
593 | char * _argc0 = 0; | |
594 | char _ptemp[128]; | |
595 | ||
596 | self = self; | |
597 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSize",&_argc0)) | |
598 | return NULL; | |
599 | if (_argc0) { | |
600 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p."); | |
602 | return NULL; | |
603 | } | |
604 | } | |
605 | _result = new wxSize (wxWindow_GetClientSize(_arg0)); | |
606 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
607 | _resultobj = Py_BuildValue("s",_ptemp); | |
608 | return _resultobj; | |
609 | } | |
610 | ||
611 | #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints()) | |
612 | static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args) { | |
613 | PyObject * _resultobj; | |
614 | wxLayoutConstraints * _result; | |
615 | wxWindow * _arg0; | |
616 | char * _argc0 = 0; | |
617 | char _ptemp[128]; | |
618 | ||
619 | self = self; | |
620 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetConstraints",&_argc0)) | |
621 | return NULL; | |
622 | if (_argc0) { | |
623 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p."); | |
625 | return NULL; | |
626 | } | |
627 | } | |
628 | _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0); | |
629 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p"); | |
630 | _resultobj = Py_BuildValue("s",_ptemp); | |
631 | return _resultobj; | |
632 | } | |
633 | ||
634 | #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont()) | |
635 | static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args) { | |
636 | PyObject * _resultobj; | |
637 | wxFont * _result; | |
638 | wxWindow * _arg0; | |
639 | char * _argc0 = 0; | |
640 | char _ptemp[128]; | |
641 | ||
642 | self = self; | |
643 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetFont",&_argc0)) | |
644 | return NULL; | |
645 | if (_argc0) { | |
646 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p."); | |
648 | return NULL; | |
649 | } | |
650 | } | |
651 | wxFont & _result_ref = wxWindow_GetFont(_arg0); | |
652 | _result = (wxFont *) &_result_ref; | |
653 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
654 | _resultobj = Py_BuildValue("s",_ptemp); | |
655 | return _resultobj; | |
656 | } | |
657 | ||
658 | #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour()) | |
659 | static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args) { | |
660 | PyObject * _resultobj; | |
661 | wxColour * _result; | |
662 | wxWindow * _arg0; | |
663 | char * _argc0 = 0; | |
664 | char _ptemp[128]; | |
665 | ||
666 | self = self; | |
667 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetForegroundColour",&_argc0)) | |
668 | return NULL; | |
669 | if (_argc0) { | |
670 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p."); | |
672 | return NULL; | |
673 | } | |
674 | } | |
675 | _result = new wxColour (wxWindow_GetForegroundColour(_arg0)); | |
676 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
677 | _resultobj = Py_BuildValue("s",_ptemp); | |
678 | return _resultobj; | |
679 | } | |
680 | ||
681 | #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent()) | |
682 | static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args) { | |
683 | PyObject * _resultobj; | |
684 | wxWindow * _result; | |
685 | wxWindow * _arg0; | |
686 | char * _argc0 = 0; | |
687 | char _ptemp[128]; | |
688 | ||
689 | self = self; | |
690 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetGrandParent",&_argc0)) | |
691 | return NULL; | |
692 | if (_argc0) { | |
693 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p."); | |
695 | return NULL; | |
696 | } | |
697 | } | |
698 | _result = (wxWindow *)wxWindow_GetGrandParent(_arg0); | |
699 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
700 | _resultobj = Py_BuildValue("s",_ptemp); | |
701 | return _resultobj; | |
702 | } | |
703 | ||
704 | #define wxWindow_GetId(_swigobj) (_swigobj->GetId()) | |
705 | static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args) { | |
706 | PyObject * _resultobj; | |
707 | int _result; | |
708 | wxWindow * _arg0; | |
709 | char * _argc0 = 0; | |
710 | ||
711 | self = self; | |
712 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetId",&_argc0)) | |
713 | return NULL; | |
714 | if (_argc0) { | |
715 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p."); | |
717 | return NULL; | |
718 | } | |
719 | } | |
720 | _result = (int )wxWindow_GetId(_arg0); | |
721 | _resultobj = Py_BuildValue("i",_result); | |
722 | return _resultobj; | |
723 | } | |
724 | ||
725 | #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel()) | |
726 | static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args) { | |
727 | PyObject * _resultobj; | |
728 | wxString * _result; | |
729 | wxWindow * _arg0; | |
730 | char * _argc0 = 0; | |
731 | ||
732 | self = self; | |
733 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetLabel",&_argc0)) | |
734 | return NULL; | |
735 | if (_argc0) { | |
736 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p."); | |
738 | return NULL; | |
739 | } | |
740 | } | |
741 | _result = new wxString (wxWindow_GetLabel(_arg0)); | |
742 | { | |
743 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
744 | } | |
745 | { | |
746 | delete _result; | |
747 | } | |
748 | return _resultobj; | |
749 | } | |
750 | ||
751 | #define wxWindow_GetName(_swigobj) (_swigobj->GetName()) | |
752 | static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args) { | |
753 | PyObject * _resultobj; | |
754 | wxString * _result; | |
755 | wxWindow * _arg0; | |
756 | char * _argc0 = 0; | |
757 | ||
758 | self = self; | |
759 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetName",&_argc0)) | |
760 | return NULL; | |
761 | if (_argc0) { | |
762 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p."); | |
764 | return NULL; | |
765 | } | |
766 | } | |
767 | _result = new wxString (wxWindow_GetName(_arg0)); | |
768 | { | |
769 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
770 | } | |
771 | { | |
772 | delete _result; | |
773 | } | |
774 | return _resultobj; | |
775 | } | |
776 | ||
777 | #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent()) | |
778 | static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args) { | |
779 | PyObject * _resultobj; | |
780 | wxWindow * _result; | |
781 | wxWindow * _arg0; | |
782 | char * _argc0 = 0; | |
783 | char _ptemp[128]; | |
784 | ||
785 | self = self; | |
786 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetParent",&_argc0)) | |
787 | return NULL; | |
788 | if (_argc0) { | |
789 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p."); | |
791 | return NULL; | |
792 | } | |
793 | } | |
794 | _result = (wxWindow *)wxWindow_GetParent(_arg0); | |
795 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
796 | _resultobj = Py_BuildValue("s",_ptemp); | |
797 | return _resultobj; | |
798 | } | |
799 | ||
800 | #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1)) | |
801 | static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args) { | |
802 | PyObject * _resultobj; | |
803 | wxWindow * _arg0; | |
804 | int * _arg1; | |
805 | int temp; | |
806 | int * _arg2; | |
807 | int temp0; | |
808 | char * _argc0 = 0; | |
809 | ||
810 | self = self; | |
811 | { | |
812 | _arg1 = &temp; | |
813 | } | |
814 | { | |
815 | _arg2 = &temp0; | |
816 | } | |
817 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetPositionTuple",&_argc0)) | |
818 | return NULL; | |
819 | if (_argc0) { | |
820 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p."); | |
822 | return NULL; | |
823 | } | |
824 | } | |
825 | wxWindow_GetPositionTuple(_arg0,_arg1,_arg2); | |
826 | Py_INCREF(Py_None); | |
827 | _resultobj = Py_None; | |
828 | { | |
829 | PyObject *o; | |
830 | o = PyInt_FromLong((long) (*_arg1)); | |
831 | _resultobj = t_output_helper(_resultobj, o); | |
832 | } | |
833 | { | |
834 | PyObject *o; | |
835 | o = PyInt_FromLong((long) (*_arg2)); | |
836 | _resultobj = t_output_helper(_resultobj, o); | |
837 | } | |
838 | return _resultobj; | |
839 | } | |
840 | ||
841 | #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
842 | static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args) { | |
843 | PyObject * _resultobj; | |
844 | wxPoint * _result; | |
845 | wxWindow * _arg0; | |
846 | char * _argc0 = 0; | |
847 | char _ptemp[128]; | |
848 | ||
849 | self = self; | |
850 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetPosition",&_argc0)) | |
851 | return NULL; | |
852 | if (_argc0) { | |
853 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p."); | |
855 | return NULL; | |
856 | } | |
857 | } | |
858 | _result = new wxPoint (wxWindow_GetPosition(_arg0)); | |
859 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
860 | _resultobj = Py_BuildValue("s",_ptemp); | |
861 | return _resultobj; | |
862 | } | |
863 | ||
864 | #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect()) | |
865 | static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args) { | |
866 | PyObject * _resultobj; | |
867 | wxRect * _result; | |
868 | wxWindow * _arg0; | |
869 | char * _argc0 = 0; | |
870 | char _ptemp[128]; | |
871 | ||
872 | self = self; | |
873 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetRect",&_argc0)) | |
874 | return NULL; | |
875 | if (_argc0) { | |
876 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p."); | |
878 | return NULL; | |
879 | } | |
880 | } | |
881 | _result = new wxRect (wxWindow_GetRect(_arg0)); | |
882 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
883 | _resultobj = Py_BuildValue("s",_ptemp); | |
884 | return _resultobj; | |
885 | } | |
886 | ||
887 | #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode()) | |
888 | static PyObject *_wrap_wxWindow_GetReturnCode(PyObject *self, PyObject *args) { | |
889 | PyObject * _resultobj; | |
890 | int _result; | |
891 | wxWindow * _arg0; | |
892 | char * _argc0 = 0; | |
893 | ||
894 | self = self; | |
895 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetReturnCode",&_argc0)) | |
896 | return NULL; | |
897 | if (_argc0) { | |
898 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p."); | |
900 | return NULL; | |
901 | } | |
902 | } | |
903 | _result = (int )wxWindow_GetReturnCode(_arg0); | |
904 | _resultobj = Py_BuildValue("i",_result); | |
905 | return _resultobj; | |
906 | } | |
907 | ||
908 | #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0)) | |
909 | static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args) { | |
910 | PyObject * _resultobj; | |
911 | int _result; | |
912 | wxWindow * _arg0; | |
913 | int _arg1; | |
914 | char * _argc0 = 0; | |
915 | ||
916 | self = self; | |
917 | if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollThumb",&_argc0,&_arg1)) | |
918 | return NULL; | |
919 | if (_argc0) { | |
920 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p."); | |
922 | return NULL; | |
923 | } | |
924 | } | |
925 | _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1); | |
926 | _resultobj = Py_BuildValue("i",_result); | |
927 | return _resultobj; | |
928 | } | |
929 | ||
930 | #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0)) | |
931 | static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args) { | |
932 | PyObject * _resultobj; | |
933 | int _result; | |
934 | wxWindow * _arg0; | |
935 | int _arg1; | |
936 | char * _argc0 = 0; | |
937 | ||
938 | self = self; | |
939 | if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollPos",&_argc0,&_arg1)) | |
940 | return NULL; | |
941 | if (_argc0) { | |
942 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p."); | |
944 | return NULL; | |
945 | } | |
946 | } | |
947 | _result = (int )wxWindow_GetScrollPos(_arg0,_arg1); | |
948 | _resultobj = Py_BuildValue("i",_result); | |
949 | return _resultobj; | |
950 | } | |
951 | ||
952 | #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0)) | |
953 | static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args) { | |
954 | PyObject * _resultobj; | |
955 | int _result; | |
956 | wxWindow * _arg0; | |
957 | int _arg1; | |
958 | char * _argc0 = 0; | |
959 | ||
960 | self = self; | |
961 | if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollRange",&_argc0,&_arg1)) | |
962 | return NULL; | |
963 | if (_argc0) { | |
964 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
965 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p."); | |
966 | return NULL; | |
967 | } | |
968 | } | |
969 | _result = (int )wxWindow_GetScrollRange(_arg0,_arg1); | |
970 | _resultobj = Py_BuildValue("i",_result); | |
971 | return _resultobj; | |
972 | } | |
973 | ||
974 | #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1)) | |
975 | static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args) { | |
976 | PyObject * _resultobj; | |
977 | wxWindow * _arg0; | |
978 | int * _arg1; | |
979 | int temp; | |
980 | int * _arg2; | |
981 | int temp0; | |
982 | char * _argc0 = 0; | |
983 | ||
984 | self = self; | |
985 | { | |
986 | _arg1 = &temp; | |
987 | } | |
988 | { | |
989 | _arg2 = &temp0; | |
990 | } | |
991 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetSizeTuple",&_argc0)) | |
992 | return NULL; | |
993 | if (_argc0) { | |
994 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p."); | |
996 | return NULL; | |
997 | } | |
998 | } | |
999 | wxWindow_GetSizeTuple(_arg0,_arg1,_arg2); | |
1000 | Py_INCREF(Py_None); | |
1001 | _resultobj = Py_None; | |
1002 | { | |
1003 | PyObject *o; | |
1004 | o = PyInt_FromLong((long) (*_arg1)); | |
1005 | _resultobj = t_output_helper(_resultobj, o); | |
1006 | } | |
1007 | { | |
1008 | PyObject *o; | |
1009 | o = PyInt_FromLong((long) (*_arg2)); | |
1010 | _resultobj = t_output_helper(_resultobj, o); | |
1011 | } | |
1012 | return _resultobj; | |
1013 | } | |
1014 | ||
1015 | #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize()) | |
1016 | static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args) { | |
1017 | PyObject * _resultobj; | |
1018 | wxSize * _result; | |
1019 | wxWindow * _arg0; | |
1020 | char * _argc0 = 0; | |
1021 | char _ptemp[128]; | |
1022 | ||
1023 | self = self; | |
1024 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetSize",&_argc0)) | |
1025 | return NULL; | |
1026 | if (_argc0) { | |
1027 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p."); | |
1029 | return NULL; | |
1030 | } | |
1031 | } | |
1032 | _result = new wxSize (wxWindow_GetSize(_arg0)); | |
1033 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1034 | _resultobj = Py_BuildValue("s",_ptemp); | |
1035 | return _resultobj; | |
1036 | } | |
1037 | ||
1038 | #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2)) | |
1039 | static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args) { | |
1040 | PyObject * _resultobj; | |
1041 | wxWindow * _arg0; | |
1042 | wxString * _arg1; | |
1043 | int * _arg2; | |
1044 | int temp; | |
1045 | int * _arg3; | |
1046 | int temp0; | |
1047 | char * _argc0 = 0; | |
1048 | PyObject * _obj1 = 0; | |
1049 | ||
1050 | self = self; | |
1051 | { | |
1052 | _arg2 = &temp; | |
1053 | } | |
1054 | { | |
1055 | _arg3 = &temp0; | |
1056 | } | |
1057 | if(!PyArg_ParseTuple(args,"sO:wxWindow_GetTextExtent",&_argc0,&_obj1)) | |
1058 | return NULL; | |
1059 | if (_argc0) { | |
1060 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p."); | |
1062 | return NULL; | |
1063 | } | |
1064 | } | |
1065 | { | |
1066 | if (!PyString_Check(_obj1)) { | |
1067 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1068 | return NULL; | |
1069 | } | |
1070 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1071 | } | |
1072 | wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3); | |
1073 | Py_INCREF(Py_None); | |
1074 | _resultobj = Py_None; | |
1075 | { | |
1076 | PyObject *o; | |
1077 | o = PyInt_FromLong((long) (*_arg2)); | |
1078 | _resultobj = t_output_helper(_resultobj, o); | |
1079 | } | |
1080 | { | |
1081 | PyObject *o; | |
1082 | o = PyInt_FromLong((long) (*_arg3)); | |
1083 | _resultobj = t_output_helper(_resultobj, o); | |
1084 | } | |
1085 | { | |
1086 | if (_obj1) | |
1087 | delete _arg1; | |
1088 | } | |
1089 | return _resultobj; | |
1090 | } | |
1091 | ||
1092 | #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1093 | static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args) { | |
1094 | PyObject * _resultobj; | |
1095 | wxWindow * _arg0; | |
1096 | wxString * _arg1; | |
1097 | int * _arg2; | |
1098 | int temp; | |
1099 | int * _arg3; | |
1100 | int temp0; | |
1101 | int * _arg4; | |
1102 | int temp1; | |
1103 | int * _arg5; | |
1104 | int temp2; | |
1105 | wxFont * _arg6 = NULL; | |
1106 | char * _argc0 = 0; | |
1107 | PyObject * _obj1 = 0; | |
1108 | char * _argc6 = 0; | |
1109 | ||
1110 | self = self; | |
1111 | { | |
1112 | _arg2 = &temp; | |
1113 | } | |
1114 | { | |
1115 | _arg3 = &temp0; | |
1116 | } | |
1117 | { | |
1118 | _arg4 = &temp1; | |
1119 | } | |
1120 | { | |
1121 | _arg5 = &temp2; | |
1122 | } | |
1123 | if(!PyArg_ParseTuple(args,"sO|s:wxWindow_GetFullTextExtent",&_argc0,&_obj1,&_argc6)) | |
1124 | return NULL; | |
1125 | if (_argc0) { | |
1126 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p."); | |
1128 | return NULL; | |
1129 | } | |
1130 | } | |
1131 | { | |
1132 | if (!PyString_Check(_obj1)) { | |
1133 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1134 | return NULL; | |
1135 | } | |
1136 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1137 | } | |
1138 | if (_argc6) { | |
1139 | if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxFont_p")) { | |
1140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p."); | |
1141 | return NULL; | |
1142 | } | |
1143 | } | |
1144 | wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1145 | Py_INCREF(Py_None); | |
1146 | _resultobj = Py_None; | |
1147 | { | |
1148 | PyObject *o; | |
1149 | o = PyInt_FromLong((long) (*_arg2)); | |
1150 | _resultobj = t_output_helper(_resultobj, o); | |
1151 | } | |
1152 | { | |
1153 | PyObject *o; | |
1154 | o = PyInt_FromLong((long) (*_arg3)); | |
1155 | _resultobj = t_output_helper(_resultobj, o); | |
1156 | } | |
1157 | { | |
1158 | PyObject *o; | |
1159 | o = PyInt_FromLong((long) (*_arg4)); | |
1160 | _resultobj = t_output_helper(_resultobj, o); | |
1161 | } | |
1162 | { | |
1163 | PyObject *o; | |
1164 | o = PyInt_FromLong((long) (*_arg5)); | |
1165 | _resultobj = t_output_helper(_resultobj, o); | |
1166 | } | |
1167 | { | |
1168 | if (_obj1) | |
1169 | delete _arg1; | |
1170 | } | |
1171 | return _resultobj; | |
1172 | } | |
1173 | ||
1174 | #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
1175 | static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args) { | |
1176 | PyObject * _resultobj; | |
1177 | wxString * _result; | |
1178 | wxWindow * _arg0; | |
1179 | char * _argc0 = 0; | |
1180 | ||
1181 | self = self; | |
1182 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetTitle",&_argc0)) | |
1183 | return NULL; | |
1184 | if (_argc0) { | |
1185 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p."); | |
1187 | return NULL; | |
1188 | } | |
1189 | } | |
1190 | _result = new wxString (wxWindow_GetTitle(_arg0)); | |
1191 | { | |
1192 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
1193 | } | |
1194 | { | |
1195 | delete _result; | |
1196 | } | |
1197 | return _resultobj; | |
1198 | } | |
1199 | ||
1200 | #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag()) | |
1201 | static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args) { | |
1202 | PyObject * _resultobj; | |
1203 | long _result; | |
1204 | wxWindow * _arg0; | |
1205 | char * _argc0 = 0; | |
1206 | ||
1207 | self = self; | |
1208 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetWindowStyleFlag",&_argc0)) | |
1209 | return NULL; | |
1210 | if (_argc0) { | |
1211 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p."); | |
1213 | return NULL; | |
1214 | } | |
1215 | } | |
1216 | _result = (long )wxWindow_GetWindowStyleFlag(_arg0); | |
1217 | _resultobj = Py_BuildValue("l",_result); | |
1218 | return _resultobj; | |
1219 | } | |
1220 | ||
1221 | #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog()) | |
1222 | static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args) { | |
1223 | PyObject * _resultobj; | |
1224 | wxWindow * _arg0; | |
1225 | char * _argc0 = 0; | |
1226 | ||
1227 | self = self; | |
1228 | if(!PyArg_ParseTuple(args,"s:wxWindow_InitDialog",&_argc0)) | |
1229 | return NULL; | |
1230 | if (_argc0) { | |
1231 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p."); | |
1233 | return NULL; | |
1234 | } | |
1235 | } | |
1236 | wxWindow_InitDialog(_arg0); | |
1237 | Py_INCREF(Py_None); | |
1238 | _resultobj = Py_None; | |
1239 | return _resultobj; | |
1240 | } | |
1241 | ||
1242 | #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled()) | |
1243 | static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args) { | |
1244 | PyObject * _resultobj; | |
1245 | bool _result; | |
1246 | wxWindow * _arg0; | |
1247 | char * _argc0 = 0; | |
1248 | ||
1249 | self = self; | |
1250 | if(!PyArg_ParseTuple(args,"s:wxWindow_IsEnabled",&_argc0)) | |
1251 | return NULL; | |
1252 | if (_argc0) { | |
1253 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p."); | |
1255 | return NULL; | |
1256 | } | |
1257 | } | |
1258 | _result = (bool )wxWindow_IsEnabled(_arg0); | |
1259 | _resultobj = Py_BuildValue("i",_result); | |
1260 | return _resultobj; | |
1261 | } | |
1262 | ||
1263 | #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained()) | |
1264 | static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args) { | |
1265 | PyObject * _resultobj; | |
1266 | bool _result; | |
1267 | wxWindow * _arg0; | |
1268 | char * _argc0 = 0; | |
1269 | ||
1270 | self = self; | |
1271 | if(!PyArg_ParseTuple(args,"s:wxWindow_IsRetained",&_argc0)) | |
1272 | return NULL; | |
1273 | if (_argc0) { | |
1274 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p."); | |
1276 | return NULL; | |
1277 | } | |
1278 | } | |
1279 | _result = (bool )wxWindow_IsRetained(_arg0); | |
1280 | _resultobj = Py_BuildValue("i",_result); | |
1281 | return _resultobj; | |
1282 | } | |
1283 | ||
1284 | #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown()) | |
1285 | static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args) { | |
1286 | PyObject * _resultobj; | |
1287 | bool _result; | |
1288 | wxWindow * _arg0; | |
1289 | char * _argc0 = 0; | |
1290 | ||
1291 | self = self; | |
1292 | if(!PyArg_ParseTuple(args,"s:wxWindow_IsShown",&_argc0)) | |
1293 | return NULL; | |
1294 | if (_argc0) { | |
1295 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p."); | |
1297 | return NULL; | |
1298 | } | |
1299 | } | |
1300 | _result = (bool )wxWindow_IsShown(_arg0); | |
1301 | _resultobj = Py_BuildValue("i",_result); | |
1302 | return _resultobj; | |
1303 | } | |
1304 | ||
1305 | #define wxWindow_Layout(_swigobj) (_swigobj->Layout()) | |
1306 | static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args) { | |
1307 | PyObject * _resultobj; | |
1308 | wxWindow * _arg0; | |
1309 | char * _argc0 = 0; | |
1310 | ||
1311 | self = self; | |
1312 | if(!PyArg_ParseTuple(args,"s:wxWindow_Layout",&_argc0)) | |
1313 | return NULL; | |
1314 | if (_argc0) { | |
1315 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p."); | |
1317 | return NULL; | |
1318 | } | |
1319 | } | |
1320 | wxWindow_Layout(_arg0); | |
1321 | Py_INCREF(Py_None); | |
1322 | _resultobj = Py_None; | |
1323 | return _resultobj; | |
1324 | } | |
1325 | ||
1326 | #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2)) | |
1327 | static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args) { | |
1328 | PyObject * _resultobj; | |
1329 | bool _result; | |
1330 | wxWindow * _arg0; | |
1331 | wxWindow * _arg1; | |
1332 | wxString * _arg2; | |
1333 | wxResourceTable * _arg3 = NULL; | |
1334 | char * _argc0 = 0; | |
1335 | char * _argc1 = 0; | |
1336 | PyObject * _obj2 = 0; | |
1337 | char * _argc3 = 0; | |
1338 | ||
1339 | self = self; | |
1340 | if(!PyArg_ParseTuple(args,"ssO|s:wxWindow_LoadFromResource",&_argc0,&_argc1,&_obj2,&_argc3)) | |
1341 | return NULL; | |
1342 | if (_argc0) { | |
1343 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p."); | |
1345 | return NULL; | |
1346 | } | |
1347 | } | |
1348 | if (_argc1) { | |
1349 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
1350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p."); | |
1351 | return NULL; | |
1352 | } | |
1353 | } | |
1354 | { | |
1355 | if (!PyString_Check(_obj2)) { | |
1356 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1357 | return NULL; | |
1358 | } | |
1359 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1360 | } | |
1361 | if (_argc3) { | |
1362 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxResourceTable_p")) { | |
1363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p."); | |
1364 | return NULL; | |
1365 | } | |
1366 | } | |
1367 | _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3); | |
1368 | _resultobj = Py_BuildValue("i",_result); | |
1369 | { | |
1370 | if (_obj2) | |
1371 | delete _arg2; | |
1372 | } | |
1373 | return _resultobj; | |
1374 | } | |
1375 | ||
1376 | #define wxWindow_Lower(_swigobj) (_swigobj->Lower()) | |
1377 | static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args) { | |
1378 | PyObject * _resultobj; | |
1379 | wxWindow * _arg0; | |
1380 | char * _argc0 = 0; | |
1381 | ||
1382 | self = self; | |
1383 | if(!PyArg_ParseTuple(args,"s:wxWindow_Lower",&_argc0)) | |
1384 | return NULL; | |
1385 | if (_argc0) { | |
1386 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1387 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p."); | |
1388 | return NULL; | |
1389 | } | |
1390 | } | |
1391 | wxWindow_Lower(_arg0); | |
1392 | Py_INCREF(Py_None); | |
1393 | _resultobj = Py_None; | |
1394 | return _resultobj; | |
1395 | } | |
1396 | ||
1397 | #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0)) | |
1398 | static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args) { | |
1399 | PyObject * _resultobj; | |
1400 | wxWindow * _arg0; | |
1401 | bool _arg1; | |
1402 | char * _argc0 = 0; | |
1403 | int tempbool1; | |
1404 | ||
1405 | self = self; | |
1406 | if(!PyArg_ParseTuple(args,"si:wxWindow_MakeModal",&_argc0,&tempbool1)) | |
1407 | return NULL; | |
1408 | if (_argc0) { | |
1409 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p."); | |
1411 | return NULL; | |
1412 | } | |
1413 | } | |
1414 | _arg1 = (bool ) tempbool1; | |
1415 | wxWindow_MakeModal(_arg0,_arg1); | |
1416 | Py_INCREF(Py_None); | |
1417 | _resultobj = Py_None; | |
1418 | return _resultobj; | |
1419 | } | |
1420 | ||
1421 | #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1)) | |
1422 | static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args) { | |
1423 | PyObject * _resultobj; | |
1424 | wxWindow * _arg0; | |
1425 | int _arg1; | |
1426 | int _arg2; | |
1427 | char * _argc0 = 0; | |
1428 | ||
1429 | self = self; | |
1430 | if(!PyArg_ParseTuple(args,"sii:wxWindow_MoveXY",&_argc0,&_arg1,&_arg2)) | |
1431 | return NULL; | |
1432 | if (_argc0) { | |
1433 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p."); | |
1435 | return NULL; | |
1436 | } | |
1437 | } | |
1438 | wxWindow_MoveXY(_arg0,_arg1,_arg2); | |
1439 | Py_INCREF(Py_None); | |
1440 | _resultobj = Py_None; | |
1441 | return _resultobj; | |
1442 | } | |
1443 | ||
1444 | #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0)) | |
1445 | static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args) { | |
1446 | PyObject * _resultobj; | |
1447 | wxWindow * _arg0; | |
1448 | wxPoint * _arg1; | |
1449 | char * _argc0 = 0; | |
1450 | char * _argc1 = 0; | |
1451 | ||
1452 | self = self; | |
1453 | if(!PyArg_ParseTuple(args,"ss:wxWindow_Move",&_argc0,&_argc1)) | |
1454 | return NULL; | |
1455 | if (_argc0) { | |
1456 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p."); | |
1458 | return NULL; | |
1459 | } | |
1460 | } | |
1461 | if (_argc1) { | |
1462 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
1463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p."); | |
1464 | return NULL; | |
1465 | } | |
1466 | } | |
1467 | wxWindow_Move(_arg0,*_arg1); | |
1468 | Py_INCREF(Py_None); | |
1469 | _resultobj = Py_None; | |
1470 | return _resultobj; | |
1471 | } | |
1472 | ||
1473 | #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2)) | |
1474 | static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args) { | |
1475 | PyObject * _resultobj; | |
1476 | bool _result; | |
1477 | wxWindow * _arg0; | |
1478 | wxMenu * _arg1; | |
1479 | int _arg2; | |
1480 | int _arg3; | |
1481 | char * _argc0 = 0; | |
1482 | char * _argc1 = 0; | |
1483 | ||
1484 | self = self; | |
1485 | if(!PyArg_ParseTuple(args,"ssii:wxWindow_PopupMenu",&_argc0,&_argc1,&_arg2,&_arg3)) | |
1486 | return NULL; | |
1487 | if (_argc0) { | |
1488 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p."); | |
1490 | return NULL; | |
1491 | } | |
1492 | } | |
1493 | if (_argc1) { | |
1494 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) { | |
1495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p."); | |
1496 | return NULL; | |
1497 | } | |
1498 | } | |
1499 | _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,_arg2,_arg3); | |
1500 | _resultobj = Py_BuildValue("i",_result); | |
1501 | return _resultobj; | |
1502 | } | |
1503 | ||
1504 | #define wxWindow_Raise(_swigobj) (_swigobj->Raise()) | |
1505 | static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args) { | |
1506 | PyObject * _resultobj; | |
1507 | wxWindow * _arg0; | |
1508 | char * _argc0 = 0; | |
1509 | ||
1510 | self = self; | |
1511 | if(!PyArg_ParseTuple(args,"s:wxWindow_Raise",&_argc0)) | |
1512 | return NULL; | |
1513 | if (_argc0) { | |
1514 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p."); | |
1516 | return NULL; | |
1517 | } | |
1518 | } | |
1519 | wxWindow_Raise(_arg0); | |
1520 | Py_INCREF(Py_None); | |
1521 | _resultobj = Py_None; | |
1522 | return _resultobj; | |
1523 | } | |
1524 | ||
1525 | #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1)) | |
1526 | static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args) { | |
1527 | PyObject * _resultobj; | |
1528 | wxWindow * _arg0; | |
1529 | bool _arg1 = (1); | |
1530 | wxRect * _arg2 = NULL; | |
1531 | char * _argc0 = 0; | |
1532 | int tempbool1; | |
1533 | char * _argc2 = 0; | |
1534 | ||
1535 | self = self; | |
1536 | if(!PyArg_ParseTuple(args,"s|is:wxWindow_Refresh",&_argc0,&tempbool1,&_argc2)) | |
1537 | return NULL; | |
1538 | if (_argc0) { | |
1539 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p."); | |
1541 | return NULL; | |
1542 | } | |
1543 | } | |
1544 | _arg1 = (bool ) tempbool1; | |
1545 | if (_argc2) { | |
1546 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxRect_p")) { | |
1547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p."); | |
1548 | return NULL; | |
1549 | } | |
1550 | } | |
1551 | wxWindow_Refresh(_arg0,_arg1,_arg2); | |
1552 | Py_INCREF(Py_None); | |
1553 | _resultobj = Py_None; | |
1554 | return _resultobj; | |
1555 | } | |
1556 | ||
1557 | #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse()) | |
1558 | static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args) { | |
1559 | PyObject * _resultobj; | |
1560 | wxWindow * _arg0; | |
1561 | char * _argc0 = 0; | |
1562 | ||
1563 | self = self; | |
1564 | if(!PyArg_ParseTuple(args,"s:wxWindow_ReleaseMouse",&_argc0)) | |
1565 | return NULL; | |
1566 | if (_argc0) { | |
1567 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p."); | |
1569 | return NULL; | |
1570 | } | |
1571 | } | |
1572 | wxWindow_ReleaseMouse(_arg0); | |
1573 | Py_INCREF(Py_None); | |
1574 | _resultobj = Py_None; | |
1575 | return _resultobj; | |
1576 | } | |
1577 | ||
1578 | #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1)) | |
1579 | static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args) { | |
1580 | PyObject * _resultobj; | |
1581 | wxWindow * _arg0; | |
1582 | int * _arg1; | |
1583 | int * _arg2; | |
1584 | char * _argc0 = 0; | |
1585 | int temp; | |
1586 | PyObject * _obj1 = 0; | |
1587 | int temp0; | |
1588 | PyObject * _obj2 = 0; | |
1589 | ||
1590 | self = self; | |
1591 | if(!PyArg_ParseTuple(args,"sOO:wxWindow_ScreenToClientXY",&_argc0,&_obj1,&_obj2)) | |
1592 | return NULL; | |
1593 | if (_argc0) { | |
1594 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p."); | |
1596 | return NULL; | |
1597 | } | |
1598 | } | |
1599 | { | |
1600 | temp = (int) PyInt_AsLong(_obj1); | |
1601 | _arg1 = &temp; | |
1602 | } | |
1603 | { | |
1604 | temp0 = (int) PyInt_AsLong(_obj2); | |
1605 | _arg2 = &temp0; | |
1606 | } | |
1607 | wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2); | |
1608 | Py_INCREF(Py_None); | |
1609 | _resultobj = Py_None; | |
1610 | { | |
1611 | PyObject *o; | |
1612 | o = PyInt_FromLong((long) (*_arg1)); | |
1613 | _resultobj = t_output_helper(_resultobj, o); | |
1614 | } | |
1615 | { | |
1616 | PyObject *o; | |
1617 | o = PyInt_FromLong((long) (*_arg2)); | |
1618 | _resultobj = t_output_helper(_resultobj, o); | |
1619 | } | |
1620 | return _resultobj; | |
1621 | } | |
1622 | ||
1623 | #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2)) | |
1624 | static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args) { | |
1625 | PyObject * _resultobj; | |
1626 | wxWindow * _arg0; | |
1627 | int _arg1; | |
1628 | int _arg2; | |
1629 | wxRect * _arg3 = NULL; | |
1630 | char * _argc0 = 0; | |
1631 | char * _argc3 = 0; | |
1632 | ||
1633 | self = self; | |
1634 | if(!PyArg_ParseTuple(args,"sii|s:wxWindow_ScrollWindow",&_argc0,&_arg1,&_arg2,&_argc3)) | |
1635 | return NULL; | |
1636 | if (_argc0) { | |
1637 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p."); | |
1639 | return NULL; | |
1640 | } | |
1641 | } | |
1642 | if (_argc3) { | |
1643 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxRect_p")) { | |
1644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p."); | |
1645 | return NULL; | |
1646 | } | |
1647 | } | |
1648 | wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3); | |
1649 | Py_INCREF(Py_None); | |
1650 | _resultobj = Py_None; | |
1651 | return _resultobj; | |
1652 | } | |
1653 | ||
1654 | #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0)) | |
1655 | static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args) { | |
1656 | PyObject * _resultobj; | |
1657 | wxWindow * _arg0; | |
1658 | wxAcceleratorTable * _arg1; | |
1659 | char * _argc0 = 0; | |
1660 | char * _argc1 = 0; | |
1661 | ||
1662 | self = self; | |
1663 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetAcceleratorTable",&_argc0,&_argc1)) | |
1664 | return NULL; | |
1665 | if (_argc0) { | |
1666 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p."); | |
1668 | return NULL; | |
1669 | } | |
1670 | } | |
1671 | if (_argc1) { | |
1672 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxAcceleratorTable_p")) { | |
1673 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p."); | |
1674 | return NULL; | |
1675 | } | |
1676 | } | |
1677 | wxWindow_SetAcceleratorTable(_arg0,*_arg1); | |
1678 | Py_INCREF(Py_None); | |
1679 | _resultobj = Py_None; | |
1680 | return _resultobj; | |
1681 | } | |
1682 | ||
1683 | #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0)) | |
1684 | static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args) { | |
1685 | PyObject * _resultobj; | |
1686 | wxWindow * _arg0; | |
1687 | bool _arg1; | |
1688 | char * _argc0 = 0; | |
1689 | int tempbool1; | |
1690 | ||
1691 | self = self; | |
1692 | if(!PyArg_ParseTuple(args,"si:wxWindow_SetAutoLayout",&_argc0,&tempbool1)) | |
1693 | return NULL; | |
1694 | if (_argc0) { | |
1695 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p."); | |
1697 | return NULL; | |
1698 | } | |
1699 | } | |
1700 | _arg1 = (bool ) tempbool1; | |
1701 | wxWindow_SetAutoLayout(_arg0,_arg1); | |
1702 | Py_INCREF(Py_None); | |
1703 | _resultobj = Py_None; | |
1704 | return _resultobj; | |
1705 | } | |
1706 | ||
1707 | #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
1708 | static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args) { | |
1709 | PyObject * _resultobj; | |
1710 | wxWindow * _arg0; | |
1711 | wxColour * _arg1; | |
1712 | char * _argc0 = 0; | |
1713 | char * _argc1 = 0; | |
1714 | ||
1715 | self = self; | |
1716 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetBackgroundColour",&_argc0,&_argc1)) | |
1717 | return NULL; | |
1718 | if (_argc0) { | |
1719 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p."); | |
1721 | return NULL; | |
1722 | } | |
1723 | } | |
1724 | if (_argc1) { | |
1725 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p."); | |
1727 | return NULL; | |
1728 | } | |
1729 | } | |
1730 | wxWindow_SetBackgroundColour(_arg0,*_arg1); | |
1731 | Py_INCREF(Py_None); | |
1732 | _resultobj = Py_None; | |
1733 | return _resultobj; | |
1734 | } | |
1735 | ||
1736 | #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0)) | |
1737 | static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args) { | |
1738 | PyObject * _resultobj; | |
1739 | wxWindow * _arg0; | |
1740 | wxLayoutConstraints * _arg1; | |
1741 | char * _argc0 = 0; | |
1742 | char * _argc1 = 0; | |
1743 | ||
1744 | self = self; | |
1745 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetConstraints",&_argc0,&_argc1)) | |
1746 | return NULL; | |
1747 | if (_argc0) { | |
1748 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p."); | |
1750 | return NULL; | |
1751 | } | |
1752 | } | |
1753 | if (_argc1) { | |
1754 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxLayoutConstraints_p")) { | |
1755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p."); | |
1756 | return NULL; | |
1757 | } | |
1758 | } | |
1759 | wxWindow_SetConstraints(_arg0,_arg1); | |
1760 | Py_INCREF(Py_None); | |
1761 | _resultobj = Py_None; | |
1762 | return _resultobj; | |
1763 | } | |
1764 | ||
1765 | #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0)) | |
1766 | static PyObject *_wrap_wxWindow_SetDoubleClick(PyObject *self, PyObject *args) { | |
1767 | PyObject * _resultobj; | |
1768 | wxWindow * _arg0; | |
1769 | bool _arg1; | |
1770 | char * _argc0 = 0; | |
1771 | int tempbool1; | |
1772 | ||
1773 | self = self; | |
1774 | if(!PyArg_ParseTuple(args,"si:wxWindow_SetDoubleClick",&_argc0,&tempbool1)) | |
1775 | return NULL; | |
1776 | if (_argc0) { | |
1777 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p."); | |
1779 | return NULL; | |
1780 | } | |
1781 | } | |
1782 | _arg1 = (bool ) tempbool1; | |
1783 | wxWindow_SetDoubleClick(_arg0,_arg1); | |
1784 | Py_INCREF(Py_None); | |
1785 | _resultobj = Py_None; | |
1786 | return _resultobj; | |
1787 | } | |
1788 | ||
1789 | #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus()) | |
1790 | static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args) { | |
1791 | PyObject * _resultobj; | |
1792 | wxWindow * _arg0; | |
1793 | char * _argc0 = 0; | |
1794 | ||
1795 | self = self; | |
1796 | if(!PyArg_ParseTuple(args,"s:wxWindow_SetFocus",&_argc0)) | |
1797 | return NULL; | |
1798 | if (_argc0) { | |
1799 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p."); | |
1801 | return NULL; | |
1802 | } | |
1803 | } | |
1804 | wxWindow_SetFocus(_arg0); | |
1805 | Py_INCREF(Py_None); | |
1806 | _resultobj = Py_None; | |
1807 | return _resultobj; | |
1808 | } | |
1809 | ||
1810 | #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
1811 | static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args) { | |
1812 | PyObject * _resultobj; | |
1813 | wxWindow * _arg0; | |
1814 | wxFont * _arg1; | |
1815 | char * _argc0 = 0; | |
1816 | char * _argc1 = 0; | |
1817 | ||
1818 | self = self; | |
1819 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetFont",&_argc0,&_argc1)) | |
1820 | return NULL; | |
1821 | if (_argc0) { | |
1822 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p."); | |
1824 | return NULL; | |
1825 | } | |
1826 | } | |
1827 | if (_argc1) { | |
1828 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
1829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p."); | |
1830 | return NULL; | |
1831 | } | |
1832 | } | |
1833 | wxWindow_SetFont(_arg0,*_arg1); | |
1834 | Py_INCREF(Py_None); | |
1835 | _resultobj = Py_None; | |
1836 | return _resultobj; | |
1837 | } | |
1838 | ||
1839 | #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0)) | |
1840 | static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args) { | |
1841 | PyObject * _resultobj; | |
1842 | wxWindow * _arg0; | |
1843 | wxColour * _arg1; | |
1844 | char * _argc0 = 0; | |
1845 | char * _argc1 = 0; | |
1846 | ||
1847 | self = self; | |
1848 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetForegroundColour",&_argc0,&_argc1)) | |
1849 | return NULL; | |
1850 | if (_argc0) { | |
1851 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p."); | |
1853 | return NULL; | |
1854 | } | |
1855 | } | |
1856 | if (_argc1) { | |
1857 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p."); | |
1859 | return NULL; | |
1860 | } | |
1861 | } | |
1862 | wxWindow_SetForegroundColour(_arg0,*_arg1); | |
1863 | Py_INCREF(Py_None); | |
1864 | _resultobj = Py_None; | |
1865 | return _resultobj; | |
1866 | } | |
1867 | ||
1868 | #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
1869 | static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args) { | |
1870 | PyObject * _resultobj; | |
1871 | wxWindow * _arg0; | |
1872 | int _arg1; | |
1873 | char * _argc0 = 0; | |
1874 | ||
1875 | self = self; | |
1876 | if(!PyArg_ParseTuple(args,"si:wxWindow_SetId",&_argc0,&_arg1)) | |
1877 | return NULL; | |
1878 | if (_argc0) { | |
1879 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p."); | |
1881 | return NULL; | |
1882 | } | |
1883 | } | |
1884 | wxWindow_SetId(_arg0,_arg1); | |
1885 | Py_INCREF(Py_None); | |
1886 | _resultobj = Py_None; | |
1887 | return _resultobj; | |
1888 | } | |
1889 | ||
1890 | #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0)) | |
1891 | static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args) { | |
1892 | PyObject * _resultobj; | |
1893 | wxWindow * _arg0; | |
1894 | wxString * _arg1; | |
1895 | char * _argc0 = 0; | |
1896 | PyObject * _obj1 = 0; | |
1897 | ||
1898 | self = self; | |
1899 | if(!PyArg_ParseTuple(args,"sO:wxWindow_SetName",&_argc0,&_obj1)) | |
1900 | return NULL; | |
1901 | if (_argc0) { | |
1902 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p."); | |
1904 | return NULL; | |
1905 | } | |
1906 | } | |
1907 | { | |
1908 | if (!PyString_Check(_obj1)) { | |
1909 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1910 | return NULL; | |
1911 | } | |
1912 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1913 | } | |
1914 | wxWindow_SetName(_arg0,*_arg1); | |
1915 | Py_INCREF(Py_None); | |
1916 | _resultobj = Py_None; | |
1917 | { | |
1918 | if (_obj1) | |
1919 | delete _arg1; | |
1920 | } | |
1921 | return _resultobj; | |
1922 | } | |
1923 | ||
1924 | #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0)) | |
1925 | static PyObject *_wrap_wxWindow_SetReturnCode(PyObject *self, PyObject *args) { | |
1926 | PyObject * _resultobj; | |
1927 | wxWindow * _arg0; | |
1928 | int _arg1; | |
1929 | char * _argc0 = 0; | |
1930 | ||
1931 | self = self; | |
1932 | if(!PyArg_ParseTuple(args,"si:wxWindow_SetReturnCode",&_argc0,&_arg1)) | |
1933 | return NULL; | |
1934 | if (_argc0) { | |
1935 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p."); | |
1937 | return NULL; | |
1938 | } | |
1939 | } | |
1940 | wxWindow_SetReturnCode(_arg0,_arg1); | |
1941 | Py_INCREF(Py_None); | |
1942 | _resultobj = Py_None; | |
1943 | return _resultobj; | |
1944 | } | |
1945 | ||
1946 | #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1947 | static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args) { | |
1948 | PyObject * _resultobj; | |
1949 | wxWindow * _arg0; | |
1950 | int _arg1; | |
1951 | int _arg2; | |
1952 | int _arg3; | |
1953 | int _arg4; | |
1954 | bool _arg5 = (1); | |
1955 | char * _argc0 = 0; | |
1956 | int tempbool5; | |
1957 | ||
1958 | self = self; | |
1959 | if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5)) | |
1960 | return NULL; | |
1961 | if (_argc0) { | |
1962 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p."); | |
1964 | return NULL; | |
1965 | } | |
1966 | } | |
1967 | _arg5 = (bool ) tempbool5; | |
1968 | wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1969 | Py_INCREF(Py_None); | |
1970 | _resultobj = Py_None; | |
1971 | return _resultobj; | |
1972 | } | |
1973 | ||
1974 | #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2)) | |
1975 | static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args) { | |
1976 | PyObject * _resultobj; | |
1977 | wxWindow * _arg0; | |
1978 | int _arg1; | |
1979 | int _arg2; | |
1980 | bool _arg3 = (1); | |
1981 | char * _argc0 = 0; | |
1982 | int tempbool3; | |
1983 | ||
1984 | self = self; | |
1985 | if(!PyArg_ParseTuple(args,"sii|i:wxWindow_SetScrollPos",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
1986 | return NULL; | |
1987 | if (_argc0) { | |
1988 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p."); | |
1990 | return NULL; | |
1991 | } | |
1992 | } | |
1993 | _arg3 = (bool ) tempbool3; | |
1994 | wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3); | |
1995 | Py_INCREF(Py_None); | |
1996 | _resultobj = Py_None; | |
1997 | return _resultobj; | |
1998 | } | |
1999 | ||
2000 | #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2001 | static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args) { | |
2002 | PyObject * _resultobj; | |
2003 | wxWindow * _arg0; | |
2004 | int _arg1; | |
2005 | int _arg2; | |
2006 | int _arg3; | |
2007 | int _arg4; | |
2008 | int _arg5 = (wxSIZE_AUTO); | |
2009 | char * _argc0 = 0; | |
2010 | ||
2011 | self = self; | |
2012 | if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetDimensions",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2013 | return NULL; | |
2014 | if (_argc0) { | |
2015 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p."); | |
2017 | return NULL; | |
2018 | } | |
2019 | } | |
2020 | wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2021 | Py_INCREF(Py_None); | |
2022 | _resultobj = Py_None; | |
2023 | return _resultobj; | |
2024 | } | |
2025 | ||
2026 | static void wxWindow_SetSize(wxWindow *self,const wxSize & size) { | |
2027 | self->SetSize(size.x, size.y); | |
2028 | } | |
2029 | static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args) { | |
2030 | PyObject * _resultobj; | |
2031 | wxWindow * _arg0; | |
2032 | wxSize * _arg1; | |
2033 | char * _argc0 = 0; | |
2034 | char * _argc1 = 0; | |
2035 | ||
2036 | self = self; | |
2037 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetSize",&_argc0,&_argc1)) | |
2038 | return NULL; | |
2039 | if (_argc0) { | |
2040 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p."); | |
2042 | return NULL; | |
2043 | } | |
2044 | } | |
2045 | if (_argc1) { | |
2046 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) { | |
2047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p."); | |
2048 | return NULL; | |
2049 | } | |
2050 | } | |
2051 | wxWindow_SetSize(_arg0,*_arg1); | |
2052 | Py_INCREF(Py_None); | |
2053 | _resultobj = Py_None; | |
2054 | return _resultobj; | |
2055 | } | |
2056 | ||
2057 | static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) { | |
2058 | self->SetSize(pos.x, pos.y, -1, -1); | |
2059 | } | |
2060 | static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args) { | |
2061 | PyObject * _resultobj; | |
2062 | wxWindow * _arg0; | |
2063 | wxPoint * _arg1; | |
2064 | char * _argc0 = 0; | |
2065 | char * _argc1 = 0; | |
2066 | ||
2067 | self = self; | |
2068 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetPosition",&_argc0,&_argc1)) | |
2069 | return NULL; | |
2070 | if (_argc0) { | |
2071 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p."); | |
2073 | return NULL; | |
2074 | } | |
2075 | } | |
2076 | if (_argc1) { | |
2077 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p."); | |
2079 | return NULL; | |
2080 | } | |
2081 | } | |
2082 | wxWindow_SetPosition(_arg0,*_arg1); | |
2083 | Py_INCREF(Py_None); | |
2084 | _resultobj = Py_None; | |
2085 | return _resultobj; | |
2086 | } | |
2087 | ||
2088 | #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2089 | static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args) { | |
2090 | PyObject * _resultobj; | |
2091 | wxWindow * _arg0; | |
2092 | int _arg1 = -1; | |
2093 | int _arg2 = -1; | |
2094 | int _arg3 = -1; | |
2095 | int _arg4 = -1; | |
2096 | int _arg5 = -1; | |
2097 | int _arg6 = -1; | |
2098 | char * _argc0 = 0; | |
2099 | ||
2100 | self = self; | |
2101 | if(!PyArg_ParseTuple(args,"s|iiiiii:wxWindow_SetSizeHints",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2102 | return NULL; | |
2103 | if (_argc0) { | |
2104 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p."); | |
2106 | return NULL; | |
2107 | } | |
2108 | } | |
2109 | wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2110 | Py_INCREF(Py_None); | |
2111 | _resultobj = Py_None; | |
2112 | return _resultobj; | |
2113 | } | |
2114 | ||
2115 | #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1)) | |
2116 | static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args) { | |
2117 | PyObject * _resultobj; | |
2118 | wxWindow * _arg0; | |
2119 | int _arg1; | |
2120 | int _arg2; | |
2121 | char * _argc0 = 0; | |
2122 | ||
2123 | self = self; | |
2124 | if(!PyArg_ParseTuple(args,"sii:wxWindow_SetClientSizeWH",&_argc0,&_arg1,&_arg2)) | |
2125 | return NULL; | |
2126 | if (_argc0) { | |
2127 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p."); | |
2129 | return NULL; | |
2130 | } | |
2131 | } | |
2132 | wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2); | |
2133 | Py_INCREF(Py_None); | |
2134 | _resultobj = Py_None; | |
2135 | return _resultobj; | |
2136 | } | |
2137 | ||
2138 | #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0)) | |
2139 | static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args) { | |
2140 | PyObject * _resultobj; | |
2141 | wxWindow * _arg0; | |
2142 | wxSize * _arg1; | |
2143 | char * _argc0 = 0; | |
2144 | char * _argc1 = 0; | |
2145 | ||
2146 | self = self; | |
2147 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetClientSize",&_argc0,&_argc1)) | |
2148 | return NULL; | |
2149 | if (_argc0) { | |
2150 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p."); | |
2152 | return NULL; | |
2153 | } | |
2154 | } | |
2155 | if (_argc1) { | |
2156 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) { | |
2157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p."); | |
2158 | return NULL; | |
2159 | } | |
2160 | } | |
2161 | wxWindow_SetClientSize(_arg0,*_arg1); | |
2162 | Py_INCREF(Py_None); | |
2163 | _resultobj = Py_None; | |
2164 | return _resultobj; | |
2165 | } | |
2166 | ||
2167 | #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0)) | |
2168 | static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args) { | |
2169 | PyObject * _resultobj; | |
2170 | wxWindow * _arg0; | |
2171 | wxCursor * _arg1; | |
2172 | char * _argc0 = 0; | |
2173 | char * _argc1 = 0; | |
2174 | ||
2175 | self = self; | |
2176 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetCursor",&_argc0,&_argc1)) | |
2177 | return NULL; | |
2178 | if (_argc0) { | |
2179 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p."); | |
2181 | return NULL; | |
2182 | } | |
2183 | } | |
2184 | if (_argc1) { | |
2185 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxCursor_p")) { | |
2186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p."); | |
2187 | return NULL; | |
2188 | } | |
2189 | } | |
2190 | wxWindow_SetCursor(_arg0,*_arg1); | |
2191 | Py_INCREF(Py_None); | |
2192 | _resultobj = Py_None; | |
2193 | return _resultobj; | |
2194 | } | |
2195 | ||
2196 | #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
2197 | static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args) { | |
2198 | PyObject * _resultobj; | |
2199 | wxWindow * _arg0; | |
2200 | wxString * _arg1; | |
2201 | char * _argc0 = 0; | |
2202 | PyObject * _obj1 = 0; | |
2203 | ||
2204 | self = self; | |
2205 | if(!PyArg_ParseTuple(args,"sO:wxWindow_SetTitle",&_argc0,&_obj1)) | |
2206 | return NULL; | |
2207 | if (_argc0) { | |
2208 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p."); | |
2210 | return NULL; | |
2211 | } | |
2212 | } | |
2213 | { | |
2214 | if (!PyString_Check(_obj1)) { | |
2215 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2216 | return NULL; | |
2217 | } | |
2218 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
2219 | } | |
2220 | wxWindow_SetTitle(_arg0,*_arg1); | |
2221 | Py_INCREF(Py_None); | |
2222 | _resultobj = Py_None; | |
2223 | { | |
2224 | if (_obj1) | |
2225 | delete _arg1; | |
2226 | } | |
2227 | return _resultobj; | |
2228 | } | |
2229 | ||
2230 | #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
2231 | static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args) { | |
2232 | PyObject * _resultobj; | |
2233 | bool _result; | |
2234 | wxWindow * _arg0; | |
2235 | bool _arg1; | |
2236 | char * _argc0 = 0; | |
2237 | int tempbool1; | |
2238 | ||
2239 | self = self; | |
2240 | if(!PyArg_ParseTuple(args,"si:wxWindow_Show",&_argc0,&tempbool1)) | |
2241 | return NULL; | |
2242 | if (_argc0) { | |
2243 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p."); | |
2245 | return NULL; | |
2246 | } | |
2247 | } | |
2248 | _arg1 = (bool ) tempbool1; | |
2249 | _result = (bool )wxWindow_Show(_arg0,_arg1); | |
2250 | _resultobj = Py_BuildValue("i",_result); | |
2251 | return _resultobj; | |
2252 | } | |
2253 | ||
2254 | #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow()) | |
2255 | static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args) { | |
2256 | PyObject * _resultobj; | |
2257 | bool _result; | |
2258 | wxWindow * _arg0; | |
2259 | char * _argc0 = 0; | |
2260 | ||
2261 | self = self; | |
2262 | if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataFromWindow",&_argc0)) | |
2263 | return NULL; | |
2264 | if (_argc0) { | |
2265 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p."); | |
2267 | return NULL; | |
2268 | } | |
2269 | } | |
2270 | _result = (bool )wxWindow_TransferDataFromWindow(_arg0); | |
2271 | _resultobj = Py_BuildValue("i",_result); | |
2272 | return _resultobj; | |
2273 | } | |
2274 | ||
2275 | #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow()) | |
2276 | static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args) { | |
2277 | PyObject * _resultobj; | |
2278 | bool _result; | |
2279 | wxWindow * _arg0; | |
2280 | char * _argc0 = 0; | |
2281 | ||
2282 | self = self; | |
2283 | if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataToWindow",&_argc0)) | |
2284 | return NULL; | |
2285 | if (_argc0) { | |
2286 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p."); | |
2288 | return NULL; | |
2289 | } | |
2290 | } | |
2291 | _result = (bool )wxWindow_TransferDataToWindow(_arg0); | |
2292 | _resultobj = Py_BuildValue("i",_result); | |
2293 | return _resultobj; | |
2294 | } | |
2295 | ||
2296 | #define wxWindow_Validate(_swigobj) (_swigobj->Validate()) | |
2297 | static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args) { | |
2298 | PyObject * _resultobj; | |
2299 | bool _result; | |
2300 | wxWindow * _arg0; | |
2301 | char * _argc0 = 0; | |
2302 | ||
2303 | self = self; | |
2304 | if(!PyArg_ParseTuple(args,"s:wxWindow_Validate",&_argc0)) | |
2305 | return NULL; | |
2306 | if (_argc0) { | |
2307 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p."); | |
2309 | return NULL; | |
2310 | } | |
2311 | } | |
2312 | _result = (bool )wxWindow_Validate(_arg0); | |
2313 | _resultobj = Py_BuildValue("i",_result); | |
2314 | return _resultobj; | |
2315 | } | |
2316 | ||
2317 | #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1)) | |
2318 | static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args) { | |
2319 | PyObject * _resultobj; | |
2320 | wxWindow * _arg0; | |
2321 | int _arg1; | |
2322 | int _arg2; | |
2323 | char * _argc0 = 0; | |
2324 | ||
2325 | self = self; | |
2326 | if(!PyArg_ParseTuple(args,"sii:wxWindow_WarpPointer",&_argc0,&_arg1,&_arg2)) | |
2327 | return NULL; | |
2328 | if (_argc0) { | |
2329 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p."); | |
2331 | return NULL; | |
2332 | } | |
2333 | } | |
2334 | wxWindow_WarpPointer(_arg0,_arg1,_arg2); | |
2335 | Py_INCREF(Py_None); | |
2336 | _resultobj = Py_None; | |
2337 | return _resultobj; | |
2338 | } | |
2339 | ||
2340 | #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0)) | |
2341 | static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args) { | |
2342 | PyObject * _resultobj; | |
2343 | wxPoint * _result; | |
2344 | wxWindow * _arg0; | |
2345 | wxPoint * _arg1; | |
2346 | char * _argc0 = 0; | |
2347 | char * _argc1 = 0; | |
2348 | char _ptemp[128]; | |
2349 | ||
2350 | self = self; | |
2351 | if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0,&_argc1)) | |
2352 | return NULL; | |
2353 | if (_argc0) { | |
2354 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p."); | |
2356 | return NULL; | |
2357 | } | |
2358 | } | |
2359 | if (_argc1) { | |
2360 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p."); | |
2362 | return NULL; | |
2363 | } | |
2364 | } | |
2365 | _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1)); | |
2366 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2367 | _resultobj = Py_BuildValue("s",_ptemp); | |
2368 | return _resultobj; | |
2369 | } | |
2370 | ||
2371 | #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0)) | |
2372 | static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args) { | |
2373 | PyObject * _resultobj; | |
2374 | wxSize * _result; | |
2375 | wxWindow * _arg0; | |
2376 | wxSize * _arg1; | |
2377 | char * _argc0 = 0; | |
2378 | char * _argc1 = 0; | |
2379 | char _ptemp[128]; | |
2380 | ||
2381 | self = self; | |
2382 | if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0,&_argc1)) | |
2383 | return NULL; | |
2384 | if (_argc0) { | |
2385 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p."); | |
2387 | return NULL; | |
2388 | } | |
2389 | } | |
2390 | if (_argc1) { | |
2391 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) { | |
2392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p."); | |
2393 | return NULL; | |
2394 | } | |
2395 | } | |
2396 | _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1)); | |
2397 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
2398 | _resultobj = Py_BuildValue("s",_ptemp); | |
2399 | return _resultobj; | |
2400 | } | |
2401 | ||
2402 | #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0)) | |
2403 | static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args) { | |
2404 | PyObject * _resultobj; | |
2405 | wxPoint * _result; | |
2406 | wxWindow * _arg0; | |
2407 | wxPoint * _arg1; | |
2408 | char * _argc0 = 0; | |
2409 | char * _argc1 = 0; | |
2410 | char _ptemp[128]; | |
2411 | ||
2412 | self = self; | |
2413 | if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0,&_argc1)) | |
2414 | return NULL; | |
2415 | if (_argc0) { | |
2416 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p."); | |
2418 | return NULL; | |
2419 | } | |
2420 | } | |
2421 | if (_argc1) { | |
2422 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p."); | |
2424 | return NULL; | |
2425 | } | |
2426 | } | |
2427 | _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1)); | |
2428 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2429 | _resultobj = Py_BuildValue("s",_ptemp); | |
2430 | return _resultobj; | |
2431 | } | |
2432 | ||
2433 | #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0)) | |
2434 | static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args) { | |
2435 | PyObject * _resultobj; | |
2436 | wxSize * _result; | |
2437 | wxWindow * _arg0; | |
2438 | wxSize * _arg1; | |
2439 | char * _argc0 = 0; | |
2440 | char * _argc1 = 0; | |
2441 | char _ptemp[128]; | |
2442 | ||
2443 | self = self; | |
2444 | if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0,&_argc1)) | |
2445 | return NULL; | |
2446 | if (_argc0) { | |
2447 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p."); | |
2449 | return NULL; | |
2450 | } | |
2451 | } | |
2452 | if (_argc1) { | |
2453 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) { | |
2454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p."); | |
2455 | return NULL; | |
2456 | } | |
2457 | } | |
2458 | _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1)); | |
2459 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
2460 | _resultobj = Py_BuildValue("s",_ptemp); | |
2461 | return _resultobj; | |
2462 | } | |
2463 | ||
2464 | #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0)) | |
2465 | static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args) { | |
2466 | PyObject * _resultobj; | |
2467 | wxWindow * _arg0; | |
2468 | wxString * _arg1; | |
2469 | char * _argc0 = 0; | |
2470 | PyObject * _obj1 = 0; | |
2471 | ||
2472 | self = self; | |
2473 | if(!PyArg_ParseTuple(args,"sO:wxWindow_SetToolTipString",&_argc0,&_obj1)) | |
2474 | return NULL; | |
2475 | if (_argc0) { | |
2476 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p."); | |
2478 | return NULL; | |
2479 | } | |
2480 | } | |
2481 | { | |
2482 | if (!PyString_Check(_obj1)) { | |
2483 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2484 | return NULL; | |
2485 | } | |
2486 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
2487 | } | |
2488 | wxWindow_SetToolTipString(_arg0,*_arg1); | |
2489 | Py_INCREF(Py_None); | |
2490 | _resultobj = Py_None; | |
2491 | { | |
2492 | if (_obj1) | |
2493 | delete _arg1; | |
2494 | } | |
2495 | return _resultobj; | |
2496 | } | |
2497 | ||
2498 | #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0)) | |
2499 | static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args) { | |
2500 | PyObject * _resultobj; | |
2501 | wxWindow * _arg0; | |
2502 | wxToolTip * _arg1; | |
2503 | char * _argc0 = 0; | |
2504 | char * _argc1 = 0; | |
2505 | ||
2506 | self = self; | |
2507 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetToolTip",&_argc0,&_argc1)) | |
2508 | return NULL; | |
2509 | if (_argc0) { | |
2510 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p."); | |
2512 | return NULL; | |
2513 | } | |
2514 | } | |
2515 | if (_argc1) { | |
2516 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxToolTip_p")) { | |
2517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p."); | |
2518 | return NULL; | |
2519 | } | |
2520 | } | |
2521 | wxWindow_SetToolTip(_arg0,_arg1); | |
2522 | Py_INCREF(Py_None); | |
2523 | _resultobj = Py_None; | |
2524 | return _resultobj; | |
2525 | } | |
2526 | ||
2527 | #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip()) | |
2528 | static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args) { | |
2529 | PyObject * _resultobj; | |
2530 | wxToolTip * _result; | |
2531 | wxWindow * _arg0; | |
2532 | char * _argc0 = 0; | |
2533 | char _ptemp[128]; | |
2534 | ||
2535 | self = self; | |
2536 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetToolTip",&_argc0)) | |
2537 | return NULL; | |
2538 | if (_argc0) { | |
2539 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p."); | |
2541 | return NULL; | |
2542 | } | |
2543 | } | |
2544 | _result = (wxToolTip *)wxWindow_GetToolTip(_arg0); | |
2545 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p"); | |
2546 | _resultobj = Py_BuildValue("s",_ptemp); | |
2547 | return _resultobj; | |
2548 | } | |
2549 | ||
2550 | static void *SwigwxPanelTowxWindow(void *ptr) { | |
2551 | wxPanel *src; | |
2552 | wxWindow *dest; | |
2553 | src = (wxPanel *) ptr; | |
2554 | dest = (wxWindow *) src; | |
2555 | return (void *) dest; | |
2556 | } | |
2557 | ||
2558 | static void *SwigwxPanelTowxEvtHandler(void *ptr) { | |
2559 | wxPanel *src; | |
2560 | wxEvtHandler *dest; | |
2561 | src = (wxPanel *) ptr; | |
2562 | dest = (wxEvtHandler *) src; | |
2563 | return (void *) dest; | |
2564 | } | |
2565 | ||
2566 | #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2567 | static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args) { | |
2568 | PyObject * _resultobj; | |
2569 | wxPanel * _result; | |
2570 | wxWindow * _arg0; | |
2571 | wxWindowID _arg1; | |
2572 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
2573 | wxSize * _arg3 = &wxPyDefaultSize; | |
2574 | long _arg4 = (wxTAB_TRAVERSAL); | |
2575 | char * _arg5 = "panel"; | |
2576 | char * _argc0 = 0; | |
2577 | char * _argc2 = 0; | |
2578 | char * _argc3 = 0; | |
2579 | char _ptemp[128]; | |
2580 | ||
2581 | self = self; | |
2582 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxPanel",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
2583 | return NULL; | |
2584 | if (_argc0) { | |
2585 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p."); | |
2587 | return NULL; | |
2588 | } | |
2589 | } | |
2590 | if (_argc2) { | |
2591 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
2592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p."); | |
2593 | return NULL; | |
2594 | } | |
2595 | } | |
2596 | if (_argc3) { | |
2597 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
2598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p."); | |
2599 | return NULL; | |
2600 | } | |
2601 | } | |
2602 | _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
2603 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p"); | |
2604 | _resultobj = Py_BuildValue("s",_ptemp); | |
2605 | return _resultobj; | |
2606 | } | |
2607 | ||
2608 | #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog()) | |
2609 | static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args) { | |
2610 | PyObject * _resultobj; | |
2611 | wxPanel * _arg0; | |
2612 | char * _argc0 = 0; | |
2613 | ||
2614 | self = self; | |
2615 | if(!PyArg_ParseTuple(args,"s:wxPanel_InitDialog",&_argc0)) | |
2616 | return NULL; | |
2617 | if (_argc0) { | |
2618 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) { | |
2619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p."); | |
2620 | return NULL; | |
2621 | } | |
2622 | } | |
2623 | wxPanel_InitDialog(_arg0); | |
2624 | Py_INCREF(Py_None); | |
2625 | _resultobj = Py_None; | |
2626 | return _resultobj; | |
2627 | } | |
2628 | ||
2629 | static void *SwigwxDialogTowxPanel(void *ptr) { | |
2630 | wxDialog *src; | |
2631 | wxPanel *dest; | |
2632 | src = (wxDialog *) ptr; | |
2633 | dest = (wxPanel *) src; | |
2634 | return (void *) dest; | |
2635 | } | |
2636 | ||
2637 | static void *SwigwxDialogTowxWindow(void *ptr) { | |
2638 | wxDialog *src; | |
2639 | wxWindow *dest; | |
2640 | src = (wxDialog *) ptr; | |
2641 | dest = (wxWindow *) src; | |
2642 | return (void *) dest; | |
2643 | } | |
2644 | ||
2645 | static void *SwigwxDialogTowxEvtHandler(void *ptr) { | |
2646 | wxDialog *src; | |
2647 | wxEvtHandler *dest; | |
2648 | src = (wxDialog *) ptr; | |
2649 | dest = (wxEvtHandler *) src; | |
2650 | return (void *) dest; | |
2651 | } | |
2652 | ||
2653 | #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2654 | static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args) { | |
2655 | PyObject * _resultobj; | |
2656 | wxDialog * _result; | |
2657 | wxWindow * _arg0; | |
2658 | wxWindowID _arg1; | |
2659 | wxString * _arg2; | |
2660 | wxPoint * _arg3 = &wxPyDefaultPosition; | |
2661 | wxSize * _arg4 = &wxPyDefaultSize; | |
2662 | long _arg5 = (wxDEFAULT_DIALOG_STYLE); | |
2663 | char * _arg6 = "dialogBox"; | |
2664 | char * _argc0 = 0; | |
2665 | PyObject * _obj2 = 0; | |
2666 | char * _argc3 = 0; | |
2667 | char * _argc4 = 0; | |
2668 | char _ptemp[128]; | |
2669 | ||
2670 | self = self; | |
2671 | if(!PyArg_ParseTuple(args,"siO|ssls:new_wxDialog",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6)) | |
2672 | return NULL; | |
2673 | if (_argc0) { | |
2674 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p."); | |
2676 | return NULL; | |
2677 | } | |
2678 | } | |
2679 | { | |
2680 | if (!PyString_Check(_obj2)) { | |
2681 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2682 | return NULL; | |
2683 | } | |
2684 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
2685 | } | |
2686 | if (_argc3) { | |
2687 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) { | |
2688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p."); | |
2689 | return NULL; | |
2690 | } | |
2691 | } | |
2692 | if (_argc4) { | |
2693 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) { | |
2694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p."); | |
2695 | return NULL; | |
2696 | } | |
2697 | } | |
2698 | _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
2699 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p"); | |
2700 | _resultobj = Py_BuildValue("s",_ptemp); | |
2701 | { | |
2702 | if (_obj2) | |
2703 | delete _arg2; | |
2704 | } | |
2705 | return _resultobj; | |
2706 | } | |
2707 | ||
2708 | #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) | |
2709 | static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args) { | |
2710 | PyObject * _resultobj; | |
2711 | wxDialog * _arg0; | |
2712 | int _arg1 = (wxBOTH); | |
2713 | char * _argc0 = 0; | |
2714 | ||
2715 | self = self; | |
2716 | if(!PyArg_ParseTuple(args,"s|i:wxDialog_Centre",&_argc0,&_arg1)) | |
2717 | return NULL; | |
2718 | if (_argc0) { | |
2719 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p."); | |
2721 | return NULL; | |
2722 | } | |
2723 | } | |
2724 | wxDialog_Centre(_arg0,_arg1); | |
2725 | Py_INCREF(Py_None); | |
2726 | _resultobj = Py_None; | |
2727 | return _resultobj; | |
2728 | } | |
2729 | ||
2730 | #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0)) | |
2731 | static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args) { | |
2732 | PyObject * _resultobj; | |
2733 | wxDialog * _arg0; | |
2734 | int _arg1; | |
2735 | char * _argc0 = 0; | |
2736 | ||
2737 | self = self; | |
2738 | if(!PyArg_ParseTuple(args,"si:wxDialog_EndModal",&_argc0,&_arg1)) | |
2739 | return NULL; | |
2740 | if (_argc0) { | |
2741 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p."); | |
2743 | return NULL; | |
2744 | } | |
2745 | } | |
2746 | wxDialog_EndModal(_arg0,_arg1); | |
2747 | Py_INCREF(Py_None); | |
2748 | _resultobj = Py_None; | |
2749 | return _resultobj; | |
2750 | } | |
2751 | ||
2752 | #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
2753 | static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args) { | |
2754 | PyObject * _resultobj; | |
2755 | wxString * _result; | |
2756 | wxDialog * _arg0; | |
2757 | char * _argc0 = 0; | |
2758 | ||
2759 | self = self; | |
2760 | if(!PyArg_ParseTuple(args,"s:wxDialog_GetTitle",&_argc0)) | |
2761 | return NULL; | |
2762 | if (_argc0) { | |
2763 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p."); | |
2765 | return NULL; | |
2766 | } | |
2767 | } | |
2768 | _result = new wxString (wxDialog_GetTitle(_arg0)); | |
2769 | { | |
2770 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
2771 | } | |
2772 | { | |
2773 | delete _result; | |
2774 | } | |
2775 | return _resultobj; | |
2776 | } | |
2777 | ||
2778 | #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0)) | |
2779 | static PyObject *_wrap_wxDialog_Iconize(PyObject *self, PyObject *args) { | |
2780 | PyObject * _resultobj; | |
2781 | wxDialog * _arg0; | |
2782 | bool _arg1; | |
2783 | char * _argc0 = 0; | |
2784 | int tempbool1; | |
2785 | ||
2786 | self = self; | |
2787 | if(!PyArg_ParseTuple(args,"si:wxDialog_Iconize",&_argc0,&tempbool1)) | |
2788 | return NULL; | |
2789 | if (_argc0) { | |
2790 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p."); | |
2792 | return NULL; | |
2793 | } | |
2794 | } | |
2795 | _arg1 = (bool ) tempbool1; | |
2796 | wxDialog_Iconize(_arg0,_arg1); | |
2797 | Py_INCREF(Py_None); | |
2798 | _resultobj = Py_None; | |
2799 | return _resultobj; | |
2800 | } | |
2801 | ||
2802 | #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized()) | |
2803 | static PyObject *_wrap_wxDialog_IsIconized(PyObject *self, PyObject *args) { | |
2804 | PyObject * _resultobj; | |
2805 | bool _result; | |
2806 | wxDialog * _arg0; | |
2807 | char * _argc0 = 0; | |
2808 | ||
2809 | self = self; | |
2810 | if(!PyArg_ParseTuple(args,"s:wxDialog_IsIconized",&_argc0)) | |
2811 | return NULL; | |
2812 | if (_argc0) { | |
2813 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p."); | |
2815 | return NULL; | |
2816 | } | |
2817 | } | |
2818 | _result = (bool )wxDialog_IsIconized(_arg0); | |
2819 | _resultobj = Py_BuildValue("i",_result); | |
2820 | return _resultobj; | |
2821 | } | |
2822 | ||
2823 | #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0)) | |
2824 | static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args) { | |
2825 | PyObject * _resultobj; | |
2826 | wxDialog * _arg0; | |
2827 | bool _arg1; | |
2828 | char * _argc0 = 0; | |
2829 | int tempbool1; | |
2830 | ||
2831 | self = self; | |
2832 | if(!PyArg_ParseTuple(args,"si:wxDialog_SetModal",&_argc0,&tempbool1)) | |
2833 | return NULL; | |
2834 | if (_argc0) { | |
2835 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p."); | |
2837 | return NULL; | |
2838 | } | |
2839 | } | |
2840 | _arg1 = (bool ) tempbool1; | |
2841 | wxDialog_SetModal(_arg0,_arg1); | |
2842 | Py_INCREF(Py_None); | |
2843 | _resultobj = Py_None; | |
2844 | return _resultobj; | |
2845 | } | |
2846 | ||
2847 | #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal()) | |
2848 | static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args) { | |
2849 | PyObject * _resultobj; | |
2850 | bool _result; | |
2851 | wxDialog * _arg0; | |
2852 | char * _argc0 = 0; | |
2853 | ||
2854 | self = self; | |
2855 | if(!PyArg_ParseTuple(args,"s:wxDialog_IsModal",&_argc0)) | |
2856 | return NULL; | |
2857 | if (_argc0) { | |
2858 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p."); | |
2860 | return NULL; | |
2861 | } | |
2862 | } | |
2863 | _result = (bool )wxDialog_IsModal(_arg0); | |
2864 | _resultobj = Py_BuildValue("i",_result); | |
2865 | return _resultobj; | |
2866 | } | |
2867 | ||
2868 | #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
2869 | static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args) { | |
2870 | PyObject * _resultobj; | |
2871 | wxDialog * _arg0; | |
2872 | wxString * _arg1; | |
2873 | char * _argc0 = 0; | |
2874 | PyObject * _obj1 = 0; | |
2875 | ||
2876 | self = self; | |
2877 | if(!PyArg_ParseTuple(args,"sO:wxDialog_SetTitle",&_argc0,&_obj1)) | |
2878 | return NULL; | |
2879 | if (_argc0) { | |
2880 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p."); | |
2882 | return NULL; | |
2883 | } | |
2884 | } | |
2885 | { | |
2886 | if (!PyString_Check(_obj1)) { | |
2887 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2888 | return NULL; | |
2889 | } | |
2890 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
2891 | } | |
2892 | wxDialog_SetTitle(_arg0,*_arg1); | |
2893 | Py_INCREF(Py_None); | |
2894 | _resultobj = Py_None; | |
2895 | { | |
2896 | if (_obj1) | |
2897 | delete _arg1; | |
2898 | } | |
2899 | return _resultobj; | |
2900 | } | |
2901 | ||
2902 | #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
2903 | static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args) { | |
2904 | PyObject * _resultobj; | |
2905 | bool _result; | |
2906 | wxDialog * _arg0; | |
2907 | bool _arg1; | |
2908 | char * _argc0 = 0; | |
2909 | int tempbool1; | |
2910 | ||
2911 | self = self; | |
2912 | if(!PyArg_ParseTuple(args,"si:wxDialog_Show",&_argc0,&tempbool1)) | |
2913 | return NULL; | |
2914 | if (_argc0) { | |
2915 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p."); | |
2917 | return NULL; | |
2918 | } | |
2919 | } | |
2920 | _arg1 = (bool ) tempbool1; | |
2921 | _result = (bool )wxDialog_Show(_arg0,_arg1); | |
2922 | _resultobj = Py_BuildValue("i",_result); | |
2923 | return _resultobj; | |
2924 | } | |
2925 | ||
2926 | #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
2927 | static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args) { | |
2928 | PyObject * _resultobj; | |
2929 | int _result; | |
2930 | wxDialog * _arg0; | |
2931 | char * _argc0 = 0; | |
2932 | ||
2933 | self = self; | |
2934 | if(!PyArg_ParseTuple(args,"s:wxDialog_ShowModal",&_argc0)) | |
2935 | return NULL; | |
2936 | if (_argc0) { | |
2937 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p."); | |
2939 | return NULL; | |
2940 | } | |
2941 | } | |
2942 | _result = (int )wxDialog_ShowModal(_arg0); | |
2943 | _resultobj = Py_BuildValue("i",_result); | |
2944 | return _resultobj; | |
2945 | } | |
2946 | ||
2947 | static void *SwigwxScrolledWindowTowxWindow(void *ptr) { | |
2948 | wxScrolledWindow *src; | |
2949 | wxWindow *dest; | |
2950 | src = (wxScrolledWindow *) ptr; | |
2951 | dest = (wxWindow *) src; | |
2952 | return (void *) dest; | |
2953 | } | |
2954 | ||
2955 | static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) { | |
2956 | wxScrolledWindow *src; | |
2957 | wxEvtHandler *dest; | |
2958 | src = (wxScrolledWindow *) ptr; | |
2959 | dest = (wxEvtHandler *) src; | |
2960 | return (void *) dest; | |
2961 | } | |
2962 | ||
2963 | #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2964 | static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args) { | |
2965 | PyObject * _resultobj; | |
2966 | wxScrolledWindow * _result; | |
2967 | wxWindow * _arg0; | |
2968 | wxWindowID _arg1 = -1; | |
2969 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
2970 | wxSize * _arg3 = &wxPyDefaultSize; | |
2971 | long _arg4 = (wxHSCROLL)|(wxVSCROLL); | |
2972 | char * _arg5 = "scrolledWindow"; | |
2973 | char * _argc0 = 0; | |
2974 | char * _argc2 = 0; | |
2975 | char * _argc3 = 0; | |
2976 | char _ptemp[128]; | |
2977 | ||
2978 | self = self; | |
2979 | if(!PyArg_ParseTuple(args,"s|issls:new_wxScrolledWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
2980 | return NULL; | |
2981 | if (_argc0) { | |
2982 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p."); | |
2984 | return NULL; | |
2985 | } | |
2986 | } | |
2987 | if (_argc2) { | |
2988 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
2989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p."); | |
2990 | return NULL; | |
2991 | } | |
2992 | } | |
2993 | if (_argc3) { | |
2994 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
2995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p."); | |
2996 | return NULL; | |
2997 | } | |
2998 | } | |
2999 | _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
3000 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p"); | |
3001 | _resultobj = Py_BuildValue("s",_ptemp); | |
3002 | return _resultobj; | |
3003 | } | |
3004 | ||
3005 | #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1)) | |
3006 | static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args) { | |
3007 | PyObject * _resultobj; | |
3008 | wxScrolledWindow * _arg0; | |
3009 | bool _arg1; | |
3010 | bool _arg2; | |
3011 | char * _argc0 = 0; | |
3012 | int tempbool1; | |
3013 | int tempbool2; | |
3014 | ||
3015 | self = self; | |
3016 | if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_EnableScrolling",&_argc0,&tempbool1,&tempbool2)) | |
3017 | return NULL; | |
3018 | if (_argc0) { | |
3019 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
3020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p."); | |
3021 | return NULL; | |
3022 | } | |
3023 | } | |
3024 | _arg1 = (bool ) tempbool1; | |
3025 | _arg2 = (bool ) tempbool2; | |
3026 | wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2); | |
3027 | Py_INCREF(Py_None); | |
3028 | _resultobj = Py_None; | |
3029 | return _resultobj; | |
3030 | } | |
3031 | ||
3032 | #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1)) | |
3033 | static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args) { | |
3034 | PyObject * _resultobj; | |
3035 | wxScrolledWindow * _arg0; | |
3036 | int * _arg1; | |
3037 | int temp; | |
3038 | int * _arg2; | |
3039 | int temp0; | |
3040 | char * _argc0 = 0; | |
3041 | ||
3042 | self = self; | |
3043 | { | |
3044 | _arg1 = &temp; | |
3045 | } | |
3046 | { | |
3047 | _arg2 = &temp0; | |
3048 | } | |
3049 | if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0)) | |
3050 | return NULL; | |
3051 | if (_argc0) { | |
3052 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
3053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p."); | |
3054 | return NULL; | |
3055 | } | |
3056 | } | |
3057 | wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2); | |
3058 | Py_INCREF(Py_None); | |
3059 | _resultobj = Py_None; | |
3060 | { | |
3061 | PyObject *o; | |
3062 | o = PyInt_FromLong((long) (*_arg1)); | |
3063 | _resultobj = t_output_helper(_resultobj, o); | |
3064 | } | |
3065 | { | |
3066 | PyObject *o; | |
3067 | o = PyInt_FromLong((long) (*_arg2)); | |
3068 | _resultobj = t_output_helper(_resultobj, o); | |
3069 | } | |
3070 | return _resultobj; | |
3071 | } | |
3072 | ||
3073 | #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1)) | |
3074 | static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args) { | |
3075 | PyObject * _resultobj; | |
3076 | wxScrolledWindow * _arg0; | |
3077 | int * _arg1; | |
3078 | int temp; | |
3079 | int * _arg2; | |
3080 | int temp0; | |
3081 | char * _argc0 = 0; | |
3082 | ||
3083 | self = self; | |
3084 | { | |
3085 | _arg1 = &temp; | |
3086 | } | |
3087 | { | |
3088 | _arg2 = &temp0; | |
3089 | } | |
3090 | if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetVirtualSize",&_argc0)) | |
3091 | return NULL; | |
3092 | if (_argc0) { | |
3093 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
3094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p."); | |
3095 | return NULL; | |
3096 | } | |
3097 | } | |
3098 | wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2); | |
3099 | Py_INCREF(Py_None); | |
3100 | _resultobj = Py_None; | |
3101 | { | |
3102 | PyObject *o; | |
3103 | o = PyInt_FromLong((long) (*_arg1)); | |
3104 | _resultobj = t_output_helper(_resultobj, o); | |
3105 | } | |
3106 | { | |
3107 | PyObject *o; | |
3108 | o = PyInt_FromLong((long) (*_arg2)); | |
3109 | _resultobj = t_output_helper(_resultobj, o); | |
3110 | } | |
3111 | return _resultobj; | |
3112 | } | |
3113 | ||
3114 | #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained()) | |
3115 | static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args) { | |
3116 | PyObject * _resultobj; | |
3117 | bool _result; | |
3118 | wxScrolledWindow * _arg0; | |
3119 | char * _argc0 = 0; | |
3120 | ||
3121 | self = self; | |
3122 | if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_IsRetained",&_argc0)) | |
3123 | return NULL; | |
3124 | if (_argc0) { | |
3125 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
3126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p."); | |
3127 | return NULL; | |
3128 | } | |
3129 | } | |
3130 | _result = (bool )wxScrolledWindow_IsRetained(_arg0); | |
3131 | _resultobj = Py_BuildValue("i",_result); | |
3132 | return _resultobj; | |
3133 | } | |
3134 | ||
3135 | #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0)) | |
3136 | static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args) { | |
3137 | PyObject * _resultobj; | |
3138 | wxScrolledWindow * _arg0; | |
3139 | wxDC * _arg1; | |
3140 | char * _argc0 = 0; | |
3141 | char * _argc1 = 0; | |
3142 | ||
3143 | self = self; | |
3144 | if(!PyArg_ParseTuple(args,"ss:wxScrolledWindow_PrepareDC",&_argc0,&_argc1)) | |
3145 | return NULL; | |
3146 | if (_argc0) { | |
3147 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
3148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p."); | |
3149 | return NULL; | |
3150 | } | |
3151 | } | |
3152 | if (_argc1) { | |
3153 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) { | |
3154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p."); | |
3155 | return NULL; | |
3156 | } | |
3157 | } | |
3158 | wxScrolledWindow_PrepareDC(_arg0,*_arg1); | |
3159 | Py_INCREF(Py_None); | |
3160 | _resultobj = Py_None; | |
3161 | return _resultobj; | |
3162 | } | |
3163 | ||
3164 | #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1)) | |
3165 | static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args) { | |
3166 | PyObject * _resultobj; | |
3167 | wxScrolledWindow * _arg0; | |
3168 | int _arg1; | |
3169 | int _arg2; | |
3170 | char * _argc0 = 0; | |
3171 | ||
3172 | self = self; | |
3173 | if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_Scroll",&_argc0,&_arg1,&_arg2)) | |
3174 | return NULL; | |
3175 | if (_argc0) { | |
3176 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
3177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p."); | |
3178 | return NULL; | |
3179 | } | |
3180 | } | |
3181 | wxScrolledWindow_Scroll(_arg0,_arg1,_arg2); | |
3182 | Py_INCREF(Py_None); | |
3183 | _resultobj = Py_None; | |
3184 | return _resultobj; | |
3185 | } | |
3186 | ||
3187 | #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3188 | static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args) { | |
3189 | PyObject * _resultobj; | |
3190 | wxScrolledWindow * _arg0; | |
3191 | int _arg1; | |
3192 | int _arg2; | |
3193 | int _arg3; | |
3194 | int _arg4; | |
3195 | int _arg5 = 0; | |
3196 | int _arg6 = 0; | |
3197 | char * _argc0 = 0; | |
3198 | ||
3199 | self = self; | |
3200 | if(!PyArg_ParseTuple(args,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
3201 | return NULL; | |
3202 | if (_argc0) { | |
3203 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
3204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p."); | |
3205 | return NULL; | |
3206 | } | |
3207 | } | |
3208 | wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3209 | Py_INCREF(Py_None); | |
3210 | _resultobj = Py_None; | |
3211 | return _resultobj; | |
3212 | } | |
3213 | ||
3214 | #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1)) | |
3215 | static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args) { | |
3216 | PyObject * _resultobj; | |
3217 | wxScrolledWindow * _arg0; | |
3218 | int * _arg1; | |
3219 | int temp; | |
3220 | int * _arg2; | |
3221 | int temp0; | |
3222 | char * _argc0 = 0; | |
3223 | ||
3224 | self = self; | |
3225 | { | |
3226 | _arg1 = &temp; | |
3227 | } | |
3228 | { | |
3229 | _arg2 = &temp0; | |
3230 | } | |
3231 | if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_ViewStart",&_argc0)) | |
3232 | return NULL; | |
3233 | if (_argc0) { | |
3234 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
3235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p."); | |
3236 | return NULL; | |
3237 | } | |
3238 | } | |
3239 | wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2); | |
3240 | Py_INCREF(Py_None); | |
3241 | _resultobj = Py_None; | |
3242 | { | |
3243 | PyObject *o; | |
3244 | o = PyInt_FromLong((long) (*_arg1)); | |
3245 | _resultobj = t_output_helper(_resultobj, o); | |
3246 | } | |
3247 | { | |
3248 | PyObject *o; | |
3249 | o = PyInt_FromLong((long) (*_arg2)); | |
3250 | _resultobj = t_output_helper(_resultobj, o); | |
3251 | } | |
3252 | return _resultobj; | |
3253 | } | |
3254 | ||
3255 | static void *SwigwxMenuTowxEvtHandler(void *ptr) { | |
3256 | wxMenu *src; | |
3257 | wxEvtHandler *dest; | |
3258 | src = (wxMenu *) ptr; | |
3259 | dest = (wxEvtHandler *) src; | |
3260 | return (void *) dest; | |
3261 | } | |
3262 | ||
3263 | #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0)) | |
3264 | static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args) { | |
3265 | PyObject * _resultobj; | |
3266 | wxMenu * _result; | |
3267 | wxString * _arg0 = &wxPyEmptyStr; | |
3268 | PyObject * _obj0 = 0; | |
3269 | char _ptemp[128]; | |
3270 | ||
3271 | self = self; | |
3272 | if(!PyArg_ParseTuple(args,"|O:new_wxMenu",&_obj0)) | |
3273 | return NULL; | |
3274 | if (_obj0) | |
3275 | { | |
3276 | if (!PyString_Check(_obj0)) { | |
3277 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3278 | return NULL; | |
3279 | } | |
3280 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
3281 | } | |
3282 | _result = (wxMenu *)new_wxMenu(*_arg0); | |
3283 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p"); | |
3284 | _resultobj = Py_BuildValue("s",_ptemp); | |
3285 | { | |
3286 | if (_obj0) | |
3287 | delete _arg0; | |
3288 | } | |
3289 | return _resultobj; | |
3290 | } | |
3291 | ||
3292 | #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3293 | static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args) { | |
3294 | PyObject * _resultobj; | |
3295 | wxMenu * _arg0; | |
3296 | int _arg1; | |
3297 | wxString * _arg2; | |
3298 | wxString * _arg3 = &wxPyEmptyStr; | |
3299 | int _arg4 = (0); | |
3300 | char * _argc0 = 0; | |
3301 | PyObject * _obj2 = 0; | |
3302 | PyObject * _obj3 = 0; | |
3303 | ||
3304 | self = self; | |
3305 | if(!PyArg_ParseTuple(args,"siO|Oi:wxMenu_Append",&_argc0,&_arg1,&_obj2,&_obj3,&_arg4)) | |
3306 | return NULL; | |
3307 | if (_argc0) { | |
3308 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p."); | |
3310 | return NULL; | |
3311 | } | |
3312 | } | |
3313 | { | |
3314 | if (!PyString_Check(_obj2)) { | |
3315 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3316 | return NULL; | |
3317 | } | |
3318 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3319 | } | |
3320 | if (_obj3) | |
3321 | { | |
3322 | if (!PyString_Check(_obj3)) { | |
3323 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3324 | return NULL; | |
3325 | } | |
3326 | _arg3 = new wxString(PyString_AsString(_obj3)); | |
3327 | } | |
3328 | wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4); | |
3329 | Py_INCREF(Py_None); | |
3330 | _resultobj = Py_None; | |
3331 | { | |
3332 | if (_obj2) | |
3333 | delete _arg2; | |
3334 | } | |
3335 | { | |
3336 | if (_obj3) | |
3337 | delete _arg3; | |
3338 | } | |
3339 | return _resultobj; | |
3340 | } | |
3341 | ||
3342 | #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3343 | static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args) { | |
3344 | PyObject * _resultobj; | |
3345 | wxMenu * _arg0; | |
3346 | int _arg1; | |
3347 | wxString * _arg2; | |
3348 | wxMenu * _arg3; | |
3349 | wxString * _arg4 = &wxPyEmptyStr; | |
3350 | char * _argc0 = 0; | |
3351 | PyObject * _obj2 = 0; | |
3352 | char * _argc3 = 0; | |
3353 | PyObject * _obj4 = 0; | |
3354 | ||
3355 | self = self; | |
3356 | if(!PyArg_ParseTuple(args,"siOs|O:wxMenu_AppendMenu",&_argc0,&_arg1,&_obj2,&_argc3,&_obj4)) | |
3357 | return NULL; | |
3358 | if (_argc0) { | |
3359 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p."); | |
3361 | return NULL; | |
3362 | } | |
3363 | } | |
3364 | { | |
3365 | if (!PyString_Check(_obj2)) { | |
3366 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3367 | return NULL; | |
3368 | } | |
3369 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3370 | } | |
3371 | if (_argc3) { | |
3372 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxMenu_p")) { | |
3373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p."); | |
3374 | return NULL; | |
3375 | } | |
3376 | } | |
3377 | if (_obj4) | |
3378 | { | |
3379 | if (!PyString_Check(_obj4)) { | |
3380 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3381 | return NULL; | |
3382 | } | |
3383 | _arg4 = new wxString(PyString_AsString(_obj4)); | |
3384 | } | |
3385 | wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4); | |
3386 | Py_INCREF(Py_None); | |
3387 | _resultobj = Py_None; | |
3388 | { | |
3389 | if (_obj2) | |
3390 | delete _arg2; | |
3391 | } | |
3392 | { | |
3393 | if (_obj4) | |
3394 | delete _arg4; | |
3395 | } | |
3396 | return _resultobj; | |
3397 | } | |
3398 | ||
3399 | #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator()) | |
3400 | static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args) { | |
3401 | PyObject * _resultobj; | |
3402 | wxMenu * _arg0; | |
3403 | char * _argc0 = 0; | |
3404 | ||
3405 | self = self; | |
3406 | if(!PyArg_ParseTuple(args,"s:wxMenu_AppendSeparator",&_argc0)) | |
3407 | return NULL; | |
3408 | if (_argc0) { | |
3409 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p."); | |
3411 | return NULL; | |
3412 | } | |
3413 | } | |
3414 | wxMenu_AppendSeparator(_arg0); | |
3415 | Py_INCREF(Py_None); | |
3416 | _resultobj = Py_None; | |
3417 | return _resultobj; | |
3418 | } | |
3419 | ||
3420 | #define wxMenu_Break(_swigobj) (_swigobj->Break()) | |
3421 | static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args) { | |
3422 | PyObject * _resultobj; | |
3423 | wxMenu * _arg0; | |
3424 | char * _argc0 = 0; | |
3425 | ||
3426 | self = self; | |
3427 | if(!PyArg_ParseTuple(args,"s:wxMenu_Break",&_argc0)) | |
3428 | return NULL; | |
3429 | if (_argc0) { | |
3430 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p."); | |
3432 | return NULL; | |
3433 | } | |
3434 | } | |
3435 | wxMenu_Break(_arg0); | |
3436 | Py_INCREF(Py_None); | |
3437 | _resultobj = Py_None; | |
3438 | return _resultobj; | |
3439 | } | |
3440 | ||
3441 | #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1)) | |
3442 | static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args) { | |
3443 | PyObject * _resultobj; | |
3444 | wxMenu * _arg0; | |
3445 | int _arg1; | |
3446 | bool _arg2; | |
3447 | char * _argc0 = 0; | |
3448 | int tempbool2; | |
3449 | ||
3450 | self = self; | |
3451 | if(!PyArg_ParseTuple(args,"sii:wxMenu_Check",&_argc0,&_arg1,&tempbool2)) | |
3452 | return NULL; | |
3453 | if (_argc0) { | |
3454 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p."); | |
3456 | return NULL; | |
3457 | } | |
3458 | } | |
3459 | _arg2 = (bool ) tempbool2; | |
3460 | wxMenu_Check(_arg0,_arg1,_arg2); | |
3461 | Py_INCREF(Py_None); | |
3462 | _resultobj = Py_None; | |
3463 | return _resultobj; | |
3464 | } | |
3465 | ||
3466 | #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1)) | |
3467 | static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args) { | |
3468 | PyObject * _resultobj; | |
3469 | wxMenu * _arg0; | |
3470 | int _arg1; | |
3471 | bool _arg2; | |
3472 | char * _argc0 = 0; | |
3473 | int tempbool2; | |
3474 | ||
3475 | self = self; | |
3476 | if(!PyArg_ParseTuple(args,"sii:wxMenu_Enable",&_argc0,&_arg1,&tempbool2)) | |
3477 | return NULL; | |
3478 | if (_argc0) { | |
3479 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p."); | |
3481 | return NULL; | |
3482 | } | |
3483 | } | |
3484 | _arg2 = (bool ) tempbool2; | |
3485 | wxMenu_Enable(_arg0,_arg1,_arg2); | |
3486 | Py_INCREF(Py_None); | |
3487 | _resultobj = Py_None; | |
3488 | return _resultobj; | |
3489 | } | |
3490 | ||
3491 | #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0)) | |
3492 | static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args) { | |
3493 | PyObject * _resultobj; | |
3494 | int _result; | |
3495 | wxMenu * _arg0; | |
3496 | wxString * _arg1; | |
3497 | char * _argc0 = 0; | |
3498 | PyObject * _obj1 = 0; | |
3499 | ||
3500 | self = self; | |
3501 | if(!PyArg_ParseTuple(args,"sO:wxMenu_FindItem",&_argc0,&_obj1)) | |
3502 | return NULL; | |
3503 | if (_argc0) { | |
3504 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3505 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p."); | |
3506 | return NULL; | |
3507 | } | |
3508 | } | |
3509 | { | |
3510 | if (!PyString_Check(_obj1)) { | |
3511 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3512 | return NULL; | |
3513 | } | |
3514 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
3515 | } | |
3516 | _result = (int )wxMenu_FindItem(_arg0,*_arg1); | |
3517 | _resultobj = Py_BuildValue("i",_result); | |
3518 | { | |
3519 | if (_obj1) | |
3520 | delete _arg1; | |
3521 | } | |
3522 | return _resultobj; | |
3523 | } | |
3524 | ||
3525 | #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
3526 | static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args) { | |
3527 | PyObject * _resultobj; | |
3528 | wxString * _result; | |
3529 | wxMenu * _arg0; | |
3530 | char * _argc0 = 0; | |
3531 | ||
3532 | self = self; | |
3533 | if(!PyArg_ParseTuple(args,"s:wxMenu_GetTitle",&_argc0)) | |
3534 | return NULL; | |
3535 | if (_argc0) { | |
3536 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p."); | |
3538 | return NULL; | |
3539 | } | |
3540 | } | |
3541 | _result = new wxString (wxMenu_GetTitle(_arg0)); | |
3542 | { | |
3543 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
3544 | } | |
3545 | { | |
3546 | delete _result; | |
3547 | } | |
3548 | return _resultobj; | |
3549 | } | |
3550 | ||
3551 | #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
3552 | static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args) { | |
3553 | PyObject * _resultobj; | |
3554 | wxMenu * _arg0; | |
3555 | wxString * _arg1; | |
3556 | char * _argc0 = 0; | |
3557 | PyObject * _obj1 = 0; | |
3558 | ||
3559 | self = self; | |
3560 | if(!PyArg_ParseTuple(args,"sO:wxMenu_SetTitle",&_argc0,&_obj1)) | |
3561 | return NULL; | |
3562 | if (_argc0) { | |
3563 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p."); | |
3565 | return NULL; | |
3566 | } | |
3567 | } | |
3568 | { | |
3569 | if (!PyString_Check(_obj1)) { | |
3570 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3571 | return NULL; | |
3572 | } | |
3573 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
3574 | } | |
3575 | wxMenu_SetTitle(_arg0,*_arg1); | |
3576 | Py_INCREF(Py_None); | |
3577 | _resultobj = Py_None; | |
3578 | { | |
3579 | if (_obj1) | |
3580 | delete _arg1; | |
3581 | } | |
3582 | return _resultobj; | |
3583 | } | |
3584 | ||
3585 | #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0)) | |
3586 | static PyObject *_wrap_wxMenu_FindItemForId(PyObject *self, PyObject *args) { | |
3587 | PyObject * _resultobj; | |
3588 | wxMenuItem * _result; | |
3589 | wxMenu * _arg0; | |
3590 | int _arg1; | |
3591 | char * _argc0 = 0; | |
3592 | char _ptemp[128]; | |
3593 | ||
3594 | self = self; | |
3595 | if(!PyArg_ParseTuple(args,"si:wxMenu_FindItemForId",&_argc0,&_arg1)) | |
3596 | return NULL; | |
3597 | if (_argc0) { | |
3598 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p."); | |
3600 | return NULL; | |
3601 | } | |
3602 | } | |
3603 | _result = (wxMenuItem *)wxMenu_FindItemForId(_arg0,_arg1); | |
3604 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p"); | |
3605 | _resultobj = Py_BuildValue("s",_ptemp); | |
3606 | return _resultobj; | |
3607 | } | |
3608 | ||
3609 | #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0)) | |
3610 | static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args) { | |
3611 | PyObject * _resultobj; | |
3612 | wxString * _result; | |
3613 | wxMenu * _arg0; | |
3614 | int _arg1; | |
3615 | char * _argc0 = 0; | |
3616 | ||
3617 | self = self; | |
3618 | if(!PyArg_ParseTuple(args,"si:wxMenu_GetHelpString",&_argc0,&_arg1)) | |
3619 | return NULL; | |
3620 | if (_argc0) { | |
3621 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p."); | |
3623 | return NULL; | |
3624 | } | |
3625 | } | |
3626 | _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1)); | |
3627 | { | |
3628 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
3629 | } | |
3630 | { | |
3631 | delete _result; | |
3632 | } | |
3633 | return _resultobj; | |
3634 | } | |
3635 | ||
3636 | #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0)) | |
3637 | static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args) { | |
3638 | PyObject * _resultobj; | |
3639 | wxString * _result; | |
3640 | wxMenu * _arg0; | |
3641 | int _arg1; | |
3642 | char * _argc0 = 0; | |
3643 | ||
3644 | self = self; | |
3645 | if(!PyArg_ParseTuple(args,"si:wxMenu_GetLabel",&_argc0,&_arg1)) | |
3646 | return NULL; | |
3647 | if (_argc0) { | |
3648 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p."); | |
3650 | return NULL; | |
3651 | } | |
3652 | } | |
3653 | _result = new wxString (wxMenu_GetLabel(_arg0,_arg1)); | |
3654 | { | |
3655 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
3656 | } | |
3657 | { | |
3658 | delete _result; | |
3659 | } | |
3660 | return _resultobj; | |
3661 | } | |
3662 | ||
3663 | #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1)) | |
3664 | static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args) { | |
3665 | PyObject * _resultobj; | |
3666 | wxMenu * _arg0; | |
3667 | int _arg1; | |
3668 | wxString * _arg2; | |
3669 | char * _argc0 = 0; | |
3670 | PyObject * _obj2 = 0; | |
3671 | ||
3672 | self = self; | |
3673 | if(!PyArg_ParseTuple(args,"siO:wxMenu_SetHelpString",&_argc0,&_arg1,&_obj2)) | |
3674 | return NULL; | |
3675 | if (_argc0) { | |
3676 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p."); | |
3678 | return NULL; | |
3679 | } | |
3680 | } | |
3681 | { | |
3682 | if (!PyString_Check(_obj2)) { | |
3683 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3684 | return NULL; | |
3685 | } | |
3686 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3687 | } | |
3688 | wxMenu_SetHelpString(_arg0,_arg1,*_arg2); | |
3689 | Py_INCREF(Py_None); | |
3690 | _resultobj = Py_None; | |
3691 | { | |
3692 | if (_obj2) | |
3693 | delete _arg2; | |
3694 | } | |
3695 | return _resultobj; | |
3696 | } | |
3697 | ||
3698 | #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0)) | |
3699 | static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args) { | |
3700 | PyObject * _resultobj; | |
3701 | bool _result; | |
3702 | wxMenu * _arg0; | |
3703 | int _arg1; | |
3704 | char * _argc0 = 0; | |
3705 | ||
3706 | self = self; | |
3707 | if(!PyArg_ParseTuple(args,"si:wxMenu_IsChecked",&_argc0,&_arg1)) | |
3708 | return NULL; | |
3709 | if (_argc0) { | |
3710 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p."); | |
3712 | return NULL; | |
3713 | } | |
3714 | } | |
3715 | _result = (bool )wxMenu_IsChecked(_arg0,_arg1); | |
3716 | _resultobj = Py_BuildValue("i",_result); | |
3717 | return _resultobj; | |
3718 | } | |
3719 | ||
3720 | #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0)) | |
3721 | static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args) { | |
3722 | PyObject * _resultobj; | |
3723 | bool _result; | |
3724 | wxMenu * _arg0; | |
3725 | int _arg1; | |
3726 | char * _argc0 = 0; | |
3727 | ||
3728 | self = self; | |
3729 | if(!PyArg_ParseTuple(args,"si:wxMenu_IsEnabled",&_argc0,&_arg1)) | |
3730 | return NULL; | |
3731 | if (_argc0) { | |
3732 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p."); | |
3734 | return NULL; | |
3735 | } | |
3736 | } | |
3737 | _result = (bool )wxMenu_IsEnabled(_arg0,_arg1); | |
3738 | _resultobj = Py_BuildValue("i",_result); | |
3739 | return _resultobj; | |
3740 | } | |
3741 | ||
3742 | #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1)) | |
3743 | static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args) { | |
3744 | PyObject * _resultobj; | |
3745 | wxMenu * _arg0; | |
3746 | int _arg1; | |
3747 | wxString * _arg2; | |
3748 | char * _argc0 = 0; | |
3749 | PyObject * _obj2 = 0; | |
3750 | ||
3751 | self = self; | |
3752 | if(!PyArg_ParseTuple(args,"siO:wxMenu_SetLabel",&_argc0,&_arg1,&_obj2)) | |
3753 | return NULL; | |
3754 | if (_argc0) { | |
3755 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p."); | |
3757 | return NULL; | |
3758 | } | |
3759 | } | |
3760 | { | |
3761 | if (!PyString_Check(_obj2)) { | |
3762 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3763 | return NULL; | |
3764 | } | |
3765 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3766 | } | |
3767 | wxMenu_SetLabel(_arg0,_arg1,*_arg2); | |
3768 | Py_INCREF(Py_None); | |
3769 | _resultobj = Py_None; | |
3770 | { | |
3771 | if (_obj2) | |
3772 | delete _arg2; | |
3773 | } | |
3774 | return _resultobj; | |
3775 | } | |
3776 | ||
3777 | static void *SwigwxPyMenuTowxMenu(void *ptr) { | |
3778 | wxPyMenu *src; | |
3779 | wxMenu *dest; | |
3780 | src = (wxPyMenu *) ptr; | |
3781 | dest = (wxMenu *) src; | |
3782 | return (void *) dest; | |
3783 | } | |
3784 | ||
3785 | static void *SwigwxPyMenuTowxEvtHandler(void *ptr) { | |
3786 | wxPyMenu *src; | |
3787 | wxEvtHandler *dest; | |
3788 | src = (wxPyMenu *) ptr; | |
3789 | dest = (wxEvtHandler *) src; | |
3790 | return (void *) dest; | |
3791 | } | |
3792 | ||
3793 | #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1)) | |
3794 | static PyObject *_wrap_new_wxPyMenu(PyObject *self, PyObject *args) { | |
3795 | PyObject * _resultobj; | |
3796 | wxPyMenu * _result; | |
3797 | wxString * _arg0 = &wxPyEmptyStr; | |
3798 | PyObject * _arg1 = NULL; | |
3799 | PyObject * _obj0 = 0; | |
3800 | PyObject * _obj1 = 0; | |
3801 | char _ptemp[128]; | |
3802 | ||
3803 | self = self; | |
3804 | if(!PyArg_ParseTuple(args,"|OO:new_wxPyMenu",&_obj0,&_obj1)) | |
3805 | return NULL; | |
3806 | if (_obj0) | |
3807 | { | |
3808 | if (!PyString_Check(_obj0)) { | |
3809 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3810 | return NULL; | |
3811 | } | |
3812 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
3813 | } | |
3814 | if (_obj1) | |
3815 | { | |
3816 | _arg1 = _obj1; | |
3817 | } | |
3818 | _result = (wxPyMenu *)new_wxPyMenu(*_arg0,_arg1); | |
3819 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyMenu_p"); | |
3820 | _resultobj = Py_BuildValue("s",_ptemp); | |
3821 | { | |
3822 | if (_obj0) | |
3823 | delete _arg0; | |
3824 | } | |
3825 | return _resultobj; | |
3826 | } | |
3827 | ||
3828 | #define delete_wxPyMenu(_swigobj) (delete _swigobj) | |
3829 | static PyObject *_wrap_delete_wxPyMenu(PyObject *self, PyObject *args) { | |
3830 | PyObject * _resultobj; | |
3831 | wxPyMenu * _arg0; | |
3832 | char * _argc0 = 0; | |
3833 | ||
3834 | self = self; | |
3835 | if(!PyArg_ParseTuple(args,"s:delete_wxPyMenu",&_argc0)) | |
3836 | return NULL; | |
3837 | if (_argc0) { | |
3838 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyMenu_p")) { | |
3839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p."); | |
3840 | return NULL; | |
3841 | } | |
3842 | } | |
3843 | delete_wxPyMenu(_arg0); | |
3844 | Py_INCREF(Py_None); | |
3845 | _resultobj = Py_None; | |
3846 | return _resultobj; | |
3847 | } | |
3848 | ||
3849 | static void *SwigwxMenuBarTowxEvtHandler(void *ptr) { | |
3850 | wxMenuBar *src; | |
3851 | wxEvtHandler *dest; | |
3852 | src = (wxMenuBar *) ptr; | |
3853 | dest = (wxEvtHandler *) src; | |
3854 | return (void *) dest; | |
3855 | } | |
3856 | ||
3857 | #define new_wxMenuBar() (new wxMenuBar()) | |
3858 | static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args) { | |
3859 | PyObject * _resultobj; | |
3860 | wxMenuBar * _result; | |
3861 | char _ptemp[128]; | |
3862 | ||
3863 | self = self; | |
3864 | if(!PyArg_ParseTuple(args,":new_wxMenuBar")) | |
3865 | return NULL; | |
3866 | _result = (wxMenuBar *)new_wxMenuBar(); | |
3867 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
3868 | _resultobj = Py_BuildValue("s",_ptemp); | |
3869 | return _resultobj; | |
3870 | } | |
3871 | ||
3872 | #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1)) | |
3873 | static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args) { | |
3874 | PyObject * _resultobj; | |
3875 | wxMenuBar * _arg0; | |
3876 | wxMenu * _arg1; | |
3877 | wxString * _arg2; | |
3878 | char * _argc0 = 0; | |
3879 | char * _argc1 = 0; | |
3880 | PyObject * _obj2 = 0; | |
3881 | ||
3882 | self = self; | |
3883 | if(!PyArg_ParseTuple(args,"ssO:wxMenuBar_Append",&_argc0,&_argc1,&_obj2)) | |
3884 | return NULL; | |
3885 | if (_argc0) { | |
3886 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p."); | |
3888 | return NULL; | |
3889 | } | |
3890 | } | |
3891 | if (_argc1) { | |
3892 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) { | |
3893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p."); | |
3894 | return NULL; | |
3895 | } | |
3896 | } | |
3897 | { | |
3898 | if (!PyString_Check(_obj2)) { | |
3899 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3900 | return NULL; | |
3901 | } | |
3902 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3903 | } | |
3904 | wxMenuBar_Append(_arg0,_arg1,*_arg2); | |
3905 | Py_INCREF(Py_None); | |
3906 | _resultobj = Py_None; | |
3907 | { | |
3908 | if (_obj2) | |
3909 | delete _arg2; | |
3910 | } | |
3911 | return _resultobj; | |
3912 | } | |
3913 | ||
3914 | #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1)) | |
3915 | static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args) { | |
3916 | PyObject * _resultobj; | |
3917 | wxMenuBar * _arg0; | |
3918 | int _arg1; | |
3919 | bool _arg2; | |
3920 | char * _argc0 = 0; | |
3921 | int tempbool2; | |
3922 | ||
3923 | self = self; | |
3924 | if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Check",&_argc0,&_arg1,&tempbool2)) | |
3925 | return NULL; | |
3926 | if (_argc0) { | |
3927 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p."); | |
3929 | return NULL; | |
3930 | } | |
3931 | } | |
3932 | _arg2 = (bool ) tempbool2; | |
3933 | wxMenuBar_Check(_arg0,_arg1,_arg2); | |
3934 | Py_INCREF(Py_None); | |
3935 | _resultobj = Py_None; | |
3936 | return _resultobj; | |
3937 | } | |
3938 | ||
3939 | #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0)) | |
3940 | static PyObject *_wrap_wxMenuBar_Checked(PyObject *self, PyObject *args) { | |
3941 | PyObject * _resultobj; | |
3942 | bool _result; | |
3943 | wxMenuBar * _arg0; | |
3944 | int _arg1; | |
3945 | char * _argc0 = 0; | |
3946 | ||
3947 | self = self; | |
3948 | if(!PyArg_ParseTuple(args,"si:wxMenuBar_Checked",&_argc0,&_arg1)) | |
3949 | return NULL; | |
3950 | if (_argc0) { | |
3951 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p."); | |
3953 | return NULL; | |
3954 | } | |
3955 | } | |
3956 | _result = (bool )wxMenuBar_Checked(_arg0,_arg1); | |
3957 | _resultobj = Py_BuildValue("i",_result); | |
3958 | return _resultobj; | |
3959 | } | |
3960 | ||
3961 | #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1)) | |
3962 | static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args) { | |
3963 | PyObject * _resultobj; | |
3964 | wxMenuBar * _arg0; | |
3965 | int _arg1; | |
3966 | bool _arg2; | |
3967 | char * _argc0 = 0; | |
3968 | int tempbool2; | |
3969 | ||
3970 | self = self; | |
3971 | if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Enable",&_argc0,&_arg1,&tempbool2)) | |
3972 | return NULL; | |
3973 | if (_argc0) { | |
3974 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p."); | |
3976 | return NULL; | |
3977 | } | |
3978 | } | |
3979 | _arg2 = (bool ) tempbool2; | |
3980 | wxMenuBar_Enable(_arg0,_arg1,_arg2); | |
3981 | Py_INCREF(Py_None); | |
3982 | _resultobj = Py_None; | |
3983 | return _resultobj; | |
3984 | } | |
3985 | ||
3986 | #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0)) | |
3987 | static PyObject *_wrap_wxMenuBar_Enabled(PyObject *self, PyObject *args) { | |
3988 | PyObject * _resultobj; | |
3989 | bool _result; | |
3990 | wxMenuBar * _arg0; | |
3991 | int _arg1; | |
3992 | char * _argc0 = 0; | |
3993 | ||
3994 | self = self; | |
3995 | if(!PyArg_ParseTuple(args,"si:wxMenuBar_Enabled",&_argc0,&_arg1)) | |
3996 | return NULL; | |
3997 | if (_argc0) { | |
3998 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p."); | |
4000 | return NULL; | |
4001 | } | |
4002 | } | |
4003 | _result = (bool )wxMenuBar_Enabled(_arg0,_arg1); | |
4004 | _resultobj = Py_BuildValue("i",_result); | |
4005 | return _resultobj; | |
4006 | } | |
4007 | ||
4008 | #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1)) | |
4009 | static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args) { | |
4010 | PyObject * _resultobj; | |
4011 | int _result; | |
4012 | wxMenuBar * _arg0; | |
4013 | wxString * _arg1; | |
4014 | wxString * _arg2; | |
4015 | char * _argc0 = 0; | |
4016 | PyObject * _obj1 = 0; | |
4017 | PyObject * _obj2 = 0; | |
4018 | ||
4019 | self = self; | |
4020 | if(!PyArg_ParseTuple(args,"sOO:wxMenuBar_FindMenuItem",&_argc0,&_obj1,&_obj2)) | |
4021 | return NULL; | |
4022 | if (_argc0) { | |
4023 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
4024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p."); | |
4025 | return NULL; | |
4026 | } | |
4027 | } | |
4028 | { | |
4029 | if (!PyString_Check(_obj1)) { | |
4030 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4031 | return NULL; | |
4032 | } | |
4033 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
4034 | } | |
4035 | { | |
4036 | if (!PyString_Check(_obj2)) { | |
4037 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4038 | return NULL; | |
4039 | } | |
4040 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
4041 | } | |
4042 | _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2); | |
4043 | _resultobj = Py_BuildValue("i",_result); | |
4044 | { | |
4045 | if (_obj1) | |
4046 | delete _arg1; | |
4047 | } | |
4048 | { | |
4049 | if (_obj2) | |
4050 | delete _arg2; | |
4051 | } | |
4052 | return _resultobj; | |
4053 | } | |
4054 | ||
4055 | #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0)) | |
4056 | static PyObject *_wrap_wxMenuBar_FindItemForId(PyObject *self, PyObject *args) { | |
4057 | PyObject * _resultobj; | |
4058 | wxMenuItem * _result; | |
4059 | wxMenuBar * _arg0; | |
4060 | int _arg1; | |
4061 | char * _argc0 = 0; | |
4062 | char _ptemp[128]; | |
4063 | ||
4064 | self = self; | |
4065 | if(!PyArg_ParseTuple(args,"si:wxMenuBar_FindItemForId",&_argc0,&_arg1)) | |
4066 | return NULL; | |
4067 | if (_argc0) { | |
4068 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
4069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p."); | |
4070 | return NULL; | |
4071 | } | |
4072 | } | |
4073 | _result = (wxMenuItem *)wxMenuBar_FindItemForId(_arg0,_arg1); | |
4074 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p"); | |
4075 | _resultobj = Py_BuildValue("s",_ptemp); | |
4076 | return _resultobj; | |
4077 | } | |
4078 | ||
4079 | #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount()) | |
4080 | static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args) { | |
4081 | PyObject * _resultobj; | |
4082 | int _result; | |
4083 | wxMenuBar * _arg0; | |
4084 | char * _argc0 = 0; | |
4085 | ||
4086 | self = self; | |
4087 | if(!PyArg_ParseTuple(args,"s:wxMenuBar_GetMenuCount",&_argc0)) | |
4088 | return NULL; | |
4089 | if (_argc0) { | |
4090 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
4091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p."); | |
4092 | return NULL; | |
4093 | } | |
4094 | } | |
4095 | _result = (int )wxMenuBar_GetMenuCount(_arg0); | |
4096 | _resultobj = Py_BuildValue("i",_result); | |
4097 | return _resultobj; | |
4098 | } | |
4099 | ||
4100 | #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0)) | |
4101 | static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args) { | |
4102 | PyObject * _resultobj; | |
4103 | wxMenu * _result; | |
4104 | wxMenuBar * _arg0; | |
4105 | int _arg1; | |
4106 | char * _argc0 = 0; | |
4107 | char _ptemp[128]; | |
4108 | ||
4109 | self = self; | |
4110 | if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetMenu",&_argc0,&_arg1)) | |
4111 | return NULL; | |
4112 | if (_argc0) { | |
4113 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
4114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p."); | |
4115 | return NULL; | |
4116 | } | |
4117 | } | |
4118 | _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1); | |
4119 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p"); | |
4120 | _resultobj = Py_BuildValue("s",_ptemp); | |
4121 | return _resultobj; | |
4122 | } | |
4123 | ||
4124 | #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator()) | |
4125 | static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args) { | |
4126 | PyObject * _resultobj; | |
4127 | bool _result; | |
4128 | wxMenuItem * _arg0; | |
4129 | char * _argc0 = 0; | |
4130 | ||
4131 | self = self; | |
4132 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsSeparator",&_argc0)) | |
4133 | return NULL; | |
4134 | if (_argc0) { | |
4135 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p."); | |
4137 | return NULL; | |
4138 | } | |
4139 | } | |
4140 | _result = (bool )wxMenuItem_IsSeparator(_arg0); | |
4141 | _resultobj = Py_BuildValue("i",_result); | |
4142 | return _resultobj; | |
4143 | } | |
4144 | ||
4145 | #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled()) | |
4146 | static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args) { | |
4147 | PyObject * _resultobj; | |
4148 | bool _result; | |
4149 | wxMenuItem * _arg0; | |
4150 | char * _argc0 = 0; | |
4151 | ||
4152 | self = self; | |
4153 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsEnabled",&_argc0)) | |
4154 | return NULL; | |
4155 | if (_argc0) { | |
4156 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p."); | |
4158 | return NULL; | |
4159 | } | |
4160 | } | |
4161 | _result = (bool )wxMenuItem_IsEnabled(_arg0); | |
4162 | _resultobj = Py_BuildValue("i",_result); | |
4163 | return _resultobj; | |
4164 | } | |
4165 | ||
4166 | #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked()) | |
4167 | static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args) { | |
4168 | PyObject * _resultobj; | |
4169 | bool _result; | |
4170 | wxMenuItem * _arg0; | |
4171 | char * _argc0 = 0; | |
4172 | ||
4173 | self = self; | |
4174 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsChecked",&_argc0)) | |
4175 | return NULL; | |
4176 | if (_argc0) { | |
4177 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p."); | |
4179 | return NULL; | |
4180 | } | |
4181 | } | |
4182 | _result = (bool )wxMenuItem_IsChecked(_arg0); | |
4183 | _resultobj = Py_BuildValue("i",_result); | |
4184 | return _resultobj; | |
4185 | } | |
4186 | ||
4187 | #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable()) | |
4188 | static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args) { | |
4189 | PyObject * _resultobj; | |
4190 | bool _result; | |
4191 | wxMenuItem * _arg0; | |
4192 | char * _argc0 = 0; | |
4193 | ||
4194 | self = self; | |
4195 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsCheckable",&_argc0)) | |
4196 | return NULL; | |
4197 | if (_argc0) { | |
4198 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p."); | |
4200 | return NULL; | |
4201 | } | |
4202 | } | |
4203 | _result = (bool )wxMenuItem_IsCheckable(_arg0); | |
4204 | _resultobj = Py_BuildValue("i",_result); | |
4205 | return _resultobj; | |
4206 | } | |
4207 | ||
4208 | #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId()) | |
4209 | static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args) { | |
4210 | PyObject * _resultobj; | |
4211 | int _result; | |
4212 | wxMenuItem * _arg0; | |
4213 | char * _argc0 = 0; | |
4214 | ||
4215 | self = self; | |
4216 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetId",&_argc0)) | |
4217 | return NULL; | |
4218 | if (_argc0) { | |
4219 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p."); | |
4221 | return NULL; | |
4222 | } | |
4223 | } | |
4224 | _result = (int )wxMenuItem_GetId(_arg0); | |
4225 | _resultobj = Py_BuildValue("i",_result); | |
4226 | return _resultobj; | |
4227 | } | |
4228 | ||
4229 | #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu()) | |
4230 | static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args) { | |
4231 | PyObject * _resultobj; | |
4232 | wxMenu * _result; | |
4233 | wxMenuItem * _arg0; | |
4234 | char * _argc0 = 0; | |
4235 | char _ptemp[128]; | |
4236 | ||
4237 | self = self; | |
4238 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetSubMenu",&_argc0)) | |
4239 | return NULL; | |
4240 | if (_argc0) { | |
4241 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p."); | |
4243 | return NULL; | |
4244 | } | |
4245 | } | |
4246 | _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0); | |
4247 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p"); | |
4248 | _resultobj = Py_BuildValue("s",_ptemp); | |
4249 | return _resultobj; | |
4250 | } | |
4251 | ||
4252 | #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0)) | |
4253 | static PyObject *_wrap_wxMenuItem_SetName(PyObject *self, PyObject *args) { | |
4254 | PyObject * _resultobj; | |
4255 | wxMenuItem * _arg0; | |
4256 | wxString * _arg1; | |
4257 | char * _argc0 = 0; | |
4258 | PyObject * _obj1 = 0; | |
4259 | ||
4260 | self = self; | |
4261 | if(!PyArg_ParseTuple(args,"sO:wxMenuItem_SetName",&_argc0,&_obj1)) | |
4262 | return NULL; | |
4263 | if (_argc0) { | |
4264 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p."); | |
4266 | return NULL; | |
4267 | } | |
4268 | } | |
4269 | { | |
4270 | if (!PyString_Check(_obj1)) { | |
4271 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4272 | return NULL; | |
4273 | } | |
4274 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
4275 | } | |
4276 | wxMenuItem_SetName(_arg0,*_arg1); | |
4277 | Py_INCREF(Py_None); | |
4278 | _resultobj = Py_None; | |
4279 | { | |
4280 | if (_obj1) | |
4281 | delete _arg1; | |
4282 | } | |
4283 | return _resultobj; | |
4284 | } | |
4285 | ||
4286 | #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName()) | |
4287 | static PyObject *_wrap_wxMenuItem_GetName(PyObject *self, PyObject *args) { | |
4288 | PyObject * _resultobj; | |
4289 | wxString * _result; | |
4290 | wxMenuItem * _arg0; | |
4291 | char * _argc0 = 0; | |
4292 | ||
4293 | self = self; | |
4294 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetName",&_argc0)) | |
4295 | return NULL; | |
4296 | if (_argc0) { | |
4297 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p."); | |
4299 | return NULL; | |
4300 | } | |
4301 | } | |
4302 | const wxString & _result_ref = wxMenuItem_GetName(_arg0); | |
4303 | _result = (wxString *) &_result_ref; | |
4304 | { | |
4305 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
4306 | } | |
4307 | return _resultobj; | |
4308 | } | |
4309 | ||
4310 | #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp()) | |
4311 | static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args) { | |
4312 | PyObject * _resultobj; | |
4313 | wxString * _result; | |
4314 | wxMenuItem * _arg0; | |
4315 | char * _argc0 = 0; | |
4316 | ||
4317 | self = self; | |
4318 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetHelp",&_argc0)) | |
4319 | return NULL; | |
4320 | if (_argc0) { | |
4321 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p."); | |
4323 | return NULL; | |
4324 | } | |
4325 | } | |
4326 | const wxString & _result_ref = wxMenuItem_GetHelp(_arg0); | |
4327 | _result = (wxString *) &_result_ref; | |
4328 | { | |
4329 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
4330 | } | |
4331 | return _resultobj; | |
4332 | } | |
4333 | ||
4334 | #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0)) | |
4335 | static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args) { | |
4336 | PyObject * _resultobj; | |
4337 | wxMenuItem * _arg0; | |
4338 | wxString * _arg1; | |
4339 | char * _argc0 = 0; | |
4340 | PyObject * _obj1 = 0; | |
4341 | ||
4342 | self = self; | |
4343 | if(!PyArg_ParseTuple(args,"sO:wxMenuItem_SetHelp",&_argc0,&_obj1)) | |
4344 | return NULL; | |
4345 | if (_argc0) { | |
4346 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p."); | |
4348 | return NULL; | |
4349 | } | |
4350 | } | |
4351 | { | |
4352 | if (!PyString_Check(_obj1)) { | |
4353 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4354 | return NULL; | |
4355 | } | |
4356 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
4357 | } | |
4358 | wxMenuItem_SetHelp(_arg0,*_arg1); | |
4359 | Py_INCREF(Py_None); | |
4360 | _resultobj = Py_None; | |
4361 | { | |
4362 | if (_obj1) | |
4363 | delete _arg1; | |
4364 | } | |
4365 | return _resultobj; | |
4366 | } | |
4367 | ||
4368 | #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) | |
4369 | static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args) { | |
4370 | PyObject * _resultobj; | |
4371 | wxMenuItem * _arg0; | |
4372 | bool _arg1 = (1); | |
4373 | char * _argc0 = 0; | |
4374 | int tempbool1; | |
4375 | ||
4376 | self = self; | |
4377 | if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Enable",&_argc0,&tempbool1)) | |
4378 | return NULL; | |
4379 | if (_argc0) { | |
4380 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p."); | |
4382 | return NULL; | |
4383 | } | |
4384 | } | |
4385 | _arg1 = (bool ) tempbool1; | |
4386 | wxMenuItem_Enable(_arg0,_arg1); | |
4387 | Py_INCREF(Py_None); | |
4388 | _resultobj = Py_None; | |
4389 | return _resultobj; | |
4390 | } | |
4391 | ||
4392 | #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0)) | |
4393 | static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args) { | |
4394 | PyObject * _resultobj; | |
4395 | wxMenuItem * _arg0; | |
4396 | bool _arg1 = (1); | |
4397 | char * _argc0 = 0; | |
4398 | int tempbool1; | |
4399 | ||
4400 | self = self; | |
4401 | if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Check",&_argc0,&tempbool1)) | |
4402 | return NULL; | |
4403 | if (_argc0) { | |
4404 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
4405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p."); | |
4406 | return NULL; | |
4407 | } | |
4408 | } | |
4409 | _arg1 = (bool ) tempbool1; | |
4410 | wxMenuItem_Check(_arg0,_arg1); | |
4411 | Py_INCREF(Py_None); | |
4412 | _resultobj = Py_None; | |
4413 | return _resultobj; | |
4414 | } | |
4415 | ||
4416 | static PyMethodDef windowscMethods[] = { | |
4417 | { "wxMenuItem_Check", _wrap_wxMenuItem_Check, 1 }, | |
4418 | { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable, 1 }, | |
4419 | { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp, 1 }, | |
4420 | { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp, 1 }, | |
4421 | { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName, 1 }, | |
4422 | { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName, 1 }, | |
4423 | { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu, 1 }, | |
4424 | { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId, 1 }, | |
4425 | { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable, 1 }, | |
4426 | { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked, 1 }, | |
4427 | { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled, 1 }, | |
4428 | { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator, 1 }, | |
4429 | { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu, 1 }, | |
4430 | { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount, 1 }, | |
4431 | { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId, 1 }, | |
4432 | { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem, 1 }, | |
4433 | { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled, 1 }, | |
4434 | { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable, 1 }, | |
4435 | { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked, 1 }, | |
4436 | { "wxMenuBar_Check", _wrap_wxMenuBar_Check, 1 }, | |
4437 | { "wxMenuBar_Append", _wrap_wxMenuBar_Append, 1 }, | |
4438 | { "new_wxMenuBar", _wrap_new_wxMenuBar, 1 }, | |
4439 | { "delete_wxPyMenu", _wrap_delete_wxPyMenu, 1 }, | |
4440 | { "new_wxPyMenu", _wrap_new_wxPyMenu, 1 }, | |
4441 | { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel, 1 }, | |
4442 | { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled, 1 }, | |
4443 | { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked, 1 }, | |
4444 | { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString, 1 }, | |
4445 | { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel, 1 }, | |
4446 | { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString, 1 }, | |
4447 | { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId, 1 }, | |
4448 | { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle, 1 }, | |
4449 | { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle, 1 }, | |
4450 | { "wxMenu_FindItem", _wrap_wxMenu_FindItem, 1 }, | |
4451 | { "wxMenu_Enable", _wrap_wxMenu_Enable, 1 }, | |
4452 | { "wxMenu_Check", _wrap_wxMenu_Check, 1 }, | |
4453 | { "wxMenu_Break", _wrap_wxMenu_Break, 1 }, | |
4454 | { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator, 1 }, | |
4455 | { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu, 1 }, | |
4456 | { "wxMenu_Append", _wrap_wxMenu_Append, 1 }, | |
4457 | { "new_wxMenu", _wrap_new_wxMenu, 1 }, | |
4458 | { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart, 1 }, | |
4459 | { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars, 1 }, | |
4460 | { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll, 1 }, | |
4461 | { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC, 1 }, | |
4462 | { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained, 1 }, | |
4463 | { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize, 1 }, | |
4464 | { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, 1 }, | |
4465 | { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling, 1 }, | |
4466 | { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow, 1 }, | |
4467 | { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal, 1 }, | |
4468 | { "wxDialog_Show", _wrap_wxDialog_Show, 1 }, | |
4469 | { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle, 1 }, | |
4470 | { "wxDialog_IsModal", _wrap_wxDialog_IsModal, 1 }, | |
4471 | { "wxDialog_SetModal", _wrap_wxDialog_SetModal, 1 }, | |
4472 | { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized, 1 }, | |
4473 | { "wxDialog_Iconize", _wrap_wxDialog_Iconize, 1 }, | |
4474 | { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle, 1 }, | |
4475 | { "wxDialog_EndModal", _wrap_wxDialog_EndModal, 1 }, | |
4476 | { "wxDialog_Centre", _wrap_wxDialog_Centre, 1 }, | |
4477 | { "new_wxDialog", _wrap_new_wxDialog, 1 }, | |
4478 | { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog, 1 }, | |
4479 | { "new_wxPanel", _wrap_new_wxPanel, 1 }, | |
4480 | { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip, 1 }, | |
4481 | { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip, 1 }, | |
4482 | { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString, 1 }, | |
4483 | { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog, 1 }, | |
4484 | { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog, 1 }, | |
4485 | { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels, 1 }, | |
4486 | { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels, 1 }, | |
4487 | { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer, 1 }, | |
4488 | { "wxWindow_Validate", _wrap_wxWindow_Validate, 1 }, | |
4489 | { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow, 1 }, | |
4490 | { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow, 1 }, | |
4491 | { "wxWindow_Show", _wrap_wxWindow_Show, 1 }, | |
4492 | { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle, 1 }, | |
4493 | { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor, 1 }, | |
4494 | { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize, 1 }, | |
4495 | { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH, 1 }, | |
4496 | { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints, 1 }, | |
4497 | { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition, 1 }, | |
4498 | { "wxWindow_SetSize", _wrap_wxWindow_SetSize, 1 }, | |
4499 | { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions, 1 }, | |
4500 | { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos, 1 }, | |
4501 | { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar, 1 }, | |
4502 | { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode, 1 }, | |
4503 | { "wxWindow_SetName", _wrap_wxWindow_SetName, 1 }, | |
4504 | { "wxWindow_SetId", _wrap_wxWindow_SetId, 1 }, | |
4505 | { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour, 1 }, | |
4506 | { "wxWindow_SetFont", _wrap_wxWindow_SetFont, 1 }, | |
4507 | { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus, 1 }, | |
4508 | { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick, 1 }, | |
4509 | { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints, 1 }, | |
4510 | { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour, 1 }, | |
4511 | { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout, 1 }, | |
4512 | { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable, 1 }, | |
4513 | { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow, 1 }, | |
4514 | { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY, 1 }, | |
4515 | { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse, 1 }, | |
4516 | { "wxWindow_Refresh", _wrap_wxWindow_Refresh, 1 }, | |
4517 | { "wxWindow_Raise", _wrap_wxWindow_Raise, 1 }, | |
4518 | { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu, 1 }, | |
4519 | { "wxWindow_Move", _wrap_wxWindow_Move, 1 }, | |
4520 | { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY, 1 }, | |
4521 | { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal, 1 }, | |
4522 | { "wxWindow_Lower", _wrap_wxWindow_Lower, 1 }, | |
4523 | { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource, 1 }, | |
4524 | { "wxWindow_Layout", _wrap_wxWindow_Layout, 1 }, | |
4525 | { "wxWindow_IsShown", _wrap_wxWindow_IsShown, 1 }, | |
4526 | { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained, 1 }, | |
4527 | { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled, 1 }, | |
4528 | { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog, 1 }, | |
4529 | { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag, 1 }, | |
4530 | { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle, 1 }, | |
4531 | { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent, 1 }, | |
4532 | { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent, 1 }, | |
4533 | { "wxWindow_GetSize", _wrap_wxWindow_GetSize, 1 }, | |
4534 | { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple, 1 }, | |
4535 | { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange, 1 }, | |
4536 | { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos, 1 }, | |
4537 | { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb, 1 }, | |
4538 | { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode, 1 }, | |
4539 | { "wxWindow_GetRect", _wrap_wxWindow_GetRect, 1 }, | |
4540 | { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition, 1 }, | |
4541 | { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple, 1 }, | |
4542 | { "wxWindow_GetParent", _wrap_wxWindow_GetParent, 1 }, | |
4543 | { "wxWindow_GetName", _wrap_wxWindow_GetName, 1 }, | |
4544 | { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel, 1 }, | |
4545 | { "wxWindow_GetId", _wrap_wxWindow_GetId, 1 }, | |
4546 | { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent, 1 }, | |
4547 | { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour, 1 }, | |
4548 | { "wxWindow_GetFont", _wrap_wxWindow_GetFont, 1 }, | |
4549 | { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints, 1 }, | |
4550 | { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize, 1 }, | |
4551 | { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple, 1 }, | |
4552 | { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth, 1 }, | |
4553 | { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight, 1 }, | |
4554 | { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour, 1 }, | |
4555 | { "wxWindow_Fit", _wrap_wxWindow_Fit, 1 }, | |
4556 | { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName, 1 }, | |
4557 | { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById, 1 }, | |
4558 | { "wxWindow_Enable", _wrap_wxWindow_Enable, 1 }, | |
4559 | { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren, 1 }, | |
4560 | { "wxWindow_Destroy", _wrap_wxWindow_Destroy, 1 }, | |
4561 | { "wxWindow_Close", _wrap_wxWindow_Close, 1 }, | |
4562 | { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY, 1 }, | |
4563 | { "wxWindow_Centre", _wrap_wxWindow_Centre, 1 }, | |
4564 | { "wxWindow_Center", _wrap_wxWindow_Center, 1 }, | |
4565 | { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse, 1 }, | |
4566 | { "new_wxWindow", _wrap_new_wxWindow, 1 }, | |
4567 | { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect, 1 }, | |
4568 | { NULL, NULL } | |
4569 | }; | |
4570 | static PyObject *SWIG_globals; | |
4571 | #ifdef __cplusplus | |
4572 | extern "C" | |
4573 | #endif | |
4574 | SWIGEXPORT(void,initwindowsc)() { | |
4575 | PyObject *m, *d; | |
4576 | SWIG_globals = SWIG_newvarlink(); | |
4577 | m = Py_InitModule("windowsc", windowscMethods); | |
4578 | d = PyModule_GetDict(m); | |
4579 | /* | |
4580 | * These are the pointer type-equivalency mappings. | |
4581 | * (Used by the SWIG pointer type-checker). | |
4582 | */ | |
4583 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); | |
4584 | SWIG_RegisterMapping("_signed_long","_long",0); | |
4585 | SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); | |
4586 | SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); | |
4587 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler); | |
4588 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler); | |
4589 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler); | |
4590 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler); | |
4591 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler); | |
4592 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler); | |
4593 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler); | |
4594 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler); | |
4595 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler); | |
4596 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler); | |
4597 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler); | |
4598 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler); | |
4599 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler); | |
4600 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler); | |
4601 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0); | |
4602 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); | |
4603 | SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); | |
4604 | SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0); | |
4605 | SWIG_RegisterMapping("_wxMask","_class_wxMask",0); | |
4606 | SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0); | |
4607 | SWIG_RegisterMapping("_wxPen","_class_wxPen",0); | |
4608 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
4609 | SWIG_RegisterMapping("_long","_wxDash",0); | |
4610 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
4611 | SWIG_RegisterMapping("_long","_signed_long",0); | |
4612 | SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0); | |
4613 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); | |
4614 | SWIG_RegisterMapping("_wxDC","_class_wxDC",0); | |
4615 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); | |
4616 | SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); | |
4617 | SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0); | |
4618 | SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel); | |
4619 | SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel); | |
4620 | SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0); | |
4621 | SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0); | |
4622 | SWIG_RegisterMapping("_class_wxMask","_wxMask",0); | |
4623 | SWIG_RegisterMapping("_wxColour","_class_wxColour",0); | |
4624 | SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0); | |
4625 | SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0); | |
4626 | SWIG_RegisterMapping("_uint","_unsigned_int",0); | |
4627 | SWIG_RegisterMapping("_uint","_int",0); | |
4628 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
4629 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
4630 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
4631 | SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); | |
4632 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
4633 | SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0); | |
4634 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
4635 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
4636 | SWIG_RegisterMapping("_EBool","_int",0); | |
4637 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
4638 | SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); | |
4639 | SWIG_RegisterMapping("_wxFont","_class_wxFont",0); | |
4640 | SWIG_RegisterMapping("_unsigned_long","_wxDash",0); | |
4641 | SWIG_RegisterMapping("_unsigned_long","_long",0); | |
4642 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
4643 | SWIG_RegisterMapping("_class_wxDC","_wxDC",0); | |
4644 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
4645 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); | |
4646 | SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel); | |
4647 | SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel); | |
4648 | SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0); | |
4649 | SWIG_RegisterMapping("_signed_int","_EBool",0); | |
4650 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
4651 | SWIG_RegisterMapping("_signed_int","_int",0); | |
4652 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
4653 | SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu); | |
4654 | SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu); | |
4655 | SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0); | |
4656 | SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0); | |
4657 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
4658 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
4659 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
4660 | SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0); | |
4661 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
4662 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
4663 | SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow); | |
4664 | SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow); | |
4665 | SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow); | |
4666 | SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow); | |
4667 | SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow); | |
4668 | SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow); | |
4669 | SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0); | |
4670 | SWIG_RegisterMapping("_class_wxFont","_wxFont",0); | |
4671 | SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0); | |
4672 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
4673 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
4674 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
4675 | SWIG_RegisterMapping("_signed_short","_short",0); | |
4676 | SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); | |
4677 | SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); | |
4678 | SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0); | |
4679 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); | |
4680 | SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0); | |
4681 | SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0); | |
4682 | SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0); | |
4683 | SWIG_RegisterMapping("_unsigned_char","_byte",0); | |
4684 | SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu); | |
4685 | SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu); | |
4686 | SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0); | |
4687 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
4688 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
4689 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
4690 | SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0); | |
4691 | SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0); | |
4692 | SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0); | |
4693 | SWIG_RegisterMapping("_class_wxPen","_wxPen",0); | |
4694 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
4695 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
4696 | SWIG_RegisterMapping("_short","_signed_short",0); | |
4697 | SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0); | |
4698 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); | |
4699 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
4700 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
4701 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
4702 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
4703 | SWIG_RegisterMapping("_int","_EBool",0); | |
4704 | SWIG_RegisterMapping("_int","_uint",0); | |
4705 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
4706 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
4707 | SWIG_RegisterMapping("_int","_signed_int",0); | |
4708 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
4709 | SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); | |
4710 | SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); | |
4711 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); | |
4712 | SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); | |
4713 | SWIG_RegisterMapping("_class_wxColour","_wxColour",0); | |
4714 | SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); | |
4715 | SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0); | |
4716 | SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); | |
4717 | SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0); | |
4718 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); | |
4719 | SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0); | |
4720 | SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0); | |
4721 | SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0); | |
4722 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler); | |
4723 | SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler); | |
4724 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler); | |
4725 | SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler); | |
4726 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler); | |
4727 | SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler); | |
4728 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler); | |
4729 | SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler); | |
4730 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler); | |
4731 | SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler); | |
4732 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler); | |
4733 | SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler); | |
4734 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler); | |
4735 | SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler); | |
4736 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0); | |
4737 | SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0); | |
4738 | SWIG_RegisterMapping("_wxDash","_unsigned_long",0); | |
4739 | SWIG_RegisterMapping("_wxDash","_long",0); | |
4740 | SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); | |
4741 | SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0); | |
4742 | SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow); | |
4743 | SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow); | |
4744 | SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow); | |
4745 | SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow); | |
4746 | SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow); | |
4747 | SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow); | |
4748 | SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0); | |
4749 | } |