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