2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 bool wxValidator_IsSilent() {
109 return wxValidator::IsSilent();
112 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
113 wxValidator::SetBellOnError(doIt
);
116 class wxPyValidator
: public wxValidator
{
117 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
121 // wxPyValidator(const wxPyValidator& other);
126 wxObject
* wxPyValidator::Clone() const {
127 wxPyValidator
* ptr
= NULL
;
128 wxPyValidator
* self
= (wxPyValidator
*)this;
130 bool doSave
= wxPyRestoreThread();
131 if (self
->m_myInst
.findCallback("Clone")) {
133 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
134 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
136 // This is very dangerous!!! But is the only way I could find
137 // to squash a memory leak. Currently it is okay, but if the
138 // validator architecture in wxWindows ever changes, problems
142 wxPySaveThread(doSave
);
147 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
148 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
149 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
155 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
156 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
157 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
159 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
164 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
167 char *_kwnames
[] = { NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
173 wxPy_BEGIN_ALLOW_THREADS
;
174 _result
= (bool )wxValidator_IsSilent();
176 wxPy_END_ALLOW_THREADS
;
177 } _resultobj
= Py_BuildValue("i",_result
);
181 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
183 int _arg0
= (int ) TRUE
;
184 char *_kwnames
[] = { "doIt", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
190 wxPy_BEGIN_ALLOW_THREADS
;
191 wxValidator_SetBellOnError(_arg0
);
193 wxPy_END_ALLOW_THREADS
;
194 } Py_INCREF(Py_None
);
195 _resultobj
= Py_None
;
199 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
200 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
203 wxEvtHandler
* _arg0
;
205 PyObject
* _argo0
= 0;
206 PyObject
* _argo1
= 0;
207 char *_kwnames
[] = { "self","event", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
230 wxPy_END_ALLOW_THREADS
;
231 } _resultobj
= Py_BuildValue("i",_result
);
235 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
236 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
239 wxEvtHandler
* _arg0
;
240 PyObject
* _argo0
= 0;
241 char *_kwnames
[] = { "self", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
254 wxPy_BEGIN_ALLOW_THREADS
;
255 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
257 wxPy_END_ALLOW_THREADS
;
258 } _resultobj
= Py_BuildValue("i",_result
);
262 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
263 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 wxEvtHandler
* _arg0
;
267 PyObject
* _argo0
= 0;
269 char *_kwnames
[] = { "self","enabled", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
281 _arg1
= (bool ) tempbool1
;
283 wxPy_BEGIN_ALLOW_THREADS
;
284 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
286 wxPy_END_ALLOW_THREADS
;
287 } Py_INCREF(Py_None
);
288 _resultobj
= Py_None
;
292 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
293 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 wxEvtHandler
* _result
;
296 wxEvtHandler
* _arg0
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
315 wxPy_END_ALLOW_THREADS
;
317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
318 _resultobj
= Py_BuildValue("s",_ptemp
);
321 _resultobj
= Py_None
;
326 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
327 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
329 wxEvtHandler
* _result
;
330 wxEvtHandler
* _arg0
;
331 PyObject
* _argo0
= 0;
332 char *_kwnames
[] = { "self", NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
349 wxPy_END_ALLOW_THREADS
;
351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
352 _resultobj
= Py_BuildValue("s",_ptemp
);
355 _resultobj
= Py_None
;
360 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
361 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
363 wxEvtHandler
* _arg0
;
364 wxEvtHandler
* _arg1
;
365 PyObject
* _argo0
= 0;
366 PyObject
* _argo1
= 0;
367 char *_kwnames
[] = { "self","handler", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
387 wxPy_BEGIN_ALLOW_THREADS
;
388 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
390 wxPy_END_ALLOW_THREADS
;
391 } Py_INCREF(Py_None
);
392 _resultobj
= Py_None
;
396 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
397 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
399 wxEvtHandler
* _arg0
;
400 wxEvtHandler
* _arg1
;
401 PyObject
* _argo0
= 0;
402 PyObject
* _argo1
= 0;
403 char *_kwnames
[] = { "self","handler", NULL
};
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
423 wxPy_BEGIN_ALLOW_THREADS
;
424 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
426 wxPy_END_ALLOW_THREADS
;
427 } Py_INCREF(Py_None
);
428 _resultobj
= Py_None
;
432 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
433 if (PyCallable_Check(func
)) {
434 self
->Connect(id
, lastId
, eventType
,
435 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
436 new wxPyCallback(func
));
439 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
441 wxEvtHandler
* _arg0
;
446 PyObject
* _argo0
= 0;
447 PyObject
* _obj4
= 0;
448 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
467 wxPy_END_ALLOW_THREADS
;
468 } Py_INCREF(Py_None
);
469 _resultobj
= Py_None
;
473 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
476 src
= (wxValidator
*) ptr
;
477 dest
= (wxEvtHandler
*) src
;
478 return (void *) dest
;
481 #define new_wxValidator() (new wxValidator())
482 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
484 wxValidator
* _result
;
485 char *_kwnames
[] = { NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
492 wxPy_BEGIN_ALLOW_THREADS
;
493 _result
= (wxValidator
*)new_wxValidator();
495 wxPy_END_ALLOW_THREADS
;
497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
498 _resultobj
= Py_BuildValue("s",_ptemp
);
501 _resultobj
= Py_None
;
506 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
507 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
509 wxValidator
* _result
;
511 PyObject
* _argo0
= 0;
512 char *_kwnames
[] = { "self", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
526 wxPy_BEGIN_ALLOW_THREADS
;
527 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
529 wxPy_END_ALLOW_THREADS
;
531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
532 _resultobj
= Py_BuildValue("s",_ptemp
);
535 _resultobj
= Py_None
;
540 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
541 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
566 _resultobj
= Py_BuildValue("s",_ptemp
);
569 _resultobj
= Py_None
;
574 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
575 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 PyObject
* _argo1
= 0;
581 char *_kwnames
[] = { "self","window", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
601 wxPy_BEGIN_ALLOW_THREADS
;
602 wxValidator_SetWindow(_arg0
,_arg1
);
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
610 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
613 src
= (wxPyValidator
*) ptr
;
614 dest
= (wxValidator
*) src
;
615 return (void *) dest
;
618 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
621 src
= (wxPyValidator
*) ptr
;
622 dest
= (wxEvtHandler
*) src
;
623 return (void *) dest
;
626 #define new_wxPyValidator() (new wxPyValidator())
627 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
629 wxPyValidator
* _result
;
630 char *_kwnames
[] = { NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
637 wxPy_BEGIN_ALLOW_THREADS
;
638 _result
= (wxPyValidator
*)new_wxPyValidator();
640 wxPy_END_ALLOW_THREADS
;
642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
643 _resultobj
= Py_BuildValue("s",_ptemp
);
646 _resultobj
= Py_None
;
651 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
652 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
654 wxPyValidator
* _arg0
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 wxPyValidator_Destroy(_arg0
);
672 wxPy_END_ALLOW_THREADS
;
673 } Py_INCREF(Py_None
);
674 _resultobj
= Py_None
;
678 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
679 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
681 wxPyValidator
* _arg0
;
683 int _arg2
= (int ) TRUE
;
684 PyObject
* _argo0
= 0;
685 PyObject
* _obj1
= 0;
686 char *_kwnames
[] = { "self","self","incref", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
714 src
= (wxWindow
*) ptr
;
715 dest
= (wxEvtHandler
*) src
;
716 return (void *) dest
;
719 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
720 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
725 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
726 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
727 long _arg4
= (long ) 0;
728 char * _arg5
= (char *) "panel";
729 PyObject
* _argo0
= 0;
731 PyObject
* _obj2
= 0;
733 PyObject
* _obj3
= 0;
734 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
750 if (! wxPoint_helper(_obj2
, &_arg2
))
756 if (! wxSize_helper(_obj3
, &_arg3
))
760 wxPy_BEGIN_ALLOW_THREADS
;
761 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
763 wxPy_END_ALLOW_THREADS
;
765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
766 _resultobj
= Py_BuildValue("s",_ptemp
);
769 _resultobj
= Py_None
;
774 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
775 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
792 wxPy_BEGIN_ALLOW_THREADS
;
793 wxWindow_CaptureMouse(_arg0
);
795 wxPy_END_ALLOW_THREADS
;
796 } Py_INCREF(Py_None
);
797 _resultobj
= Py_None
;
801 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
802 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
805 int _arg1
= (int ) wxBOTH
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self","direction", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
820 wxPy_BEGIN_ALLOW_THREADS
;
821 wxWindow_Center(_arg0
,_arg1
);
823 wxPy_END_ALLOW_THREADS
;
824 } Py_INCREF(Py_None
);
825 _resultobj
= Py_None
;
829 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
830 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
833 int _arg1
= (int ) wxBOTH
;
834 PyObject
* _argo0
= 0;
835 char *_kwnames
[] = { "self","direction", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
848 wxPy_BEGIN_ALLOW_THREADS
;
849 wxWindow_Centre(_arg0
,_arg1
);
851 wxPy_END_ALLOW_THREADS
;
852 } Py_INCREF(Py_None
);
853 _resultobj
= Py_None
;
857 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
858 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
861 int _arg1
= (int ) wxBOTH
;
862 PyObject
* _argo0
= 0;
863 char *_kwnames
[] = { "self","direction", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
876 wxPy_BEGIN_ALLOW_THREADS
;
877 wxWindow_CentreOnParent(_arg0
,_arg1
);
879 wxPy_END_ALLOW_THREADS
;
880 } Py_INCREF(Py_None
);
881 _resultobj
= Py_None
;
885 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
886 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
889 int _arg1
= (int ) wxBOTH
;
890 PyObject
* _argo0
= 0;
891 char *_kwnames
[] = { "self","direction", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
904 wxPy_BEGIN_ALLOW_THREADS
;
905 wxWindow_CenterOnParent(_arg0
,_arg1
);
907 wxPy_END_ALLOW_THREADS
;
908 } Py_INCREF(Py_None
);
909 _resultobj
= Py_None
;
913 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
914 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 PyObject
* _resultobj
;
919 PyObject
* _argo0
= 0;
921 PyObject
* _obj1
= 0;
923 PyObject
* _obj2
= 0;
924 char *_kwnames
[] = { "self","x","y", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
937 temp
= (int) PyInt_AsLong(_obj1
);
941 temp0
= (int) PyInt_AsLong(_obj2
);
945 wxPy_BEGIN_ALLOW_THREADS
;
946 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
948 wxPy_END_ALLOW_THREADS
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
953 o
= PyInt_FromLong((long) (*_arg1
));
954 _resultobj
= t_output_helper(_resultobj
, o
);
958 o
= PyInt_FromLong((long) (*_arg2
));
959 _resultobj
= t_output_helper(_resultobj
, o
);
964 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
965 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
970 PyObject
* _argo0
= 0;
972 PyObject
* _obj1
= 0;
973 char *_kwnames
[] = { "self","pt", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
988 if (! wxPoint_helper(_obj1
, &_arg1
))
992 wxPy_BEGIN_ALLOW_THREADS
;
993 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
995 wxPy_END_ALLOW_THREADS
;
996 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
997 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1002 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1006 int _arg1
= (int ) FALSE
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self","force", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1029 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1030 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (bool )wxWindow_Destroy(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } _resultobj
= Py_BuildValue("i",_result
);
1056 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1057 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxWindow_DestroyChildren(_arg0
);
1077 wxPy_END_ALLOW_THREADS
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1084 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","enable", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1102 _arg1
= (bool ) tempbool1
;
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 wxWindow_Enable(_arg0
,_arg1
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1119 PyObject
* _argo0
= 0;
1120 char *_kwnames
[] = { "self","id", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1134 wxPy_BEGIN_ALLOW_THREADS
;
1135 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1137 wxPy_END_ALLOW_THREADS
;
1139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1140 _resultobj
= Py_BuildValue("s",_ptemp
);
1143 _resultobj
= Py_None
;
1148 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1149 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1154 PyObject
* _argo0
= 0;
1155 PyObject
* _obj1
= 0;
1156 char *_kwnames
[] = { "self","name", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1170 if (!PyString_Check(_obj1
)) {
1171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1174 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1180 wxPy_END_ALLOW_THREADS
;
1182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1183 _resultobj
= Py_BuildValue("s",_ptemp
);
1186 _resultobj
= Py_None
;
1195 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1196 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1199 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 wxWindow_Fit(_arg0
);
1216 wxPy_END_ALLOW_THREADS
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1222 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1223 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1227 PyObject
* _argo0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1245 wxPy_END_ALLOW_THREADS
;
1246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1247 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1252 wxWindowList
& list
= self
->GetChildren();
1253 return wxPy_ConvertList(&list
, "wxWindow");
1255 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
* _resultobj
;
1259 PyObject
* _argo0
= 0;
1260 char *_kwnames
[] = { "self", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1276 wxPy_END_ALLOW_THREADS
;
1278 _resultobj
= _result
;
1283 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1284 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1288 PyObject
* _argo0
= 0;
1289 char *_kwnames
[] = { "self", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1305 wxPy_END_ALLOW_THREADS
;
1306 } _resultobj
= Py_BuildValue("i",_result
);
1310 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1311 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1332 wxPy_END_ALLOW_THREADS
;
1333 } _resultobj
= Py_BuildValue("i",_result
);
1337 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1338 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } Py_INCREF(Py_None
);
1370 _resultobj
= Py_None
;
1373 o
= PyInt_FromLong((long) (*_arg1
));
1374 _resultobj
= t_output_helper(_resultobj
, o
);
1378 o
= PyInt_FromLong((long) (*_arg2
));
1379 _resultobj
= t_output_helper(_resultobj
, o
);
1384 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1385 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1389 PyObject
* _argo0
= 0;
1390 char *_kwnames
[] = { "self", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1407 wxPy_END_ALLOW_THREADS
;
1408 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1409 _resultobj
= Py_BuildValue("s",_ptemp
);
1413 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1414 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1416 wxLayoutConstraints
* _result
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1436 wxPy_END_ALLOW_THREADS
;
1438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 _resultobj
= Py_None
;
1447 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1448 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1450 wxEvtHandler
* _result
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1470 wxPy_END_ALLOW_THREADS
;
1472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1476 _resultobj
= Py_None
;
1481 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1482 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1503 _result
= (wxFont
*) &_result_ref
;
1505 wxPy_END_ALLOW_THREADS
;
1507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 _resultobj
= Py_None
;
1516 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1517 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1539 wxPy_END_ALLOW_THREADS
;
1540 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1541 _resultobj
= Py_BuildValue("s",_ptemp
);
1545 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1546 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1568 wxPy_END_ALLOW_THREADS
;
1570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1571 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 _resultobj
= Py_None
;
1579 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1580 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1584 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= (int )wxWindow_GetId(_arg0
);
1601 wxPy_END_ALLOW_THREADS
;
1602 } _resultobj
= Py_BuildValue("i",_result
);
1606 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1607 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1611 PyObject
* _argo0
= 0;
1612 char *_kwnames
[] = { "self", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1625 wxPy_BEGIN_ALLOW_THREADS
;
1626 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1628 wxPy_END_ALLOW_THREADS
;
1630 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1638 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1639 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1643 PyObject
* _argo0
= 0;
1644 PyObject
* _obj1
= 0;
1645 char *_kwnames
[] = { "self","label", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1658 if (!PyString_Check(_obj1
)) {
1659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1662 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 wxWindow_SetLabel(_arg0
,*_arg1
);
1668 wxPy_END_ALLOW_THREADS
;
1669 } Py_INCREF(Py_None
);
1670 _resultobj
= Py_None
;
1678 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1679 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= new wxString (wxWindow_GetName(_arg0
));
1700 wxPy_END_ALLOW_THREADS
;
1702 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1710 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1711 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1733 wxPy_END_ALLOW_THREADS
;
1735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1736 _resultobj
= Py_BuildValue("s",_ptemp
);
1739 _resultobj
= Py_None
;
1744 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1745 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "self", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1775 wxPy_END_ALLOW_THREADS
;
1776 } Py_INCREF(Py_None
);
1777 _resultobj
= Py_None
;
1780 o
= PyInt_FromLong((long) (*_arg1
));
1781 _resultobj
= t_output_helper(_resultobj
, o
);
1785 o
= PyInt_FromLong((long) (*_arg2
));
1786 _resultobj
= t_output_helper(_resultobj
, o
);
1791 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1792 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1796 PyObject
* _argo0
= 0;
1797 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1811 wxPy_BEGIN_ALLOW_THREADS
;
1812 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1814 wxPy_END_ALLOW_THREADS
;
1815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1816 _resultobj
= Py_BuildValue("s",_ptemp
);
1820 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1821 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1825 PyObject
* _argo0
= 0;
1826 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1843 wxPy_END_ALLOW_THREADS
;
1844 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1845 _resultobj
= Py_BuildValue("s",_ptemp
);
1849 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1850 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self","orientation", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1872 wxPy_END_ALLOW_THREADS
;
1873 } _resultobj
= Py_BuildValue("i",_result
);
1877 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1878 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self","orientation", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1906 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self","orientation", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } _resultobj
= Py_BuildValue("i",_result
);
1933 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1934 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } Py_INCREF(Py_None
);
1966 _resultobj
= Py_None
;
1969 o
= PyInt_FromLong((long) (*_arg1
));
1970 _resultobj
= t_output_helper(_resultobj
, o
);
1974 o
= PyInt_FromLong((long) (*_arg2
));
1975 _resultobj
= t_output_helper(_resultobj
, o
);
1980 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1981 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1985 PyObject
* _argo0
= 0;
1986 char *_kwnames
[] = { "self", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
1993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2000 wxPy_BEGIN_ALLOW_THREADS
;
2001 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2003 wxPy_END_ALLOW_THREADS
;
2004 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2005 _resultobj
= Py_BuildValue("s",_ptemp
);
2009 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2010 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 PyObject
* _obj1
= 0;
2020 char *_kwnames
[] = { "self","string", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2039 if (!PyString_Check(_obj1
)) {
2040 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2043 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } Py_INCREF(Py_None
);
2051 _resultobj
= Py_None
;
2054 o
= PyInt_FromLong((long) (*_arg2
));
2055 _resultobj
= t_output_helper(_resultobj
, o
);
2059 o
= PyInt_FromLong((long) (*_arg3
));
2060 _resultobj
= t_output_helper(_resultobj
, o
);
2069 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2070 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2082 wxFont
* _arg6
= (wxFont
*) NULL
;
2083 PyObject
* _argo0
= 0;
2084 PyObject
* _obj1
= 0;
2085 PyObject
* _argo6
= 0;
2086 char *_kwnames
[] = { "self","string","font", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2111 if (!PyString_Check(_obj1
)) {
2112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2115 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2118 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2125 wxPy_BEGIN_ALLOW_THREADS
;
2126 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2128 wxPy_END_ALLOW_THREADS
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2133 o
= PyInt_FromLong((long) (*_arg2
));
2134 _resultobj
= t_output_helper(_resultobj
, o
);
2138 o
= PyInt_FromLong((long) (*_arg3
));
2139 _resultobj
= t_output_helper(_resultobj
, o
);
2143 o
= PyInt_FromLong((long) (*_arg4
));
2144 _resultobj
= t_output_helper(_resultobj
, o
);
2148 o
= PyInt_FromLong((long) (*_arg5
));
2149 _resultobj
= t_output_helper(_resultobj
, o
);
2158 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2159 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2180 wxPy_END_ALLOW_THREADS
;
2182 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2190 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2191 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2213 wxPy_END_ALLOW_THREADS
;
2214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2215 _resultobj
= Py_BuildValue("s",_ptemp
);
2219 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2220 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2241 wxPy_END_ALLOW_THREADS
;
2242 } _resultobj
= Py_BuildValue("l",_result
);
2246 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2247 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2251 PyObject
* _argo0
= 0;
2252 char *_kwnames
[] = { "self", NULL
};
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 _result
= (bool )wxWindow_Hide(_arg0
);
2268 wxPy_END_ALLOW_THREADS
;
2269 } _resultobj
= Py_BuildValue("i",_result
);
2273 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2274 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 wxWindow_InitDialog(_arg0
);
2294 wxPy_END_ALLOW_THREADS
;
2295 } Py_INCREF(Py_None
);
2296 _resultobj
= Py_None
;
2300 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2301 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } _resultobj
= Py_BuildValue("i",_result
);
2327 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2328 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2332 PyObject
* _argo0
= 0;
2333 char *_kwnames
[] = { "self", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2346 wxPy_BEGIN_ALLOW_THREADS
;
2347 _result
= (bool )wxWindow_IsRetained(_arg0
);
2349 wxPy_END_ALLOW_THREADS
;
2350 } _resultobj
= Py_BuildValue("i",_result
);
2354 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2355 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2359 PyObject
* _argo0
= 0;
2360 char *_kwnames
[] = { "self", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2373 wxPy_BEGIN_ALLOW_THREADS
;
2374 _result
= (bool )wxWindow_IsShown(_arg0
);
2376 wxPy_END_ALLOW_THREADS
;
2377 } _resultobj
= Py_BuildValue("i",_result
);
2381 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2382 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2386 PyObject
* _argo0
= 0;
2387 char *_kwnames
[] = { "self", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2400 wxPy_BEGIN_ALLOW_THREADS
;
2401 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2403 wxPy_END_ALLOW_THREADS
;
2404 } _resultobj
= Py_BuildValue("i",_result
);
2408 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2409 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxWindow_Layout(_arg0
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2436 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2442 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2443 PyObject
* _argo0
= 0;
2444 PyObject
* _argo1
= 0;
2445 PyObject
* _obj2
= 0;
2446 PyObject
* _argo3
= 0;
2447 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2460 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2467 if (!PyString_Check(_obj2
)) {
2468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2471 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2474 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2481 wxPy_BEGIN_ALLOW_THREADS
;
2482 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2484 wxPy_END_ALLOW_THREADS
;
2485 } _resultobj
= Py_BuildValue("i",_result
);
2493 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2494 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2497 PyObject
* _argo0
= 0;
2498 char *_kwnames
[] = { "self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2511 wxPy_BEGIN_ALLOW_THREADS
;
2512 wxWindow_Lower(_arg0
);
2514 wxPy_END_ALLOW_THREADS
;
2515 } Py_INCREF(Py_None
);
2516 _resultobj
= Py_None
;
2520 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2521 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2525 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self","flag", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2539 _arg1
= (bool ) tempbool1
;
2541 wxPy_BEGIN_ALLOW_THREADS
;
2542 wxWindow_MakeModal(_arg0
,_arg1
);
2544 wxPy_END_ALLOW_THREADS
;
2545 } Py_INCREF(Py_None
);
2546 _resultobj
= Py_None
;
2550 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2551 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2556 PyObject
* _argo0
= 0;
2557 char *_kwnames
[] = { "self","x","y", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2573 wxPy_END_ALLOW_THREADS
;
2574 } Py_INCREF(Py_None
);
2575 _resultobj
= Py_None
;
2579 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2580 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2584 PyObject
* _argo0
= 0;
2586 PyObject
* _obj1
= 0;
2587 char *_kwnames
[] = { "self","point", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2601 if (! wxPoint_helper(_obj1
, &_arg1
))
2605 wxPy_BEGIN_ALLOW_THREADS
;
2606 wxWindow_Move(_arg0
,*_arg1
);
2608 wxPy_END_ALLOW_THREADS
;
2609 } Py_INCREF(Py_None
);
2610 _resultobj
= Py_None
;
2614 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2615 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2617 wxEvtHandler
* _result
;
2619 bool _arg1
= (bool ) FALSE
;
2620 PyObject
* _argo0
= 0;
2621 int tempbool1
= (int) FALSE
;
2622 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2635 _arg1
= (bool ) tempbool1
;
2637 wxPy_BEGIN_ALLOW_THREADS
;
2638 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2640 wxPy_END_ALLOW_THREADS
;
2642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2643 _resultobj
= Py_BuildValue("s",_ptemp
);
2646 _resultobj
= Py_None
;
2651 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2652 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
* _resultobj
;
2655 wxEvtHandler
* _arg1
;
2656 PyObject
* _argo0
= 0;
2657 PyObject
* _argo1
= 0;
2658 char *_kwnames
[] = { "self","handler", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2678 wxPy_BEGIN_ALLOW_THREADS
;
2679 wxWindow_PushEventHandler(_arg0
,_arg1
);
2681 wxPy_END_ALLOW_THREADS
;
2682 } Py_INCREF(Py_None
);
2683 _resultobj
= Py_None
;
2687 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2688 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 PyObject
* _argo1
= 0;
2697 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2717 wxPy_BEGIN_ALLOW_THREADS
;
2718 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2720 wxPy_END_ALLOW_THREADS
;
2721 } _resultobj
= Py_BuildValue("i",_result
);
2725 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2726 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2732 PyObject
* _argo0
= 0;
2733 PyObject
* _argo1
= 0;
2735 PyObject
* _obj2
= 0;
2736 char *_kwnames
[] = { "self","menu","pos", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2757 if (! wxPoint_helper(_obj2
, &_arg2
))
2761 wxPy_BEGIN_ALLOW_THREADS
;
2762 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2764 wxPy_END_ALLOW_THREADS
;
2765 } _resultobj
= Py_BuildValue("i",_result
);
2769 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2770 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2787 wxPy_BEGIN_ALLOW_THREADS
;
2788 wxWindow_Raise(_arg0
);
2790 wxPy_END_ALLOW_THREADS
;
2791 } Py_INCREF(Py_None
);
2792 _resultobj
= Py_None
;
2796 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2797 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2800 bool _arg1
= (bool ) TRUE
;
2801 wxRect
* _arg2
= (wxRect
*) NULL
;
2802 PyObject
* _argo0
= 0;
2803 int tempbool1
= (int) TRUE
;
2805 PyObject
* _obj2
= 0;
2806 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2818 _arg1
= (bool ) tempbool1
;
2822 if (! wxRect_helper(_obj2
, &_arg2
))
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2829 wxPy_END_ALLOW_THREADS
;
2830 } Py_INCREF(Py_None
);
2831 _resultobj
= Py_None
;
2835 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2836 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2839 PyObject
* _argo0
= 0;
2840 char *_kwnames
[] = { "self", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2853 wxPy_BEGIN_ALLOW_THREADS
;
2854 wxWindow_ReleaseMouse(_arg0
);
2856 wxPy_END_ALLOW_THREADS
;
2857 } Py_INCREF(Py_None
);
2858 _resultobj
= Py_None
;
2862 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2863 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2868 PyObject
* _argo0
= 0;
2869 PyObject
* _argo1
= 0;
2870 char *_kwnames
[] = { "self","newParent", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2890 wxPy_BEGIN_ALLOW_THREADS
;
2891 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2893 wxPy_END_ALLOW_THREADS
;
2894 } _resultobj
= Py_BuildValue("i",_result
);
2898 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2899 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2904 PyObject
* _argo0
= 0;
2906 PyObject
* _obj1
= 0;
2908 PyObject
* _obj2
= 0;
2909 char *_kwnames
[] = { "self","x","y", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2922 temp
= (int) PyInt_AsLong(_obj1
);
2926 temp0
= (int) PyInt_AsLong(_obj2
);
2930 wxPy_BEGIN_ALLOW_THREADS
;
2931 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2933 wxPy_END_ALLOW_THREADS
;
2934 } Py_INCREF(Py_None
);
2935 _resultobj
= Py_None
;
2938 o
= PyInt_FromLong((long) (*_arg1
));
2939 _resultobj
= t_output_helper(_resultobj
, o
);
2943 o
= PyInt_FromLong((long) (*_arg2
));
2944 _resultobj
= t_output_helper(_resultobj
, o
);
2949 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2950 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2955 PyObject
* _argo0
= 0;
2957 PyObject
* _obj1
= 0;
2958 char *_kwnames
[] = { "self","pt", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2973 if (! wxPoint_helper(_obj1
, &_arg1
))
2977 wxPy_BEGIN_ALLOW_THREADS
;
2978 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2980 wxPy_END_ALLOW_THREADS
;
2981 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2982 _resultobj
= Py_BuildValue("s",_ptemp
);
2986 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2987 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
* _resultobj
;
2992 wxRect
* _arg3
= (wxRect
*) NULL
;
2993 PyObject
* _argo0
= 0;
2995 PyObject
* _obj3
= 0;
2996 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3011 if (! wxRect_helper(_obj3
, &_arg3
))
3015 wxPy_BEGIN_ALLOW_THREADS
;
3016 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3018 wxPy_END_ALLOW_THREADS
;
3019 } Py_INCREF(Py_None
);
3020 _resultobj
= Py_None
;
3024 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3025 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3028 wxAcceleratorTable
* _arg1
;
3029 PyObject
* _argo0
= 0;
3030 PyObject
* _argo1
= 0;
3031 char *_kwnames
[] = { "self","accel", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3051 wxPy_BEGIN_ALLOW_THREADS
;
3052 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3054 wxPy_END_ALLOW_THREADS
;
3055 } Py_INCREF(Py_None
);
3056 _resultobj
= Py_None
;
3060 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3061 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3065 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self","autoLayout", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3079 _arg1
= (bool ) tempbool1
;
3081 wxPy_BEGIN_ALLOW_THREADS
;
3082 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3084 wxPy_END_ALLOW_THREADS
;
3085 } Py_INCREF(Py_None
);
3086 _resultobj
= Py_None
;
3090 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3091 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3095 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "self", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3112 wxPy_END_ALLOW_THREADS
;
3113 } _resultobj
= Py_BuildValue("i",_result
);
3117 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3118 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 PyObject
* _argo1
= 0;
3124 char *_kwnames
[] = { "self","colour", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3137 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3144 wxPy_BEGIN_ALLOW_THREADS
;
3145 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3147 wxPy_END_ALLOW_THREADS
;
3148 } Py_INCREF(Py_None
);
3149 _resultobj
= Py_None
;
3153 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3154 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
* _resultobj
;
3157 wxLayoutConstraints
* _arg1
;
3158 PyObject
* _argo0
= 0;
3159 PyObject
* _argo1
= 0;
3160 char *_kwnames
[] = { "self","constraints", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 wxWindow_SetConstraints(_arg0
,_arg1
);
3183 wxPy_END_ALLOW_THREADS
;
3184 } Py_INCREF(Py_None
);
3185 _resultobj
= Py_None
;
3189 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3190 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3193 wxLayoutConstraints
* _arg1
;
3194 PyObject
* _argo0
= 0;
3195 PyObject
* _argo1
= 0;
3196 char *_kwnames
[] = { "self","constraints", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3219 wxPy_END_ALLOW_THREADS
;
3220 } Py_INCREF(Py_None
);
3221 _resultobj
= Py_None
;
3225 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3226 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
* _resultobj
;
3229 PyObject
* _argo0
= 0;
3230 char *_kwnames
[] = { "self", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3243 wxPy_BEGIN_ALLOW_THREADS
;
3244 wxWindow_SetFocus(_arg0
);
3246 wxPy_END_ALLOW_THREADS
;
3247 } Py_INCREF(Py_None
);
3248 _resultobj
= Py_None
;
3252 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3253 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3257 PyObject
* _argo0
= 0;
3258 char *_kwnames
[] = { "self", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3274 wxPy_END_ALLOW_THREADS
;
3275 } _resultobj
= Py_BuildValue("i",_result
);
3279 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3280 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3284 PyObject
* _argo0
= 0;
3285 PyObject
* _argo1
= 0;
3286 char *_kwnames
[] = { "self","font", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 wxWindow_SetFont(_arg0
,*_arg1
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3316 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 PyObject
* _argo1
= 0;
3322 char *_kwnames
[] = { "self","colour", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3345 wxPy_END_ALLOW_THREADS
;
3346 } Py_INCREF(Py_None
);
3347 _resultobj
= Py_None
;
3351 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3352 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self","id", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 wxWindow_SetId(_arg0
,_arg1
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3380 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 PyObject
* _obj1
= 0;
3386 char *_kwnames
[] = { "self","name", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3399 if (!PyString_Check(_obj1
)) {
3400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3403 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 wxWindow_SetName(_arg0
,*_arg1
);
3409 wxPy_END_ALLOW_THREADS
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3419 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3420 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3427 bool _arg5
= (bool ) TRUE
;
3428 PyObject
* _argo0
= 0;
3429 int tempbool5
= (int) TRUE
;
3430 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3442 _arg5
= (bool ) tempbool5
;
3444 wxPy_BEGIN_ALLOW_THREADS
;
3445 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3447 wxPy_END_ALLOW_THREADS
;
3448 } Py_INCREF(Py_None
);
3449 _resultobj
= Py_None
;
3453 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3454 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3459 bool _arg3
= (bool ) TRUE
;
3460 PyObject
* _argo0
= 0;
3461 int tempbool3
= (int) TRUE
;
3462 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3474 _arg3
= (bool ) tempbool3
;
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3479 wxPy_END_ALLOW_THREADS
;
3480 } Py_INCREF(Py_None
);
3481 _resultobj
= Py_None
;
3485 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3486 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3493 int _arg5
= (int ) wxSIZE_AUTO
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3508 wxPy_BEGIN_ALLOW_THREADS
;
3509 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3511 wxPy_END_ALLOW_THREADS
;
3512 } Py_INCREF(Py_None
);
3513 _resultobj
= Py_None
;
3517 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3518 self
->SetSize(size
.x
, size
.y
);
3520 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
* _resultobj
;
3524 PyObject
* _argo0
= 0;
3526 PyObject
* _obj1
= 0;
3527 char *_kwnames
[] = { "self","size", NULL
};
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3541 if (! wxSize_helper(_obj1
, &_arg1
))
3545 wxPy_BEGIN_ALLOW_THREADS
;
3546 wxWindow_SetSize(_arg0
,*_arg1
);
3548 wxPy_END_ALLOW_THREADS
;
3549 } Py_INCREF(Py_None
);
3550 _resultobj
= Py_None
;
3554 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3555 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3557 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3561 PyObject
* _argo0
= 0;
3563 PyObject
* _obj1
= 0;
3564 char *_kwnames
[] = { "self","pos", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3578 if (! wxPoint_helper(_obj1
, &_arg1
))
3582 wxPy_BEGIN_ALLOW_THREADS
;
3583 wxWindow_SetPosition(_arg0
,*_arg1
);
3585 wxPy_END_ALLOW_THREADS
;
3586 } Py_INCREF(Py_None
);
3587 _resultobj
= Py_None
;
3591 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3592 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3595 int _arg1
= (int ) -1;
3596 int _arg2
= (int ) -1;
3597 int _arg3
= (int ) -1;
3598 int _arg4
= (int ) -1;
3599 int _arg5
= (int ) -1;
3600 int _arg6
= (int ) -1;
3601 PyObject
* _argo0
= 0;
3602 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3618 wxPy_END_ALLOW_THREADS
;
3619 } Py_INCREF(Py_None
);
3620 _resultobj
= Py_None
;
3624 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3625 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "self","width","height", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3644 wxPy_BEGIN_ALLOW_THREADS
;
3645 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3647 wxPy_END_ALLOW_THREADS
;
3648 } Py_INCREF(Py_None
);
3649 _resultobj
= Py_None
;
3653 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3654 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3658 PyObject
* _argo0
= 0;
3660 PyObject
* _obj1
= 0;
3661 char *_kwnames
[] = { "self","size", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3675 if (! wxSize_helper(_obj1
, &_arg1
))
3679 wxPy_BEGIN_ALLOW_THREADS
;
3680 wxWindow_SetClientSize(_arg0
,*_arg1
);
3682 wxPy_END_ALLOW_THREADS
;
3683 } Py_INCREF(Py_None
);
3684 _resultobj
= Py_None
;
3688 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3689 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3693 PyObject
* _argo0
= 0;
3694 PyObject
* _argo1
= 0;
3695 char *_kwnames
[] = { "self","cursor", NULL
};
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 wxWindow_SetCursor(_arg0
,*_arg1
);
3718 wxPy_END_ALLOW_THREADS
;
3719 } Py_INCREF(Py_None
);
3720 _resultobj
= Py_None
;
3724 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3725 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3728 wxEvtHandler
* _arg1
;
3729 PyObject
* _argo0
= 0;
3730 PyObject
* _argo1
= 0;
3731 char *_kwnames
[] = { "self","handler", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 wxWindow_SetEventHandler(_arg0
,_arg1
);
3754 wxPy_END_ALLOW_THREADS
;
3755 } Py_INCREF(Py_None
);
3756 _resultobj
= Py_None
;
3760 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3761 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3765 PyObject
* _argo0
= 0;
3766 PyObject
* _obj1
= 0;
3767 char *_kwnames
[] = { "self","title", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3780 if (!PyString_Check(_obj1
)) {
3781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3784 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3787 wxPy_BEGIN_ALLOW_THREADS
;
3788 wxWindow_SetTitle(_arg0
,*_arg1
);
3790 wxPy_END_ALLOW_THREADS
;
3791 } Py_INCREF(Py_None
);
3792 _resultobj
= Py_None
;
3800 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3801 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3806 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self","show", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3820 _arg1
= (bool ) tempbool1
;
3822 wxPy_BEGIN_ALLOW_THREADS
;
3823 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3825 wxPy_END_ALLOW_THREADS
;
3826 } _resultobj
= Py_BuildValue("i",_result
);
3830 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3831 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3849 wxPy_BEGIN_ALLOW_THREADS
;
3850 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3852 wxPy_END_ALLOW_THREADS
;
3853 } _resultobj
= Py_BuildValue("i",_result
);
3857 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3858 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3879 wxPy_END_ALLOW_THREADS
;
3880 } _resultobj
= Py_BuildValue("i",_result
);
3884 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3885 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3889 PyObject
* _argo0
= 0;
3890 char *_kwnames
[] = { "self", NULL
};
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3903 wxPy_BEGIN_ALLOW_THREADS
;
3904 _result
= (bool )wxWindow_Validate(_arg0
);
3906 wxPy_END_ALLOW_THREADS
;
3907 } _resultobj
= Py_BuildValue("i",_result
);
3911 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3912 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "self","x","y", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } Py_INCREF(Py_None
);
3936 _resultobj
= Py_None
;
3940 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3941 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3946 PyObject
* _argo0
= 0;
3948 PyObject
* _obj1
= 0;
3949 char *_kwnames
[] = { "self","pt", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3964 if (! wxPoint_helper(_obj1
, &_arg1
))
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3971 wxPy_END_ALLOW_THREADS
;
3972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3973 _resultobj
= Py_BuildValue("s",_ptemp
);
3977 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3978 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3983 PyObject
* _argo0
= 0;
3985 PyObject
* _obj1
= 0;
3986 char *_kwnames
[] = { "self","sz", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4001 if (! wxSize_helper(_obj1
, &_arg1
))
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4008 wxPy_END_ALLOW_THREADS
;
4009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4010 _resultobj
= Py_BuildValue("s",_ptemp
);
4014 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4015 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4020 PyObject
* _argo0
= 0;
4022 PyObject
* _obj1
= 0;
4023 char *_kwnames
[] = { "self","pt", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4038 if (! wxPoint_helper(_obj1
, &_arg1
))
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4045 wxPy_END_ALLOW_THREADS
;
4046 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4047 _resultobj
= Py_BuildValue("s",_ptemp
);
4051 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4052 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4057 PyObject
* _argo0
= 0;
4059 PyObject
* _obj1
= 0;
4060 char *_kwnames
[] = { "self","sz", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4075 if (! wxSize_helper(_obj1
, &_arg1
))
4079 wxPy_BEGIN_ALLOW_THREADS
;
4080 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4082 wxPy_END_ALLOW_THREADS
;
4083 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4084 _resultobj
= Py_BuildValue("s",_ptemp
);
4088 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4089 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4093 PyObject
* _argo0
= 0;
4094 PyObject
* _obj1
= 0;
4095 char *_kwnames
[] = { "self","tip", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4108 if (!PyString_Check(_obj1
)) {
4109 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4112 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4118 wxPy_END_ALLOW_THREADS
;
4119 } Py_INCREF(Py_None
);
4120 _resultobj
= Py_None
;
4128 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4129 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4133 PyObject
* _argo0
= 0;
4134 PyObject
* _argo1
= 0;
4135 char *_kwnames
[] = { "self","tooltip", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 wxWindow_SetToolTip(_arg0
,_arg1
);
4158 wxPy_END_ALLOW_THREADS
;
4159 } Py_INCREF(Py_None
);
4160 _resultobj
= Py_None
;
4164 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4165 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4167 wxToolTip
* _result
;
4169 PyObject
* _argo0
= 0;
4170 char *_kwnames
[] = { "self", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4184 wxPy_BEGIN_ALLOW_THREADS
;
4185 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4187 wxPy_END_ALLOW_THREADS
;
4189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4190 _resultobj
= Py_BuildValue("s",_ptemp
);
4193 _resultobj
= Py_None
;
4198 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4199 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4203 PyObject
* _argo0
= 0;
4204 PyObject
* _argo1
= 0;
4205 char *_kwnames
[] = { "self","sizer", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4218 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4219 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 wxWindow_SetSizer(_arg0
,_arg1
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } Py_INCREF(Py_None
);
4230 _resultobj
= Py_None
;
4234 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4235 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4237 wxValidator
* _result
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self", NULL
};
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4254 wxPy_BEGIN_ALLOW_THREADS
;
4255 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4257 wxPy_END_ALLOW_THREADS
;
4259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4260 _resultobj
= Py_BuildValue("s",_ptemp
);
4263 _resultobj
= Py_None
;
4268 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4269 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4272 wxValidator
* _arg1
;
4273 PyObject
* _argo0
= 0;
4274 PyObject
* _argo1
= 0;
4275 char *_kwnames
[] = { "self","validator", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4295 wxPy_BEGIN_ALLOW_THREADS
;
4296 wxWindow_SetValidator(_arg0
,*_arg1
);
4298 wxPy_END_ALLOW_THREADS
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 static void *SwigwxPanelTowxWindow(void *ptr
) {
4307 src
= (wxPanel
*) ptr
;
4308 dest
= (wxWindow
*) src
;
4309 return (void *) dest
;
4312 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4315 src
= (wxPanel
*) ptr
;
4316 dest
= (wxEvtHandler
*) src
;
4317 return (void *) dest
;
4320 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4321 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4326 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4327 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4328 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4329 char * _arg5
= (char *) "panel";
4330 PyObject
* _argo0
= 0;
4332 PyObject
* _obj2
= 0;
4334 PyObject
* _obj3
= 0;
4335 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4351 if (! wxPoint_helper(_obj2
, &_arg2
))
4357 if (! wxSize_helper(_obj3
, &_arg3
))
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4364 wxPy_END_ALLOW_THREADS
;
4366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4367 _resultobj
= Py_BuildValue("s",_ptemp
);
4370 _resultobj
= Py_None
;
4375 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4376 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4379 PyObject
* _argo0
= 0;
4380 char *_kwnames
[] = { "self", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4393 wxPy_BEGIN_ALLOW_THREADS
;
4394 wxPanel_InitDialog(_arg0
);
4396 wxPy_END_ALLOW_THREADS
;
4397 } Py_INCREF(Py_None
);
4398 _resultobj
= Py_None
;
4402 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4403 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4425 wxPy_END_ALLOW_THREADS
;
4427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4428 _resultobj
= Py_BuildValue("s",_ptemp
);
4431 _resultobj
= Py_None
;
4436 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4437 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4441 PyObject
* _argo0
= 0;
4442 PyObject
* _argo1
= 0;
4443 char *_kwnames
[] = { "self","btn", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4466 wxPy_END_ALLOW_THREADS
;
4467 } Py_INCREF(Py_None
);
4468 _resultobj
= Py_None
;
4472 static void *SwigwxDialogTowxPanel(void *ptr
) {
4475 src
= (wxDialog
*) ptr
;
4476 dest
= (wxPanel
*) src
;
4477 return (void *) dest
;
4480 static void *SwigwxDialogTowxWindow(void *ptr
) {
4483 src
= (wxDialog
*) ptr
;
4484 dest
= (wxWindow
*) src
;
4485 return (void *) dest
;
4488 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4491 src
= (wxDialog
*) ptr
;
4492 dest
= (wxEvtHandler
*) src
;
4493 return (void *) dest
;
4496 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4497 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4503 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4504 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4505 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4506 char * _arg6
= (char *) "dialogBox";
4507 PyObject
* _argo0
= 0;
4508 PyObject
* _obj2
= 0;
4510 PyObject
* _obj3
= 0;
4512 PyObject
* _obj4
= 0;
4513 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4527 if (!PyString_Check(_obj2
)) {
4528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4531 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4536 if (! wxPoint_helper(_obj3
, &_arg3
))
4542 if (! wxSize_helper(_obj4
, &_arg4
))
4546 wxPy_BEGIN_ALLOW_THREADS
;
4547 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4549 wxPy_END_ALLOW_THREADS
;
4551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4552 _resultobj
= Py_BuildValue("s",_ptemp
);
4555 _resultobj
= Py_None
;
4564 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4565 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4568 int _arg1
= (int ) wxBOTH
;
4569 PyObject
* _argo0
= 0;
4570 char *_kwnames
[] = { "self","direction", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 wxDialog_Centre(_arg0
,_arg1
);
4586 wxPy_END_ALLOW_THREADS
;
4587 } Py_INCREF(Py_None
);
4588 _resultobj
= Py_None
;
4592 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4593 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 char *_kwnames
[] = { "self","retCode", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 wxDialog_EndModal(_arg0
,_arg1
);
4614 wxPy_END_ALLOW_THREADS
;
4615 } Py_INCREF(Py_None
);
4616 _resultobj
= Py_None
;
4620 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4621 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4642 wxPy_END_ALLOW_THREADS
;
4644 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4652 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4653 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4657 PyObject
* _argo0
= 0;
4659 char *_kwnames
[] = { "self","iconize", NULL
};
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4671 _arg1
= (bool ) tempbool1
;
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 wxDialog_Iconize(_arg0
,_arg1
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } Py_INCREF(Py_None
);
4678 _resultobj
= Py_None
;
4682 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4683 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4687 PyObject
* _argo0
= 0;
4688 char *_kwnames
[] = { "self", NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4701 wxPy_BEGIN_ALLOW_THREADS
;
4702 _result
= (bool )wxDialog_IsIconized(_arg0
);
4704 wxPy_END_ALLOW_THREADS
;
4705 } _resultobj
= Py_BuildValue("i",_result
);
4709 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4710 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4714 PyObject
* _argo0
= 0;
4716 char *_kwnames
[] = { "self","flag", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4728 _arg1
= (bool ) tempbool1
;
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 wxDialog_SetModal(_arg0
,_arg1
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4740 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4744 PyObject
* _argo0
= 0;
4745 char *_kwnames
[] = { "self", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4758 wxPy_BEGIN_ALLOW_THREADS
;
4759 _result
= (bool )wxDialog_IsModal(_arg0
);
4761 wxPy_END_ALLOW_THREADS
;
4762 } _resultobj
= Py_BuildValue("i",_result
);
4766 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4767 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4771 PyObject
* _argo0
= 0;
4772 PyObject
* _obj1
= 0;
4773 char *_kwnames
[] = { "self","title", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4786 if (!PyString_Check(_obj1
)) {
4787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4790 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4793 wxPy_BEGIN_ALLOW_THREADS
;
4794 wxDialog_SetTitle(_arg0
,*_arg1
);
4796 wxPy_END_ALLOW_THREADS
;
4797 } Py_INCREF(Py_None
);
4798 _resultobj
= Py_None
;
4806 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4807 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4812 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self","show", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4826 _arg1
= (bool ) tempbool1
;
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } _resultobj
= Py_BuildValue("i",_result
);
4836 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4837 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4841 PyObject
* _argo0
= 0;
4842 char *_kwnames
[] = { "self", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4855 wxPy_BEGIN_ALLOW_THREADS
;
4856 _result
= (int )wxDialog_ShowModal(_arg0
);
4858 wxPy_END_ALLOW_THREADS
;
4859 } _resultobj
= Py_BuildValue("i",_result
);
4863 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4864 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4868 PyObject
* _argo0
= 0;
4869 char *_kwnames
[] = { "self", NULL
};
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4882 wxPy_BEGIN_ALLOW_THREADS
;
4883 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4885 wxPy_END_ALLOW_THREADS
;
4886 } _resultobj
= Py_BuildValue("i",_result
);
4890 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4891 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4895 PyObject
* _argo0
= 0;
4896 char *_kwnames
[] = { "self","retCode", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4909 wxPy_BEGIN_ALLOW_THREADS
;
4910 wxDialog_SetReturnCode(_arg0
,_arg1
);
4912 wxPy_END_ALLOW_THREADS
;
4913 } Py_INCREF(Py_None
);
4914 _resultobj
= Py_None
;
4918 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
4919 wxScrolledWindow
*src
;
4921 src
= (wxScrolledWindow
*) ptr
;
4922 dest
= (wxPanel
*) src
;
4923 return (void *) dest
;
4926 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
4927 wxScrolledWindow
*src
;
4929 src
= (wxScrolledWindow
*) ptr
;
4930 dest
= (wxWindow
*) src
;
4931 return (void *) dest
;
4934 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
4935 wxScrolledWindow
*src
;
4937 src
= (wxScrolledWindow
*) ptr
;
4938 dest
= (wxEvtHandler
*) src
;
4939 return (void *) dest
;
4942 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4943 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4945 wxScrolledWindow
* _result
;
4947 wxWindowID _arg1
= (wxWindowID
) -1;
4948 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4949 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4950 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
4951 char * _arg5
= (char *) "scrolledWindow";
4952 PyObject
* _argo0
= 0;
4954 PyObject
* _obj2
= 0;
4956 PyObject
* _obj3
= 0;
4957 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4973 if (! wxPoint_helper(_obj2
, &_arg2
))
4979 if (! wxSize_helper(_obj3
, &_arg3
))
4983 wxPy_BEGIN_ALLOW_THREADS
;
4984 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4986 wxPy_END_ALLOW_THREADS
;
4988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
4989 _resultobj
= Py_BuildValue("s",_ptemp
);
4992 _resultobj
= Py_None
;
4997 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4998 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5000 wxScrolledWindow
* _arg0
;
5003 PyObject
* _argo0
= 0;
5006 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5018 _arg1
= (bool ) tempbool1
;
5019 _arg2
= (bool ) tempbool2
;
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5024 wxPy_END_ALLOW_THREADS
;
5025 } Py_INCREF(Py_None
);
5026 _resultobj
= Py_None
;
5030 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5031 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5033 wxScrolledWindow
* _arg0
;
5038 PyObject
* _argo0
= 0;
5039 char *_kwnames
[] = { "self", NULL
};
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5058 wxPy_BEGIN_ALLOW_THREADS
;
5059 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5061 wxPy_END_ALLOW_THREADS
;
5062 } Py_INCREF(Py_None
);
5063 _resultobj
= Py_None
;
5066 o
= PyInt_FromLong((long) (*_arg1
));
5067 _resultobj
= t_output_helper(_resultobj
, o
);
5071 o
= PyInt_FromLong((long) (*_arg2
));
5072 _resultobj
= t_output_helper(_resultobj
, o
);
5077 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5078 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5080 wxScrolledWindow
* _arg0
;
5085 PyObject
* _argo0
= 0;
5086 char *_kwnames
[] = { "self", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5105 wxPy_BEGIN_ALLOW_THREADS
;
5106 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5108 wxPy_END_ALLOW_THREADS
;
5109 } Py_INCREF(Py_None
);
5110 _resultobj
= Py_None
;
5113 o
= PyInt_FromLong((long) (*_arg1
));
5114 _resultobj
= t_output_helper(_resultobj
, o
);
5118 o
= PyInt_FromLong((long) (*_arg2
));
5119 _resultobj
= t_output_helper(_resultobj
, o
);
5124 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5125 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5128 wxScrolledWindow
* _arg0
;
5129 PyObject
* _argo0
= 0;
5130 char *_kwnames
[] = { "self", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5146 wxPy_END_ALLOW_THREADS
;
5147 } _resultobj
= Py_BuildValue("i",_result
);
5151 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5152 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
* _resultobj
;
5154 wxScrolledWindow
* _arg0
;
5156 PyObject
* _argo0
= 0;
5157 PyObject
* _argo1
= 0;
5158 char *_kwnames
[] = { "self","dc", NULL
};
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5178 wxPy_BEGIN_ALLOW_THREADS
;
5179 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5181 wxPy_END_ALLOW_THREADS
;
5182 } Py_INCREF(Py_None
);
5183 _resultobj
= Py_None
;
5187 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5188 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5190 wxScrolledWindow
* _arg0
;
5193 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self","x","y", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5207 wxPy_BEGIN_ALLOW_THREADS
;
5208 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5210 wxPy_END_ALLOW_THREADS
;
5211 } Py_INCREF(Py_None
);
5212 _resultobj
= Py_None
;
5216 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5217 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
* _resultobj
;
5219 wxScrolledWindow
* _arg0
;
5224 int _arg5
= (int ) 0;
5225 int _arg6
= (int ) 0;
5226 PyObject
* _argo0
= 0;
5227 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5240 wxPy_BEGIN_ALLOW_THREADS
;
5241 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5243 wxPy_END_ALLOW_THREADS
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5249 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5250 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
* _resultobj
;
5252 wxScrolledWindow
* _arg0
;
5257 PyObject
* _argo0
= 0;
5258 char *_kwnames
[] = { "self", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5277 wxPy_BEGIN_ALLOW_THREADS
;
5278 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5280 wxPy_END_ALLOW_THREADS
;
5281 } Py_INCREF(Py_None
);
5282 _resultobj
= Py_None
;
5285 o
= PyInt_FromLong((long) (*_arg1
));
5286 _resultobj
= t_output_helper(_resultobj
, o
);
5290 o
= PyInt_FromLong((long) (*_arg2
));
5291 _resultobj
= t_output_helper(_resultobj
, o
);
5296 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5299 src
= (wxMenu
*) ptr
;
5300 dest
= (wxEvtHandler
*) src
;
5301 return (void *) dest
;
5304 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5305 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5308 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5309 long _arg1
= (long ) 0;
5310 PyObject
* _obj0
= 0;
5311 char *_kwnames
[] = { "title","style", NULL
};
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5319 if (!PyString_Check(_obj0
)) {
5320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5323 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5326 wxPy_BEGIN_ALLOW_THREADS
;
5327 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5329 wxPy_END_ALLOW_THREADS
;
5331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5332 _resultobj
= Py_BuildValue("s",_ptemp
);
5335 _resultobj
= Py_None
;
5344 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5345 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5350 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5351 int _arg4
= (int ) FALSE
;
5352 PyObject
* _argo0
= 0;
5353 PyObject
* _obj2
= 0;
5354 PyObject
* _obj3
= 0;
5355 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5368 if (!PyString_Check(_obj2
)) {
5369 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5372 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5376 if (!PyString_Check(_obj3
)) {
5377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5380 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5383 wxPy_BEGIN_ALLOW_THREADS
;
5384 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5386 wxPy_END_ALLOW_THREADS
;
5387 } Py_INCREF(Py_None
);
5388 _resultobj
= Py_None
;
5400 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5401 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5407 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5408 PyObject
* _argo0
= 0;
5409 PyObject
* _obj2
= 0;
5410 PyObject
* _argo3
= 0;
5411 PyObject
* _obj4
= 0;
5412 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5425 if (!PyString_Check(_obj2
)) {
5426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5429 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5432 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5440 if (!PyString_Check(_obj4
)) {
5441 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5444 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5447 wxPy_BEGIN_ALLOW_THREADS
;
5448 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5450 wxPy_END_ALLOW_THREADS
;
5451 } Py_INCREF(Py_None
);
5452 _resultobj
= Py_None
;
5464 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5465 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5469 PyObject
* _argo0
= 0;
5470 PyObject
* _argo1
= 0;
5471 char *_kwnames
[] = { "self","item", NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5491 wxPy_BEGIN_ALLOW_THREADS
;
5492 wxMenu_AppendItem(_arg0
,_arg1
);
5494 wxPy_END_ALLOW_THREADS
;
5495 } Py_INCREF(Py_None
);
5496 _resultobj
= Py_None
;
5500 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5501 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
* _resultobj
;
5504 PyObject
* _argo0
= 0;
5505 char *_kwnames
[] = { "self", NULL
};
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5518 wxPy_BEGIN_ALLOW_THREADS
;
5519 wxMenu_AppendSeparator(_arg0
);
5521 wxPy_END_ALLOW_THREADS
;
5522 } Py_INCREF(Py_None
);
5523 _resultobj
= Py_None
;
5527 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5528 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
* _resultobj
;
5531 PyObject
* _argo0
= 0;
5532 char *_kwnames
[] = { "self", NULL
};
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5545 wxPy_BEGIN_ALLOW_THREADS
;
5546 wxMenu_Break(_arg0
);
5548 wxPy_END_ALLOW_THREADS
;
5549 } Py_INCREF(Py_None
);
5550 _resultobj
= Py_None
;
5554 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5555 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
* _resultobj
;
5560 PyObject
* _argo0
= 0;
5562 char *_kwnames
[] = { "self","id","flag", NULL
};
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5574 _arg2
= (bool ) tempbool2
;
5576 wxPy_BEGIN_ALLOW_THREADS
;
5577 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5579 wxPy_END_ALLOW_THREADS
;
5580 } Py_INCREF(Py_None
);
5581 _resultobj
= Py_None
;
5585 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5586 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
* _resultobj
;
5591 PyObject
* _argo0
= 0;
5593 char *_kwnames
[] = { "self","id","enable", NULL
};
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5605 _arg2
= (bool ) tempbool2
;
5607 wxPy_BEGIN_ALLOW_THREADS
;
5608 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5610 wxPy_END_ALLOW_THREADS
;
5611 } Py_INCREF(Py_None
);
5612 _resultobj
= Py_None
;
5616 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5617 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
* _resultobj
;
5622 PyObject
* _argo0
= 0;
5623 PyObject
* _obj1
= 0;
5624 char *_kwnames
[] = { "self","itemString", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5637 if (!PyString_Check(_obj1
)) {
5638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5641 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5644 wxPy_BEGIN_ALLOW_THREADS
;
5645 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5647 wxPy_END_ALLOW_THREADS
;
5648 } _resultobj
= Py_BuildValue("i",_result
);
5656 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5657 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
* _resultobj
;
5661 PyObject
* _argo0
= 0;
5662 char *_kwnames
[] = { "self", NULL
};
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
5668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
5675 wxPy_BEGIN_ALLOW_THREADS
;
5676 _result
= new wxString (wxMenu_GetTitle(_arg0
));
5678 wxPy_END_ALLOW_THREADS
;
5680 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5688 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5689 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
* _resultobj
;
5693 PyObject
* _argo0
= 0;
5694 PyObject
* _obj1
= 0;
5695 char *_kwnames
[] = { "self","title", NULL
};
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5708 if (!PyString_Check(_obj1
)) {
5709 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5712 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5715 wxPy_BEGIN_ALLOW_THREADS
;
5716 wxMenu_SetTitle(_arg0
,*_arg1
);
5718 wxPy_END_ALLOW_THREADS
;
5719 } Py_INCREF(Py_None
);
5720 _resultobj
= Py_None
;
5728 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5729 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5731 wxMenuItem
* _result
;
5734 PyObject
* _argo0
= 0;
5735 char *_kwnames
[] = { "self","id", NULL
};
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
5749 wxPy_BEGIN_ALLOW_THREADS
;
5750 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
5752 wxPy_END_ALLOW_THREADS
;
5754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5755 _resultobj
= Py_BuildValue("s",_ptemp
);
5758 _resultobj
= Py_None
;
5763 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5764 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5769 PyObject
* _argo0
= 0;
5770 char *_kwnames
[] = { "self","id", NULL
};
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
5783 wxPy_BEGIN_ALLOW_THREADS
;
5784 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
5786 wxPy_END_ALLOW_THREADS
;
5788 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5796 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5797 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
* _resultobj
;
5802 PyObject
* _argo0
= 0;
5803 char *_kwnames
[] = { "self","id", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
5816 wxPy_BEGIN_ALLOW_THREADS
;
5817 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
5819 wxPy_END_ALLOW_THREADS
;
5821 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5829 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5830 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 PyObject
* _obj2
= 0;
5837 char *_kwnames
[] = { "self","id","helpString", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
5850 if (!PyString_Check(_obj2
)) {
5851 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5854 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5857 wxPy_BEGIN_ALLOW_THREADS
;
5858 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
5860 wxPy_END_ALLOW_THREADS
;
5861 } Py_INCREF(Py_None
);
5862 _resultobj
= Py_None
;
5870 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5871 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5876 PyObject
* _argo0
= 0;
5877 char *_kwnames
[] = { "self","id", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5890 wxPy_BEGIN_ALLOW_THREADS
;
5891 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5893 wxPy_END_ALLOW_THREADS
;
5894 } _resultobj
= Py_BuildValue("i",_result
);
5898 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5899 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5904 PyObject
* _argo0
= 0;
5905 char *_kwnames
[] = { "self","id", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5918 wxPy_BEGIN_ALLOW_THREADS
;
5919 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5921 wxPy_END_ALLOW_THREADS
;
5922 } _resultobj
= Py_BuildValue("i",_result
);
5926 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5927 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5932 PyObject
* _argo0
= 0;
5933 PyObject
* _obj2
= 0;
5934 char *_kwnames
[] = { "self","id","label", NULL
};
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
5947 if (!PyString_Check(_obj2
)) {
5948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5951 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5954 wxPy_BEGIN_ALLOW_THREADS
;
5955 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
5957 wxPy_END_ALLOW_THREADS
;
5958 } Py_INCREF(Py_None
);
5959 _resultobj
= Py_None
;
5967 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
5968 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
* _resultobj
;
5971 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
5972 PyObject
* _argo0
= 0;
5973 PyObject
* _argo1
= 0;
5974 char *_kwnames
[] = { "self","source", NULL
};
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
5980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
5987 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5988 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
5989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
5994 wxPy_BEGIN_ALLOW_THREADS
;
5995 wxMenu_UpdateUI(_arg0
,_arg1
);
5997 wxPy_END_ALLOW_THREADS
;
5998 } Py_INCREF(Py_None
);
5999 _resultobj
= Py_None
;
6003 static void wxMenu_Destroy(wxMenu
*self
) {
6006 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6009 PyObject
* _argo0
= 0;
6010 char *_kwnames
[] = { "self", NULL
};
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6023 wxPy_BEGIN_ALLOW_THREADS
;
6024 wxMenu_Destroy(_arg0
);
6026 wxPy_END_ALLOW_THREADS
;
6027 } Py_INCREF(Py_None
);
6028 _resultobj
= Py_None
;
6032 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6035 src
= (wxMenuBar
*) ptr
;
6036 dest
= (wxEvtHandler
*) src
;
6037 return (void *) dest
;
6040 #define new_wxMenuBar() (new wxMenuBar())
6041 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6043 wxMenuBar
* _result
;
6044 char *_kwnames
[] = { NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 _result
= (wxMenuBar
*)new_wxMenuBar();
6054 wxPy_END_ALLOW_THREADS
;
6056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6057 _resultobj
= Py_BuildValue("s",_ptemp
);
6060 _resultobj
= Py_None
;
6065 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6066 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
* _resultobj
;
6071 PyObject
* _argo0
= 0;
6072 PyObject
* _argo1
= 0;
6073 PyObject
* _obj2
= 0;
6074 char *_kwnames
[] = { "self","menu","title", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6094 if (!PyString_Check(_obj2
)) {
6095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6098 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6104 wxPy_END_ALLOW_THREADS
;
6105 } Py_INCREF(Py_None
);
6106 _resultobj
= Py_None
;
6114 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6115 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
* _resultobj
;
6120 PyObject
* _argo0
= 0;
6122 char *_kwnames
[] = { "self","id","flag", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
6134 _arg2
= (bool ) tempbool2
;
6136 wxPy_BEGIN_ALLOW_THREADS
;
6137 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
6139 wxPy_END_ALLOW_THREADS
;
6140 } Py_INCREF(Py_None
);
6141 _resultobj
= Py_None
;
6145 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
6146 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6151 PyObject
* _argo0
= 0;
6152 char *_kwnames
[] = { "self","id", NULL
};
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Checked",_kwnames
,&_argo0
,&_arg1
))
6158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
6165 wxPy_BEGIN_ALLOW_THREADS
;
6166 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
6168 wxPy_END_ALLOW_THREADS
;
6169 } _resultobj
= Py_BuildValue("i",_result
);
6173 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6174 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6179 PyObject
* _argo0
= 0;
6181 char *_kwnames
[] = { "self","id","enable", NULL
};
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
6193 _arg2
= (bool ) tempbool2
;
6195 wxPy_BEGIN_ALLOW_THREADS
;
6196 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
6198 wxPy_END_ALLOW_THREADS
;
6199 } Py_INCREF(Py_None
);
6200 _resultobj
= Py_None
;
6204 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
6205 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
* _resultobj
;
6210 PyObject
* _argo0
= 0;
6211 char *_kwnames
[] = { "self","id", NULL
};
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Enabled",_kwnames
,&_argo0
,&_arg1
))
6217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
6224 wxPy_BEGIN_ALLOW_THREADS
;
6225 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
6227 wxPy_END_ALLOW_THREADS
;
6228 } _resultobj
= Py_BuildValue("i",_result
);
6232 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
6233 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
* _resultobj
;
6239 PyObject
* _argo0
= 0;
6240 PyObject
* _obj1
= 0;
6241 PyObject
* _obj2
= 0;
6242 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
6255 if (!PyString_Check(_obj1
)) {
6256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6259 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6262 if (!PyString_Check(_obj2
)) {
6263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6266 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6269 wxPy_BEGIN_ALLOW_THREADS
;
6270 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
6272 wxPy_END_ALLOW_THREADS
;
6273 } _resultobj
= Py_BuildValue("i",_result
);
6285 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
6286 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
* _resultobj
;
6288 wxMenuItem
* _result
;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self","id", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
6306 wxPy_BEGIN_ALLOW_THREADS
;
6307 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
6309 wxPy_END_ALLOW_THREADS
;
6311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6312 _resultobj
= Py_BuildValue("s",_ptemp
);
6315 _resultobj
= Py_None
;
6320 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6321 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6326 PyObject
* _argo0
= 0;
6327 PyObject
* _obj2
= 0;
6328 char *_kwnames
[] = { "self","id","label", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
6341 if (!PyString_Check(_obj2
)) {
6342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6345 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6348 wxPy_BEGIN_ALLOW_THREADS
;
6349 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
6351 wxPy_END_ALLOW_THREADS
;
6352 } Py_INCREF(Py_None
);
6353 _resultobj
= Py_None
;
6361 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
6362 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6367 PyObject
* _argo0
= 0;
6369 char *_kwnames
[] = { "self","pos","enable", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
6381 _arg2
= (bool ) tempbool2
;
6383 wxPy_BEGIN_ALLOW_THREADS
;
6384 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
6386 wxPy_END_ALLOW_THREADS
;
6387 } Py_INCREF(Py_None
);
6388 _resultobj
= Py_None
;
6392 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6393 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6398 PyObject
* _argo0
= 0;
6399 char *_kwnames
[] = { "self","id", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
6412 wxPy_BEGIN_ALLOW_THREADS
;
6413 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
6415 wxPy_END_ALLOW_THREADS
;
6417 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6425 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6426 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
* _resultobj
;
6431 PyObject
* _argo0
= 0;
6432 char *_kwnames
[] = { "self","id", NULL
};
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
6445 wxPy_BEGIN_ALLOW_THREADS
;
6446 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
6448 wxPy_END_ALLOW_THREADS
;
6450 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6458 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6459 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6464 PyObject
* _argo0
= 0;
6465 PyObject
* _obj2
= 0;
6466 char *_kwnames
[] = { "self","id","helpString", NULL
};
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
6479 if (!PyString_Check(_obj2
)) {
6480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6483 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6486 wxPy_BEGIN_ALLOW_THREADS
;
6487 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
6489 wxPy_END_ALLOW_THREADS
;
6490 } Py_INCREF(Py_None
);
6491 _resultobj
= Py_None
;
6499 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
6500 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
* _resultobj
;
6505 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self","pos", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
6522 wxPy_END_ALLOW_THREADS
;
6524 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6532 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
6533 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
* _resultobj
;
6538 PyObject
* _argo0
= 0;
6539 PyObject
* _obj2
= 0;
6540 char *_kwnames
[] = { "self","pos","label", NULL
};
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
6553 if (!PyString_Check(_obj2
)) {
6554 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6557 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6560 wxPy_BEGIN_ALLOW_THREADS
;
6561 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
6563 wxPy_END_ALLOW_THREADS
;
6564 } Py_INCREF(Py_None
);
6565 _resultobj
= Py_None
;
6573 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6574 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6578 PyObject
* _argo0
= 0;
6579 char *_kwnames
[] = { "self", NULL
};
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
6585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6592 wxPy_BEGIN_ALLOW_THREADS
;
6593 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
6595 wxPy_END_ALLOW_THREADS
;
6596 } _resultobj
= Py_BuildValue("i",_result
);
6600 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6601 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6606 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self","i", NULL
};
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
6614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6621 wxPy_BEGIN_ALLOW_THREADS
;
6622 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
6624 wxPy_END_ALLOW_THREADS
;
6626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6627 _resultobj
= Py_BuildValue("s",_ptemp
);
6630 _resultobj
= Py_None
;
6635 #define wxMenuBar_Refresh(_swigobj) (_swigobj->Refresh())
6636 static PyObject
*_wrap_wxMenuBar_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
* _resultobj
;
6639 PyObject
* _argo0
= 0;
6640 char *_kwnames
[] = { "self", NULL
};
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_Refresh",_kwnames
,&_argo0
))
6646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Refresh. Expected _wxMenuBar_p.");
6653 wxPy_BEGIN_ALLOW_THREADS
;
6654 wxMenuBar_Refresh(_arg0
);
6656 wxPy_END_ALLOW_THREADS
;
6657 } Py_INCREF(Py_None
);
6658 _resultobj
= Py_None
;
6662 #define new_wxMenuItem() (new wxMenuItem())
6663 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6665 wxMenuItem
* _result
;
6666 char *_kwnames
[] = { NULL
};
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuItem",_kwnames
))
6673 wxPy_BEGIN_ALLOW_THREADS
;
6674 _result
= (wxMenuItem
*)new_wxMenuItem();
6676 wxPy_END_ALLOW_THREADS
;
6678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6679 _resultobj
= Py_BuildValue("s",_ptemp
);
6682 _resultobj
= Py_None
;
6687 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
6688 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
* _resultobj
;
6692 PyObject
* _argo0
= 0;
6693 char *_kwnames
[] = { "self", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
6699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
6706 wxPy_BEGIN_ALLOW_THREADS
;
6707 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
6709 wxPy_END_ALLOW_THREADS
;
6710 } _resultobj
= Py_BuildValue("i",_result
);
6714 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
6715 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
6733 wxPy_BEGIN_ALLOW_THREADS
;
6734 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
6736 wxPy_END_ALLOW_THREADS
;
6737 } _resultobj
= Py_BuildValue("i",_result
);
6741 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
6742 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
* _resultobj
;
6746 PyObject
* _argo0
= 0;
6747 char *_kwnames
[] = { "self", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
6753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
6760 wxPy_BEGIN_ALLOW_THREADS
;
6761 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
6763 wxPy_END_ALLOW_THREADS
;
6764 } _resultobj
= Py_BuildValue("i",_result
);
6768 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
6769 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
* _resultobj
;
6773 PyObject
* _argo0
= 0;
6774 char *_kwnames
[] = { "self", NULL
};
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
6780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
6787 wxPy_BEGIN_ALLOW_THREADS
;
6788 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
6790 wxPy_END_ALLOW_THREADS
;
6791 } _resultobj
= Py_BuildValue("i",_result
);
6795 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
6796 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
* _resultobj
;
6800 PyObject
* _argo0
= 0;
6801 char *_kwnames
[] = { "self", NULL
};
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
6807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
6814 wxPy_BEGIN_ALLOW_THREADS
;
6815 _result
= (int )wxMenuItem_GetId(_arg0
);
6817 wxPy_END_ALLOW_THREADS
;
6818 } _resultobj
= Py_BuildValue("i",_result
);
6822 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
6823 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6827 PyObject
* _argo0
= 0;
6828 char *_kwnames
[] = { "self", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
6842 wxPy_BEGIN_ALLOW_THREADS
;
6843 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
6845 wxPy_END_ALLOW_THREADS
;
6847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6848 _resultobj
= Py_BuildValue("s",_ptemp
);
6851 _resultobj
= Py_None
;
6856 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
6857 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
* _resultobj
;
6861 PyObject
* _argo0
= 0;
6862 PyObject
* _obj1
= 0;
6863 char *_kwnames
[] = { "self","strName", NULL
};
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetName",_kwnames
,&_argo0
,&_obj1
))
6869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
6876 if (!PyString_Check(_obj1
)) {
6877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6880 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6883 wxPy_BEGIN_ALLOW_THREADS
;
6884 wxMenuItem_SetName(_arg0
,*_arg1
);
6886 wxPy_END_ALLOW_THREADS
;
6887 } Py_INCREF(Py_None
);
6888 _resultobj
= Py_None
;
6896 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
6897 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
* _resultobj
;
6901 PyObject
* _argo0
= 0;
6902 char *_kwnames
[] = { "self", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetName",_kwnames
,&_argo0
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
6915 wxPy_BEGIN_ALLOW_THREADS
;
6916 _result
= new wxString (wxMenuItem_GetName(_arg0
));
6918 wxPy_END_ALLOW_THREADS
;
6920 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6928 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
6929 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
6947 wxPy_BEGIN_ALLOW_THREADS
;
6948 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
6950 wxPy_END_ALLOW_THREADS
;
6952 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6960 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
6961 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
* _resultobj
;
6965 PyObject
* _argo0
= 0;
6966 PyObject
* _obj1
= 0;
6967 char *_kwnames
[] = { "self","strHelp", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
6973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
6980 if (!PyString_Check(_obj1
)) {
6981 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6984 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6987 wxPy_BEGIN_ALLOW_THREADS
;
6988 wxMenuItem_SetHelp(_arg0
,*_arg1
);
6990 wxPy_END_ALLOW_THREADS
;
6991 } Py_INCREF(Py_None
);
6992 _resultobj
= Py_None
;
7000 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7001 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
* _resultobj
;
7004 bool _arg1
= (bool ) TRUE
;
7005 PyObject
* _argo0
= 0;
7006 int tempbool1
= (int) TRUE
;
7007 char *_kwnames
[] = { "self","bDoEnable", NULL
};
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
7013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
7019 _arg1
= (bool ) tempbool1
;
7021 wxPy_BEGIN_ALLOW_THREADS
;
7022 wxMenuItem_Enable(_arg0
,_arg1
);
7024 wxPy_END_ALLOW_THREADS
;
7025 } Py_INCREF(Py_None
);
7026 _resultobj
= Py_None
;
7030 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
7031 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
* _resultobj
;
7034 bool _arg1
= (bool ) TRUE
;
7035 PyObject
* _argo0
= 0;
7036 int tempbool1
= (int) TRUE
;
7037 char *_kwnames
[] = { "self","bDoCheck", NULL
};
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
7043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
7049 _arg1
= (bool ) tempbool1
;
7051 wxPy_BEGIN_ALLOW_THREADS
;
7052 wxMenuItem_Check(_arg0
,_arg1
);
7054 wxPy_END_ALLOW_THREADS
;
7055 } Py_INCREF(Py_None
);
7056 _resultobj
= Py_None
;
7060 static PyMethodDef windowscMethods
[] = {
7061 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxMenuItem_GetName", (PyCFunction
) _wrap_wxMenuItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "wxMenuItem_SetName", (PyCFunction
) _wrap_wxMenuItem_SetName
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxMenuBar_Refresh", (PyCFunction
) _wrap_wxMenuBar_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxMenuBar_Enabled", (PyCFunction
) _wrap_wxMenuBar_Enabled
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxMenuBar_Checked", (PyCFunction
) _wrap_wxMenuBar_Checked
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
7255 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
7256 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
7257 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7258 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7259 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7260 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
7261 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
7268 * This table is used by the pointer type-checker
7270 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7271 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7272 { "_signed_long","_long",0},
7273 { "_wxPrintQuality","_int",0},
7274 { "_wxPrintQuality","_signed_int",0},
7275 { "_wxPrintQuality","_unsigned_int",0},
7276 { "_wxPrintQuality","_wxWindowID",0},
7277 { "_wxPrintQuality","_uint",0},
7278 { "_wxPrintQuality","_EBool",0},
7279 { "_wxPrintQuality","_size_t",0},
7280 { "_class_wxRegionIterator","_wxRegionIterator",0},
7281 { "_class_wxMenuBar","_wxMenuBar",0},
7282 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7283 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7284 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7285 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7286 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7287 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7288 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7289 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7290 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7291 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7292 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7293 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7294 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7295 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7296 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
7297 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
7298 { "_class_wxEvtHandler","_wxEvtHandler",0},
7299 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7300 { "_wxCursor","_class_wxCursor",0},
7301 { "_wxMask","_class_wxMask",0},
7302 { "_wxPen","_class_wxPen",0},
7303 { "_byte","_unsigned_char",0},
7304 { "_long","_wxDash",0},
7305 { "_long","_unsigned_long",0},
7306 { "_long","_signed_long",0},
7307 { "_wxImageList","_class_wxImageList",0},
7308 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7309 { "_wxDC","_class_wxDC",0},
7310 { "_size_t","_wxPrintQuality",0},
7311 { "_size_t","_unsigned_int",0},
7312 { "_size_t","_int",0},
7313 { "_size_t","_wxWindowID",0},
7314 { "_size_t","_uint",0},
7315 { "_class_wxRealPoint","_wxRealPoint",0},
7316 { "_class_wxMenuItem","_wxMenuItem",0},
7317 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7318 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7319 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7320 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7321 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7322 { "_wxPanel","_class_wxPanel",0},
7323 { "_class_wxMask","_wxMask",0},
7324 { "_wxColour","_class_wxColour",0},
7325 { "_class_wxDialog","_wxDialog",0},
7326 { "_wxBrush","_class_wxBrush",0},
7327 { "_uint","_wxPrintQuality",0},
7328 { "_uint","_size_t",0},
7329 { "_uint","_unsigned_int",0},
7330 { "_uint","_int",0},
7331 { "_uint","_wxWindowID",0},
7332 { "_wxPyValidator","_class_wxPyValidator",0},
7333 { "_wxRect","_class_wxRect",0},
7334 { "_wxPoint","_class_wxPoint",0},
7335 { "_wxBitmap","_class_wxBitmap",0},
7336 { "_wxPyTimer","_class_wxPyTimer",0},
7337 { "_wxWindowDC","_class_wxWindowDC",0},
7338 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7339 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7340 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7341 { "_class_wxValidator","_wxValidator",0},
7342 { "_EBool","_wxPrintQuality",0},
7343 { "_EBool","_signed_int",0},
7344 { "_EBool","_int",0},
7345 { "_EBool","_wxWindowID",0},
7346 { "_class_wxRegion","_wxRegion",0},
7347 { "_wxFont","_class_wxFont",0},
7348 { "_unsigned_long","_wxDash",0},
7349 { "_unsigned_long","_long",0},
7350 { "_class_wxRect","_wxRect",0},
7351 { "_class_wxDC","_wxDC",0},
7352 { "_class_wxPyTimer","_wxPyTimer",0},
7353 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7354 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7355 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7356 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7357 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7358 { "_class_wxPanel","_wxPanel",0},
7359 { "_signed_int","_wxPrintQuality",0},
7360 { "_signed_int","_EBool",0},
7361 { "_signed_int","_wxWindowID",0},
7362 { "_signed_int","_int",0},
7363 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7364 { "_wxMenu","_class_wxMenu",0},
7365 { "_wxScreenDC","_class_wxScreenDC",0},
7366 { "_WXTYPE","_short",0},
7367 { "_WXTYPE","_signed_short",0},
7368 { "_WXTYPE","_unsigned_short",0},
7369 { "_class_wxBrush","_wxBrush",0},
7370 { "_unsigned_short","_WXTYPE",0},
7371 { "_unsigned_short","_short",0},
7372 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7373 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7374 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7375 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7376 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7377 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7378 { "_class_wxWindow","_wxWindow",0},
7379 { "_class_wxFont","_wxFont",0},
7380 { "_class_wxPyValidator","_wxPyValidator",0},
7381 { "_wxClientDC","_class_wxClientDC",0},
7382 { "_class_wxPoint","_wxPoint",0},
7383 { "_wxRealPoint","_class_wxRealPoint",0},
7384 { "_signed_short","_WXTYPE",0},
7385 { "_signed_short","_short",0},
7386 { "_wxMemoryDC","_class_wxMemoryDC",0},
7387 { "_wxPaintDC","_class_wxPaintDC",0},
7388 { "_class_wxWindowDC","_wxWindowDC",0},
7389 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7390 { "_class_wxCursor","_wxCursor",0},
7391 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
7392 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7393 { "_unsigned_char","_byte",0},
7394 { "_class_wxMenu","_wxMenu",0},
7395 { "_unsigned_int","_wxPrintQuality",0},
7396 { "_unsigned_int","_size_t",0},
7397 { "_unsigned_int","_uint",0},
7398 { "_unsigned_int","_wxWindowID",0},
7399 { "_unsigned_int","_int",0},
7400 { "_wxIcon","_class_wxIcon",0},
7401 { "_wxDialog","_class_wxDialog",0},
7402 { "_class_wxPen","_wxPen",0},
7403 { "_short","_WXTYPE",0},
7404 { "_short","_unsigned_short",0},
7405 { "_short","_signed_short",0},
7406 { "_class_wxImageList","_wxImageList",0},
7407 { "_wxWindowID","_wxPrintQuality",0},
7408 { "_wxWindowID","_size_t",0},
7409 { "_wxWindowID","_EBool",0},
7410 { "_wxWindowID","_uint",0},
7411 { "_wxWindowID","_int",0},
7412 { "_wxWindowID","_signed_int",0},
7413 { "_wxWindowID","_unsigned_int",0},
7414 { "_int","_wxPrintQuality",0},
7415 { "_int","_size_t",0},
7416 { "_int","_EBool",0},
7417 { "_int","_uint",0},
7418 { "_int","_wxWindowID",0},
7419 { "_int","_unsigned_int",0},
7420 { "_int","_signed_int",0},
7421 { "_wxSize","_class_wxSize",0},
7422 { "_wxRegionIterator","_class_wxRegionIterator",0},
7423 { "_class_wxPaintDC","_wxPaintDC",0},
7424 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7425 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7426 { "_wxValidator","_class_wxValidator",0},
7427 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7428 { "_class_wxIcon","_wxIcon",0},
7429 { "_class_wxColour","_wxColour",0},
7430 { "_class_wxScreenDC","_wxScreenDC",0},
7431 { "_wxPalette","_class_wxPalette",0},
7432 { "_wxRegion","_class_wxRegion",0},
7433 { "_class_wxClientDC","_wxClientDC",0},
7434 { "_class_wxSize","_wxSize",0},
7435 { "_class_wxBitmap","_wxBitmap",0},
7436 { "_class_wxMemoryDC","_wxMemoryDC",0},
7437 { "_wxMenuBar","_class_wxMenuBar",0},
7438 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7439 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7440 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7441 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7442 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7443 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7444 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7445 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7446 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7447 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7448 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7449 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7450 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7451 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7452 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
7453 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
7454 { "_wxEvtHandler","_class_wxEvtHandler",0},
7455 { "_wxMenuItem","_class_wxMenuItem",0},
7456 { "_wxDash","_unsigned_long",0},
7457 { "_wxDash","_long",0},
7458 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7459 { "_class_wxPalette","_wxPalette",0},
7460 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7461 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7462 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7463 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7464 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7465 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7466 { "_wxWindow","_class_wxWindow",0},
7469 static PyObject
*SWIG_globals
;
7473 SWIGEXPORT(void) initwindowsc() {
7475 SWIG_globals
= SWIG_newvarlink();
7476 m
= Py_InitModule("windowsc", windowscMethods
);
7477 d
= PyModule_GetDict(m
);
7480 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7481 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);