]>
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" | |
853b255a RD |
70 | |
71 | #ifdef __WXMSW__ | |
72 | // wxGTK defines wxMenuItem inside menu.h | |
7bf85405 | 73 | #include <wx/menuitem.h> |
853b255a RD |
74 | #endif |
75 | ||
76 | #ifdef __WXMSW__ | |
77 | #include <wx/minifram.h> | |
78 | #endif | |
7bf85405 RD |
79 | |
80 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
81 | PyObject* o2; | |
853b255a RD |
82 | PyObject* o3; |
83 | if (!target) { | |
7bf85405 | 84 | target = o; |
853b255a | 85 | } else if (target == Py_None) { |
7bf85405 RD |
86 | Py_DECREF(Py_None); |
87 | target = o; | |
853b255a | 88 | } else { |
7bf85405 RD |
89 | if (!PyList_Check(target)) { |
90 | o2 = target; | |
91 | target = PyList_New(0); | |
92 | PyList_Append(target, o2); | |
93 | Py_XDECREF(o2); | |
94 | } | |
95 | PyList_Append(target,o); | |
96 | Py_XDECREF(o); | |
97 | } | |
98 | return target; | |
99 | } | |
100 | ||
101 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
102 | PyObject* o2; | |
103 | PyObject* o3; | |
104 | ||
853b255a | 105 | if (!target) { |
7bf85405 | 106 | target = o; |
853b255a | 107 | } else if (target == Py_None) { |
7bf85405 RD |
108 | Py_DECREF(Py_None); |
109 | target = o; | |
853b255a | 110 | } else { |
7bf85405 RD |
111 | if (!PyTuple_Check(target)) { |
112 | o2 = target; | |
113 | target = PyTuple_New(1); | |
114 | PyTuple_SetItem(target, 0, o2); | |
115 | } | |
853b255a RD |
116 | o3 = PyTuple_New(1); |
117 | PyTuple_SetItem(o3, 0, o); | |
7bf85405 RD |
118 | |
119 | o2 = target; | |
853b255a RD |
120 | target = PySequence_Concat(o2, o3); |
121 | Py_DECREF(o2); | |
7bf85405 RD |
122 | Py_DECREF(o3); |
123 | } | |
124 | return target; | |
125 | } | |
126 | ||
127 | ||
128 | extern int* int_LIST_helper(PyObject* source); | |
129 | extern long* long_LIST_helper(PyObject* source); | |
130 | extern char** string_LIST_helper(PyObject* source); | |
131 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
132 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
133 | extern wxString* wxString_LIST_helper(PyObject* source); | |
853b255a | 134 | #ifdef __WXMSW__ |
7bf85405 | 135 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); |
853b255a | 136 | #endif |
7bf85405 RD |
137 | |
138 | ||
139 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
7bf85405 RD |
140 | static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) { |
141 | if (PyCallable_Check(func)) { | |
142 | self->Connect(id, lastId, eventType, | |
853b255a | 143 | (wxObjectEventFunction) &wxPyCallback::EventThunker, |
7bf85405 RD |
144 | new wxPyCallback(func)); |
145 | } | |
146 | } | |
147 | static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args) { | |
148 | PyObject * _resultobj; | |
149 | wxEvtHandler * _arg0; | |
150 | int _arg1; | |
151 | int _arg2; | |
152 | int _arg3; | |
153 | PyObject * _arg4; | |
154 | char * _argc0 = 0; | |
155 | PyObject * _obj4 = 0; | |
156 | ||
157 | self = self; | |
158 | if(!PyArg_ParseTuple(args,"siiiO:wxEvtHandler_Connect",&_argc0,&_arg1,&_arg2,&_arg3,&_obj4)) | |
159 | return NULL; | |
160 | if (_argc0) { | |
161 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvtHandler_p")) { | |
162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p."); | |
163 | return NULL; | |
164 | } | |
165 | } | |
166 | { | |
167 | _arg4 = _obj4; | |
168 | } | |
169 | wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4); | |
170 | Py_INCREF(Py_None); | |
171 | _resultobj = Py_None; | |
172 | return _resultobj; | |
173 | } | |
174 | ||
175 | static void *SwigwxWindowTowxEvtHandler(void *ptr) { | |
176 | wxWindow *src; | |
177 | wxEvtHandler *dest; | |
178 | src = (wxWindow *) ptr; | |
179 | dest = (wxEvtHandler *) src; | |
180 | return (void *) dest; | |
181 | } | |
182 | ||
183 | #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
184 | static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args) { | |
185 | PyObject * _resultobj; | |
186 | wxWindow * _result; | |
187 | wxWindow * _arg0; | |
188 | wxWindowID _arg1; | |
189 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
190 | wxSize * _arg3 = &wxPyDefaultSize; | |
191 | long _arg4 = 0; | |
192 | char * _arg5 = "panel"; | |
193 | char * _argc0 = 0; | |
194 | char * _argc2 = 0; | |
195 | char * _argc3 = 0; | |
196 | char _ptemp[128]; | |
197 | ||
198 | self = self; | |
199 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
200 | return NULL; | |
201 | if (_argc0) { | |
202 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p."); | |
204 | return NULL; | |
205 | } | |
206 | } | |
207 | if (_argc2) { | |
208 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p."); | |
210 | return NULL; | |
211 | } | |
212 | } | |
213 | if (_argc3) { | |
214 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p."); | |
216 | return NULL; | |
217 | } | |
218 | } | |
219 | _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
220 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
221 | _resultobj = Py_BuildValue("s",_ptemp); | |
222 | return _resultobj; | |
223 | } | |
224 | ||
225 | #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse()) | |
226 | static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args) { | |
227 | PyObject * _resultobj; | |
228 | wxWindow * _arg0; | |
229 | char * _argc0 = 0; | |
230 | ||
231 | self = self; | |
232 | if(!PyArg_ParseTuple(args,"s:wxWindow_CaptureMouse",&_argc0)) | |
233 | return NULL; | |
234 | if (_argc0) { | |
235 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p."); | |
237 | return NULL; | |
238 | } | |
239 | } | |
240 | wxWindow_CaptureMouse(_arg0); | |
241 | Py_INCREF(Py_None); | |
242 | _resultobj = Py_None; | |
243 | return _resultobj; | |
244 | } | |
245 | ||
7bf85405 RD |
246 | #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) |
247 | static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args) { | |
248 | PyObject * _resultobj; | |
249 | wxWindow * _arg0; | |
250 | int _arg1 = (wxHORIZONTAL); | |
251 | char * _argc0 = 0; | |
252 | ||
253 | self = self; | |
254 | if(!PyArg_ParseTuple(args,"s|i:wxWindow_Centre",&_argc0,&_arg1)) | |
255 | return NULL; | |
256 | if (_argc0) { | |
257 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p."); | |
259 | return NULL; | |
260 | } | |
261 | } | |
262 | wxWindow_Centre(_arg0,_arg1); | |
263 | Py_INCREF(Py_None); | |
264 | _resultobj = Py_None; | |
265 | return _resultobj; | |
266 | } | |
267 | ||
268 | #define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1)) | |
269 | static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args) { | |
270 | PyObject * _resultobj; | |
271 | wxWindow * _arg0; | |
272 | int * _arg1; | |
273 | int * _arg2; | |
274 | char * _argc0 = 0; | |
275 | int temp; | |
276 | PyObject * _obj1 = 0; | |
277 | int temp0; | |
278 | PyObject * _obj2 = 0; | |
279 | ||
280 | self = self; | |
281 | if(!PyArg_ParseTuple(args,"sOO:wxWindow_ClientToScreen",&_argc0,&_obj1,&_obj2)) | |
282 | return NULL; | |
283 | if (_argc0) { | |
284 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p."); | |
286 | return NULL; | |
287 | } | |
288 | } | |
289 | { | |
290 | temp = (int) PyInt_AsLong(_obj1); | |
291 | _arg1 = &temp; | |
292 | } | |
293 | { | |
294 | temp0 = (int) PyInt_AsLong(_obj2); | |
295 | _arg2 = &temp0; | |
296 | } | |
297 | wxWindow_ClientToScreen(_arg0,_arg1,_arg2); | |
298 | Py_INCREF(Py_None); | |
299 | _resultobj = Py_None; | |
300 | { | |
301 | PyObject *o; | |
302 | o = PyInt_FromLong((long) (*_arg1)); | |
303 | _resultobj = t_output_helper(_resultobj, o); | |
304 | } | |
305 | { | |
306 | PyObject *o; | |
307 | o = PyInt_FromLong((long) (*_arg2)); | |
308 | _resultobj = t_output_helper(_resultobj, o); | |
309 | } | |
310 | return _resultobj; | |
311 | } | |
312 | ||
313 | #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0)) | |
314 | static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args) { | |
315 | PyObject * _resultobj; | |
316 | bool _result; | |
317 | wxWindow * _arg0; | |
318 | int _arg1 = (0); | |
319 | char * _argc0 = 0; | |
320 | ||
321 | self = self; | |
322 | if(!PyArg_ParseTuple(args,"s|i:wxWindow_Close",&_argc0,&_arg1)) | |
323 | return NULL; | |
324 | if (_argc0) { | |
325 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p."); | |
327 | return NULL; | |
328 | } | |
329 | } | |
330 | _result = (bool )wxWindow_Close(_arg0,_arg1); | |
331 | _resultobj = Py_BuildValue("i",_result); | |
332 | return _resultobj; | |
333 | } | |
334 | ||
335 | #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy()) | |
336 | static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args) { | |
337 | PyObject * _resultobj; | |
338 | bool _result; | |
339 | wxWindow * _arg0; | |
340 | char * _argc0 = 0; | |
341 | ||
342 | self = self; | |
343 | if(!PyArg_ParseTuple(args,"s:wxWindow_Destroy",&_argc0)) | |
344 | return NULL; | |
345 | if (_argc0) { | |
346 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p."); | |
348 | return NULL; | |
349 | } | |
350 | } | |
351 | _result = (bool )wxWindow_Destroy(_arg0); | |
352 | _resultobj = Py_BuildValue("i",_result); | |
353 | return _resultobj; | |
354 | } | |
355 | ||
356 | #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren()) | |
357 | static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args) { | |
358 | PyObject * _resultobj; | |
359 | wxWindow * _arg0; | |
360 | char * _argc0 = 0; | |
361 | ||
362 | self = self; | |
363 | if(!PyArg_ParseTuple(args,"s:wxWindow_DestroyChildren",&_argc0)) | |
364 | return NULL; | |
365 | if (_argc0) { | |
366 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p."); | |
368 | return NULL; | |
369 | } | |
370 | } | |
371 | wxWindow_DestroyChildren(_arg0); | |
372 | Py_INCREF(Py_None); | |
373 | _resultobj = Py_None; | |
374 | return _resultobj; | |
375 | } | |
376 | ||
7bf85405 RD |
377 | #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) |
378 | static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args) { | |
379 | PyObject * _resultobj; | |
380 | wxWindow * _arg0; | |
381 | bool _arg1; | |
382 | char * _argc0 = 0; | |
383 | int tempbool1; | |
384 | ||
385 | self = self; | |
386 | if(!PyArg_ParseTuple(args,"si:wxWindow_Enable",&_argc0,&tempbool1)) | |
387 | return NULL; | |
388 | if (_argc0) { | |
389 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p."); | |
391 | return NULL; | |
392 | } | |
393 | } | |
394 | _arg1 = (bool ) tempbool1; | |
395 | wxWindow_Enable(_arg0,_arg1); | |
396 | Py_INCREF(Py_None); | |
397 | _resultobj = Py_None; | |
398 | return _resultobj; | |
399 | } | |
400 | ||
401 | #define wxWindow_Fit(_swigobj) (_swigobj->Fit()) | |
402 | static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args) { | |
403 | PyObject * _resultobj; | |
404 | wxWindow * _arg0; | |
405 | char * _argc0 = 0; | |
406 | ||
407 | self = self; | |
408 | if(!PyArg_ParseTuple(args,"s:wxWindow_Fit",&_argc0)) | |
409 | return NULL; | |
410 | if (_argc0) { | |
411 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p."); | |
413 | return NULL; | |
414 | } | |
415 | } | |
416 | wxWindow_Fit(_arg0); | |
417 | Py_INCREF(Py_None); | |
418 | _resultobj = Py_None; | |
419 | return _resultobj; | |
420 | } | |
421 | ||
422 | #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
423 | static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args) { | |
424 | PyObject * _resultobj; | |
425 | wxColour * _result; | |
426 | wxWindow * _arg0; | |
427 | char * _argc0 = 0; | |
428 | char _ptemp[128]; | |
429 | ||
430 | self = self; | |
431 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetBackgroundColour",&_argc0)) | |
432 | return NULL; | |
433 | if (_argc0) { | |
434 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p."); | |
436 | return NULL; | |
437 | } | |
438 | } | |
439 | _result = new wxColour (wxWindow_GetBackgroundColour(_arg0)); | |
440 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
441 | _resultobj = Py_BuildValue("s",_ptemp); | |
442 | return _resultobj; | |
443 | } | |
444 | ||
7bf85405 RD |
445 | #define wxWindow_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1)) |
446 | static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args) { | |
447 | PyObject * _resultobj; | |
448 | wxWindow * _arg0; | |
449 | int * _arg1; | |
450 | int temp; | |
451 | int * _arg2; | |
452 | int temp0; | |
453 | char * _argc0 = 0; | |
454 | ||
455 | self = self; | |
456 | { | |
457 | _arg1 = &temp; | |
458 | } | |
459 | { | |
460 | _arg2 = &temp0; | |
461 | } | |
462 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSize",&_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_GetClientSize. Expected _wxWindow_p."); | |
467 | return NULL; | |
468 | } | |
469 | } | |
470 | wxWindow_GetClientSize(_arg0,_arg1,_arg2); | |
471 | Py_INCREF(Py_None); | |
472 | _resultobj = Py_None; | |
473 | { | |
474 | PyObject *o; | |
475 | o = PyInt_FromLong((long) (*_arg1)); | |
476 | _resultobj = t_output_helper(_resultobj, o); | |
477 | } | |
478 | { | |
479 | PyObject *o; | |
480 | o = PyInt_FromLong((long) (*_arg2)); | |
481 | _resultobj = t_output_helper(_resultobj, o); | |
482 | } | |
483 | return _resultobj; | |
484 | } | |
485 | ||
486 | #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints()) | |
487 | static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args) { | |
488 | PyObject * _resultobj; | |
489 | wxLayoutConstraints * _result; | |
490 | wxWindow * _arg0; | |
491 | char * _argc0 = 0; | |
492 | char _ptemp[128]; | |
493 | ||
494 | self = self; | |
495 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetConstraints",&_argc0)) | |
496 | return NULL; | |
497 | if (_argc0) { | |
498 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p."); | |
500 | return NULL; | |
501 | } | |
502 | } | |
503 | _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0); | |
504 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p"); | |
505 | _resultobj = Py_BuildValue("s",_ptemp); | |
506 | return _resultobj; | |
507 | } | |
508 | ||
7bf85405 RD |
509 | #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont()) |
510 | static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args) { | |
511 | PyObject * _resultobj; | |
512 | wxFont * _result; | |
513 | wxWindow * _arg0; | |
514 | char * _argc0 = 0; | |
515 | char _ptemp[128]; | |
516 | ||
517 | self = self; | |
518 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetFont",&_argc0)) | |
519 | return NULL; | |
520 | if (_argc0) { | |
521 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p."); | |
523 | return NULL; | |
524 | } | |
525 | } | |
526 | _result = (wxFont *)wxWindow_GetFont(_arg0); | |
527 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
528 | _resultobj = Py_BuildValue("s",_ptemp); | |
529 | return _resultobj; | |
530 | } | |
531 | ||
7bf85405 RD |
532 | #define wxWindow_GetId(_swigobj) (_swigobj->GetId()) |
533 | static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args) { | |
534 | PyObject * _resultobj; | |
535 | int _result; | |
536 | wxWindow * _arg0; | |
537 | char * _argc0 = 0; | |
538 | ||
539 | self = self; | |
540 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetId",&_argc0)) | |
541 | return NULL; | |
542 | if (_argc0) { | |
543 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p."); | |
545 | return NULL; | |
546 | } | |
547 | } | |
548 | _result = (int )wxWindow_GetId(_arg0); | |
549 | _resultobj = Py_BuildValue("i",_result); | |
550 | return _resultobj; | |
551 | } | |
552 | ||
553 | #define wxWindow_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1)) | |
554 | static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args) { | |
555 | PyObject * _resultobj; | |
556 | wxWindow * _arg0; | |
557 | int * _arg1; | |
558 | int temp; | |
559 | int * _arg2; | |
560 | int temp0; | |
561 | char * _argc0 = 0; | |
562 | ||
563 | self = self; | |
564 | { | |
565 | _arg1 = &temp; | |
566 | } | |
567 | { | |
568 | _arg2 = &temp0; | |
569 | } | |
570 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetPosition",&_argc0)) | |
571 | return NULL; | |
572 | if (_argc0) { | |
573 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p."); | |
575 | return NULL; | |
576 | } | |
577 | } | |
578 | wxWindow_GetPosition(_arg0,_arg1,_arg2); | |
579 | Py_INCREF(Py_None); | |
580 | _resultobj = Py_None; | |
581 | { | |
582 | PyObject *o; | |
583 | o = PyInt_FromLong((long) (*_arg1)); | |
584 | _resultobj = t_output_helper(_resultobj, o); | |
585 | } | |
586 | { | |
587 | PyObject *o; | |
588 | o = PyInt_FromLong((long) (*_arg2)); | |
589 | _resultobj = t_output_helper(_resultobj, o); | |
590 | } | |
591 | return _resultobj; | |
592 | } | |
593 | ||
594 | #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel()) | |
595 | static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args) { | |
596 | PyObject * _resultobj; | |
597 | wxString * _result; | |
598 | wxWindow * _arg0; | |
599 | char * _argc0 = 0; | |
600 | ||
601 | self = self; | |
602 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetLabel",&_argc0)) | |
603 | return NULL; | |
604 | if (_argc0) { | |
605 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p."); | |
607 | return NULL; | |
608 | } | |
609 | } | |
853b255a RD |
610 | _result = new wxString (wxWindow_GetLabel(_arg0)); |
611 | { | |
612 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
613 | } | |
7bf85405 | 614 | { |
853b255a | 615 | delete _result; |
7bf85405 RD |
616 | } |
617 | return _resultobj; | |
618 | } | |
619 | ||
620 | #define wxWindow_GetName(_swigobj) (_swigobj->GetName()) | |
621 | static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args) { | |
622 | PyObject * _resultobj; | |
623 | wxString * _result; | |
624 | wxWindow * _arg0; | |
625 | char * _argc0 = 0; | |
626 | ||
627 | self = self; | |
628 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetName",&_argc0)) | |
629 | return NULL; | |
630 | if (_argc0) { | |
631 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p."); | |
633 | return NULL; | |
634 | } | |
635 | } | |
853b255a RD |
636 | _result = new wxString (wxWindow_GetName(_arg0)); |
637 | { | |
638 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
639 | } | |
7bf85405 | 640 | { |
853b255a | 641 | delete _result; |
7bf85405 RD |
642 | } |
643 | return _resultobj; | |
644 | } | |
645 | ||
646 | #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent()) | |
647 | static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args) { | |
648 | PyObject * _resultobj; | |
649 | wxWindow * _result; | |
650 | wxWindow * _arg0; | |
651 | char * _argc0 = 0; | |
652 | char _ptemp[128]; | |
653 | ||
654 | self = self; | |
655 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetParent",&_argc0)) | |
656 | return NULL; | |
657 | if (_argc0) { | |
658 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p."); | |
660 | return NULL; | |
661 | } | |
662 | } | |
663 | _result = (wxWindow *)wxWindow_GetParent(_arg0); | |
664 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
665 | _resultobj = Py_BuildValue("s",_ptemp); | |
666 | return _resultobj; | |
667 | } | |
668 | ||
669 | #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode()) | |
670 | static PyObject *_wrap_wxWindow_GetReturnCode(PyObject *self, PyObject *args) { | |
671 | PyObject * _resultobj; | |
672 | int _result; | |
673 | wxWindow * _arg0; | |
674 | char * _argc0 = 0; | |
675 | ||
676 | self = self; | |
677 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetReturnCode",&_argc0)) | |
678 | return NULL; | |
679 | if (_argc0) { | |
680 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p."); | |
682 | return NULL; | |
683 | } | |
684 | } | |
685 | _result = (int )wxWindow_GetReturnCode(_arg0); | |
686 | _resultobj = Py_BuildValue("i",_result); | |
687 | return _resultobj; | |
688 | } | |
689 | ||
690 | #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0)) | |
691 | static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args) { | |
692 | PyObject * _resultobj; | |
693 | int _result; | |
694 | wxWindow * _arg0; | |
695 | int _arg1; | |
696 | char * _argc0 = 0; | |
697 | ||
698 | self = self; | |
699 | if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollThumb",&_argc0,&_arg1)) | |
700 | return NULL; | |
701 | if (_argc0) { | |
702 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p."); | |
704 | return NULL; | |
705 | } | |
706 | } | |
707 | _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1); | |
708 | _resultobj = Py_BuildValue("i",_result); | |
709 | return _resultobj; | |
710 | } | |
711 | ||
712 | #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0)) | |
713 | static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args) { | |
714 | PyObject * _resultobj; | |
715 | int _result; | |
716 | wxWindow * _arg0; | |
717 | int _arg1; | |
718 | char * _argc0 = 0; | |
719 | ||
720 | self = self; | |
721 | if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollPos",&_argc0,&_arg1)) | |
722 | return NULL; | |
723 | if (_argc0) { | |
724 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p."); | |
726 | return NULL; | |
727 | } | |
728 | } | |
729 | _result = (int )wxWindow_GetScrollPos(_arg0,_arg1); | |
730 | _resultobj = Py_BuildValue("i",_result); | |
731 | return _resultobj; | |
732 | } | |
733 | ||
734 | #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0)) | |
735 | static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args) { | |
736 | PyObject * _resultobj; | |
737 | int _result; | |
738 | wxWindow * _arg0; | |
739 | int _arg1; | |
740 | char * _argc0 = 0; | |
741 | ||
742 | self = self; | |
743 | if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollRange",&_argc0,&_arg1)) | |
744 | return NULL; | |
745 | if (_argc0) { | |
746 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p."); | |
748 | return NULL; | |
749 | } | |
750 | } | |
751 | _result = (int )wxWindow_GetScrollRange(_arg0,_arg1); | |
752 | _resultobj = Py_BuildValue("i",_result); | |
753 | return _resultobj; | |
754 | } | |
755 | ||
756 | #define wxWindow_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1)) | |
757 | static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args) { | |
758 | PyObject * _resultobj; | |
759 | wxWindow * _arg0; | |
760 | int * _arg1; | |
761 | int temp; | |
762 | int * _arg2; | |
763 | int temp0; | |
764 | char * _argc0 = 0; | |
765 | ||
766 | self = self; | |
767 | { | |
768 | _arg1 = &temp; | |
769 | } | |
770 | { | |
771 | _arg2 = &temp0; | |
772 | } | |
773 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetSize",&_argc0)) | |
774 | return NULL; | |
775 | if (_argc0) { | |
776 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p."); | |
778 | return NULL; | |
779 | } | |
780 | } | |
781 | wxWindow_GetSize(_arg0,_arg1,_arg2); | |
782 | Py_INCREF(Py_None); | |
783 | _resultobj = Py_None; | |
784 | { | |
785 | PyObject *o; | |
786 | o = PyInt_FromLong((long) (*_arg1)); | |
787 | _resultobj = t_output_helper(_resultobj, o); | |
788 | } | |
789 | { | |
790 | PyObject *o; | |
791 | o = PyInt_FromLong((long) (*_arg2)); | |
792 | _resultobj = t_output_helper(_resultobj, o); | |
793 | } | |
794 | return _resultobj; | |
795 | } | |
796 | ||
7bf85405 RD |
797 | #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle()) |
798 | static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args) { | |
799 | PyObject * _resultobj; | |
800 | wxString * _result; | |
801 | wxWindow * _arg0; | |
802 | char * _argc0 = 0; | |
803 | ||
804 | self = self; | |
805 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetTitle",&_argc0)) | |
806 | return NULL; | |
807 | if (_argc0) { | |
808 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p."); | |
810 | return NULL; | |
811 | } | |
812 | } | |
853b255a RD |
813 | _result = new wxString (wxWindow_GetTitle(_arg0)); |
814 | { | |
815 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
816 | } | |
7bf85405 | 817 | { |
853b255a | 818 | delete _result; |
7bf85405 RD |
819 | } |
820 | return _resultobj; | |
821 | } | |
822 | ||
823 | #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag()) | |
824 | static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args) { | |
825 | PyObject * _resultobj; | |
826 | long _result; | |
827 | wxWindow * _arg0; | |
828 | char * _argc0 = 0; | |
829 | ||
830 | self = self; | |
831 | if(!PyArg_ParseTuple(args,"s:wxWindow_GetWindowStyleFlag",&_argc0)) | |
832 | return NULL; | |
833 | if (_argc0) { | |
834 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p."); | |
836 | return NULL; | |
837 | } | |
838 | } | |
839 | _result = (long )wxWindow_GetWindowStyleFlag(_arg0); | |
840 | _resultobj = Py_BuildValue("l",_result); | |
841 | return _resultobj; | |
842 | } | |
843 | ||
844 | #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog()) | |
845 | static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args) { | |
846 | PyObject * _resultobj; | |
847 | wxWindow * _arg0; | |
848 | char * _argc0 = 0; | |
849 | ||
850 | self = self; | |
851 | if(!PyArg_ParseTuple(args,"s:wxWindow_InitDialog",&_argc0)) | |
852 | return NULL; | |
853 | if (_argc0) { | |
854 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p."); | |
856 | return NULL; | |
857 | } | |
858 | } | |
859 | wxWindow_InitDialog(_arg0); | |
860 | Py_INCREF(Py_None); | |
861 | _resultobj = Py_None; | |
862 | return _resultobj; | |
863 | } | |
864 | ||
865 | #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled()) | |
866 | static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args) { | |
867 | PyObject * _resultobj; | |
868 | bool _result; | |
869 | wxWindow * _arg0; | |
870 | char * _argc0 = 0; | |
871 | ||
872 | self = self; | |
873 | if(!PyArg_ParseTuple(args,"s:wxWindow_IsEnabled",&_argc0)) | |
874 | return NULL; | |
875 | if (_argc0) { | |
876 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p."); | |
878 | return NULL; | |
879 | } | |
880 | } | |
881 | _result = (bool )wxWindow_IsEnabled(_arg0); | |
882 | _resultobj = Py_BuildValue("i",_result); | |
883 | return _resultobj; | |
884 | } | |
885 | ||
886 | #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained()) | |
887 | static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args) { | |
888 | PyObject * _resultobj; | |
889 | bool _result; | |
890 | wxWindow * _arg0; | |
891 | char * _argc0 = 0; | |
892 | ||
893 | self = self; | |
894 | if(!PyArg_ParseTuple(args,"s:wxWindow_IsRetained",&_argc0)) | |
895 | return NULL; | |
896 | if (_argc0) { | |
897 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p."); | |
899 | return NULL; | |
900 | } | |
901 | } | |
902 | _result = (bool )wxWindow_IsRetained(_arg0); | |
903 | _resultobj = Py_BuildValue("i",_result); | |
904 | return _resultobj; | |
905 | } | |
906 | ||
907 | #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown()) | |
908 | static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args) { | |
909 | PyObject * _resultobj; | |
910 | bool _result; | |
911 | wxWindow * _arg0; | |
912 | char * _argc0 = 0; | |
913 | ||
914 | self = self; | |
915 | if(!PyArg_ParseTuple(args,"s:wxWindow_IsShown",&_argc0)) | |
916 | return NULL; | |
917 | if (_argc0) { | |
918 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p."); | |
920 | return NULL; | |
921 | } | |
922 | } | |
923 | _result = (bool )wxWindow_IsShown(_arg0); | |
924 | _resultobj = Py_BuildValue("i",_result); | |
925 | return _resultobj; | |
926 | } | |
927 | ||
928 | #define wxWindow_Layout(_swigobj) (_swigobj->Layout()) | |
929 | static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args) { | |
930 | PyObject * _resultobj; | |
931 | wxWindow * _arg0; | |
932 | char * _argc0 = 0; | |
933 | ||
934 | self = self; | |
935 | if(!PyArg_ParseTuple(args,"s:wxWindow_Layout",&_argc0)) | |
936 | return NULL; | |
937 | if (_argc0) { | |
938 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p."); | |
940 | return NULL; | |
941 | } | |
942 | } | |
943 | wxWindow_Layout(_arg0); | |
944 | Py_INCREF(Py_None); | |
945 | _resultobj = Py_None; | |
946 | return _resultobj; | |
947 | } | |
948 | ||
7bf85405 RD |
949 | #define wxWindow_Lower(_swigobj) (_swigobj->Lower()) |
950 | static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args) { | |
951 | PyObject * _resultobj; | |
952 | wxWindow * _arg0; | |
953 | char * _argc0 = 0; | |
954 | ||
955 | self = self; | |
956 | if(!PyArg_ParseTuple(args,"s:wxWindow_Lower",&_argc0)) | |
957 | return NULL; | |
958 | if (_argc0) { | |
959 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p."); | |
961 | return NULL; | |
962 | } | |
963 | } | |
964 | wxWindow_Lower(_arg0); | |
965 | Py_INCREF(Py_None); | |
966 | _resultobj = Py_None; | |
967 | return _resultobj; | |
968 | } | |
969 | ||
970 | #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0)) | |
971 | static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args) { | |
972 | PyObject * _resultobj; | |
973 | wxWindow * _arg0; | |
974 | bool _arg1; | |
975 | char * _argc0 = 0; | |
976 | int tempbool1; | |
977 | ||
978 | self = self; | |
979 | if(!PyArg_ParseTuple(args,"si:wxWindow_MakeModal",&_argc0,&tempbool1)) | |
980 | return NULL; | |
981 | if (_argc0) { | |
982 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p."); | |
984 | return NULL; | |
985 | } | |
986 | } | |
987 | _arg1 = (bool ) tempbool1; | |
988 | wxWindow_MakeModal(_arg0,_arg1); | |
989 | Py_INCREF(Py_None); | |
990 | _resultobj = Py_None; | |
991 | return _resultobj; | |
992 | } | |
993 | ||
994 | #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1)) | |
995 | static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args) { | |
996 | PyObject * _resultobj; | |
997 | wxWindow * _arg0; | |
998 | int _arg1; | |
999 | int _arg2; | |
1000 | char * _argc0 = 0; | |
1001 | ||
1002 | self = self; | |
1003 | if(!PyArg_ParseTuple(args,"sii:wxWindow_Move",&_argc0,&_arg1,&_arg2)) | |
1004 | return NULL; | |
1005 | if (_argc0) { | |
1006 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p."); | |
1008 | return NULL; | |
1009 | } | |
1010 | } | |
1011 | wxWindow_Move(_arg0,_arg1,_arg2); | |
1012 | Py_INCREF(Py_None); | |
1013 | _resultobj = Py_None; | |
1014 | return _resultobj; | |
1015 | } | |
1016 | ||
1017 | #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2)) | |
1018 | static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args) { | |
1019 | PyObject * _resultobj; | |
1020 | bool _result; | |
1021 | wxWindow * _arg0; | |
1022 | wxMenu * _arg1; | |
1023 | int _arg2; | |
1024 | int _arg3; | |
1025 | char * _argc0 = 0; | |
1026 | char * _argc1 = 0; | |
1027 | ||
1028 | self = self; | |
1029 | if(!PyArg_ParseTuple(args,"ssii:wxWindow_PopupMenu",&_argc0,&_argc1,&_arg2,&_arg3)) | |
1030 | return NULL; | |
1031 | if (_argc0) { | |
1032 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p."); | |
1034 | return NULL; | |
1035 | } | |
1036 | } | |
1037 | if (_argc1) { | |
1038 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) { | |
1039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p."); | |
1040 | return NULL; | |
1041 | } | |
1042 | } | |
1043 | _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,_arg2,_arg3); | |
1044 | _resultobj = Py_BuildValue("i",_result); | |
1045 | return _resultobj; | |
1046 | } | |
1047 | ||
1048 | #define wxWindow_Raise(_swigobj) (_swigobj->Raise()) | |
1049 | static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args) { | |
1050 | PyObject * _resultobj; | |
1051 | wxWindow * _arg0; | |
1052 | char * _argc0 = 0; | |
1053 | ||
1054 | self = self; | |
1055 | if(!PyArg_ParseTuple(args,"s:wxWindow_Raise",&_argc0)) | |
1056 | return NULL; | |
1057 | if (_argc0) { | |
1058 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p."); | |
1060 | return NULL; | |
1061 | } | |
1062 | } | |
1063 | wxWindow_Raise(_arg0); | |
1064 | Py_INCREF(Py_None); | |
1065 | _resultobj = Py_None; | |
1066 | return _resultobj; | |
1067 | } | |
1068 | ||
1069 | #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1)) | |
1070 | static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args) { | |
1071 | PyObject * _resultobj; | |
1072 | wxWindow * _arg0; | |
1073 | bool _arg1 = (1); | |
1074 | wxRect * _arg2 = NULL; | |
1075 | char * _argc0 = 0; | |
1076 | int tempbool1; | |
1077 | char * _argc2 = 0; | |
1078 | ||
1079 | self = self; | |
1080 | if(!PyArg_ParseTuple(args,"s|is:wxWindow_Refresh",&_argc0,&tempbool1,&_argc2)) | |
1081 | return NULL; | |
1082 | if (_argc0) { | |
1083 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p."); | |
1085 | return NULL; | |
1086 | } | |
1087 | } | |
1088 | _arg1 = (bool ) tempbool1; | |
1089 | if (_argc2) { | |
1090 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxRect_p")) { | |
1091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p."); | |
1092 | return NULL; | |
1093 | } | |
1094 | } | |
1095 | wxWindow_Refresh(_arg0,_arg1,_arg2); | |
1096 | Py_INCREF(Py_None); | |
1097 | _resultobj = Py_None; | |
1098 | return _resultobj; | |
1099 | } | |
1100 | ||
1101 | #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse()) | |
1102 | static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args) { | |
1103 | PyObject * _resultobj; | |
1104 | wxWindow * _arg0; | |
1105 | char * _argc0 = 0; | |
1106 | ||
1107 | self = self; | |
1108 | if(!PyArg_ParseTuple(args,"s:wxWindow_ReleaseMouse",&_argc0)) | |
1109 | return NULL; | |
1110 | if (_argc0) { | |
1111 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p."); | |
1113 | return NULL; | |
1114 | } | |
1115 | } | |
1116 | wxWindow_ReleaseMouse(_arg0); | |
1117 | Py_INCREF(Py_None); | |
1118 | _resultobj = Py_None; | |
1119 | return _resultobj; | |
1120 | } | |
1121 | ||
1122 | #define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1)) | |
1123 | static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args) { | |
1124 | PyObject * _resultobj; | |
1125 | wxWindow * _arg0; | |
1126 | int * _arg1; | |
1127 | int * _arg2; | |
1128 | char * _argc0 = 0; | |
1129 | int temp; | |
1130 | PyObject * _obj1 = 0; | |
1131 | int temp0; | |
1132 | PyObject * _obj2 = 0; | |
1133 | ||
1134 | self = self; | |
1135 | if(!PyArg_ParseTuple(args,"sOO:wxWindow_ScreenToClient",&_argc0,&_obj1,&_obj2)) | |
1136 | return NULL; | |
1137 | if (_argc0) { | |
1138 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p."); | |
1140 | return NULL; | |
1141 | } | |
1142 | } | |
1143 | { | |
1144 | temp = (int) PyInt_AsLong(_obj1); | |
1145 | _arg1 = &temp; | |
1146 | } | |
1147 | { | |
1148 | temp0 = (int) PyInt_AsLong(_obj2); | |
1149 | _arg2 = &temp0; | |
1150 | } | |
1151 | wxWindow_ScreenToClient(_arg0,_arg1,_arg2); | |
1152 | Py_INCREF(Py_None); | |
1153 | _resultobj = Py_None; | |
1154 | { | |
1155 | PyObject *o; | |
1156 | o = PyInt_FromLong((long) (*_arg1)); | |
1157 | _resultobj = t_output_helper(_resultobj, o); | |
1158 | } | |
1159 | { | |
1160 | PyObject *o; | |
1161 | o = PyInt_FromLong((long) (*_arg2)); | |
1162 | _resultobj = t_output_helper(_resultobj, o); | |
1163 | } | |
1164 | return _resultobj; | |
1165 | } | |
1166 | ||
1167 | #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2)) | |
1168 | static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args) { | |
1169 | PyObject * _resultobj; | |
1170 | wxWindow * _arg0; | |
1171 | int _arg1; | |
1172 | int _arg2; | |
1173 | wxRect * _arg3 = NULL; | |
1174 | char * _argc0 = 0; | |
1175 | char * _argc3 = 0; | |
1176 | ||
1177 | self = self; | |
1178 | if(!PyArg_ParseTuple(args,"sii|s:wxWindow_ScrollWindow",&_argc0,&_arg1,&_arg2,&_argc3)) | |
1179 | return NULL; | |
1180 | if (_argc0) { | |
1181 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p."); | |
1183 | return NULL; | |
1184 | } | |
1185 | } | |
1186 | if (_argc3) { | |
1187 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxRect_p")) { | |
1188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p."); | |
1189 | return NULL; | |
1190 | } | |
1191 | } | |
1192 | wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3); | |
1193 | Py_INCREF(Py_None); | |
1194 | _resultobj = Py_None; | |
1195 | return _resultobj; | |
1196 | } | |
1197 | ||
1198 | #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0)) | |
1199 | static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args) { | |
1200 | PyObject * _resultobj; | |
1201 | wxWindow * _arg0; | |
1202 | bool _arg1; | |
1203 | char * _argc0 = 0; | |
1204 | int tempbool1; | |
1205 | ||
1206 | self = self; | |
1207 | if(!PyArg_ParseTuple(args,"si:wxWindow_SetAutoLayout",&_argc0,&tempbool1)) | |
1208 | return NULL; | |
1209 | if (_argc0) { | |
1210 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p."); | |
1212 | return NULL; | |
1213 | } | |
1214 | } | |
1215 | _arg1 = (bool ) tempbool1; | |
1216 | wxWindow_SetAutoLayout(_arg0,_arg1); | |
1217 | Py_INCREF(Py_None); | |
1218 | _resultobj = Py_None; | |
1219 | return _resultobj; | |
1220 | } | |
1221 | ||
1222 | #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
1223 | static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args) { | |
1224 | PyObject * _resultobj; | |
1225 | wxWindow * _arg0; | |
1226 | wxColour * _arg1; | |
1227 | char * _argc0 = 0; | |
1228 | char * _argc1 = 0; | |
1229 | ||
1230 | self = self; | |
1231 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetBackgroundColour",&_argc0,&_argc1)) | |
1232 | return NULL; | |
1233 | if (_argc0) { | |
1234 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p."); | |
1236 | return NULL; | |
1237 | } | |
1238 | } | |
1239 | if (_argc1) { | |
1240 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p."); | |
1242 | return NULL; | |
1243 | } | |
1244 | } | |
1245 | wxWindow_SetBackgroundColour(_arg0,*_arg1); | |
1246 | Py_INCREF(Py_None); | |
1247 | _resultobj = Py_None; | |
1248 | return _resultobj; | |
1249 | } | |
1250 | ||
1251 | #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0)) | |
1252 | static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args) { | |
1253 | PyObject * _resultobj; | |
1254 | wxWindow * _arg0; | |
1255 | wxLayoutConstraints * _arg1; | |
1256 | char * _argc0 = 0; | |
1257 | char * _argc1 = 0; | |
1258 | ||
1259 | self = self; | |
1260 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetConstraints",&_argc0,&_argc1)) | |
1261 | return NULL; | |
1262 | if (_argc0) { | |
1263 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p."); | |
1265 | return NULL; | |
1266 | } | |
1267 | } | |
1268 | if (_argc1) { | |
1269 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxLayoutConstraints_p")) { | |
1270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p."); | |
1271 | return NULL; | |
1272 | } | |
1273 | } | |
1274 | wxWindow_SetConstraints(_arg0,_arg1); | |
1275 | Py_INCREF(Py_None); | |
1276 | _resultobj = Py_None; | |
1277 | return _resultobj; | |
1278 | } | |
1279 | ||
1280 | #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0)) | |
1281 | static PyObject *_wrap_wxWindow_SetDoubleClick(PyObject *self, PyObject *args) { | |
1282 | PyObject * _resultobj; | |
1283 | wxWindow * _arg0; | |
1284 | bool _arg1; | |
1285 | char * _argc0 = 0; | |
1286 | int tempbool1; | |
1287 | ||
1288 | self = self; | |
1289 | if(!PyArg_ParseTuple(args,"si:wxWindow_SetDoubleClick",&_argc0,&tempbool1)) | |
1290 | return NULL; | |
1291 | if (_argc0) { | |
1292 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p."); | |
1294 | return NULL; | |
1295 | } | |
1296 | } | |
1297 | _arg1 = (bool ) tempbool1; | |
1298 | wxWindow_SetDoubleClick(_arg0,_arg1); | |
1299 | Py_INCREF(Py_None); | |
1300 | _resultobj = Py_None; | |
1301 | return _resultobj; | |
1302 | } | |
1303 | ||
1304 | #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus()) | |
1305 | static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args) { | |
1306 | PyObject * _resultobj; | |
1307 | wxWindow * _arg0; | |
1308 | char * _argc0 = 0; | |
1309 | ||
1310 | self = self; | |
1311 | if(!PyArg_ParseTuple(args,"s:wxWindow_SetFocus",&_argc0)) | |
1312 | return NULL; | |
1313 | if (_argc0) { | |
1314 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p."); | |
1316 | return NULL; | |
1317 | } | |
1318 | } | |
1319 | wxWindow_SetFocus(_arg0); | |
1320 | Py_INCREF(Py_None); | |
1321 | _resultobj = Py_None; | |
1322 | return _resultobj; | |
1323 | } | |
1324 | ||
1325 | #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
1326 | static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args) { | |
1327 | PyObject * _resultobj; | |
1328 | wxWindow * _arg0; | |
1329 | wxFont * _arg1; | |
1330 | char * _argc0 = 0; | |
1331 | char * _argc1 = 0; | |
1332 | ||
1333 | self = self; | |
1334 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetFont",&_argc0,&_argc1)) | |
1335 | return NULL; | |
1336 | if (_argc0) { | |
1337 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p."); | |
1339 | return NULL; | |
1340 | } | |
1341 | } | |
1342 | if (_argc1) { | |
1343 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
1344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p."); | |
1345 | return NULL; | |
1346 | } | |
1347 | } | |
1348 | wxWindow_SetFont(_arg0,*_arg1); | |
1349 | Py_INCREF(Py_None); | |
1350 | _resultobj = Py_None; | |
1351 | return _resultobj; | |
1352 | } | |
1353 | ||
853b255a RD |
1354 | #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) |
1355 | static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args) { | |
7bf85405 RD |
1356 | PyObject * _resultobj; |
1357 | wxWindow * _arg0; | |
853b255a | 1358 | int _arg1; |
7bf85405 | 1359 | char * _argc0 = 0; |
7bf85405 RD |
1360 | |
1361 | self = self; | |
853b255a | 1362 | if(!PyArg_ParseTuple(args,"si:wxWindow_SetId",&_argc0,&_arg1)) |
7bf85405 RD |
1363 | return NULL; |
1364 | if (_argc0) { | |
1365 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
853b255a | 1366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p."); |
7bf85405 RD |
1367 | return NULL; |
1368 | } | |
1369 | } | |
853b255a | 1370 | wxWindow_SetId(_arg0,_arg1); |
7bf85405 RD |
1371 | Py_INCREF(Py_None); |
1372 | _resultobj = Py_None; | |
1373 | return _resultobj; | |
1374 | } | |
1375 | ||
853b255a RD |
1376 | #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0)) |
1377 | static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args) { | |
7bf85405 RD |
1378 | PyObject * _resultobj; |
1379 | wxWindow * _arg0; | |
853b255a | 1380 | wxString * _arg1; |
7bf85405 RD |
1381 | char * _argc0 = 0; |
1382 | PyObject * _obj1 = 0; | |
1383 | ||
1384 | self = self; | |
1385 | if(!PyArg_ParseTuple(args,"sO:wxWindow_SetName",&_argc0,&_obj1)) | |
1386 | return NULL; | |
1387 | if (_argc0) { | |
1388 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p."); | |
1390 | return NULL; | |
1391 | } | |
1392 | } | |
1393 | { | |
1394 | if (!PyString_Check(_obj1)) { | |
1395 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1396 | return NULL; | |
1397 | } | |
1398 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1399 | } | |
1400 | wxWindow_SetName(_arg0,*_arg1); | |
1401 | Py_INCREF(Py_None); | |
1402 | _resultobj = Py_None; | |
1403 | { | |
1404 | if (_obj1) | |
1405 | delete _arg1; | |
1406 | } | |
1407 | return _resultobj; | |
1408 | } | |
1409 | ||
1410 | #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0)) | |
1411 | static PyObject *_wrap_wxWindow_SetReturnCode(PyObject *self, PyObject *args) { | |
1412 | PyObject * _resultobj; | |
1413 | wxWindow * _arg0; | |
1414 | int _arg1; | |
1415 | char * _argc0 = 0; | |
1416 | ||
1417 | self = self; | |
1418 | if(!PyArg_ParseTuple(args,"si:wxWindow_SetReturnCode",&_argc0,&_arg1)) | |
1419 | return NULL; | |
1420 | if (_argc0) { | |
1421 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p."); | |
1423 | return NULL; | |
1424 | } | |
1425 | } | |
1426 | wxWindow_SetReturnCode(_arg0,_arg1); | |
1427 | Py_INCREF(Py_None); | |
1428 | _resultobj = Py_None; | |
1429 | return _resultobj; | |
1430 | } | |
1431 | ||
1432 | #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1433 | static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args) { | |
1434 | PyObject * _resultobj; | |
1435 | wxWindow * _arg0; | |
1436 | int _arg1; | |
1437 | int _arg2; | |
1438 | int _arg3; | |
1439 | int _arg4; | |
1440 | bool _arg5 = (1); | |
1441 | char * _argc0 = 0; | |
1442 | int tempbool5; | |
1443 | ||
1444 | self = self; | |
1445 | if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5)) | |
1446 | return NULL; | |
1447 | if (_argc0) { | |
1448 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p."); | |
1450 | return NULL; | |
1451 | } | |
1452 | } | |
1453 | _arg5 = (bool ) tempbool5; | |
1454 | wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1455 | Py_INCREF(Py_None); | |
1456 | _resultobj = Py_None; | |
1457 | return _resultobj; | |
1458 | } | |
1459 | ||
1460 | #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2)) | |
1461 | static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args) { | |
1462 | PyObject * _resultobj; | |
1463 | wxWindow * _arg0; | |
1464 | int _arg1; | |
1465 | int _arg2; | |
1466 | bool _arg3 = (1); | |
1467 | char * _argc0 = 0; | |
1468 | int tempbool3; | |
1469 | ||
1470 | self = self; | |
1471 | if(!PyArg_ParseTuple(args,"sii|i:wxWindow_SetScrollPos",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
1472 | return NULL; | |
1473 | if (_argc0) { | |
1474 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p."); | |
1476 | return NULL; | |
1477 | } | |
1478 | } | |
1479 | _arg3 = (bool ) tempbool3; | |
1480 | wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3); | |
1481 | Py_INCREF(Py_None); | |
1482 | _resultobj = Py_None; | |
1483 | return _resultobj; | |
1484 | } | |
1485 | ||
1486 | #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1487 | static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args) { | |
1488 | PyObject * _resultobj; | |
1489 | wxWindow * _arg0; | |
1490 | int _arg1; | |
1491 | int _arg2; | |
1492 | int _arg3; | |
1493 | int _arg4; | |
1494 | int _arg5 = (wxSIZE_AUTO); | |
1495 | char * _argc0 = 0; | |
1496 | ||
1497 | self = self; | |
1498 | if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetDimensions",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1499 | return NULL; | |
1500 | if (_argc0) { | |
1501 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p."); | |
1503 | return NULL; | |
1504 | } | |
1505 | } | |
1506 | wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1507 | Py_INCREF(Py_None); | |
1508 | _resultobj = Py_None; | |
1509 | return _resultobj; | |
1510 | } | |
1511 | ||
1512 | static void wxWindow_SetSize(wxWindow *self,const wxSize & size) { | |
1513 | self->SetSize(size.x, size.y); | |
1514 | } | |
1515 | static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args) { | |
1516 | PyObject * _resultobj; | |
1517 | wxWindow * _arg0; | |
1518 | wxSize * _arg1; | |
1519 | char * _argc0 = 0; | |
1520 | char * _argc1 = 0; | |
1521 | ||
1522 | self = self; | |
1523 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetSize",&_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_SetSize. Expected _wxWindow_p."); | |
1528 | return NULL; | |
1529 | } | |
1530 | } | |
1531 | if (_argc1) { | |
1532 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) { | |
1533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p."); | |
1534 | return NULL; | |
1535 | } | |
1536 | } | |
1537 | wxWindow_SetSize(_arg0,*_arg1); | |
1538 | Py_INCREF(Py_None); | |
1539 | _resultobj = Py_None; | |
1540 | return _resultobj; | |
1541 | } | |
1542 | ||
1543 | static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) { | |
1544 | self->SetSize(pos.x, pos.y, -1, -1); | |
1545 | } | |
1546 | static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args) { | |
1547 | PyObject * _resultobj; | |
1548 | wxWindow * _arg0; | |
1549 | wxPoint * _arg1; | |
1550 | char * _argc0 = 0; | |
1551 | char * _argc1 = 0; | |
1552 | ||
1553 | self = self; | |
1554 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetPosition",&_argc0,&_argc1)) | |
1555 | return NULL; | |
1556 | if (_argc0) { | |
1557 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p."); | |
1559 | return NULL; | |
1560 | } | |
1561 | } | |
1562 | if (_argc1) { | |
1563 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
1564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p."); | |
1565 | return NULL; | |
1566 | } | |
1567 | } | |
1568 | wxWindow_SetPosition(_arg0,*_arg1); | |
1569 | Py_INCREF(Py_None); | |
1570 | _resultobj = Py_None; | |
1571 | return _resultobj; | |
1572 | } | |
1573 | ||
7bf85405 RD |
1574 | #define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1)) |
1575 | static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args) { | |
1576 | PyObject * _resultobj; | |
1577 | wxWindow * _arg0; | |
1578 | int _arg1; | |
1579 | int _arg2; | |
1580 | char * _argc0 = 0; | |
1581 | ||
1582 | self = self; | |
1583 | if(!PyArg_ParseTuple(args,"sii:wxWindow_SetClientSize",&_argc0,&_arg1,&_arg2)) | |
1584 | return NULL; | |
1585 | if (_argc0) { | |
1586 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p."); | |
1588 | return NULL; | |
1589 | } | |
1590 | } | |
1591 | wxWindow_SetClientSize(_arg0,_arg1,_arg2); | |
1592 | Py_INCREF(Py_None); | |
1593 | _resultobj = Py_None; | |
1594 | return _resultobj; | |
1595 | } | |
1596 | ||
1597 | #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0)) | |
1598 | static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args) { | |
1599 | PyObject * _resultobj; | |
1600 | wxWindow * _arg0; | |
1601 | wxCursor * _arg1; | |
1602 | char * _argc0 = 0; | |
1603 | char * _argc1 = 0; | |
1604 | ||
1605 | self = self; | |
1606 | if(!PyArg_ParseTuple(args,"ss:wxWindow_SetCursor",&_argc0,&_argc1)) | |
1607 | return NULL; | |
1608 | if (_argc0) { | |
1609 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p."); | |
1611 | return NULL; | |
1612 | } | |
1613 | } | |
1614 | if (_argc1) { | |
1615 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxCursor_p")) { | |
1616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p."); | |
1617 | return NULL; | |
1618 | } | |
1619 | } | |
1620 | wxWindow_SetCursor(_arg0,*_arg1); | |
1621 | Py_INCREF(Py_None); | |
1622 | _resultobj = Py_None; | |
1623 | return _resultobj; | |
1624 | } | |
1625 | ||
1626 | #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
1627 | static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args) { | |
1628 | PyObject * _resultobj; | |
1629 | wxWindow * _arg0; | |
1630 | wxString * _arg1; | |
1631 | char * _argc0 = 0; | |
1632 | PyObject * _obj1 = 0; | |
1633 | ||
1634 | self = self; | |
1635 | if(!PyArg_ParseTuple(args,"sO:wxWindow_SetTitle",&_argc0,&_obj1)) | |
1636 | return NULL; | |
1637 | if (_argc0) { | |
1638 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p."); | |
1640 | return NULL; | |
1641 | } | |
1642 | } | |
1643 | { | |
1644 | if (!PyString_Check(_obj1)) { | |
1645 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1646 | return NULL; | |
1647 | } | |
1648 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1649 | } | |
1650 | wxWindow_SetTitle(_arg0,*_arg1); | |
1651 | Py_INCREF(Py_None); | |
1652 | _resultobj = Py_None; | |
1653 | { | |
1654 | if (_obj1) | |
1655 | delete _arg1; | |
1656 | } | |
1657 | return _resultobj; | |
1658 | } | |
1659 | ||
1660 | #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
1661 | static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args) { | |
1662 | PyObject * _resultobj; | |
1663 | bool _result; | |
1664 | wxWindow * _arg0; | |
1665 | bool _arg1; | |
1666 | char * _argc0 = 0; | |
1667 | int tempbool1; | |
1668 | ||
1669 | self = self; | |
1670 | if(!PyArg_ParseTuple(args,"si:wxWindow_Show",&_argc0,&tempbool1)) | |
1671 | return NULL; | |
1672 | if (_argc0) { | |
1673 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p."); | |
1675 | return NULL; | |
1676 | } | |
1677 | } | |
1678 | _arg1 = (bool ) tempbool1; | |
1679 | _result = (bool )wxWindow_Show(_arg0,_arg1); | |
1680 | _resultobj = Py_BuildValue("i",_result); | |
1681 | return _resultobj; | |
1682 | } | |
1683 | ||
1684 | #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow()) | |
1685 | static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args) { | |
1686 | PyObject * _resultobj; | |
1687 | bool _result; | |
1688 | wxWindow * _arg0; | |
1689 | char * _argc0 = 0; | |
1690 | ||
1691 | self = self; | |
1692 | if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataFromWindow",&_argc0)) | |
1693 | return NULL; | |
1694 | if (_argc0) { | |
1695 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p."); | |
1697 | return NULL; | |
1698 | } | |
1699 | } | |
1700 | _result = (bool )wxWindow_TransferDataFromWindow(_arg0); | |
1701 | _resultobj = Py_BuildValue("i",_result); | |
1702 | return _resultobj; | |
1703 | } | |
1704 | ||
1705 | #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow()) | |
1706 | static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args) { | |
1707 | PyObject * _resultobj; | |
1708 | bool _result; | |
1709 | wxWindow * _arg0; | |
1710 | char * _argc0 = 0; | |
1711 | ||
1712 | self = self; | |
1713 | if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataToWindow",&_argc0)) | |
1714 | return NULL; | |
1715 | if (_argc0) { | |
1716 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p."); | |
1718 | return NULL; | |
1719 | } | |
1720 | } | |
1721 | _result = (bool )wxWindow_TransferDataToWindow(_arg0); | |
1722 | _resultobj = Py_BuildValue("i",_result); | |
1723 | return _resultobj; | |
1724 | } | |
1725 | ||
1726 | #define wxWindow_Validate(_swigobj) (_swigobj->Validate()) | |
1727 | static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args) { | |
1728 | PyObject * _resultobj; | |
1729 | bool _result; | |
1730 | wxWindow * _arg0; | |
1731 | char * _argc0 = 0; | |
1732 | ||
1733 | self = self; | |
1734 | if(!PyArg_ParseTuple(args,"s:wxWindow_Validate",&_argc0)) | |
1735 | return NULL; | |
1736 | if (_argc0) { | |
1737 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p."); | |
1739 | return NULL; | |
1740 | } | |
1741 | } | |
1742 | _result = (bool )wxWindow_Validate(_arg0); | |
1743 | _resultobj = Py_BuildValue("i",_result); | |
1744 | return _resultobj; | |
1745 | } | |
1746 | ||
7bf85405 RD |
1747 | static void *SwigwxFrameTowxWindow(void *ptr) { |
1748 | wxFrame *src; | |
1749 | wxWindow *dest; | |
1750 | src = (wxFrame *) ptr; | |
1751 | dest = (wxWindow *) src; | |
1752 | return (void *) dest; | |
1753 | } | |
1754 | ||
1755 | static void *SwigwxFrameTowxEvtHandler(void *ptr) { | |
1756 | wxFrame *src; | |
1757 | wxEvtHandler *dest; | |
1758 | src = (wxFrame *) ptr; | |
1759 | dest = (wxEvtHandler *) src; | |
1760 | return (void *) dest; | |
1761 | } | |
1762 | ||
1763 | #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
1764 | static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) { | |
1765 | PyObject * _resultobj; | |
1766 | wxFrame * _result; | |
1767 | wxWindow * _arg0; | |
1768 | wxWindowID _arg1; | |
1769 | wxString * _arg2; | |
1770 | wxPoint * _arg3 = &wxPyDefaultPosition; | |
1771 | wxSize * _arg4 = &wxPyDefaultSize; | |
1772 | long _arg5 = (wxDEFAULT_FRAME_STYLE); | |
1773 | char * _arg6 = "frame"; | |
1774 | char * _argc0 = 0; | |
1775 | PyObject * _obj2 = 0; | |
1776 | char * _argc3 = 0; | |
1777 | char * _argc4 = 0; | |
1778 | char _ptemp[128]; | |
1779 | ||
1780 | self = self; | |
1781 | if(!PyArg_ParseTuple(args,"siO|ssls:new_wxFrame",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6)) | |
1782 | return NULL; | |
1783 | if (_argc0) { | |
1784 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p."); | |
1786 | return NULL; | |
1787 | } | |
1788 | } | |
1789 | { | |
1790 | if (!PyString_Check(_obj2)) { | |
1791 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1792 | return NULL; | |
1793 | } | |
1794 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1795 | } | |
1796 | if (_argc3) { | |
1797 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) { | |
1798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxFrame. Expected _wxPoint_p."); | |
1799 | return NULL; | |
1800 | } | |
1801 | } | |
1802 | if (_argc4) { | |
1803 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) { | |
1804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxFrame. Expected _wxSize_p."); | |
1805 | return NULL; | |
1806 | } | |
1807 | } | |
1808 | _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
1809 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
1810 | _resultobj = Py_BuildValue("s",_ptemp); | |
1811 | { | |
1812 | if (_obj2) | |
1813 | delete _arg2; | |
1814 | } | |
1815 | return _resultobj; | |
1816 | } | |
1817 | ||
1818 | #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) | |
1819 | static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args) { | |
1820 | PyObject * _resultobj; | |
1821 | wxFrame * _arg0; | |
1822 | int _arg1 = (wxBOTH); | |
1823 | char * _argc0 = 0; | |
1824 | ||
1825 | self = self; | |
1826 | if(!PyArg_ParseTuple(args,"s|i:wxFrame_Centre",&_argc0,&_arg1)) | |
1827 | return NULL; | |
1828 | if (_argc0) { | |
1829 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
1830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p."); | |
1831 | return NULL; | |
1832 | } | |
1833 | } | |
1834 | wxFrame_Centre(_arg0,_arg1); | |
1835 | Py_INCREF(Py_None); | |
1836 | _resultobj = Py_None; | |
1837 | return _resultobj; | |
1838 | } | |
1839 | ||
7bf85405 RD |
1840 | #define wxFrame_CreateStatusBar(_swigobj,_swigarg0) (_swigobj->CreateStatusBar(_swigarg0)) |
1841 | static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) { | |
1842 | PyObject * _resultobj; | |
1843 | bool _result; | |
1844 | wxFrame * _arg0; | |
1845 | int _arg1 = 1; | |
1846 | char * _argc0 = 0; | |
1847 | ||
1848 | self = self; | |
1849 | if(!PyArg_ParseTuple(args,"s|i:wxFrame_CreateStatusBar",&_argc0,&_arg1)) | |
1850 | return NULL; | |
1851 | if (_argc0) { | |
1852 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
1853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p."); | |
1854 | return NULL; | |
1855 | } | |
1856 | } | |
1857 | _result = (bool )wxFrame_CreateStatusBar(_arg0,_arg1); | |
1858 | _resultobj = Py_BuildValue("i",_result); | |
1859 | return _resultobj; | |
1860 | } | |
1861 | ||
1862 | #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar()) | |
1863 | static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args) { | |
1864 | PyObject * _resultobj; | |
1865 | wxMenuBar * _result; | |
1866 | wxFrame * _arg0; | |
1867 | char * _argc0 = 0; | |
1868 | char _ptemp[128]; | |
1869 | ||
1870 | self = self; | |
1871 | if(!PyArg_ParseTuple(args,"s:wxFrame_GetMenuBar",&_argc0)) | |
1872 | return NULL; | |
1873 | if (_argc0) { | |
1874 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
1875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p."); | |
1876 | return NULL; | |
1877 | } | |
1878 | } | |
1879 | _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0); | |
1880 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
1881 | _resultobj = Py_BuildValue("s",_ptemp); | |
1882 | return _resultobj; | |
1883 | } | |
1884 | ||
1885 | #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar()) | |
1886 | static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args) { | |
1887 | PyObject * _resultobj; | |
1888 | wxStatusBar * _result; | |
1889 | wxFrame * _arg0; | |
1890 | char * _argc0 = 0; | |
1891 | char _ptemp[128]; | |
1892 | ||
1893 | self = self; | |
1894 | if(!PyArg_ParseTuple(args,"s:wxFrame_GetStatusBar",&_argc0)) | |
1895 | return NULL; | |
1896 | if (_argc0) { | |
1897 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
1898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p."); | |
1899 | return NULL; | |
1900 | } | |
1901 | } | |
1902 | _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0); | |
1903 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p"); | |
1904 | _resultobj = Py_BuildValue("s",_ptemp); | |
1905 | return _resultobj; | |
1906 | } | |
1907 | ||
1908 | #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
1909 | static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args) { | |
1910 | PyObject * _resultobj; | |
1911 | wxString * _result; | |
1912 | wxFrame * _arg0; | |
1913 | char * _argc0 = 0; | |
1914 | ||
1915 | self = self; | |
1916 | if(!PyArg_ParseTuple(args,"s:wxFrame_GetTitle",&_argc0)) | |
1917 | return NULL; | |
1918 | if (_argc0) { | |
1919 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
1920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p."); | |
1921 | return NULL; | |
1922 | } | |
1923 | } | |
853b255a | 1924 | _result = new wxString (wxFrame_GetTitle(_arg0)); |
7bf85405 | 1925 | { |
853b255a | 1926 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
7bf85405 | 1927 | } |
853b255a RD |
1928 | { |
1929 | delete _result; | |
7bf85405 | 1930 | } |
7bf85405 RD |
1931 | return _resultobj; |
1932 | } | |
1933 | ||
1934 | #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0)) | |
1935 | static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args) { | |
1936 | PyObject * _resultobj; | |
1937 | wxFrame * _arg0; | |
1938 | wxIcon * _arg1; | |
1939 | char * _argc0 = 0; | |
1940 | char * _argc1 = 0; | |
1941 | ||
1942 | self = self; | |
1943 | if(!PyArg_ParseTuple(args,"ss:wxFrame_SetIcon",&_argc0,&_argc1)) | |
1944 | return NULL; | |
1945 | if (_argc0) { | |
1946 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
1947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p."); | |
1948 | return NULL; | |
1949 | } | |
1950 | } | |
1951 | if (_argc1) { | |
1952 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) { | |
1953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p."); | |
1954 | return NULL; | |
1955 | } | |
1956 | } | |
1957 | wxFrame_SetIcon(_arg0,*_arg1); | |
1958 | Py_INCREF(Py_None); | |
1959 | _resultobj = Py_None; | |
1960 | return _resultobj; | |
1961 | } | |
1962 | ||
1963 | #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0)) | |
1964 | static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args) { | |
1965 | PyObject * _resultobj; | |
1966 | wxFrame * _arg0; | |
1967 | wxMenuBar * _arg1; | |
1968 | char * _argc0 = 0; | |
1969 | char * _argc1 = 0; | |
1970 | ||
1971 | self = self; | |
1972 | if(!PyArg_ParseTuple(args,"ss:wxFrame_SetMenuBar",&_argc0,&_argc1)) | |
1973 | return NULL; | |
1974 | if (_argc0) { | |
1975 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
1976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p."); | |
1977 | return NULL; | |
1978 | } | |
1979 | } | |
1980 | if (_argc1) { | |
1981 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenuBar_p")) { | |
1982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p."); | |
1983 | return NULL; | |
1984 | } | |
1985 | } | |
1986 | wxFrame_SetMenuBar(_arg0,_arg1); | |
1987 | Py_INCREF(Py_None); | |
1988 | _resultobj = Py_None; | |
1989 | return _resultobj; | |
1990 | } | |
1991 | ||
1992 | #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
1993 | static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args) { | |
1994 | PyObject * _resultobj; | |
1995 | wxFrame * _arg0; | |
1996 | wxString * _arg1; | |
1997 | int _arg2 = 0; | |
1998 | char * _argc0 = 0; | |
1999 | PyObject * _obj1 = 0; | |
2000 | ||
2001 | self = self; | |
2002 | if(!PyArg_ParseTuple(args,"sO|i:wxFrame_SetStatusText",&_argc0,&_obj1,&_arg2)) | |
2003 | return NULL; | |
2004 | if (_argc0) { | |
2005 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
2006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p."); | |
2007 | return NULL; | |
2008 | } | |
2009 | } | |
2010 | { | |
2011 | if (!PyString_Check(_obj1)) { | |
2012 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2013 | return NULL; | |
2014 | } | |
2015 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
2016 | } | |
2017 | wxFrame_SetStatusText(_arg0,*_arg1,_arg2); | |
2018 | Py_INCREF(Py_None); | |
2019 | _resultobj = Py_None; | |
2020 | { | |
2021 | if (_obj1) | |
2022 | delete _arg1; | |
2023 | } | |
2024 | return _resultobj; | |
2025 | } | |
2026 | ||
2027 | #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
2028 | static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args) { | |
2029 | PyObject * _resultobj; | |
2030 | wxFrame * _arg0; | |
2031 | int _arg1; | |
2032 | int * _arg2; | |
2033 | char * _argc0 = 0; | |
2034 | PyObject * _obj2 = 0; | |
2035 | ||
2036 | self = self; | |
2037 | if(!PyArg_ParseTuple(args,"sO:wxFrame_SetStatusWidths",&_argc0,&_obj2)) | |
2038 | return NULL; | |
2039 | if (_argc0) { | |
2040 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
2041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p."); | |
2042 | return NULL; | |
2043 | } | |
2044 | } | |
2045 | if (_obj2) | |
2046 | { | |
2047 | _arg2 = int_LIST_helper(_obj2); | |
2048 | if (_arg2 == NULL) { | |
2049 | return NULL; | |
2050 | } | |
2051 | } | |
2052 | { | |
2053 | _arg1 = PyList_Size(_obj2); | |
2054 | } | |
2055 | wxFrame_SetStatusWidths(_arg0,_arg1,_arg2); | |
2056 | Py_INCREF(Py_None); | |
2057 | _resultobj = Py_None; | |
2058 | { | |
2059 | delete [] _arg2; | |
2060 | } | |
2061 | return _resultobj; | |
2062 | } | |
2063 | ||
2064 | #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
2065 | static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args) { | |
2066 | PyObject * _resultobj; | |
2067 | wxFrame * _arg0; | |
2068 | wxString * _arg1; | |
2069 | char * _argc0 = 0; | |
2070 | PyObject * _obj1 = 0; | |
2071 | ||
2072 | self = self; | |
2073 | if(!PyArg_ParseTuple(args,"sO:wxFrame_SetTitle",&_argc0,&_obj1)) | |
2074 | return NULL; | |
2075 | if (_argc0) { | |
2076 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
2077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p."); | |
2078 | return NULL; | |
2079 | } | |
2080 | } | |
2081 | { | |
2082 | if (!PyString_Check(_obj1)) { | |
2083 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2084 | return NULL; | |
2085 | } | |
2086 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
2087 | } | |
2088 | wxFrame_SetTitle(_arg0,*_arg1); | |
2089 | Py_INCREF(Py_None); | |
2090 | _resultobj = Py_None; | |
2091 | { | |
2092 | if (_obj1) | |
2093 | delete _arg1; | |
2094 | } | |
2095 | return _resultobj; | |
2096 | } | |
2097 | ||
7bf85405 RD |
2098 | static void *SwigwxPanelTowxWindow(void *ptr) { |
2099 | wxPanel *src; | |
2100 | wxWindow *dest; | |
2101 | src = (wxPanel *) ptr; | |
2102 | dest = (wxWindow *) src; | |
2103 | return (void *) dest; | |
2104 | } | |
2105 | ||
2106 | static void *SwigwxPanelTowxEvtHandler(void *ptr) { | |
2107 | wxPanel *src; | |
2108 | wxEvtHandler *dest; | |
2109 | src = (wxPanel *) ptr; | |
2110 | dest = (wxEvtHandler *) src; | |
2111 | return (void *) dest; | |
2112 | } | |
2113 | ||
2114 | #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2115 | static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args) { | |
2116 | PyObject * _resultobj; | |
2117 | wxPanel * _result; | |
2118 | wxWindow * _arg0; | |
2119 | wxWindowID _arg1; | |
2120 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
2121 | wxSize * _arg3 = &wxPyDefaultSize; | |
2122 | long _arg4 = (wxTAB_TRAVERSAL); | |
2123 | char * _arg5 = "panel"; | |
2124 | char * _argc0 = 0; | |
2125 | char * _argc2 = 0; | |
2126 | char * _argc3 = 0; | |
2127 | char _ptemp[128]; | |
2128 | ||
2129 | self = self; | |
2130 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxPanel",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
2131 | return NULL; | |
2132 | if (_argc0) { | |
2133 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p."); | |
2135 | return NULL; | |
2136 | } | |
2137 | } | |
2138 | if (_argc2) { | |
2139 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
2140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p."); | |
2141 | return NULL; | |
2142 | } | |
2143 | } | |
2144 | if (_argc3) { | |
2145 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
2146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p."); | |
2147 | return NULL; | |
2148 | } | |
2149 | } | |
2150 | _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
2151 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p"); | |
2152 | _resultobj = Py_BuildValue("s",_ptemp); | |
2153 | return _resultobj; | |
2154 | } | |
2155 | ||
2156 | #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog()) | |
2157 | static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args) { | |
2158 | PyObject * _resultobj; | |
2159 | wxPanel * _arg0; | |
2160 | char * _argc0 = 0; | |
2161 | ||
2162 | self = self; | |
2163 | if(!PyArg_ParseTuple(args,"s:wxPanel_InitDialog",&_argc0)) | |
2164 | return NULL; | |
2165 | if (_argc0) { | |
2166 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) { | |
2167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p."); | |
2168 | return NULL; | |
2169 | } | |
2170 | } | |
2171 | wxPanel_InitDialog(_arg0); | |
2172 | Py_INCREF(Py_None); | |
2173 | _resultobj = Py_None; | |
2174 | return _resultobj; | |
2175 | } | |
2176 | ||
2177 | static void *SwigwxDialogTowxPanel(void *ptr) { | |
2178 | wxDialog *src; | |
2179 | wxPanel *dest; | |
2180 | src = (wxDialog *) ptr; | |
2181 | dest = (wxPanel *) src; | |
2182 | return (void *) dest; | |
2183 | } | |
2184 | ||
2185 | static void *SwigwxDialogTowxWindow(void *ptr) { | |
2186 | wxDialog *src; | |
2187 | wxWindow *dest; | |
2188 | src = (wxDialog *) ptr; | |
2189 | dest = (wxWindow *) src; | |
2190 | return (void *) dest; | |
2191 | } | |
2192 | ||
2193 | static void *SwigwxDialogTowxEvtHandler(void *ptr) { | |
2194 | wxDialog *src; | |
2195 | wxEvtHandler *dest; | |
2196 | src = (wxDialog *) ptr; | |
2197 | dest = (wxEvtHandler *) src; | |
2198 | return (void *) dest; | |
2199 | } | |
2200 | ||
2201 | #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2202 | static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args) { | |
2203 | PyObject * _resultobj; | |
2204 | wxDialog * _result; | |
2205 | wxWindow * _arg0; | |
2206 | wxWindowID _arg1; | |
2207 | wxString * _arg2; | |
2208 | wxPoint * _arg3 = &wxPyDefaultPosition; | |
2209 | wxSize * _arg4 = &wxPyDefaultSize; | |
2210 | long _arg5 = (wxDEFAULT_DIALOG_STYLE); | |
2211 | char * _arg6 = "dialogBox"; | |
2212 | char * _argc0 = 0; | |
2213 | PyObject * _obj2 = 0; | |
2214 | char * _argc3 = 0; | |
2215 | char * _argc4 = 0; | |
2216 | char _ptemp[128]; | |
2217 | ||
2218 | self = self; | |
2219 | if(!PyArg_ParseTuple(args,"siO|ssls:new_wxDialog",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6)) | |
2220 | return NULL; | |
2221 | if (_argc0) { | |
2222 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p."); | |
2224 | return NULL; | |
2225 | } | |
2226 | } | |
2227 | { | |
2228 | if (!PyString_Check(_obj2)) { | |
2229 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2230 | return NULL; | |
2231 | } | |
2232 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
2233 | } | |
2234 | if (_argc3) { | |
2235 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) { | |
2236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p."); | |
2237 | return NULL; | |
2238 | } | |
2239 | } | |
2240 | if (_argc4) { | |
2241 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) { | |
2242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p."); | |
2243 | return NULL; | |
2244 | } | |
2245 | } | |
2246 | _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
2247 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p"); | |
2248 | _resultobj = Py_BuildValue("s",_ptemp); | |
2249 | { | |
2250 | if (_obj2) | |
2251 | delete _arg2; | |
2252 | } | |
2253 | return _resultobj; | |
2254 | } | |
2255 | ||
2256 | #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) | |
2257 | static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args) { | |
2258 | PyObject * _resultobj; | |
2259 | wxDialog * _arg0; | |
2260 | int _arg1 = (wxBOTH); | |
2261 | char * _argc0 = 0; | |
2262 | ||
2263 | self = self; | |
2264 | if(!PyArg_ParseTuple(args,"s|i:wxDialog_Centre",&_argc0,&_arg1)) | |
2265 | return NULL; | |
2266 | if (_argc0) { | |
2267 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p."); | |
2269 | return NULL; | |
2270 | } | |
2271 | } | |
2272 | wxDialog_Centre(_arg0,_arg1); | |
2273 | Py_INCREF(Py_None); | |
2274 | _resultobj = Py_None; | |
2275 | return _resultobj; | |
2276 | } | |
2277 | ||
2278 | #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0)) | |
2279 | static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args) { | |
2280 | PyObject * _resultobj; | |
2281 | wxDialog * _arg0; | |
2282 | int _arg1; | |
2283 | char * _argc0 = 0; | |
2284 | ||
2285 | self = self; | |
2286 | if(!PyArg_ParseTuple(args,"si:wxDialog_EndModal",&_argc0,&_arg1)) | |
2287 | return NULL; | |
2288 | if (_argc0) { | |
2289 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p."); | |
2291 | return NULL; | |
2292 | } | |
2293 | } | |
2294 | wxDialog_EndModal(_arg0,_arg1); | |
2295 | Py_INCREF(Py_None); | |
2296 | _resultobj = Py_None; | |
2297 | return _resultobj; | |
2298 | } | |
2299 | ||
2300 | #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
2301 | static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args) { | |
2302 | PyObject * _resultobj; | |
2303 | wxString * _result; | |
2304 | wxDialog * _arg0; | |
2305 | char * _argc0 = 0; | |
2306 | ||
2307 | self = self; | |
2308 | if(!PyArg_ParseTuple(args,"s:wxDialog_GetTitle",&_argc0)) | |
2309 | return NULL; | |
2310 | if (_argc0) { | |
2311 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p."); | |
2313 | return NULL; | |
2314 | } | |
2315 | } | |
2316 | _result = new wxString (wxDialog_GetTitle(_arg0)); | |
2317 | { | |
2318 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
2319 | } | |
2320 | { | |
2321 | delete _result; | |
2322 | } | |
2323 | return _resultobj; | |
2324 | } | |
2325 | ||
853b255a RD |
2326 | #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal()) |
2327 | static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args) { | |
7bf85405 | 2328 | PyObject * _resultobj; |
853b255a | 2329 | bool _result; |
7bf85405 | 2330 | wxDialog * _arg0; |
7bf85405 | 2331 | char * _argc0 = 0; |
7bf85405 RD |
2332 | |
2333 | self = self; | |
853b255a | 2334 | if(!PyArg_ParseTuple(args,"s:wxDialog_IsModal",&_argc0)) |
7bf85405 RD |
2335 | return NULL; |
2336 | if (_argc0) { | |
2337 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
853b255a | 2338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p."); |
7bf85405 RD |
2339 | return NULL; |
2340 | } | |
2341 | } | |
853b255a RD |
2342 | _result = (bool )wxDialog_IsModal(_arg0); |
2343 | _resultobj = Py_BuildValue("i",_result); | |
7bf85405 RD |
2344 | return _resultobj; |
2345 | } | |
2346 | ||
853b255a RD |
2347 | #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) |
2348 | static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args) { | |
7bf85405 | 2349 | PyObject * _resultobj; |
7bf85405 | 2350 | wxDialog * _arg0; |
853b255a | 2351 | wxString * _arg1; |
7bf85405 | 2352 | char * _argc0 = 0; |
853b255a | 2353 | PyObject * _obj1 = 0; |
7bf85405 RD |
2354 | |
2355 | self = self; | |
853b255a | 2356 | if(!PyArg_ParseTuple(args,"sO:wxDialog_SetTitle",&_argc0,&_obj1)) |
7bf85405 RD |
2357 | return NULL; |
2358 | if (_argc0) { | |
2359 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
853b255a | 2360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p."); |
7bf85405 RD |
2361 | return NULL; |
2362 | } | |
2363 | } | |
853b255a RD |
2364 | { |
2365 | if (!PyString_Check(_obj1)) { | |
2366 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2367 | return NULL; | |
2368 | } | |
2369 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
2370 | } | |
2371 | wxDialog_SetTitle(_arg0,*_arg1); | |
2372 | Py_INCREF(Py_None); | |
2373 | _resultobj = Py_None; | |
2374 | { | |
2375 | if (_obj1) | |
2376 | delete _arg1; | |
2377 | } | |
7bf85405 RD |
2378 | return _resultobj; |
2379 | } | |
2380 | ||
853b255a RD |
2381 | #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) |
2382 | static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args) { | |
7bf85405 RD |
2383 | PyObject * _resultobj; |
2384 | bool _result; | |
2385 | wxDialog * _arg0; | |
853b255a | 2386 | bool _arg1; |
7bf85405 | 2387 | char * _argc0 = 0; |
853b255a | 2388 | int tempbool1; |
7bf85405 RD |
2389 | |
2390 | self = self; | |
853b255a | 2391 | if(!PyArg_ParseTuple(args,"si:wxDialog_Show",&_argc0,&tempbool1)) |
7bf85405 RD |
2392 | return NULL; |
2393 | if (_argc0) { | |
2394 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
853b255a | 2395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p."); |
7bf85405 RD |
2396 | return NULL; |
2397 | } | |
2398 | } | |
853b255a RD |
2399 | _arg1 = (bool ) tempbool1; |
2400 | _result = (bool )wxDialog_Show(_arg0,_arg1); | |
7bf85405 RD |
2401 | _resultobj = Py_BuildValue("i",_result); |
2402 | return _resultobj; | |
2403 | } | |
2404 | ||
2405 | #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) | |
2406 | static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args) { | |
2407 | PyObject * _resultobj; | |
2408 | int _result; | |
2409 | wxDialog * _arg0; | |
2410 | char * _argc0 = 0; | |
2411 | ||
2412 | self = self; | |
2413 | if(!PyArg_ParseTuple(args,"s:wxDialog_ShowModal",&_argc0)) | |
2414 | return NULL; | |
2415 | if (_argc0) { | |
2416 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) { | |
2417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p."); | |
2418 | return NULL; | |
2419 | } | |
2420 | } | |
2421 | _result = (int )wxDialog_ShowModal(_arg0); | |
2422 | _resultobj = Py_BuildValue("i",_result); | |
2423 | return _resultobj; | |
2424 | } | |
2425 | ||
2426 | static void *SwigwxScrolledWindowTowxWindow(void *ptr) { | |
2427 | wxScrolledWindow *src; | |
2428 | wxWindow *dest; | |
2429 | src = (wxScrolledWindow *) ptr; | |
2430 | dest = (wxWindow *) src; | |
2431 | return (void *) dest; | |
2432 | } | |
2433 | ||
2434 | static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) { | |
2435 | wxScrolledWindow *src; | |
2436 | wxEvtHandler *dest; | |
2437 | src = (wxScrolledWindow *) ptr; | |
2438 | dest = (wxEvtHandler *) src; | |
2439 | return (void *) dest; | |
2440 | } | |
2441 | ||
2442 | #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2443 | static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args) { | |
2444 | PyObject * _resultobj; | |
2445 | wxScrolledWindow * _result; | |
2446 | wxWindow * _arg0; | |
2447 | wxWindowID _arg1 = -1; | |
2448 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
2449 | wxSize * _arg3 = &wxPyDefaultSize; | |
2450 | long _arg4 = (wxHSCROLL)|(wxVSCROLL); | |
2451 | char * _arg5 = "scrolledWindow"; | |
2452 | char * _argc0 = 0; | |
2453 | char * _argc2 = 0; | |
2454 | char * _argc3 = 0; | |
2455 | char _ptemp[128]; | |
2456 | ||
2457 | self = self; | |
2458 | if(!PyArg_ParseTuple(args,"s|issls:new_wxScrolledWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
2459 | return NULL; | |
2460 | if (_argc0) { | |
2461 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p."); | |
2463 | return NULL; | |
2464 | } | |
2465 | } | |
2466 | if (_argc2) { | |
2467 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
2468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p."); | |
2469 | return NULL; | |
2470 | } | |
2471 | } | |
2472 | if (_argc3) { | |
2473 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
2474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p."); | |
2475 | return NULL; | |
2476 | } | |
2477 | } | |
2478 | _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
2479 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p"); | |
2480 | _resultobj = Py_BuildValue("s",_ptemp); | |
2481 | return _resultobj; | |
2482 | } | |
2483 | ||
2484 | #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1)) | |
2485 | static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args) { | |
2486 | PyObject * _resultobj; | |
2487 | wxScrolledWindow * _arg0; | |
2488 | bool _arg1; | |
2489 | bool _arg2; | |
2490 | char * _argc0 = 0; | |
2491 | int tempbool1; | |
2492 | int tempbool2; | |
2493 | ||
2494 | self = self; | |
2495 | if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_EnableScrolling",&_argc0,&tempbool1,&tempbool2)) | |
2496 | return NULL; | |
2497 | if (_argc0) { | |
2498 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
2499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p."); | |
2500 | return NULL; | |
2501 | } | |
2502 | } | |
2503 | _arg1 = (bool ) tempbool1; | |
2504 | _arg2 = (bool ) tempbool2; | |
2505 | wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2); | |
2506 | Py_INCREF(Py_None); | |
2507 | _resultobj = Py_None; | |
2508 | return _resultobj; | |
2509 | } | |
2510 | ||
2511 | #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1)) | |
2512 | static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args) { | |
2513 | PyObject * _resultobj; | |
2514 | wxScrolledWindow * _arg0; | |
2515 | int * _arg1; | |
2516 | int temp; | |
2517 | int * _arg2; | |
2518 | int temp0; | |
2519 | char * _argc0 = 0; | |
2520 | ||
2521 | self = self; | |
2522 | { | |
2523 | _arg1 = &temp; | |
2524 | } | |
2525 | { | |
2526 | _arg2 = &temp0; | |
2527 | } | |
2528 | if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0)) | |
2529 | return NULL; | |
2530 | if (_argc0) { | |
2531 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
2532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p."); | |
2533 | return NULL; | |
2534 | } | |
2535 | } | |
2536 | wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2); | |
2537 | Py_INCREF(Py_None); | |
2538 | _resultobj = Py_None; | |
2539 | { | |
2540 | PyObject *o; | |
2541 | o = PyInt_FromLong((long) (*_arg1)); | |
2542 | _resultobj = t_output_helper(_resultobj, o); | |
2543 | } | |
2544 | { | |
2545 | PyObject *o; | |
2546 | o = PyInt_FromLong((long) (*_arg2)); | |
2547 | _resultobj = t_output_helper(_resultobj, o); | |
2548 | } | |
2549 | return _resultobj; | |
2550 | } | |
2551 | ||
2552 | #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1)) | |
2553 | static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args) { | |
2554 | PyObject * _resultobj; | |
2555 | wxScrolledWindow * _arg0; | |
2556 | int * _arg1; | |
2557 | int temp; | |
2558 | int * _arg2; | |
2559 | int temp0; | |
2560 | char * _argc0 = 0; | |
2561 | ||
2562 | self = self; | |
2563 | { | |
2564 | _arg1 = &temp; | |
2565 | } | |
2566 | { | |
2567 | _arg2 = &temp0; | |
2568 | } | |
2569 | if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetVirtualSize",&_argc0)) | |
2570 | return NULL; | |
2571 | if (_argc0) { | |
2572 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
2573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p."); | |
2574 | return NULL; | |
2575 | } | |
2576 | } | |
2577 | wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2); | |
2578 | Py_INCREF(Py_None); | |
2579 | _resultobj = Py_None; | |
2580 | { | |
2581 | PyObject *o; | |
2582 | o = PyInt_FromLong((long) (*_arg1)); | |
2583 | _resultobj = t_output_helper(_resultobj, o); | |
2584 | } | |
2585 | { | |
2586 | PyObject *o; | |
2587 | o = PyInt_FromLong((long) (*_arg2)); | |
2588 | _resultobj = t_output_helper(_resultobj, o); | |
2589 | } | |
2590 | return _resultobj; | |
2591 | } | |
2592 | ||
2593 | #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained()) | |
2594 | static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args) { | |
2595 | PyObject * _resultobj; | |
2596 | bool _result; | |
2597 | wxScrolledWindow * _arg0; | |
2598 | char * _argc0 = 0; | |
2599 | ||
2600 | self = self; | |
2601 | if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_IsRetained",&_argc0)) | |
2602 | return NULL; | |
2603 | if (_argc0) { | |
2604 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
2605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p."); | |
2606 | return NULL; | |
2607 | } | |
2608 | } | |
2609 | _result = (bool )wxScrolledWindow_IsRetained(_arg0); | |
2610 | _resultobj = Py_BuildValue("i",_result); | |
2611 | return _resultobj; | |
2612 | } | |
2613 | ||
2614 | #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0)) | |
2615 | static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args) { | |
2616 | PyObject * _resultobj; | |
2617 | wxScrolledWindow * _arg0; | |
2618 | wxDC * _arg1; | |
2619 | char * _argc0 = 0; | |
2620 | char * _argc1 = 0; | |
2621 | ||
2622 | self = self; | |
2623 | if(!PyArg_ParseTuple(args,"ss:wxScrolledWindow_PrepareDC",&_argc0,&_argc1)) | |
2624 | return NULL; | |
2625 | if (_argc0) { | |
2626 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
2627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p."); | |
2628 | return NULL; | |
2629 | } | |
2630 | } | |
2631 | if (_argc1) { | |
2632 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) { | |
2633 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p."); | |
2634 | return NULL; | |
2635 | } | |
2636 | } | |
2637 | wxScrolledWindow_PrepareDC(_arg0,*_arg1); | |
2638 | Py_INCREF(Py_None); | |
2639 | _resultobj = Py_None; | |
2640 | return _resultobj; | |
2641 | } | |
2642 | ||
2643 | #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1)) | |
2644 | static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args) { | |
2645 | PyObject * _resultobj; | |
2646 | wxScrolledWindow * _arg0; | |
2647 | int _arg1; | |
2648 | int _arg2; | |
2649 | char * _argc0 = 0; | |
2650 | ||
2651 | self = self; | |
2652 | if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_Scroll",&_argc0,&_arg1,&_arg2)) | |
2653 | return NULL; | |
2654 | if (_argc0) { | |
2655 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
2656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p."); | |
2657 | return NULL; | |
2658 | } | |
2659 | } | |
2660 | wxScrolledWindow_Scroll(_arg0,_arg1,_arg2); | |
2661 | Py_INCREF(Py_None); | |
2662 | _resultobj = Py_None; | |
2663 | return _resultobj; | |
2664 | } | |
2665 | ||
2666 | #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2667 | static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args) { | |
2668 | PyObject * _resultobj; | |
2669 | wxScrolledWindow * _arg0; | |
2670 | int _arg1; | |
2671 | int _arg2; | |
2672 | int _arg3; | |
2673 | int _arg4; | |
2674 | int _arg5 = 0; | |
2675 | int _arg6 = 0; | |
2676 | char * _argc0 = 0; | |
2677 | ||
2678 | self = self; | |
2679 | if(!PyArg_ParseTuple(args,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2680 | return NULL; | |
2681 | if (_argc0) { | |
2682 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
2683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p."); | |
2684 | return NULL; | |
2685 | } | |
2686 | } | |
2687 | wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2688 | Py_INCREF(Py_None); | |
2689 | _resultobj = Py_None; | |
2690 | return _resultobj; | |
2691 | } | |
2692 | ||
2693 | #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1)) | |
2694 | static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args) { | |
2695 | PyObject * _resultobj; | |
2696 | wxScrolledWindow * _arg0; | |
2697 | int * _arg1; | |
2698 | int temp; | |
2699 | int * _arg2; | |
2700 | int temp0; | |
2701 | char * _argc0 = 0; | |
2702 | ||
2703 | self = self; | |
2704 | { | |
2705 | _arg1 = &temp; | |
2706 | } | |
2707 | { | |
2708 | _arg2 = &temp0; | |
2709 | } | |
2710 | if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_ViewStart",&_argc0)) | |
2711 | return NULL; | |
2712 | if (_argc0) { | |
2713 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) { | |
2714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p."); | |
2715 | return NULL; | |
2716 | } | |
2717 | } | |
2718 | wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2); | |
2719 | Py_INCREF(Py_None); | |
2720 | _resultobj = Py_None; | |
2721 | { | |
2722 | PyObject *o; | |
2723 | o = PyInt_FromLong((long) (*_arg1)); | |
2724 | _resultobj = t_output_helper(_resultobj, o); | |
2725 | } | |
2726 | { | |
2727 | PyObject *o; | |
2728 | o = PyInt_FromLong((long) (*_arg2)); | |
2729 | _resultobj = t_output_helper(_resultobj, o); | |
2730 | } | |
2731 | return _resultobj; | |
2732 | } | |
2733 | ||
2734 | static void *SwigwxMenuTowxEvtHandler(void *ptr) { | |
2735 | wxMenu *src; | |
2736 | wxEvtHandler *dest; | |
2737 | src = (wxMenu *) ptr; | |
2738 | dest = (wxEvtHandler *) src; | |
2739 | return (void *) dest; | |
2740 | } | |
2741 | ||
2742 | #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0)) | |
2743 | static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args) { | |
2744 | PyObject * _resultobj; | |
2745 | wxMenu * _result; | |
2746 | wxString * _arg0 = &wxPyEmptyStr; | |
2747 | PyObject * _obj0 = 0; | |
2748 | char _ptemp[128]; | |
2749 | ||
2750 | self = self; | |
2751 | if(!PyArg_ParseTuple(args,"|O:new_wxMenu",&_obj0)) | |
2752 | return NULL; | |
2753 | if (_obj0) | |
2754 | { | |
2755 | if (!PyString_Check(_obj0)) { | |
2756 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2757 | return NULL; | |
2758 | } | |
2759 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
2760 | } | |
2761 | _result = (wxMenu *)new_wxMenu(*_arg0); | |
2762 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p"); | |
2763 | _resultobj = Py_BuildValue("s",_ptemp); | |
2764 | { | |
2765 | if (_obj0) | |
2766 | delete _arg0; | |
2767 | } | |
2768 | return _resultobj; | |
2769 | } | |
2770 | ||
2771 | #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2772 | static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args) { | |
2773 | PyObject * _resultobj; | |
2774 | wxMenu * _arg0; | |
2775 | int _arg1; | |
2776 | wxString * _arg2; | |
2777 | wxString * _arg3 = &wxPyEmptyStr; | |
2778 | int _arg4 = (0); | |
2779 | char * _argc0 = 0; | |
2780 | PyObject * _obj2 = 0; | |
2781 | PyObject * _obj3 = 0; | |
2782 | ||
2783 | self = self; | |
2784 | if(!PyArg_ParseTuple(args,"siO|Oi:wxMenu_Append",&_argc0,&_arg1,&_obj2,&_obj3,&_arg4)) | |
2785 | return NULL; | |
2786 | if (_argc0) { | |
2787 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
2788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p."); | |
2789 | return NULL; | |
2790 | } | |
2791 | } | |
2792 | { | |
2793 | if (!PyString_Check(_obj2)) { | |
2794 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2795 | return NULL; | |
2796 | } | |
2797 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
2798 | } | |
2799 | if (_obj3) | |
2800 | { | |
2801 | if (!PyString_Check(_obj3)) { | |
2802 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2803 | return NULL; | |
2804 | } | |
2805 | _arg3 = new wxString(PyString_AsString(_obj3)); | |
2806 | } | |
2807 | wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4); | |
2808 | Py_INCREF(Py_None); | |
2809 | _resultobj = Py_None; | |
2810 | { | |
2811 | if (_obj2) | |
2812 | delete _arg2; | |
2813 | } | |
2814 | { | |
2815 | if (_obj3) | |
2816 | delete _arg3; | |
2817 | } | |
2818 | return _resultobj; | |
2819 | } | |
2820 | ||
2821 | #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2822 | static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args) { | |
2823 | PyObject * _resultobj; | |
2824 | wxMenu * _arg0; | |
2825 | int _arg1; | |
2826 | wxString * _arg2; | |
2827 | wxMenu * _arg3; | |
2828 | wxString * _arg4 = &wxPyEmptyStr; | |
2829 | char * _argc0 = 0; | |
2830 | PyObject * _obj2 = 0; | |
2831 | char * _argc3 = 0; | |
2832 | PyObject * _obj4 = 0; | |
2833 | ||
2834 | self = self; | |
2835 | if(!PyArg_ParseTuple(args,"siOs|O:wxMenu_AppendMenu",&_argc0,&_arg1,&_obj2,&_argc3,&_obj4)) | |
2836 | return NULL; | |
2837 | if (_argc0) { | |
2838 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
2839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p."); | |
2840 | return NULL; | |
2841 | } | |
2842 | } | |
2843 | { | |
2844 | if (!PyString_Check(_obj2)) { | |
2845 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2846 | return NULL; | |
2847 | } | |
2848 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
2849 | } | |
2850 | if (_argc3) { | |
2851 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxMenu_p")) { | |
2852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p."); | |
2853 | return NULL; | |
2854 | } | |
2855 | } | |
2856 | if (_obj4) | |
2857 | { | |
2858 | if (!PyString_Check(_obj4)) { | |
2859 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2860 | return NULL; | |
2861 | } | |
2862 | _arg4 = new wxString(PyString_AsString(_obj4)); | |
2863 | } | |
2864 | wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4); | |
2865 | Py_INCREF(Py_None); | |
2866 | _resultobj = Py_None; | |
2867 | { | |
2868 | if (_obj2) | |
2869 | delete _arg2; | |
2870 | } | |
2871 | { | |
2872 | if (_obj4) | |
2873 | delete _arg4; | |
2874 | } | |
2875 | return _resultobj; | |
2876 | } | |
2877 | ||
2878 | #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator()) | |
2879 | static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args) { | |
2880 | PyObject * _resultobj; | |
2881 | wxMenu * _arg0; | |
2882 | char * _argc0 = 0; | |
2883 | ||
2884 | self = self; | |
2885 | if(!PyArg_ParseTuple(args,"s:wxMenu_AppendSeparator",&_argc0)) | |
2886 | return NULL; | |
2887 | if (_argc0) { | |
2888 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
2889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p."); | |
2890 | return NULL; | |
2891 | } | |
2892 | } | |
2893 | wxMenu_AppendSeparator(_arg0); | |
2894 | Py_INCREF(Py_None); | |
2895 | _resultobj = Py_None; | |
2896 | return _resultobj; | |
2897 | } | |
2898 | ||
2899 | #define wxMenu_Break(_swigobj) (_swigobj->Break()) | |
2900 | static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args) { | |
2901 | PyObject * _resultobj; | |
2902 | wxMenu * _arg0; | |
2903 | char * _argc0 = 0; | |
2904 | ||
2905 | self = self; | |
2906 | if(!PyArg_ParseTuple(args,"s:wxMenu_Break",&_argc0)) | |
2907 | return NULL; | |
2908 | if (_argc0) { | |
2909 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
2910 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p."); | |
2911 | return NULL; | |
2912 | } | |
2913 | } | |
2914 | wxMenu_Break(_arg0); | |
2915 | Py_INCREF(Py_None); | |
2916 | _resultobj = Py_None; | |
2917 | return _resultobj; | |
2918 | } | |
2919 | ||
2920 | #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1)) | |
2921 | static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args) { | |
2922 | PyObject * _resultobj; | |
2923 | wxMenu * _arg0; | |
2924 | int _arg1; | |
2925 | bool _arg2; | |
2926 | char * _argc0 = 0; | |
2927 | int tempbool2; | |
2928 | ||
2929 | self = self; | |
2930 | if(!PyArg_ParseTuple(args,"sii:wxMenu_Check",&_argc0,&_arg1,&tempbool2)) | |
2931 | return NULL; | |
2932 | if (_argc0) { | |
2933 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
2934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p."); | |
2935 | return NULL; | |
2936 | } | |
2937 | } | |
2938 | _arg2 = (bool ) tempbool2; | |
2939 | wxMenu_Check(_arg0,_arg1,_arg2); | |
2940 | Py_INCREF(Py_None); | |
2941 | _resultobj = Py_None; | |
2942 | return _resultobj; | |
2943 | } | |
2944 | ||
7bf85405 RD |
2945 | #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1)) |
2946 | static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args) { | |
2947 | PyObject * _resultobj; | |
2948 | wxMenu * _arg0; | |
2949 | int _arg1; | |
2950 | bool _arg2; | |
2951 | char * _argc0 = 0; | |
2952 | int tempbool2; | |
2953 | ||
2954 | self = self; | |
2955 | if(!PyArg_ParseTuple(args,"sii:wxMenu_Enable",&_argc0,&_arg1,&tempbool2)) | |
2956 | return NULL; | |
2957 | if (_argc0) { | |
2958 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
2959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p."); | |
2960 | return NULL; | |
2961 | } | |
2962 | } | |
2963 | _arg2 = (bool ) tempbool2; | |
2964 | wxMenu_Enable(_arg0,_arg1,_arg2); | |
2965 | Py_INCREF(Py_None); | |
2966 | _resultobj = Py_None; | |
2967 | return _resultobj; | |
2968 | } | |
2969 | ||
2970 | #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0)) | |
2971 | static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args) { | |
2972 | PyObject * _resultobj; | |
2973 | int _result; | |
2974 | wxMenu * _arg0; | |
2975 | wxString * _arg1; | |
2976 | char * _argc0 = 0; | |
2977 | PyObject * _obj1 = 0; | |
2978 | ||
2979 | self = self; | |
2980 | if(!PyArg_ParseTuple(args,"sO:wxMenu_FindItem",&_argc0,&_obj1)) | |
2981 | return NULL; | |
2982 | if (_argc0) { | |
2983 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
2984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p."); | |
2985 | return NULL; | |
2986 | } | |
2987 | } | |
2988 | { | |
2989 | if (!PyString_Check(_obj1)) { | |
2990 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2991 | return NULL; | |
2992 | } | |
2993 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
2994 | } | |
2995 | _result = (int )wxMenu_FindItem(_arg0,*_arg1); | |
2996 | _resultobj = Py_BuildValue("i",_result); | |
2997 | { | |
2998 | if (_obj1) | |
2999 | delete _arg1; | |
3000 | } | |
3001 | return _resultobj; | |
3002 | } | |
3003 | ||
853b255a RD |
3004 | #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0)) |
3005 | static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args) { | |
7bf85405 | 3006 | PyObject * _resultobj; |
853b255a | 3007 | bool _result; |
7bf85405 RD |
3008 | wxMenu * _arg0; |
3009 | int _arg1; | |
3010 | char * _argc0 = 0; | |
3011 | ||
3012 | self = self; | |
853b255a | 3013 | if(!PyArg_ParseTuple(args,"si:wxMenu_IsChecked",&_argc0,&_arg1)) |
7bf85405 RD |
3014 | return NULL; |
3015 | if (_argc0) { | |
3016 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
853b255a | 3017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p."); |
7bf85405 RD |
3018 | return NULL; |
3019 | } | |
3020 | } | |
853b255a RD |
3021 | _result = (bool )wxMenu_IsChecked(_arg0,_arg1); |
3022 | _resultobj = Py_BuildValue("i",_result); | |
7bf85405 RD |
3023 | return _resultobj; |
3024 | } | |
3025 | ||
853b255a RD |
3026 | #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0)) |
3027 | static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args) { | |
7bf85405 | 3028 | PyObject * _resultobj; |
853b255a | 3029 | bool _result; |
7bf85405 RD |
3030 | wxMenu * _arg0; |
3031 | int _arg1; | |
7bf85405 | 3032 | char * _argc0 = 0; |
7bf85405 RD |
3033 | |
3034 | self = self; | |
853b255a | 3035 | if(!PyArg_ParseTuple(args,"si:wxMenu_IsEnabled",&_argc0,&_arg1)) |
7bf85405 RD |
3036 | return NULL; |
3037 | if (_argc0) { | |
3038 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
853b255a | 3039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p."); |
7bf85405 RD |
3040 | return NULL; |
3041 | } | |
3042 | } | |
853b255a RD |
3043 | _result = (bool )wxMenu_IsEnabled(_arg0,_arg1); |
3044 | _resultobj = Py_BuildValue("i",_result); | |
7bf85405 RD |
3045 | return _resultobj; |
3046 | } | |
3047 | ||
3048 | #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1)) | |
3049 | static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args) { | |
3050 | PyObject * _resultobj; | |
3051 | wxMenu * _arg0; | |
3052 | int _arg1; | |
3053 | wxString * _arg2; | |
3054 | char * _argc0 = 0; | |
3055 | PyObject * _obj2 = 0; | |
3056 | ||
3057 | self = self; | |
3058 | if(!PyArg_ParseTuple(args,"siO:wxMenu_SetLabel",&_argc0,&_arg1,&_obj2)) | |
3059 | return NULL; | |
3060 | if (_argc0) { | |
3061 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) { | |
3062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p."); | |
3063 | return NULL; | |
3064 | } | |
3065 | } | |
3066 | { | |
3067 | if (!PyString_Check(_obj2)) { | |
3068 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3069 | return NULL; | |
3070 | } | |
3071 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3072 | } | |
3073 | wxMenu_SetLabel(_arg0,_arg1,*_arg2); | |
3074 | Py_INCREF(Py_None); | |
3075 | _resultobj = Py_None; | |
3076 | { | |
3077 | if (_obj2) | |
3078 | delete _arg2; | |
3079 | } | |
3080 | return _resultobj; | |
3081 | } | |
3082 | ||
7bf85405 RD |
3083 | static void *SwigwxMenuBarTowxEvtHandler(void *ptr) { |
3084 | wxMenuBar *src; | |
3085 | wxEvtHandler *dest; | |
3086 | src = (wxMenuBar *) ptr; | |
3087 | dest = (wxEvtHandler *) src; | |
3088 | return (void *) dest; | |
3089 | } | |
3090 | ||
3091 | #define new_wxMenuBar() (new wxMenuBar()) | |
3092 | static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args) { | |
3093 | PyObject * _resultobj; | |
3094 | wxMenuBar * _result; | |
3095 | char _ptemp[128]; | |
3096 | ||
3097 | self = self; | |
3098 | if(!PyArg_ParseTuple(args,":new_wxMenuBar")) | |
3099 | return NULL; | |
3100 | _result = (wxMenuBar *)new_wxMenuBar(); | |
3101 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
3102 | _resultobj = Py_BuildValue("s",_ptemp); | |
3103 | return _resultobj; | |
3104 | } | |
3105 | ||
3106 | #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1)) | |
3107 | static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args) { | |
3108 | PyObject * _resultobj; | |
3109 | wxMenuBar * _arg0; | |
3110 | wxMenu * _arg1; | |
3111 | wxString * _arg2; | |
3112 | char * _argc0 = 0; | |
3113 | char * _argc1 = 0; | |
3114 | PyObject * _obj2 = 0; | |
3115 | ||
3116 | self = self; | |
3117 | if(!PyArg_ParseTuple(args,"ssO:wxMenuBar_Append",&_argc0,&_argc1,&_obj2)) | |
3118 | return NULL; | |
3119 | if (_argc0) { | |
3120 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p."); | |
3122 | return NULL; | |
3123 | } | |
3124 | } | |
3125 | if (_argc1) { | |
3126 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) { | |
3127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p."); | |
3128 | return NULL; | |
3129 | } | |
3130 | } | |
3131 | { | |
3132 | if (!PyString_Check(_obj2)) { | |
3133 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3134 | return NULL; | |
3135 | } | |
3136 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3137 | } | |
3138 | wxMenuBar_Append(_arg0,_arg1,*_arg2); | |
3139 | Py_INCREF(Py_None); | |
3140 | _resultobj = Py_None; | |
3141 | { | |
3142 | if (_obj2) | |
3143 | delete _arg2; | |
3144 | } | |
3145 | return _resultobj; | |
3146 | } | |
3147 | ||
3148 | #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1)) | |
3149 | static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args) { | |
3150 | PyObject * _resultobj; | |
3151 | wxMenuBar * _arg0; | |
3152 | int _arg1; | |
3153 | bool _arg2; | |
3154 | char * _argc0 = 0; | |
3155 | int tempbool2; | |
3156 | ||
3157 | self = self; | |
3158 | if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Check",&_argc0,&_arg1,&tempbool2)) | |
3159 | return NULL; | |
3160 | if (_argc0) { | |
3161 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p."); | |
3163 | return NULL; | |
3164 | } | |
3165 | } | |
3166 | _arg2 = (bool ) tempbool2; | |
3167 | wxMenuBar_Check(_arg0,_arg1,_arg2); | |
3168 | Py_INCREF(Py_None); | |
3169 | _resultobj = Py_None; | |
3170 | return _resultobj; | |
3171 | } | |
3172 | ||
3173 | #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0)) | |
3174 | static PyObject *_wrap_wxMenuBar_Checked(PyObject *self, PyObject *args) { | |
3175 | PyObject * _resultobj; | |
3176 | bool _result; | |
3177 | wxMenuBar * _arg0; | |
3178 | int _arg1; | |
3179 | char * _argc0 = 0; | |
3180 | ||
3181 | self = self; | |
3182 | if(!PyArg_ParseTuple(args,"si:wxMenuBar_Checked",&_argc0,&_arg1)) | |
3183 | return NULL; | |
3184 | if (_argc0) { | |
3185 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p."); | |
3187 | return NULL; | |
3188 | } | |
3189 | } | |
3190 | _result = (bool )wxMenuBar_Checked(_arg0,_arg1); | |
3191 | _resultobj = Py_BuildValue("i",_result); | |
3192 | return _resultobj; | |
3193 | } | |
3194 | ||
3195 | #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1)) | |
3196 | static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args) { | |
3197 | PyObject * _resultobj; | |
3198 | wxMenuBar * _arg0; | |
3199 | int _arg1; | |
3200 | bool _arg2; | |
3201 | char * _argc0 = 0; | |
3202 | int tempbool2; | |
3203 | ||
3204 | self = self; | |
3205 | if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Enable",&_argc0,&_arg1,&tempbool2)) | |
3206 | return NULL; | |
3207 | if (_argc0) { | |
3208 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p."); | |
3210 | return NULL; | |
3211 | } | |
3212 | } | |
3213 | _arg2 = (bool ) tempbool2; | |
3214 | wxMenuBar_Enable(_arg0,_arg1,_arg2); | |
3215 | Py_INCREF(Py_None); | |
3216 | _resultobj = Py_None; | |
3217 | return _resultobj; | |
3218 | } | |
3219 | ||
853b255a RD |
3220 | #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1)) |
3221 | static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args) { | |
7bf85405 RD |
3222 | PyObject * _resultobj; |
3223 | int _result; | |
3224 | wxMenuBar * _arg0; | |
3225 | wxString * _arg1; | |
3226 | wxString * _arg2; | |
3227 | char * _argc0 = 0; | |
3228 | PyObject * _obj1 = 0; | |
3229 | PyObject * _obj2 = 0; | |
3230 | ||
3231 | self = self; | |
3232 | if(!PyArg_ParseTuple(args,"sOO:wxMenuBar_FindMenuItem",&_argc0,&_obj1,&_obj2)) | |
3233 | return NULL; | |
3234 | if (_argc0) { | |
3235 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) { | |
3236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p."); | |
3237 | return NULL; | |
3238 | } | |
3239 | } | |
3240 | { | |
3241 | if (!PyString_Check(_obj1)) { | |
3242 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3243 | return NULL; | |
3244 | } | |
3245 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
3246 | } | |
3247 | { | |
3248 | if (!PyString_Check(_obj2)) { | |
3249 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3250 | return NULL; | |
3251 | } | |
3252 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3253 | } | |
3254 | _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2); | |
3255 | _resultobj = Py_BuildValue("i",_result); | |
3256 | { | |
3257 | if (_obj1) | |
3258 | delete _arg1; | |
3259 | } | |
3260 | { | |
3261 | if (_obj2) | |
3262 | delete _arg2; | |
3263 | } | |
3264 | return _resultobj; | |
3265 | } | |
3266 | ||
7bf85405 RD |
3267 | #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator()) |
3268 | static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args) { | |
3269 | PyObject * _resultobj; | |
3270 | bool _result; | |
3271 | wxMenuItem * _arg0; | |
3272 | char * _argc0 = 0; | |
3273 | ||
3274 | self = self; | |
3275 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsSeparator",&_argc0)) | |
3276 | return NULL; | |
3277 | if (_argc0) { | |
3278 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
3279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p."); | |
3280 | return NULL; | |
3281 | } | |
3282 | } | |
3283 | _result = (bool )wxMenuItem_IsSeparator(_arg0); | |
3284 | _resultobj = Py_BuildValue("i",_result); | |
3285 | return _resultobj; | |
3286 | } | |
3287 | ||
3288 | #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled()) | |
3289 | static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args) { | |
3290 | PyObject * _resultobj; | |
3291 | bool _result; | |
3292 | wxMenuItem * _arg0; | |
3293 | char * _argc0 = 0; | |
3294 | ||
3295 | self = self; | |
3296 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsEnabled",&_argc0)) | |
3297 | return NULL; | |
3298 | if (_argc0) { | |
3299 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
3300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p."); | |
3301 | return NULL; | |
3302 | } | |
3303 | } | |
3304 | _result = (bool )wxMenuItem_IsEnabled(_arg0); | |
3305 | _resultobj = Py_BuildValue("i",_result); | |
3306 | return _resultobj; | |
3307 | } | |
3308 | ||
3309 | #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked()) | |
3310 | static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args) { | |
3311 | PyObject * _resultobj; | |
3312 | bool _result; | |
3313 | wxMenuItem * _arg0; | |
3314 | char * _argc0 = 0; | |
3315 | ||
3316 | self = self; | |
3317 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsChecked",&_argc0)) | |
3318 | return NULL; | |
3319 | if (_argc0) { | |
3320 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
3321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p."); | |
3322 | return NULL; | |
3323 | } | |
3324 | } | |
3325 | _result = (bool )wxMenuItem_IsChecked(_arg0); | |
3326 | _resultobj = Py_BuildValue("i",_result); | |
3327 | return _resultobj; | |
3328 | } | |
3329 | ||
3330 | #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId()) | |
3331 | static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args) { | |
3332 | PyObject * _resultobj; | |
3333 | int _result; | |
3334 | wxMenuItem * _arg0; | |
3335 | char * _argc0 = 0; | |
3336 | ||
3337 | self = self; | |
3338 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetId",&_argc0)) | |
3339 | return NULL; | |
3340 | if (_argc0) { | |
3341 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
3342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p."); | |
3343 | return NULL; | |
3344 | } | |
3345 | } | |
3346 | _result = (int )wxMenuItem_GetId(_arg0); | |
3347 | _resultobj = Py_BuildValue("i",_result); | |
3348 | return _resultobj; | |
3349 | } | |
3350 | ||
7bf85405 RD |
3351 | #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu()) |
3352 | static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args) { | |
3353 | PyObject * _resultobj; | |
3354 | wxMenu * _result; | |
3355 | wxMenuItem * _arg0; | |
3356 | char * _argc0 = 0; | |
3357 | char _ptemp[128]; | |
3358 | ||
3359 | self = self; | |
3360 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetSubMenu",&_argc0)) | |
3361 | return NULL; | |
3362 | if (_argc0) { | |
3363 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
3364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p."); | |
3365 | return NULL; | |
3366 | } | |
3367 | } | |
3368 | _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0); | |
3369 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p"); | |
3370 | _resultobj = Py_BuildValue("s",_ptemp); | |
3371 | return _resultobj; | |
3372 | } | |
3373 | ||
7bf85405 RD |
3374 | #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) |
3375 | static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args) { | |
3376 | PyObject * _resultobj; | |
3377 | wxMenuItem * _arg0; | |
3378 | bool _arg1 = (1); | |
3379 | char * _argc0 = 0; | |
3380 | int tempbool1; | |
3381 | ||
3382 | self = self; | |
3383 | if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Enable",&_argc0,&tempbool1)) | |
3384 | return NULL; | |
3385 | if (_argc0) { | |
3386 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
3387 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p."); | |
3388 | return NULL; | |
3389 | } | |
3390 | } | |
3391 | _arg1 = (bool ) tempbool1; | |
3392 | wxMenuItem_Enable(_arg0,_arg1); | |
3393 | Py_INCREF(Py_None); | |
3394 | _resultobj = Py_None; | |
3395 | return _resultobj; | |
3396 | } | |
3397 | ||
3398 | #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0)) | |
3399 | static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args) { | |
3400 | PyObject * _resultobj; | |
3401 | wxMenuItem * _arg0; | |
3402 | bool _arg1 = (1); | |
3403 | char * _argc0 = 0; | |
3404 | int tempbool1; | |
3405 | ||
3406 | self = self; | |
3407 | if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Check",&_argc0,&tempbool1)) | |
3408 | return NULL; | |
3409 | if (_argc0) { | |
3410 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
3411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p."); | |
3412 | return NULL; | |
3413 | } | |
3414 | } | |
3415 | _arg1 = (bool ) tempbool1; | |
3416 | wxMenuItem_Check(_arg0,_arg1); | |
3417 | Py_INCREF(Py_None); | |
3418 | _resultobj = Py_None; | |
3419 | return _resultobj; | |
3420 | } | |
3421 | ||
7bf85405 RD |
3422 | #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable()) |
3423 | static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args) { | |
3424 | PyObject * _resultobj; | |
3425 | bool _result; | |
3426 | wxMenuItem * _arg0; | |
3427 | char * _argc0 = 0; | |
3428 | ||
3429 | self = self; | |
3430 | if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsCheckable",&_argc0)) | |
3431 | return NULL; | |
3432 | if (_argc0) { | |
3433 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) { | |
3434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p."); | |
3435 | return NULL; | |
3436 | } | |
3437 | } | |
3438 | _result = (bool )wxMenuItem_IsCheckable(_arg0); | |
3439 | _resultobj = Py_BuildValue("i",_result); | |
3440 | return _resultobj; | |
3441 | } | |
3442 | ||
3443 | static PyMethodDef windowscMethods[] = { | |
3444 | { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable, 1 }, | |
7bf85405 RD |
3445 | { "wxMenuItem_Check", _wrap_wxMenuItem_Check, 1 }, |
3446 | { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable, 1 }, | |
7bf85405 | 3447 | { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu, 1 }, |
7bf85405 RD |
3448 | { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId, 1 }, |
3449 | { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked, 1 }, | |
3450 | { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled, 1 }, | |
3451 | { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator, 1 }, | |
7bf85405 | 3452 | { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem, 1 }, |
7bf85405 RD |
3453 | { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable, 1 }, |
3454 | { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked, 1 }, | |
3455 | { "wxMenuBar_Check", _wrap_wxMenuBar_Check, 1 }, | |
3456 | { "wxMenuBar_Append", _wrap_wxMenuBar_Append, 1 }, | |
3457 | { "new_wxMenuBar", _wrap_new_wxMenuBar, 1 }, | |
7bf85405 | 3458 | { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel, 1 }, |
853b255a RD |
3459 | { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled, 1 }, |
3460 | { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked, 1 }, | |
7bf85405 RD |
3461 | { "wxMenu_FindItem", _wrap_wxMenu_FindItem, 1 }, |
3462 | { "wxMenu_Enable", _wrap_wxMenu_Enable, 1 }, | |
7bf85405 RD |
3463 | { "wxMenu_Check", _wrap_wxMenu_Check, 1 }, |
3464 | { "wxMenu_Break", _wrap_wxMenu_Break, 1 }, | |
3465 | { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator, 1 }, | |
3466 | { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu, 1 }, | |
3467 | { "wxMenu_Append", _wrap_wxMenu_Append, 1 }, | |
3468 | { "new_wxMenu", _wrap_new_wxMenu, 1 }, | |
3469 | { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart, 1 }, | |
3470 | { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars, 1 }, | |
3471 | { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll, 1 }, | |
3472 | { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC, 1 }, | |
3473 | { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained, 1 }, | |
3474 | { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize, 1 }, | |
3475 | { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, 1 }, | |
3476 | { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling, 1 }, | |
3477 | { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow, 1 }, | |
3478 | { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal, 1 }, | |
3479 | { "wxDialog_Show", _wrap_wxDialog_Show, 1 }, | |
3480 | { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle, 1 }, | |
7bf85405 | 3481 | { "wxDialog_IsModal", _wrap_wxDialog_IsModal, 1 }, |
7bf85405 RD |
3482 | { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle, 1 }, |
3483 | { "wxDialog_EndModal", _wrap_wxDialog_EndModal, 1 }, | |
3484 | { "wxDialog_Centre", _wrap_wxDialog_Centre, 1 }, | |
3485 | { "new_wxDialog", _wrap_new_wxDialog, 1 }, | |
3486 | { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog, 1 }, | |
3487 | { "new_wxPanel", _wrap_new_wxPanel, 1 }, | |
7bf85405 RD |
3488 | { "wxFrame_SetTitle", _wrap_wxFrame_SetTitle, 1 }, |
3489 | { "wxFrame_SetStatusWidths", _wrap_wxFrame_SetStatusWidths, 1 }, | |
3490 | { "wxFrame_SetStatusText", _wrap_wxFrame_SetStatusText, 1 }, | |
3491 | { "wxFrame_SetMenuBar", _wrap_wxFrame_SetMenuBar, 1 }, | |
3492 | { "wxFrame_SetIcon", _wrap_wxFrame_SetIcon, 1 }, | |
7bf85405 RD |
3493 | { "wxFrame_GetTitle", _wrap_wxFrame_GetTitle, 1 }, |
3494 | { "wxFrame_GetStatusBar", _wrap_wxFrame_GetStatusBar, 1 }, | |
3495 | { "wxFrame_GetMenuBar", _wrap_wxFrame_GetMenuBar, 1 }, | |
3496 | { "wxFrame_CreateStatusBar", _wrap_wxFrame_CreateStatusBar, 1 }, | |
7bf85405 RD |
3497 | { "wxFrame_Centre", _wrap_wxFrame_Centre, 1 }, |
3498 | { "new_wxFrame", _wrap_new_wxFrame, 1 }, | |
7bf85405 RD |
3499 | { "wxWindow_Validate", _wrap_wxWindow_Validate, 1 }, |
3500 | { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow, 1 }, | |
3501 | { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow, 1 }, | |
3502 | { "wxWindow_Show", _wrap_wxWindow_Show, 1 }, | |
3503 | { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle, 1 }, | |
3504 | { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor, 1 }, | |
3505 | { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize, 1 }, | |
7bf85405 RD |
3506 | { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition, 1 }, |
3507 | { "wxWindow_SetSize", _wrap_wxWindow_SetSize, 1 }, | |
3508 | { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions, 1 }, | |
3509 | { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos, 1 }, | |
3510 | { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar, 1 }, | |
3511 | { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode, 1 }, | |
3512 | { "wxWindow_SetName", _wrap_wxWindow_SetName, 1 }, | |
3513 | { "wxWindow_SetId", _wrap_wxWindow_SetId, 1 }, | |
7bf85405 RD |
3514 | { "wxWindow_SetFont", _wrap_wxWindow_SetFont, 1 }, |
3515 | { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus, 1 }, | |
3516 | { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick, 1 }, | |
3517 | { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints, 1 }, | |
3518 | { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour, 1 }, | |
3519 | { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout, 1 }, | |
3520 | { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow, 1 }, | |
3521 | { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient, 1 }, | |
3522 | { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse, 1 }, | |
3523 | { "wxWindow_Refresh", _wrap_wxWindow_Refresh, 1 }, | |
3524 | { "wxWindow_Raise", _wrap_wxWindow_Raise, 1 }, | |
3525 | { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu, 1 }, | |
3526 | { "wxWindow_Move", _wrap_wxWindow_Move, 1 }, | |
3527 | { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal, 1 }, | |
3528 | { "wxWindow_Lower", _wrap_wxWindow_Lower, 1 }, | |
7bf85405 RD |
3529 | { "wxWindow_Layout", _wrap_wxWindow_Layout, 1 }, |
3530 | { "wxWindow_IsShown", _wrap_wxWindow_IsShown, 1 }, | |
3531 | { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained, 1 }, | |
3532 | { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled, 1 }, | |
3533 | { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog, 1 }, | |
3534 | { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag, 1 }, | |
3535 | { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle, 1 }, | |
7bf85405 RD |
3536 | { "wxWindow_GetSize", _wrap_wxWindow_GetSize, 1 }, |
3537 | { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange, 1 }, | |
3538 | { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos, 1 }, | |
3539 | { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb, 1 }, | |
3540 | { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode, 1 }, | |
3541 | { "wxWindow_GetParent", _wrap_wxWindow_GetParent, 1 }, | |
3542 | { "wxWindow_GetName", _wrap_wxWindow_GetName, 1 }, | |
3543 | { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel, 1 }, | |
3544 | { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition, 1 }, | |
3545 | { "wxWindow_GetId", _wrap_wxWindow_GetId, 1 }, | |
7bf85405 | 3546 | { "wxWindow_GetFont", _wrap_wxWindow_GetFont, 1 }, |
7bf85405 RD |
3547 | { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints, 1 }, |
3548 | { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize, 1 }, | |
7bf85405 RD |
3549 | { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour, 1 }, |
3550 | { "wxWindow_Fit", _wrap_wxWindow_Fit, 1 }, | |
3551 | { "wxWindow_Enable", _wrap_wxWindow_Enable, 1 }, | |
7bf85405 RD |
3552 | { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren, 1 }, |
3553 | { "wxWindow_Destroy", _wrap_wxWindow_Destroy, 1 }, | |
3554 | { "wxWindow_Close", _wrap_wxWindow_Close, 1 }, | |
3555 | { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen, 1 }, | |
3556 | { "wxWindow_Centre", _wrap_wxWindow_Centre, 1 }, | |
7bf85405 RD |
3557 | { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse, 1 }, |
3558 | { "new_wxWindow", _wrap_new_wxWindow, 1 }, | |
3559 | { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect, 1 }, | |
7bf85405 RD |
3560 | { NULL, NULL } |
3561 | }; | |
3562 | static PyObject *SWIG_globals; | |
3563 | #ifdef __cplusplus | |
3564 | extern "C" | |
3565 | #endif | |
3566 | SWIGEXPORT(void,initwindowsc)() { | |
3567 | PyObject *m, *d; | |
3568 | SWIG_globals = SWIG_newvarlink(); | |
3569 | m = Py_InitModule("windowsc", windowscMethods); | |
3570 | d = PyModule_GetDict(m); | |
3571 | /* | |
3572 | * These are the pointer type-equivalency mappings. | |
3573 | * (Used by the SWIG pointer type-checker). | |
3574 | */ | |
3575 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); | |
3576 | SWIG_RegisterMapping("_signed_long","_long",0); | |
3577 | SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); | |
3578 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler); | |
3579 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler); | |
7bf85405 RD |
3580 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler); |
3581 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler); | |
3582 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler); | |
3583 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler); | |
3584 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler); | |
3585 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler); | |
3586 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler); | |
3587 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler); | |
7bf85405 RD |
3588 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler); |
3589 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler); | |
3590 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler); | |
3591 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler); | |
3592 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0); | |
3593 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); | |
3594 | SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); | |
3595 | SWIG_RegisterMapping("_wxMask","_class_wxMask",0); | |
7bf85405 RD |
3596 | SWIG_RegisterMapping("_wxPen","_class_wxPen",0); |
3597 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
3598 | SWIG_RegisterMapping("_long","_wxDash",0); | |
3599 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
3600 | SWIG_RegisterMapping("_long","_signed_long",0); | |
3601 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); | |
3602 | SWIG_RegisterMapping("_wxDC","_class_wxDC",0); | |
3603 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); | |
3604 | SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0); | |
3605 | SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); | |
3606 | SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0); | |
3607 | SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel); | |
3608 | SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel); | |
3609 | SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0); | |
3610 | SWIG_RegisterMapping("_class_wxMask","_wxMask",0); | |
3611 | SWIG_RegisterMapping("_wxColour","_class_wxColour",0); | |
3612 | SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0); | |
3613 | SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0); | |
7bf85405 RD |
3614 | SWIG_RegisterMapping("_uint","_unsigned_int",0); |
3615 | SWIG_RegisterMapping("_uint","_int",0); | |
3616 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
3617 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
3618 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
3619 | SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); | |
3620 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
3621 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
3622 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
3623 | SWIG_RegisterMapping("_EBool","_int",0); | |
3624 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
3625 | SWIG_RegisterMapping("_wxFont","_class_wxFont",0); | |
3626 | SWIG_RegisterMapping("_unsigned_long","_wxDash",0); | |
3627 | SWIG_RegisterMapping("_unsigned_long","_long",0); | |
3628 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
3629 | SWIG_RegisterMapping("_class_wxDC","_wxDC",0); | |
3630 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
3631 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); | |
3632 | SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel); | |
3633 | SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel); | |
3634 | SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0); | |
3635 | SWIG_RegisterMapping("_signed_int","_EBool",0); | |
3636 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
3637 | SWIG_RegisterMapping("_signed_int","_int",0); | |
3638 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
3639 | SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0); | |
7bf85405 RD |
3640 | SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0); |
3641 | SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0); | |
3642 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
3643 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
3644 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
3645 | SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0); | |
3646 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
3647 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
3648 | SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow); | |
3649 | SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow); | |
3650 | SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow); | |
3651 | SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow); | |
3652 | SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow); | |
3653 | SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow); | |
7bf85405 RD |
3654 | SWIG_RegisterMapping("_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow); |
3655 | SWIG_RegisterMapping("_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow); | |
3656 | SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0); | |
3657 | SWIG_RegisterMapping("_class_wxFont","_wxFont",0); | |
3658 | SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0); | |
3659 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
3660 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
3661 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
3662 | SWIG_RegisterMapping("_signed_short","_short",0); | |
3663 | SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); | |
3664 | SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); | |
3665 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); | |
3666 | SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0); | |
3667 | SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0); | |
3668 | SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0); | |
3669 | SWIG_RegisterMapping("_unsigned_char","_byte",0); | |
3670 | SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0); | |
7bf85405 RD |
3671 | SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0); |
3672 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
3673 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
3674 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
3675 | SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0); | |
3676 | SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0); | |
7bf85405 RD |
3677 | SWIG_RegisterMapping("_class_wxPen","_wxPen",0); |
3678 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
3679 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
3680 | SWIG_RegisterMapping("_short","_signed_short",0); | |
7bf85405 RD |
3681 | SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0); |
3682 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); | |
3683 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
3684 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
3685 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
3686 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
3687 | SWIG_RegisterMapping("_int","_EBool",0); | |
3688 | SWIG_RegisterMapping("_int","_uint",0); | |
3689 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
3690 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
3691 | SWIG_RegisterMapping("_int","_signed_int",0); | |
3692 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
3693 | SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0); | |
3694 | SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); | |
3695 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); | |
3696 | SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); | |
3697 | SWIG_RegisterMapping("_class_wxColour","_wxColour",0); | |
3698 | SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); | |
7bf85405 RD |
3699 | SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0); |
3700 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); | |
3701 | SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0); | |
3702 | SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0); | |
3703 | SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0); | |
3704 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler); | |
3705 | SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler); | |
7bf85405 RD |
3706 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler); |
3707 | SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler); | |
3708 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler); | |
3709 | SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler); | |
3710 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler); | |
3711 | SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler); | |
3712 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler); | |
3713 | SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler); | |
7bf85405 RD |
3714 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler); |
3715 | SWIG_RegisterMapping("_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler); | |
3716 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler); | |
3717 | SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler); | |
3718 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0); | |
3719 | SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0); | |
3720 | SWIG_RegisterMapping("_wxDash","_unsigned_long",0); | |
3721 | SWIG_RegisterMapping("_wxDash","_long",0); | |
3722 | SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); | |
3723 | SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow); | |
3724 | SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow); | |
3725 | SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow); | |
3726 | SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow); | |
3727 | SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow); | |
3728 | SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow); | |
7bf85405 RD |
3729 | SWIG_RegisterMapping("_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow); |
3730 | SWIG_RegisterMapping("_wxWindow","_wxFrame",SwigwxFrameTowxWindow); | |
3731 | SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0); | |
7bf85405 RD |
3732 | SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0); |
3733 | } |