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