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