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
);
146 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
147 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
148 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
154 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
155 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
156 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
158 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
163 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
164 PyObject
* _resultobj
;
166 char *_kwnames
[] = { NULL
};
169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
172 wxPy_BEGIN_ALLOW_THREADS
;
173 _result
= (bool )wxValidator_IsSilent();
175 wxPy_END_ALLOW_THREADS
;
176 } _resultobj
= Py_BuildValue("i",_result
);
180 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
182 int _arg0
= (int ) TRUE
;
183 char *_kwnames
[] = { "doIt", NULL
};
186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
189 wxPy_BEGIN_ALLOW_THREADS
;
190 wxValidator_SetBellOnError(_arg0
);
192 wxPy_END_ALLOW_THREADS
;
193 } Py_INCREF(Py_None
);
194 _resultobj
= Py_None
;
198 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
199 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
202 wxEvtHandler
* _arg0
;
204 PyObject
* _argo0
= 0;
205 PyObject
* _argo1
= 0;
206 char *_kwnames
[] = { "self","event", NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
226 wxPy_BEGIN_ALLOW_THREADS
;
227 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
229 wxPy_END_ALLOW_THREADS
;
230 } _resultobj
= Py_BuildValue("i",_result
);
234 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
235 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
238 wxEvtHandler
* _arg0
;
239 PyObject
* _argo0
= 0;
240 char *_kwnames
[] = { "self", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
253 wxPy_BEGIN_ALLOW_THREADS
;
254 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
256 wxPy_END_ALLOW_THREADS
;
257 } _resultobj
= Py_BuildValue("i",_result
);
261 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
262 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
264 wxEvtHandler
* _arg0
;
266 PyObject
* _argo0
= 0;
268 char *_kwnames
[] = { "self","enabled", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
280 _arg1
= (bool ) tempbool1
;
282 wxPy_BEGIN_ALLOW_THREADS
;
283 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
285 wxPy_END_ALLOW_THREADS
;
286 } Py_INCREF(Py_None
);
287 _resultobj
= Py_None
;
291 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
292 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
294 wxEvtHandler
* _result
;
295 wxEvtHandler
* _arg0
;
296 PyObject
* _argo0
= 0;
297 char *_kwnames
[] = { "self", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
311 wxPy_BEGIN_ALLOW_THREADS
;
312 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
314 wxPy_END_ALLOW_THREADS
;
316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
317 _resultobj
= Py_BuildValue("s",_ptemp
);
320 _resultobj
= Py_None
;
325 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
326 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
328 wxEvtHandler
* _result
;
329 wxEvtHandler
* _arg0
;
330 PyObject
* _argo0
= 0;
331 char *_kwnames
[] = { "self", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
348 wxPy_END_ALLOW_THREADS
;
350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
351 _resultobj
= Py_BuildValue("s",_ptemp
);
354 _resultobj
= Py_None
;
359 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
360 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxEvtHandler
* _arg0
;
363 wxEvtHandler
* _arg1
;
364 PyObject
* _argo0
= 0;
365 PyObject
* _argo1
= 0;
366 char *_kwnames
[] = { "self","handler", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
389 wxPy_END_ALLOW_THREADS
;
390 } Py_INCREF(Py_None
);
391 _resultobj
= Py_None
;
395 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
396 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
398 wxEvtHandler
* _arg0
;
399 wxEvtHandler
* _arg1
;
400 PyObject
* _argo0
= 0;
401 PyObject
* _argo1
= 0;
402 char *_kwnames
[] = { "self","handler", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
422 wxPy_BEGIN_ALLOW_THREADS
;
423 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
425 wxPy_END_ALLOW_THREADS
;
426 } Py_INCREF(Py_None
);
427 _resultobj
= Py_None
;
431 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
432 if (PyCallable_Check(func
)) {
433 self
->Connect(id
, lastId
, eventType
,
434 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
435 new wxPyCallback(func
));
438 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
440 wxEvtHandler
* _arg0
;
445 PyObject
* _argo0
= 0;
446 PyObject
* _obj4
= 0;
447 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
463 wxPy_BEGIN_ALLOW_THREADS
;
464 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
466 wxPy_END_ALLOW_THREADS
;
467 } Py_INCREF(Py_None
);
468 _resultobj
= Py_None
;
472 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
473 return self
->Disconnect(id
, lastId
, eventType
,
474 (wxObjectEventFunction
)
475 &wxPyCallback::EventThunker
);
477 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
480 wxEvtHandler
* _arg0
;
482 int _arg2
= (int ) -1;
483 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
501 wxPy_END_ALLOW_THREADS
;
502 } _resultobj
= Py_BuildValue("i",_result
);
506 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
509 src
= (wxValidator
*) ptr
;
510 dest
= (wxEvtHandler
*) src
;
511 return (void *) dest
;
514 #define new_wxValidator() (new wxValidator())
515 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
516 PyObject
* _resultobj
;
517 wxValidator
* _result
;
518 char *_kwnames
[] = { NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= (wxValidator
*)new_wxValidator();
528 wxPy_END_ALLOW_THREADS
;
530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
531 _resultobj
= Py_BuildValue("s",_ptemp
);
534 _resultobj
= Py_None
;
539 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
540 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
542 wxValidator
* _result
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
559 wxPy_BEGIN_ALLOW_THREADS
;
560 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
562 wxPy_END_ALLOW_THREADS
;
564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
565 _resultobj
= Py_BuildValue("s",_ptemp
);
568 _resultobj
= Py_None
;
573 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
574 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
578 PyObject
* _argo0
= 0;
579 char *_kwnames
[] = { "self", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
593 wxPy_BEGIN_ALLOW_THREADS
;
594 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
596 wxPy_END_ALLOW_THREADS
;
598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
599 _resultobj
= Py_BuildValue("s",_ptemp
);
602 _resultobj
= Py_None
;
607 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
608 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _argo1
= 0;
614 char *_kwnames
[] = { "self","window", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
634 wxPy_BEGIN_ALLOW_THREADS
;
635 wxValidator_SetWindow(_arg0
,_arg1
);
637 wxPy_END_ALLOW_THREADS
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
646 src
= (wxPyValidator
*) ptr
;
647 dest
= (wxValidator
*) src
;
648 return (void *) dest
;
651 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
654 src
= (wxPyValidator
*) ptr
;
655 dest
= (wxEvtHandler
*) src
;
656 return (void *) dest
;
659 #define new_wxPyValidator() (new wxPyValidator())
660 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
662 wxPyValidator
* _result
;
663 char *_kwnames
[] = { NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
670 wxPy_BEGIN_ALLOW_THREADS
;
671 _result
= (wxPyValidator
*)new_wxPyValidator();
673 wxPy_END_ALLOW_THREADS
;
675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
676 _resultobj
= Py_BuildValue("s",_ptemp
);
679 _resultobj
= Py_None
;
684 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
685 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
687 wxPyValidator
* _arg0
;
688 PyObject
* _argo0
= 0;
689 char *_kwnames
[] = { "self", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxPyValidator_Destroy(_arg0
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
712 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 wxPyValidator
* _arg0
;
716 int _arg2
= (int ) TRUE
;
717 PyObject
* _argo0
= 0;
718 PyObject
* _obj1
= 0;
719 char *_kwnames
[] = { "self","self","incref", NULL
};
722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
735 wxPy_BEGIN_ALLOW_THREADS
;
736 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
738 wxPy_END_ALLOW_THREADS
;
739 } Py_INCREF(Py_None
);
740 _resultobj
= Py_None
;
744 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
747 src
= (wxWindow
*) ptr
;
748 dest
= (wxEvtHandler
*) src
;
749 return (void *) dest
;
752 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
753 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
758 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
759 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
760 long _arg4
= (long ) 0;
761 char * _arg5
= (char *) "panel";
762 PyObject
* _argo0
= 0;
764 PyObject
* _obj2
= 0;
766 PyObject
* _obj3
= 0;
767 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
783 if (! wxPoint_helper(_obj2
, &_arg2
))
789 if (! wxSize_helper(_obj3
, &_arg3
))
793 wxPy_BEGIN_ALLOW_THREADS
;
794 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
796 wxPy_END_ALLOW_THREADS
;
798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
799 _resultobj
= Py_BuildValue("s",_ptemp
);
802 _resultobj
= Py_None
;
807 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
808 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 wxWindow_CaptureMouse(_arg0
);
828 wxPy_END_ALLOW_THREADS
;
829 } Py_INCREF(Py_None
);
830 _resultobj
= Py_None
;
834 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
835 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
838 int _arg1
= (int ) wxBOTH
;
839 PyObject
* _argo0
= 0;
840 char *_kwnames
[] = { "self","direction", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
853 wxPy_BEGIN_ALLOW_THREADS
;
854 wxWindow_Center(_arg0
,_arg1
);
856 wxPy_END_ALLOW_THREADS
;
857 } Py_INCREF(Py_None
);
858 _resultobj
= Py_None
;
862 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
863 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
866 int _arg1
= (int ) wxBOTH
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self","direction", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
881 wxPy_BEGIN_ALLOW_THREADS
;
882 wxWindow_Centre(_arg0
,_arg1
);
884 wxPy_END_ALLOW_THREADS
;
885 } Py_INCREF(Py_None
);
886 _resultobj
= Py_None
;
890 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
891 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
894 int _arg1
= (int ) wxBOTH
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self","direction", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
909 wxPy_BEGIN_ALLOW_THREADS
;
910 wxWindow_CentreOnParent(_arg0
,_arg1
);
912 wxPy_END_ALLOW_THREADS
;
913 } Py_INCREF(Py_None
);
914 _resultobj
= Py_None
;
918 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
919 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
922 int _arg1
= (int ) wxBOTH
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self","direction", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
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_CenterOnParent. Expected _wxWindow_p.");
937 wxPy_BEGIN_ALLOW_THREADS
;
938 wxWindow_CenterOnParent(_arg0
,_arg1
);
940 wxPy_END_ALLOW_THREADS
;
941 } Py_INCREF(Py_None
);
942 _resultobj
= Py_None
;
946 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
947 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
952 PyObject
* _argo0
= 0;
954 PyObject
* _obj1
= 0;
956 PyObject
* _obj2
= 0;
957 char *_kwnames
[] = { "self","x","y", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
970 temp
= (int) PyInt_AsLong(_obj1
);
974 temp0
= (int) PyInt_AsLong(_obj2
);
978 wxPy_BEGIN_ALLOW_THREADS
;
979 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
981 wxPy_END_ALLOW_THREADS
;
982 } Py_INCREF(Py_None
);
983 _resultobj
= Py_None
;
986 o
= PyInt_FromLong((long) (*_arg1
));
987 _resultobj
= t_output_helper(_resultobj
, o
);
991 o
= PyInt_FromLong((long) (*_arg2
));
992 _resultobj
= t_output_helper(_resultobj
, o
);
997 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
998 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1003 PyObject
* _argo0
= 0;
1005 PyObject
* _obj1
= 0;
1006 char *_kwnames
[] = { "self","pt", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1021 if (! wxPoint_helper(_obj1
, &_arg1
))
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1028 wxPy_END_ALLOW_THREADS
;
1029 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1030 _resultobj
= Py_BuildValue("s",_ptemp
);
1034 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1035 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1039 int _arg1
= (int ) FALSE
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self","force", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1057 wxPy_END_ALLOW_THREADS
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1062 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1063 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 _result
= (bool )wxWindow_Destroy(_arg0
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } _resultobj
= Py_BuildValue("i",_result
);
1089 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1090 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1093 PyObject
* _argo0
= 0;
1094 char *_kwnames
[] = { "self", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 wxWindow_DestroyChildren(_arg0
);
1110 wxPy_END_ALLOW_THREADS
;
1111 } Py_INCREF(Py_None
);
1112 _resultobj
= Py_None
;
1116 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1117 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1121 PyObject
* _argo0
= 0;
1123 char *_kwnames
[] = { "self","enable", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1135 _arg1
= (bool ) tempbool1
;
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 wxWindow_Enable(_arg0
,_arg1
);
1140 wxPy_END_ALLOW_THREADS
;
1141 } Py_INCREF(Py_None
);
1142 _resultobj
= Py_None
;
1146 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1147 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
* _resultobj
;
1152 PyObject
* _argo0
= 0;
1153 char *_kwnames
[] = { "self","id", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1170 wxPy_END_ALLOW_THREADS
;
1172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1173 _resultobj
= Py_BuildValue("s",_ptemp
);
1176 _resultobj
= Py_None
;
1181 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1182 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1187 PyObject
* _argo0
= 0;
1188 PyObject
* _obj1
= 0;
1189 char *_kwnames
[] = { "self","name", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1203 if (!PyString_Check(_obj1
)) {
1204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1207 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1213 wxPy_END_ALLOW_THREADS
;
1215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1216 _resultobj
= Py_BuildValue("s",_ptemp
);
1219 _resultobj
= Py_None
;
1228 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1229 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1232 PyObject
* _argo0
= 0;
1233 char *_kwnames
[] = { "self", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1246 wxPy_BEGIN_ALLOW_THREADS
;
1247 wxWindow_Fit(_arg0
);
1249 wxPy_END_ALLOW_THREADS
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1256 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1260 PyObject
* _argo0
= 0;
1261 char *_kwnames
[] = { "self", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1278 wxPy_END_ALLOW_THREADS
;
1279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1280 _resultobj
= Py_BuildValue("s",_ptemp
);
1284 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1285 wxWindowList
& list
= self
->GetChildren();
1286 return wxPy_ConvertList(&list
, "wxWindow");
1288 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1292 PyObject
* _argo0
= 0;
1293 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1309 wxPy_END_ALLOW_THREADS
;
1311 _resultobj
= _result
;
1316 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1317 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1338 wxPy_END_ALLOW_THREADS
;
1339 } _resultobj
= Py_BuildValue("i",_result
);
1343 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1344 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1348 PyObject
* _argo0
= 0;
1349 char *_kwnames
[] = { "self", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1362 wxPy_BEGIN_ALLOW_THREADS
;
1363 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1365 wxPy_END_ALLOW_THREADS
;
1366 } _resultobj
= Py_BuildValue("i",_result
);
1370 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1371 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1398 wxPy_BEGIN_ALLOW_THREADS
;
1399 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1401 wxPy_END_ALLOW_THREADS
;
1402 } Py_INCREF(Py_None
);
1403 _resultobj
= Py_None
;
1406 o
= PyInt_FromLong((long) (*_arg1
));
1407 _resultobj
= t_output_helper(_resultobj
, o
);
1411 o
= PyInt_FromLong((long) (*_arg2
));
1412 _resultobj
= t_output_helper(_resultobj
, o
);
1417 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1418 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1440 wxPy_END_ALLOW_THREADS
;
1441 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1442 _resultobj
= Py_BuildValue("s",_ptemp
);
1446 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1447 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1449 wxLayoutConstraints
* _result
;
1451 PyObject
* _argo0
= 0;
1452 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1472 _resultobj
= Py_BuildValue("s",_ptemp
);
1475 _resultobj
= Py_None
;
1480 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1481 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1483 wxEvtHandler
* _result
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1503 wxPy_END_ALLOW_THREADS
;
1505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1506 _resultobj
= Py_BuildValue("s",_ptemp
);
1509 _resultobj
= Py_None
;
1514 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1515 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1536 _result
= (wxFont
*) &_result_ref
;
1538 wxPy_END_ALLOW_THREADS
;
1540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1541 _resultobj
= Py_BuildValue("s",_ptemp
);
1544 _resultobj
= Py_None
;
1549 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1550 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1554 PyObject
* _argo0
= 0;
1555 char *_kwnames
[] = { "self", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1569 wxPy_BEGIN_ALLOW_THREADS
;
1570 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1572 wxPy_END_ALLOW_THREADS
;
1573 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1574 _resultobj
= Py_BuildValue("s",_ptemp
);
1578 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1579 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_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_GetGrandParent. Expected _wxWindow_p.");
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1601 wxPy_END_ALLOW_THREADS
;
1603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1604 _resultobj
= Py_BuildValue("s",_ptemp
);
1607 _resultobj
= Py_None
;
1612 static long wxWindow_GetHandle(wxWindow
*self
) {
1613 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1615 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 PyObject
* _argo0
= 0;
1620 char *_kwnames
[] = { "self", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (long )wxWindow_GetHandle(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } _resultobj
= Py_BuildValue("l",_result
);
1641 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1642 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1646 PyObject
* _argo0
= 0;
1647 char *_kwnames
[] = { "self", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (int )wxWindow_GetId(_arg0
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } _resultobj
= Py_BuildValue("i",_result
);
1668 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1669 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1673 PyObject
* _argo0
= 0;
1674 char *_kwnames
[] = { "self", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1690 wxPy_END_ALLOW_THREADS
;
1692 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1700 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1701 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1706 PyObject
* _obj1
= 0;
1707 char *_kwnames
[] = { "self","label", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1720 if (!PyString_Check(_obj1
)) {
1721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1724 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 wxWindow_SetLabel(_arg0
,*_arg1
);
1730 wxPy_END_ALLOW_THREADS
;
1731 } Py_INCREF(Py_None
);
1732 _resultobj
= Py_None
;
1740 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1741 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "self", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= new wxString (wxWindow_GetName(_arg0
));
1762 wxPy_END_ALLOW_THREADS
;
1764 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1772 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1773 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1777 PyObject
* _argo0
= 0;
1778 char *_kwnames
[] = { "self", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1792 wxPy_BEGIN_ALLOW_THREADS
;
1793 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1795 wxPy_END_ALLOW_THREADS
;
1797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1798 _resultobj
= Py_BuildValue("s",_ptemp
);
1801 _resultobj
= Py_None
;
1806 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1807 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1814 PyObject
* _argo0
= 0;
1815 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1837 wxPy_END_ALLOW_THREADS
;
1838 } Py_INCREF(Py_None
);
1839 _resultobj
= Py_None
;
1842 o
= PyInt_FromLong((long) (*_arg1
));
1843 _resultobj
= t_output_helper(_resultobj
, o
);
1847 o
= PyInt_FromLong((long) (*_arg2
));
1848 _resultobj
= t_output_helper(_resultobj
, o
);
1853 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1854 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1858 PyObject
* _argo0
= 0;
1859 char *_kwnames
[] = { "self", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1876 wxPy_END_ALLOW_THREADS
;
1877 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1878 _resultobj
= Py_BuildValue("s",_ptemp
);
1882 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1883 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1905 wxPy_END_ALLOW_THREADS
;
1906 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1907 _resultobj
= Py_BuildValue("s",_ptemp
);
1911 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1912 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self","orientation", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } _resultobj
= Py_BuildValue("i",_result
);
1939 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1940 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self","orientation", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1962 wxPy_END_ALLOW_THREADS
;
1963 } _resultobj
= Py_BuildValue("i",_result
);
1967 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1968 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self","orientation", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } _resultobj
= Py_BuildValue("i",_result
);
1995 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1996 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2003 PyObject
* _argo0
= 0;
2004 char *_kwnames
[] = { "self", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2023 wxPy_BEGIN_ALLOW_THREADS
;
2024 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2026 wxPy_END_ALLOW_THREADS
;
2027 } Py_INCREF(Py_None
);
2028 _resultobj
= Py_None
;
2031 o
= PyInt_FromLong((long) (*_arg1
));
2032 _resultobj
= t_output_helper(_resultobj
, o
);
2036 o
= PyInt_FromLong((long) (*_arg2
));
2037 _resultobj
= t_output_helper(_resultobj
, o
);
2042 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2043 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2062 wxPy_BEGIN_ALLOW_THREADS
;
2063 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2065 wxPy_END_ALLOW_THREADS
;
2066 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2067 _resultobj
= Py_BuildValue("s",_ptemp
);
2071 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2072 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2080 PyObject
* _argo0
= 0;
2081 PyObject
* _obj1
= 0;
2082 char *_kwnames
[] = { "self","string", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2101 if (!PyString_Check(_obj1
)) {
2102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2105 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2108 wxPy_BEGIN_ALLOW_THREADS
;
2109 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2111 wxPy_END_ALLOW_THREADS
;
2112 } Py_INCREF(Py_None
);
2113 _resultobj
= Py_None
;
2116 o
= PyInt_FromLong((long) (*_arg2
));
2117 _resultobj
= t_output_helper(_resultobj
, o
);
2121 o
= PyInt_FromLong((long) (*_arg3
));
2122 _resultobj
= t_output_helper(_resultobj
, o
);
2131 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2132 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2144 wxFont
* _arg6
= (wxFont
*) NULL
;
2145 PyObject
* _argo0
= 0;
2146 PyObject
* _obj1
= 0;
2147 PyObject
* _argo6
= 0;
2148 char *_kwnames
[] = { "self","string","font", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2173 if (!PyString_Check(_obj1
)) {
2174 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2177 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2180 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2190 wxPy_END_ALLOW_THREADS
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2195 o
= PyInt_FromLong((long) (*_arg2
));
2196 _resultobj
= t_output_helper(_resultobj
, o
);
2200 o
= PyInt_FromLong((long) (*_arg3
));
2201 _resultobj
= t_output_helper(_resultobj
, o
);
2205 o
= PyInt_FromLong((long) (*_arg4
));
2206 _resultobj
= t_output_helper(_resultobj
, o
);
2210 o
= PyInt_FromLong((long) (*_arg5
));
2211 _resultobj
= t_output_helper(_resultobj
, o
);
2220 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2221 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2242 wxPy_END_ALLOW_THREADS
;
2244 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2252 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2253 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2257 PyObject
* _argo0
= 0;
2258 char *_kwnames
[] = { "self", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2275 wxPy_END_ALLOW_THREADS
;
2276 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2277 _resultobj
= Py_BuildValue("s",_ptemp
);
2281 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2282 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2286 PyObject
* _argo0
= 0;
2287 char *_kwnames
[] = { "self", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2300 wxPy_BEGIN_ALLOW_THREADS
;
2301 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2303 wxPy_END_ALLOW_THREADS
;
2304 } _resultobj
= Py_BuildValue("l",_result
);
2308 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2309 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2313 PyObject
* _argo0
= 0;
2314 char *_kwnames
[] = { "self", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2327 wxPy_BEGIN_ALLOW_THREADS
;
2328 _result
= (bool )wxWindow_Hide(_arg0
);
2330 wxPy_END_ALLOW_THREADS
;
2331 } _resultobj
= Py_BuildValue("i",_result
);
2335 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2336 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxWindow_InitDialog(_arg0
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2363 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } _resultobj
= Py_BuildValue("i",_result
);
2389 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2390 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2396 int _arg3
= (int ) 0;
2397 int _arg4
= (int ) 0;
2398 PyObject
* _argo0
= 0;
2399 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2412 wxPy_BEGIN_ALLOW_THREADS
;
2413 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2415 wxPy_END_ALLOW_THREADS
;
2416 } _resultobj
= Py_BuildValue("i",_result
);
2420 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2421 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
* _resultobj
;
2426 PyObject
* _argo0
= 0;
2428 PyObject
* _obj1
= 0;
2429 char *_kwnames
[] = { "self","pt", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2443 if (! wxPoint_helper(_obj1
, &_arg1
))
2447 wxPy_BEGIN_ALLOW_THREADS
;
2448 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2450 wxPy_END_ALLOW_THREADS
;
2451 } _resultobj
= Py_BuildValue("i",_result
);
2455 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2456 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2461 PyObject
* _argo0
= 0;
2463 PyObject
* _obj1
= 0;
2464 char *_kwnames
[] = { "self","rect", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2478 if (! wxRect_helper(_obj1
, &_arg1
))
2482 wxPy_BEGIN_ALLOW_THREADS
;
2483 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2485 wxPy_END_ALLOW_THREADS
;
2486 } _resultobj
= Py_BuildValue("i",_result
);
2490 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2491 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
* _resultobj
;
2495 PyObject
* _argo0
= 0;
2496 char *_kwnames
[] = { "self", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2509 wxPy_BEGIN_ALLOW_THREADS
;
2510 _result
= (bool )wxWindow_IsRetained(_arg0
);
2512 wxPy_END_ALLOW_THREADS
;
2513 } _resultobj
= Py_BuildValue("i",_result
);
2517 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2518 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2522 PyObject
* _argo0
= 0;
2523 char *_kwnames
[] = { "self", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 _result
= (bool )wxWindow_IsShown(_arg0
);
2539 wxPy_END_ALLOW_THREADS
;
2540 } _resultobj
= Py_BuildValue("i",_result
);
2544 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2545 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2566 wxPy_END_ALLOW_THREADS
;
2567 } _resultobj
= Py_BuildValue("i",_result
);
2571 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2572 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2575 PyObject
* _argo0
= 0;
2576 char *_kwnames
[] = { "self", NULL
};
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2589 wxPy_BEGIN_ALLOW_THREADS
;
2590 wxWindow_Layout(_arg0
);
2592 wxPy_END_ALLOW_THREADS
;
2593 } Py_INCREF(Py_None
);
2594 _resultobj
= Py_None
;
2598 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2599 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2605 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2606 PyObject
* _argo0
= 0;
2607 PyObject
* _argo1
= 0;
2608 PyObject
* _obj2
= 0;
2609 PyObject
* _argo3
= 0;
2610 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2630 if (!PyString_Check(_obj2
)) {
2631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2634 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2637 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2644 wxPy_BEGIN_ALLOW_THREADS
;
2645 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2647 wxPy_END_ALLOW_THREADS
;
2648 } _resultobj
= Py_BuildValue("i",_result
);
2656 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2657 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2660 PyObject
* _argo0
= 0;
2661 char *_kwnames
[] = { "self", NULL
};
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2674 wxPy_BEGIN_ALLOW_THREADS
;
2675 wxWindow_Lower(_arg0
);
2677 wxPy_END_ALLOW_THREADS
;
2678 } Py_INCREF(Py_None
);
2679 _resultobj
= Py_None
;
2683 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2684 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2688 PyObject
* _argo0
= 0;
2690 char *_kwnames
[] = { "self","flag", NULL
};
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2702 _arg1
= (bool ) tempbool1
;
2704 wxPy_BEGIN_ALLOW_THREADS
;
2705 wxWindow_MakeModal(_arg0
,_arg1
);
2707 wxPy_END_ALLOW_THREADS
;
2708 } Py_INCREF(Py_None
);
2709 _resultobj
= Py_None
;
2713 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2714 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2719 PyObject
* _argo0
= 0;
2720 char *_kwnames
[] = { "self","x","y", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2736 wxPy_END_ALLOW_THREADS
;
2737 } Py_INCREF(Py_None
);
2738 _resultobj
= Py_None
;
2742 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2743 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2747 PyObject
* _argo0
= 0;
2749 PyObject
* _obj1
= 0;
2750 char *_kwnames
[] = { "self","point", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2764 if (! wxPoint_helper(_obj1
, &_arg1
))
2768 wxPy_BEGIN_ALLOW_THREADS
;
2769 wxWindow_Move(_arg0
,*_arg1
);
2771 wxPy_END_ALLOW_THREADS
;
2772 } Py_INCREF(Py_None
);
2773 _resultobj
= Py_None
;
2777 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2778 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2780 wxEvtHandler
* _result
;
2782 bool _arg1
= (bool ) FALSE
;
2783 PyObject
* _argo0
= 0;
2784 int tempbool1
= (int) FALSE
;
2785 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2798 _arg1
= (bool ) tempbool1
;
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2803 wxPy_END_ALLOW_THREADS
;
2805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2806 _resultobj
= Py_BuildValue("s",_ptemp
);
2809 _resultobj
= Py_None
;
2814 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2815 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2818 wxEvtHandler
* _arg1
;
2819 PyObject
* _argo0
= 0;
2820 PyObject
* _argo1
= 0;
2821 char *_kwnames
[] = { "self","handler", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2841 wxPy_BEGIN_ALLOW_THREADS
;
2842 wxWindow_PushEventHandler(_arg0
,_arg1
);
2844 wxPy_END_ALLOW_THREADS
;
2845 } Py_INCREF(Py_None
);
2846 _resultobj
= Py_None
;
2850 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2851 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2858 PyObject
* _argo0
= 0;
2859 PyObject
* _argo1
= 0;
2860 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2880 wxPy_BEGIN_ALLOW_THREADS
;
2881 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2883 wxPy_END_ALLOW_THREADS
;
2884 } _resultobj
= Py_BuildValue("i",_result
);
2888 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2889 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2895 PyObject
* _argo0
= 0;
2896 PyObject
* _argo1
= 0;
2898 PyObject
* _obj2
= 0;
2899 char *_kwnames
[] = { "self","menu","pos", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2920 if (! wxPoint_helper(_obj2
, &_arg2
))
2924 wxPy_BEGIN_ALLOW_THREADS
;
2925 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2927 wxPy_END_ALLOW_THREADS
;
2928 } _resultobj
= Py_BuildValue("i",_result
);
2932 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2933 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2950 wxPy_BEGIN_ALLOW_THREADS
;
2951 wxWindow_Raise(_arg0
);
2953 wxPy_END_ALLOW_THREADS
;
2954 } Py_INCREF(Py_None
);
2955 _resultobj
= Py_None
;
2959 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2960 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
* _resultobj
;
2963 bool _arg1
= (bool ) TRUE
;
2964 wxRect
* _arg2
= (wxRect
*) NULL
;
2965 PyObject
* _argo0
= 0;
2966 int tempbool1
= (int) TRUE
;
2968 PyObject
* _obj2
= 0;
2969 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2981 _arg1
= (bool ) tempbool1
;
2985 if (! wxRect_helper(_obj2
, &_arg2
))
2989 wxPy_BEGIN_ALLOW_THREADS
;
2990 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2992 wxPy_END_ALLOW_THREADS
;
2993 } Py_INCREF(Py_None
);
2994 _resultobj
= Py_None
;
2998 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2999 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3002 PyObject
* _argo0
= 0;
3003 char *_kwnames
[] = { "self", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3016 wxPy_BEGIN_ALLOW_THREADS
;
3017 wxWindow_ReleaseMouse(_arg0
);
3019 wxPy_END_ALLOW_THREADS
;
3020 } Py_INCREF(Py_None
);
3021 _resultobj
= Py_None
;
3025 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3026 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3031 PyObject
* _argo0
= 0;
3032 PyObject
* _argo1
= 0;
3033 char *_kwnames
[] = { "self","newParent", NULL
};
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3056 wxPy_END_ALLOW_THREADS
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3062 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3067 PyObject
* _argo0
= 0;
3069 PyObject
* _obj1
= 0;
3071 PyObject
* _obj2
= 0;
3072 char *_kwnames
[] = { "self","x","y", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3085 temp
= (int) PyInt_AsLong(_obj1
);
3089 temp0
= (int) PyInt_AsLong(_obj2
);
3093 wxPy_BEGIN_ALLOW_THREADS
;
3094 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3096 wxPy_END_ALLOW_THREADS
;
3097 } Py_INCREF(Py_None
);
3098 _resultobj
= Py_None
;
3101 o
= PyInt_FromLong((long) (*_arg1
));
3102 _resultobj
= t_output_helper(_resultobj
, o
);
3106 o
= PyInt_FromLong((long) (*_arg2
));
3107 _resultobj
= t_output_helper(_resultobj
, o
);
3112 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3113 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3120 PyObject
* _obj1
= 0;
3121 char *_kwnames
[] = { "self","pt", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3136 if (! wxPoint_helper(_obj1
, &_arg1
))
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3143 wxPy_END_ALLOW_THREADS
;
3144 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3145 _resultobj
= Py_BuildValue("s",_ptemp
);
3149 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3150 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3155 wxRect
* _arg3
= (wxRect
*) NULL
;
3156 PyObject
* _argo0
= 0;
3158 PyObject
* _obj3
= 0;
3159 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3174 if (! wxRect_helper(_obj3
, &_arg3
))
3178 wxPy_BEGIN_ALLOW_THREADS
;
3179 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3181 wxPy_END_ALLOW_THREADS
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3188 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3191 wxAcceleratorTable
* _arg1
;
3192 PyObject
* _argo0
= 0;
3193 PyObject
* _argo1
= 0;
3194 char *_kwnames
[] = { "self","accel", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3207 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3217 wxPy_END_ALLOW_THREADS
;
3218 } Py_INCREF(Py_None
);
3219 _resultobj
= Py_None
;
3223 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3224 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3228 PyObject
* _argo0
= 0;
3230 char *_kwnames
[] = { "self","autoLayout", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
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_SetAutoLayout. Expected _wxWindow_p.");
3242 _arg1
= (bool ) tempbool1
;
3244 wxPy_BEGIN_ALLOW_THREADS
;
3245 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3247 wxPy_END_ALLOW_THREADS
;
3248 } Py_INCREF(Py_None
);
3249 _resultobj
= Py_None
;
3253 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3254 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
* _resultobj
;
3258 PyObject
* _argo0
= 0;
3259 char *_kwnames
[] = { "self", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3272 wxPy_BEGIN_ALLOW_THREADS
;
3273 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3275 wxPy_END_ALLOW_THREADS
;
3276 } _resultobj
= Py_BuildValue("i",_result
);
3280 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3281 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3285 PyObject
* _argo0
= 0;
3286 PyObject
* _argo1
= 0;
3287 char *_kwnames
[] = { "self","colour", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3307 wxPy_BEGIN_ALLOW_THREADS
;
3308 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3310 wxPy_END_ALLOW_THREADS
;
3311 } Py_INCREF(Py_None
);
3312 _resultobj
= Py_None
;
3316 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3317 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3320 wxLayoutConstraints
* _arg1
;
3321 PyObject
* _argo0
= 0;
3322 PyObject
* _argo1
= 0;
3323 char *_kwnames
[] = { "self","constraints", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3336 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 wxWindow_SetConstraints(_arg0
,_arg1
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } Py_INCREF(Py_None
);
3348 _resultobj
= Py_None
;
3352 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3353 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3356 wxLayoutConstraints
* _arg1
;
3357 PyObject
* _argo0
= 0;
3358 PyObject
* _argo1
= 0;
3359 char *_kwnames
[] = { "self","constraints", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3379 wxPy_BEGIN_ALLOW_THREADS
;
3380 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3382 wxPy_END_ALLOW_THREADS
;
3383 } Py_INCREF(Py_None
);
3384 _resultobj
= Py_None
;
3388 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3389 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3392 PyObject
* _argo0
= 0;
3393 char *_kwnames
[] = { "self", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 wxWindow_SetFocus(_arg0
);
3409 wxPy_END_ALLOW_THREADS
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3416 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3434 wxPy_BEGIN_ALLOW_THREADS
;
3435 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3437 wxPy_END_ALLOW_THREADS
;
3438 } _resultobj
= Py_BuildValue("i",_result
);
3442 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3443 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3447 PyObject
* _argo0
= 0;
3448 PyObject
* _argo1
= 0;
3449 char *_kwnames
[] = { "self","font", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxWindow_SetFont(_arg0
,*_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3479 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3483 PyObject
* _argo0
= 0;
3484 PyObject
* _argo1
= 0;
3485 char *_kwnames
[] = { "self","colour", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } Py_INCREF(Py_None
);
3510 _resultobj
= Py_None
;
3514 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3515 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self","id", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 wxWindow_SetId(_arg0
,_arg1
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } Py_INCREF(Py_None
);
3538 _resultobj
= Py_None
;
3542 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3543 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3547 PyObject
* _argo0
= 0;
3548 PyObject
* _obj1
= 0;
3549 char *_kwnames
[] = { "self","name", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3562 if (!PyString_Check(_obj1
)) {
3563 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3566 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3569 wxPy_BEGIN_ALLOW_THREADS
;
3570 wxWindow_SetName(_arg0
,*_arg1
);
3572 wxPy_END_ALLOW_THREADS
;
3573 } Py_INCREF(Py_None
);
3574 _resultobj
= Py_None
;
3582 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3583 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3590 int _arg5
= (int ) TRUE
;
3591 PyObject
* _argo0
= 0;
3592 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3608 wxPy_END_ALLOW_THREADS
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3615 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3620 bool _arg3
= (bool ) TRUE
;
3621 PyObject
* _argo0
= 0;
3622 int tempbool3
= (int) TRUE
;
3623 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3635 _arg3
= (bool ) tempbool3
;
3637 wxPy_BEGIN_ALLOW_THREADS
;
3638 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3640 wxPy_END_ALLOW_THREADS
;
3641 } Py_INCREF(Py_None
);
3642 _resultobj
= Py_None
;
3646 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3647 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3654 int _arg5
= (int ) wxSIZE_AUTO
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3669 wxPy_BEGIN_ALLOW_THREADS
;
3670 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3672 wxPy_END_ALLOW_THREADS
;
3673 } Py_INCREF(Py_None
);
3674 _resultobj
= Py_None
;
3678 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3679 self
->SetSize(size
.x
, size
.y
);
3681 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
* _resultobj
;
3685 PyObject
* _argo0
= 0;
3687 PyObject
* _obj1
= 0;
3688 char *_kwnames
[] = { "self","size", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3702 if (! wxSize_helper(_obj1
, &_arg1
))
3706 wxPy_BEGIN_ALLOW_THREADS
;
3707 wxWindow_SetSize(_arg0
,*_arg1
);
3709 wxPy_END_ALLOW_THREADS
;
3710 } Py_INCREF(Py_None
);
3711 _resultobj
= Py_None
;
3715 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3716 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3718 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3722 PyObject
* _argo0
= 0;
3724 PyObject
* _obj1
= 0;
3725 char *_kwnames
[] = { "self","pos", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3739 if (! wxPoint_helper(_obj1
, &_arg1
))
3743 wxPy_BEGIN_ALLOW_THREADS
;
3744 wxWindow_SetPosition(_arg0
,*_arg1
);
3746 wxPy_END_ALLOW_THREADS
;
3747 } Py_INCREF(Py_None
);
3748 _resultobj
= Py_None
;
3752 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3753 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3756 int _arg1
= (int ) -1;
3757 int _arg2
= (int ) -1;
3758 int _arg3
= (int ) -1;
3759 int _arg4
= (int ) -1;
3760 int _arg5
= (int ) -1;
3761 int _arg6
= (int ) -1;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3777 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3779 wxPy_END_ALLOW_THREADS
;
3780 } Py_INCREF(Py_None
);
3781 _resultobj
= Py_None
;
3785 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3786 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self","width","height", NULL
};
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3805 wxPy_BEGIN_ALLOW_THREADS
;
3806 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3808 wxPy_END_ALLOW_THREADS
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3815 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3819 PyObject
* _argo0
= 0;
3821 PyObject
* _obj1
= 0;
3822 char *_kwnames
[] = { "self","size", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3836 if (! wxSize_helper(_obj1
, &_arg1
))
3840 wxPy_BEGIN_ALLOW_THREADS
;
3841 wxWindow_SetClientSize(_arg0
,*_arg1
);
3843 wxPy_END_ALLOW_THREADS
;
3844 } Py_INCREF(Py_None
);
3845 _resultobj
= Py_None
;
3849 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3850 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3854 PyObject
* _argo0
= 0;
3855 PyObject
* _argo1
= 0;
3856 char *_kwnames
[] = { "self","cursor", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 wxWindow_SetCursor(_arg0
,*_arg1
);
3879 wxPy_END_ALLOW_THREADS
;
3880 } Py_INCREF(Py_None
);
3881 _resultobj
= Py_None
;
3885 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3886 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3889 wxEvtHandler
* _arg1
;
3890 PyObject
* _argo0
= 0;
3891 PyObject
* _argo1
= 0;
3892 char *_kwnames
[] = { "self","handler", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 wxWindow_SetEventHandler(_arg0
,_arg1
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } Py_INCREF(Py_None
);
3917 _resultobj
= Py_None
;
3921 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3922 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3926 PyObject
* _argo0
= 0;
3927 PyObject
* _obj1
= 0;
3928 char *_kwnames
[] = { "self","title", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3941 if (!PyString_Check(_obj1
)) {
3942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3945 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3948 wxPy_BEGIN_ALLOW_THREADS
;
3949 wxWindow_SetTitle(_arg0
,*_arg1
);
3951 wxPy_END_ALLOW_THREADS
;
3952 } Py_INCREF(Py_None
);
3953 _resultobj
= Py_None
;
3961 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3962 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3967 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self","show", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3981 _arg1
= (bool ) tempbool1
;
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3986 wxPy_END_ALLOW_THREADS
;
3987 } _resultobj
= Py_BuildValue("i",_result
);
3991 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3992 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3996 PyObject
* _argo0
= 0;
3997 char *_kwnames
[] = { "self", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4010 wxPy_BEGIN_ALLOW_THREADS
;
4011 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4013 wxPy_END_ALLOW_THREADS
;
4014 } _resultobj
= Py_BuildValue("i",_result
);
4018 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4019 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
* _resultobj
;
4023 PyObject
* _argo0
= 0;
4024 char *_kwnames
[] = { "self", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
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_TransferDataToWindow. Expected _wxWindow_p.");
4037 wxPy_BEGIN_ALLOW_THREADS
;
4038 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4040 wxPy_END_ALLOW_THREADS
;
4041 } _resultobj
= Py_BuildValue("i",_result
);
4045 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4046 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4050 PyObject
* _argo0
= 0;
4051 char *_kwnames
[] = { "self", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4064 wxPy_BEGIN_ALLOW_THREADS
;
4065 _result
= (bool )wxWindow_Validate(_arg0
);
4067 wxPy_END_ALLOW_THREADS
;
4068 } _resultobj
= Py_BuildValue("i",_result
);
4072 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4073 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4078 PyObject
* _argo0
= 0;
4079 char *_kwnames
[] = { "self","x","y", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4092 wxPy_BEGIN_ALLOW_THREADS
;
4093 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4095 wxPy_END_ALLOW_THREADS
;
4096 } Py_INCREF(Py_None
);
4097 _resultobj
= Py_None
;
4101 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4102 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4107 PyObject
* _argo0
= 0;
4109 PyObject
* _obj1
= 0;
4110 char *_kwnames
[] = { "self","pt", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4125 if (! wxPoint_helper(_obj1
, &_arg1
))
4129 wxPy_BEGIN_ALLOW_THREADS
;
4130 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4132 wxPy_END_ALLOW_THREADS
;
4133 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4134 _resultobj
= Py_BuildValue("s",_ptemp
);
4138 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4139 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4144 PyObject
* _argo0
= 0;
4146 PyObject
* _obj1
= 0;
4147 char *_kwnames
[] = { "self","sz", NULL
};
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4162 if (! wxSize_helper(_obj1
, &_arg1
))
4166 wxPy_BEGIN_ALLOW_THREADS
;
4167 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4169 wxPy_END_ALLOW_THREADS
;
4170 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4171 _resultobj
= Py_BuildValue("s",_ptemp
);
4175 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4176 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
* _resultobj
;
4181 PyObject
* _argo0
= 0;
4183 PyObject
* _obj1
= 0;
4184 char *_kwnames
[] = { "self","pt", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4199 if (! wxPoint_helper(_obj1
, &_arg1
))
4203 wxPy_BEGIN_ALLOW_THREADS
;
4204 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4206 wxPy_END_ALLOW_THREADS
;
4207 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4208 _resultobj
= Py_BuildValue("s",_ptemp
);
4212 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4213 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4218 PyObject
* _argo0
= 0;
4220 PyObject
* _obj1
= 0;
4221 char *_kwnames
[] = { "self","sz", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4236 if (! wxSize_helper(_obj1
, &_arg1
))
4240 wxPy_BEGIN_ALLOW_THREADS
;
4241 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4243 wxPy_END_ALLOW_THREADS
;
4244 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4245 _resultobj
= Py_BuildValue("s",_ptemp
);
4249 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4250 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
* _resultobj
;
4254 PyObject
* _argo0
= 0;
4255 PyObject
* _obj1
= 0;
4256 char *_kwnames
[] = { "self","tip", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4269 if (!PyString_Check(_obj1
)) {
4270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4273 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4279 wxPy_END_ALLOW_THREADS
;
4280 } Py_INCREF(Py_None
);
4281 _resultobj
= Py_None
;
4289 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4290 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4294 PyObject
* _argo0
= 0;
4295 PyObject
* _argo1
= 0;
4296 char *_kwnames
[] = { "self","tooltip", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4316 wxPy_BEGIN_ALLOW_THREADS
;
4317 wxWindow_SetToolTip(_arg0
,_arg1
);
4319 wxPy_END_ALLOW_THREADS
;
4320 } Py_INCREF(Py_None
);
4321 _resultobj
= Py_None
;
4325 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4326 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4328 wxToolTip
* _result
;
4330 PyObject
* _argo0
= 0;
4331 char *_kwnames
[] = { "self", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4348 wxPy_END_ALLOW_THREADS
;
4350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4351 _resultobj
= Py_BuildValue("s",_ptemp
);
4354 _resultobj
= Py_None
;
4359 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4360 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4364 PyObject
* _argo0
= 0;
4365 PyObject
* _argo1
= 0;
4366 char *_kwnames
[] = { "self","sizer", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 wxWindow_SetSizer(_arg0
,_arg1
);
4389 wxPy_END_ALLOW_THREADS
;
4390 } Py_INCREF(Py_None
);
4391 _resultobj
= Py_None
;
4395 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4396 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4398 wxValidator
* _result
;
4400 PyObject
* _argo0
= 0;
4401 char *_kwnames
[] = { "self", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4415 wxPy_BEGIN_ALLOW_THREADS
;
4416 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4418 wxPy_END_ALLOW_THREADS
;
4420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4421 _resultobj
= Py_BuildValue("s",_ptemp
);
4424 _resultobj
= Py_None
;
4429 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4430 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4433 wxValidator
* _arg1
;
4434 PyObject
* _argo0
= 0;
4435 PyObject
* _argo1
= 0;
4436 char *_kwnames
[] = { "self","validator", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4449 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 wxWindow_SetValidator(_arg0
,*_arg1
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } Py_INCREF(Py_None
);
4461 _resultobj
= Py_None
;
4465 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4466 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 wxDropTarget
* _arg1
;
4470 PyObject
* _argo0
= 0;
4471 PyObject
* _argo1
= 0;
4472 char *_kwnames
[] = { "self","target", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4492 wxPy_BEGIN_ALLOW_THREADS
;
4493 wxWindow_SetDropTarget(_arg0
,_arg1
);
4495 wxPy_END_ALLOW_THREADS
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4501 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4502 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4504 wxDropTarget
* _result
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4521 wxPy_BEGIN_ALLOW_THREADS
;
4522 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4524 wxPy_END_ALLOW_THREADS
;
4526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4527 _resultobj
= Py_BuildValue("s",_ptemp
);
4530 _resultobj
= Py_None
;
4535 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4536 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4558 wxPy_END_ALLOW_THREADS
;
4559 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4560 _resultobj
= Py_BuildValue("s",_ptemp
);
4564 static void *SwigwxPanelTowxWindow(void *ptr
) {
4567 src
= (wxPanel
*) ptr
;
4568 dest
= (wxWindow
*) src
;
4569 return (void *) dest
;
4572 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4575 src
= (wxPanel
*) ptr
;
4576 dest
= (wxEvtHandler
*) src
;
4577 return (void *) dest
;
4580 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4581 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4586 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4587 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4588 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4589 char * _arg5
= (char *) "panel";
4590 PyObject
* _argo0
= 0;
4592 PyObject
* _obj2
= 0;
4594 PyObject
* _obj3
= 0;
4595 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4611 if (! wxPoint_helper(_obj2
, &_arg2
))
4617 if (! wxSize_helper(_obj3
, &_arg3
))
4621 wxPy_BEGIN_ALLOW_THREADS
;
4622 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4624 wxPy_END_ALLOW_THREADS
;
4626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4627 _resultobj
= Py_BuildValue("s",_ptemp
);
4630 _resultobj
= Py_None
;
4635 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4636 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4639 PyObject
* _argo0
= 0;
4640 char *_kwnames
[] = { "self", NULL
};
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4653 wxPy_BEGIN_ALLOW_THREADS
;
4654 wxPanel_InitDialog(_arg0
);
4656 wxPy_END_ALLOW_THREADS
;
4657 } Py_INCREF(Py_None
);
4658 _resultobj
= Py_None
;
4662 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4663 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
* _resultobj
;
4667 PyObject
* _argo0
= 0;
4668 char *_kwnames
[] = { "self", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4682 wxPy_BEGIN_ALLOW_THREADS
;
4683 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4685 wxPy_END_ALLOW_THREADS
;
4687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4688 _resultobj
= Py_BuildValue("s",_ptemp
);
4691 _resultobj
= Py_None
;
4696 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4697 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4701 PyObject
* _argo0
= 0;
4702 PyObject
* _argo1
= 0;
4703 char *_kwnames
[] = { "self","btn", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4723 wxPy_BEGIN_ALLOW_THREADS
;
4724 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4726 wxPy_END_ALLOW_THREADS
;
4727 } Py_INCREF(Py_None
);
4728 _resultobj
= Py_None
;
4732 static void *SwigwxDialogTowxPanel(void *ptr
) {
4735 src
= (wxDialog
*) ptr
;
4736 dest
= (wxPanel
*) src
;
4737 return (void *) dest
;
4740 static void *SwigwxDialogTowxWindow(void *ptr
) {
4743 src
= (wxDialog
*) ptr
;
4744 dest
= (wxWindow
*) src
;
4745 return (void *) dest
;
4748 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4751 src
= (wxDialog
*) ptr
;
4752 dest
= (wxEvtHandler
*) src
;
4753 return (void *) dest
;
4756 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4757 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
* _resultobj
;
4763 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4764 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4765 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4766 char * _arg6
= (char *) "dialogBox";
4767 PyObject
* _argo0
= 0;
4768 PyObject
* _obj2
= 0;
4770 PyObject
* _obj3
= 0;
4772 PyObject
* _obj4
= 0;
4773 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4787 if (!PyString_Check(_obj2
)) {
4788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4791 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4796 if (! wxPoint_helper(_obj3
, &_arg3
))
4802 if (! wxSize_helper(_obj4
, &_arg4
))
4806 wxPy_BEGIN_ALLOW_THREADS
;
4807 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4809 wxPy_END_ALLOW_THREADS
;
4811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4812 _resultobj
= Py_BuildValue("s",_ptemp
);
4815 _resultobj
= Py_None
;
4824 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4825 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
* _resultobj
;
4828 int _arg1
= (int ) wxBOTH
;
4829 PyObject
* _argo0
= 0;
4830 char *_kwnames
[] = { "self","direction", NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4843 wxPy_BEGIN_ALLOW_THREADS
;
4844 wxDialog_Centre(_arg0
,_arg1
);
4846 wxPy_END_ALLOW_THREADS
;
4847 } Py_INCREF(Py_None
);
4848 _resultobj
= Py_None
;
4852 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4853 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4857 PyObject
* _argo0
= 0;
4858 char *_kwnames
[] = { "self","retCode", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4871 wxPy_BEGIN_ALLOW_THREADS
;
4872 wxDialog_EndModal(_arg0
,_arg1
);
4874 wxPy_END_ALLOW_THREADS
;
4875 } Py_INCREF(Py_None
);
4876 _resultobj
= Py_None
;
4880 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4881 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
* _resultobj
;
4885 PyObject
* _argo0
= 0;
4886 char *_kwnames
[] = { "self", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4899 wxPy_BEGIN_ALLOW_THREADS
;
4900 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4902 wxPy_END_ALLOW_THREADS
;
4904 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4912 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4913 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4917 PyObject
* _argo0
= 0;
4919 char *_kwnames
[] = { "self","iconize", NULL
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4931 _arg1
= (bool ) tempbool1
;
4933 wxPy_BEGIN_ALLOW_THREADS
;
4934 wxDialog_Iconize(_arg0
,_arg1
);
4936 wxPy_END_ALLOW_THREADS
;
4937 } Py_INCREF(Py_None
);
4938 _resultobj
= Py_None
;
4942 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4943 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4947 PyObject
* _argo0
= 0;
4948 char *_kwnames
[] = { "self", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4961 wxPy_BEGIN_ALLOW_THREADS
;
4962 _result
= (bool )wxDialog_IsIconized(_arg0
);
4964 wxPy_END_ALLOW_THREADS
;
4965 } _resultobj
= Py_BuildValue("i",_result
);
4969 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4970 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4974 PyObject
* _argo0
= 0;
4976 char *_kwnames
[] = { "self","flag", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4988 _arg1
= (bool ) tempbool1
;
4990 wxPy_BEGIN_ALLOW_THREADS
;
4991 wxDialog_SetModal(_arg0
,_arg1
);
4993 wxPy_END_ALLOW_THREADS
;
4994 } Py_INCREF(Py_None
);
4995 _resultobj
= Py_None
;
4999 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5000 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
* _resultobj
;
5004 PyObject
* _argo0
= 0;
5005 char *_kwnames
[] = { "self", NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5018 wxPy_BEGIN_ALLOW_THREADS
;
5019 _result
= (bool )wxDialog_IsModal(_arg0
);
5021 wxPy_END_ALLOW_THREADS
;
5022 } _resultobj
= Py_BuildValue("i",_result
);
5026 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5027 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5031 PyObject
* _argo0
= 0;
5032 PyObject
* _obj1
= 0;
5033 char *_kwnames
[] = { "self","title", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5046 if (!PyString_Check(_obj1
)) {
5047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5050 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5053 wxPy_BEGIN_ALLOW_THREADS
;
5054 wxDialog_SetTitle(_arg0
,*_arg1
);
5056 wxPy_END_ALLOW_THREADS
;
5057 } Py_INCREF(Py_None
);
5058 _resultobj
= Py_None
;
5066 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5067 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
* _resultobj
;
5072 PyObject
* _argo0
= 0;
5074 char *_kwnames
[] = { "self","show", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5086 _arg1
= (bool ) tempbool1
;
5088 wxPy_BEGIN_ALLOW_THREADS
;
5089 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5091 wxPy_END_ALLOW_THREADS
;
5092 } _resultobj
= Py_BuildValue("i",_result
);
5096 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5097 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5101 PyObject
* _argo0
= 0;
5102 char *_kwnames
[] = { "self", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 _result
= (int )wxDialog_ShowModal(_arg0
);
5118 wxPy_END_ALLOW_THREADS
;
5119 } _resultobj
= Py_BuildValue("i",_result
);
5123 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5124 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5128 PyObject
* _argo0
= 0;
5129 char *_kwnames
[] = { "self", NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5142 wxPy_BEGIN_ALLOW_THREADS
;
5143 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5145 wxPy_END_ALLOW_THREADS
;
5146 } _resultobj
= Py_BuildValue("i",_result
);
5150 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5151 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
* _resultobj
;
5155 PyObject
* _argo0
= 0;
5156 char *_kwnames
[] = { "self","retCode", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5169 wxPy_BEGIN_ALLOW_THREADS
;
5170 wxDialog_SetReturnCode(_arg0
,_arg1
);
5172 wxPy_END_ALLOW_THREADS
;
5173 } Py_INCREF(Py_None
);
5174 _resultobj
= Py_None
;
5178 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5179 wxScrolledWindow
*src
;
5181 src
= (wxScrolledWindow
*) ptr
;
5182 dest
= (wxPanel
*) src
;
5183 return (void *) dest
;
5186 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5187 wxScrolledWindow
*src
;
5189 src
= (wxScrolledWindow
*) ptr
;
5190 dest
= (wxWindow
*) src
;
5191 return (void *) dest
;
5194 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5195 wxScrolledWindow
*src
;
5197 src
= (wxScrolledWindow
*) ptr
;
5198 dest
= (wxEvtHandler
*) src
;
5199 return (void *) dest
;
5202 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5203 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
* _resultobj
;
5205 wxScrolledWindow
* _result
;
5207 wxWindowID _arg1
= (wxWindowID
) -1;
5208 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5209 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5210 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5211 char * _arg5
= (char *) "scrolledWindow";
5212 PyObject
* _argo0
= 0;
5214 PyObject
* _obj2
= 0;
5216 PyObject
* _obj3
= 0;
5217 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5233 if (! wxPoint_helper(_obj2
, &_arg2
))
5239 if (! wxSize_helper(_obj3
, &_arg3
))
5243 wxPy_BEGIN_ALLOW_THREADS
;
5244 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5246 wxPy_END_ALLOW_THREADS
;
5248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5249 _resultobj
= Py_BuildValue("s",_ptemp
);
5252 _resultobj
= Py_None
;
5257 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5258 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5260 wxScrolledWindow
* _arg0
;
5263 PyObject
* _argo0
= 0;
5266 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5278 _arg1
= (bool ) tempbool1
;
5279 _arg2
= (bool ) tempbool2
;
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5284 wxPy_END_ALLOW_THREADS
;
5285 } Py_INCREF(Py_None
);
5286 _resultobj
= Py_None
;
5290 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5291 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5293 wxScrolledWindow
* _arg0
;
5298 PyObject
* _argo0
= 0;
5299 char *_kwnames
[] = { "self", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } Py_INCREF(Py_None
);
5323 _resultobj
= Py_None
;
5326 o
= PyInt_FromLong((long) (*_arg1
));
5327 _resultobj
= t_output_helper(_resultobj
, o
);
5331 o
= PyInt_FromLong((long) (*_arg2
));
5332 _resultobj
= t_output_helper(_resultobj
, o
);
5337 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5338 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5340 wxScrolledWindow
* _arg0
;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "self", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5365 wxPy_BEGIN_ALLOW_THREADS
;
5366 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5368 wxPy_END_ALLOW_THREADS
;
5369 } Py_INCREF(Py_None
);
5370 _resultobj
= Py_None
;
5373 o
= PyInt_FromLong((long) (*_arg1
));
5374 _resultobj
= t_output_helper(_resultobj
, o
);
5378 o
= PyInt_FromLong((long) (*_arg2
));
5379 _resultobj
= t_output_helper(_resultobj
, o
);
5384 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5385 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
* _resultobj
;
5388 wxScrolledWindow
* _arg0
;
5389 PyObject
* _argo0
= 0;
5390 char *_kwnames
[] = { "self", NULL
};
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5403 wxPy_BEGIN_ALLOW_THREADS
;
5404 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5406 wxPy_END_ALLOW_THREADS
;
5407 } _resultobj
= Py_BuildValue("i",_result
);
5411 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5412 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5414 wxScrolledWindow
* _arg0
;
5416 PyObject
* _argo0
= 0;
5417 PyObject
* _argo1
= 0;
5418 char *_kwnames
[] = { "self","dc", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5438 wxPy_BEGIN_ALLOW_THREADS
;
5439 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5441 wxPy_END_ALLOW_THREADS
;
5442 } Py_INCREF(Py_None
);
5443 _resultobj
= Py_None
;
5447 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5448 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5450 wxScrolledWindow
* _arg0
;
5453 PyObject
* _argo0
= 0;
5454 char *_kwnames
[] = { "self","x","y", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5470 wxPy_END_ALLOW_THREADS
;
5471 } Py_INCREF(Py_None
);
5472 _resultobj
= Py_None
;
5476 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5477 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
* _resultobj
;
5479 wxScrolledWindow
* _arg0
;
5484 int _arg5
= (int ) 0;
5485 int _arg6
= (int ) 0;
5486 PyObject
* _argo0
= 0;
5487 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5500 wxPy_BEGIN_ALLOW_THREADS
;
5501 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5503 wxPy_END_ALLOW_THREADS
;
5504 } Py_INCREF(Py_None
);
5505 _resultobj
= Py_None
;
5509 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5510 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
* _resultobj
;
5512 wxScrolledWindow
* _arg0
;
5514 PyObject
* _argo0
= 0;
5515 PyObject
* _argo1
= 0;
5516 char *_kwnames
[] = { "self","window", NULL
};
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
5522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5536 wxPy_BEGIN_ALLOW_THREADS
;
5537 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5539 wxPy_END_ALLOW_THREADS
;
5540 } Py_INCREF(Py_None
);
5541 _resultobj
= Py_None
;
5545 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5546 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5548 wxScrolledWindow
* _arg0
;
5553 PyObject
* _argo0
= 0;
5554 char *_kwnames
[] = { "self", NULL
};
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5573 wxPy_BEGIN_ALLOW_THREADS
;
5574 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5576 wxPy_END_ALLOW_THREADS
;
5577 } Py_INCREF(Py_None
);
5578 _resultobj
= Py_None
;
5581 o
= PyInt_FromLong((long) (*_arg1
));
5582 _resultobj
= t_output_helper(_resultobj
, o
);
5586 o
= PyInt_FromLong((long) (*_arg2
));
5587 _resultobj
= t_output_helper(_resultobj
, o
);
5592 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5593 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
* _resultobj
;
5595 wxScrolledWindow
* _arg0
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self","x","y", NULL
};
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5622 wxPy_BEGIN_ALLOW_THREADS
;
5623 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5625 wxPy_END_ALLOW_THREADS
;
5626 } Py_INCREF(Py_None
);
5627 _resultobj
= Py_None
;
5630 o
= PyInt_FromLong((long) (*_arg3
));
5631 _resultobj
= t_output_helper(_resultobj
, o
);
5635 o
= PyInt_FromLong((long) (*_arg4
));
5636 _resultobj
= t_output_helper(_resultobj
, o
);
5641 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5642 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5644 wxScrolledWindow
* _arg0
;
5651 PyObject
* _argo0
= 0;
5652 char *_kwnames
[] = { "self","x","y", NULL
};
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5671 wxPy_BEGIN_ALLOW_THREADS
;
5672 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5674 wxPy_END_ALLOW_THREADS
;
5675 } Py_INCREF(Py_None
);
5676 _resultobj
= Py_None
;
5679 o
= PyInt_FromLong((long) (*_arg3
));
5680 _resultobj
= t_output_helper(_resultobj
, o
);
5684 o
= PyInt_FromLong((long) (*_arg4
));
5685 _resultobj
= t_output_helper(_resultobj
, o
);
5690 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5693 src
= (wxMenu
*) ptr
;
5694 dest
= (wxEvtHandler
*) src
;
5695 return (void *) dest
;
5698 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5699 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5702 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5703 long _arg1
= (long ) 0;
5704 PyObject
* _obj0
= 0;
5705 char *_kwnames
[] = { "title","style", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5713 if (!PyString_Check(_obj0
)) {
5714 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5717 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5720 wxPy_BEGIN_ALLOW_THREADS
;
5721 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5723 wxPy_END_ALLOW_THREADS
;
5725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5726 _resultobj
= Py_BuildValue("s",_ptemp
);
5729 _resultobj
= Py_None
;
5738 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5739 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5744 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5745 int _arg4
= (int ) FALSE
;
5746 PyObject
* _argo0
= 0;
5747 PyObject
* _obj2
= 0;
5748 PyObject
* _obj3
= 0;
5749 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5762 if (!PyString_Check(_obj2
)) {
5763 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5766 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5770 if (!PyString_Check(_obj3
)) {
5771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5774 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5777 wxPy_BEGIN_ALLOW_THREADS
;
5778 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5780 wxPy_END_ALLOW_THREADS
;
5781 } Py_INCREF(Py_None
);
5782 _resultobj
= Py_None
;
5794 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5795 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
* _resultobj
;
5801 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5802 PyObject
* _argo0
= 0;
5803 PyObject
* _obj2
= 0;
5804 PyObject
* _argo3
= 0;
5805 PyObject
* _obj4
= 0;
5806 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5819 if (!PyString_Check(_obj2
)) {
5820 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5823 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5826 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5834 if (!PyString_Check(_obj4
)) {
5835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5838 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5841 wxPy_BEGIN_ALLOW_THREADS
;
5842 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5844 wxPy_END_ALLOW_THREADS
;
5845 } Py_INCREF(Py_None
);
5846 _resultobj
= Py_None
;
5858 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5859 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5863 PyObject
* _argo0
= 0;
5864 PyObject
* _argo1
= 0;
5865 char *_kwnames
[] = { "self","item", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5885 wxPy_BEGIN_ALLOW_THREADS
;
5886 wxMenu_AppendItem(_arg0
,_arg1
);
5888 wxPy_END_ALLOW_THREADS
;
5889 } Py_INCREF(Py_None
);
5890 _resultobj
= Py_None
;
5894 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5895 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5898 PyObject
* _argo0
= 0;
5899 char *_kwnames
[] = { "self", NULL
};
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5912 wxPy_BEGIN_ALLOW_THREADS
;
5913 wxMenu_AppendSeparator(_arg0
);
5915 wxPy_END_ALLOW_THREADS
;
5916 } Py_INCREF(Py_None
);
5917 _resultobj
= Py_None
;
5921 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5922 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
* _resultobj
;
5925 PyObject
* _argo0
= 0;
5926 char *_kwnames
[] = { "self", NULL
};
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5939 wxPy_BEGIN_ALLOW_THREADS
;
5940 wxMenu_Break(_arg0
);
5942 wxPy_END_ALLOW_THREADS
;
5943 } Py_INCREF(Py_None
);
5944 _resultobj
= Py_None
;
5948 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5949 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5954 PyObject
* _argo0
= 0;
5956 char *_kwnames
[] = { "self","id","flag", NULL
};
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5968 _arg2
= (bool ) tempbool2
;
5970 wxPy_BEGIN_ALLOW_THREADS
;
5971 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5973 wxPy_END_ALLOW_THREADS
;
5974 } Py_INCREF(Py_None
);
5975 _resultobj
= Py_None
;
5979 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5980 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5985 PyObject
* _argo0
= 0;
5986 char *_kwnames
[] = { "self","id", NULL
};
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5999 wxPy_BEGIN_ALLOW_THREADS
;
6000 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6002 wxPy_END_ALLOW_THREADS
;
6003 } _resultobj
= Py_BuildValue("i",_result
);
6007 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6008 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6013 PyObject
* _argo0
= 0;
6015 char *_kwnames
[] = { "self","id","enable", NULL
};
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6027 _arg2
= (bool ) tempbool2
;
6029 wxPy_BEGIN_ALLOW_THREADS
;
6030 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6032 wxPy_END_ALLOW_THREADS
;
6033 } Py_INCREF(Py_None
);
6034 _resultobj
= Py_None
;
6038 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6039 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
* _resultobj
;
6044 PyObject
* _argo0
= 0;
6045 char *_kwnames
[] = { "self","id", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6058 wxPy_BEGIN_ALLOW_THREADS
;
6059 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6061 wxPy_END_ALLOW_THREADS
;
6062 } _resultobj
= Py_BuildValue("i",_result
);
6066 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6067 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
* _resultobj
;
6072 PyObject
* _argo0
= 0;
6073 PyObject
* _obj1
= 0;
6074 char *_kwnames
[] = { "self","itemString", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6087 if (!PyString_Check(_obj1
)) {
6088 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6091 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6094 wxPy_BEGIN_ALLOW_THREADS
;
6095 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6097 wxPy_END_ALLOW_THREADS
;
6098 } _resultobj
= Py_BuildValue("i",_result
);
6106 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6107 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6109 wxMenuItem
* _result
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self","id", NULL
};
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6127 wxPy_BEGIN_ALLOW_THREADS
;
6128 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6130 wxPy_END_ALLOW_THREADS
;
6132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6133 _resultobj
= Py_BuildValue("s",_ptemp
);
6136 _resultobj
= Py_None
;
6141 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6142 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6146 PyObject
* _argo0
= 0;
6147 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6163 wxPy_END_ALLOW_THREADS
;
6165 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6173 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6174 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6178 PyObject
* _argo0
= 0;
6179 PyObject
* _obj1
= 0;
6180 char *_kwnames
[] = { "self","title", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6193 if (!PyString_Check(_obj1
)) {
6194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6197 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6200 wxPy_BEGIN_ALLOW_THREADS
;
6201 wxMenu_SetTitle(_arg0
,*_arg1
);
6203 wxPy_END_ALLOW_THREADS
;
6204 } Py_INCREF(Py_None
);
6205 _resultobj
= Py_None
;
6213 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6214 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6219 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self","id", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6233 wxPy_BEGIN_ALLOW_THREADS
;
6234 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6236 wxPy_END_ALLOW_THREADS
;
6238 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6246 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6247 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
* _resultobj
;
6252 PyObject
* _argo0
= 0;
6253 PyObject
* _obj2
= 0;
6254 char *_kwnames
[] = { "self","id","label", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6267 if (!PyString_Check(_obj2
)) {
6268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6271 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6274 wxPy_BEGIN_ALLOW_THREADS
;
6275 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6277 wxPy_END_ALLOW_THREADS
;
6278 } Py_INCREF(Py_None
);
6279 _resultobj
= Py_None
;
6287 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6288 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
* _resultobj
;
6293 PyObject
* _argo0
= 0;
6294 char *_kwnames
[] = { "self","id", NULL
};
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6307 wxPy_BEGIN_ALLOW_THREADS
;
6308 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6310 wxPy_END_ALLOW_THREADS
;
6312 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6320 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6321 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6326 PyObject
* _argo0
= 0;
6327 PyObject
* _obj2
= 0;
6328 char *_kwnames
[] = { "self","id","helpString", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_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 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6351 wxPy_END_ALLOW_THREADS
;
6352 } Py_INCREF(Py_None
);
6353 _resultobj
= Py_None
;
6361 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6362 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6365 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6366 PyObject
* _argo0
= 0;
6367 PyObject
* _argo1
= 0;
6368 char *_kwnames
[] = { "self","source", NULL
};
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6388 wxPy_BEGIN_ALLOW_THREADS
;
6389 wxMenu_UpdateUI(_arg0
,_arg1
);
6391 wxPy_END_ALLOW_THREADS
;
6392 } Py_INCREF(Py_None
);
6393 _resultobj
= Py_None
;
6397 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6398 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
* _resultobj
;
6403 PyObject
* _argo0
= 0;
6404 char *_kwnames
[] = { "self","id", NULL
};
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6417 wxPy_BEGIN_ALLOW_THREADS
;
6418 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6420 wxPy_END_ALLOW_THREADS
;
6421 } _resultobj
= Py_BuildValue("i",_result
);
6425 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6426 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
* _resultobj
;
6431 PyObject
* _argo0
= 0;
6432 PyObject
* _argo1
= 0;
6433 char *_kwnames
[] = { "self","item", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6453 wxPy_BEGIN_ALLOW_THREADS
;
6454 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6456 wxPy_END_ALLOW_THREADS
;
6457 } _resultobj
= Py_BuildValue("i",_result
);
6461 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6462 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6468 PyObject
* _argo0
= 0;
6469 PyObject
* _argo2
= 0;
6470 char *_kwnames
[] = { "self","pos","item", NULL
};
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6483 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6490 wxPy_BEGIN_ALLOW_THREADS
;
6491 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6493 wxPy_END_ALLOW_THREADS
;
6494 } _resultobj
= Py_BuildValue("i",_result
);
6498 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6499 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6501 wxMenuItem
* _result
;
6504 PyObject
* _argo0
= 0;
6505 char *_kwnames
[] = { "self","id", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6522 wxPy_END_ALLOW_THREADS
;
6524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6525 _resultobj
= Py_BuildValue("s",_ptemp
);
6528 _resultobj
= Py_None
;
6533 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6534 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6536 wxMenuItem
* _result
;
6539 PyObject
* _argo0
= 0;
6540 PyObject
* _argo1
= 0;
6541 char *_kwnames
[] = { "self","item", NULL
};
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6562 wxPy_BEGIN_ALLOW_THREADS
;
6563 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6565 wxPy_END_ALLOW_THREADS
;
6567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6568 _resultobj
= Py_BuildValue("s",_ptemp
);
6571 _resultobj
= Py_None
;
6576 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
6577 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
* _resultobj
;
6580 PyObject
* _argo0
= 0;
6581 char *_kwnames
[] = { "self", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6594 wxPy_BEGIN_ALLOW_THREADS
;
6595 wxMenu_Destroy(_arg0
);
6597 wxPy_END_ALLOW_THREADS
;
6598 } Py_INCREF(Py_None
);
6599 _resultobj
= Py_None
;
6603 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6604 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
* _resultobj
;
6609 PyObject
* _argo0
= 0;
6610 char *_kwnames
[] = { "self","id", NULL
};
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6623 wxPy_BEGIN_ALLOW_THREADS
;
6624 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6626 wxPy_END_ALLOW_THREADS
;
6627 } _resultobj
= Py_BuildValue("i",_result
);
6631 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6632 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
* _resultobj
;
6637 PyObject
* _argo0
= 0;
6638 PyObject
* _argo1
= 0;
6639 char *_kwnames
[] = { "self","item", NULL
};
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6659 wxPy_BEGIN_ALLOW_THREADS
;
6660 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6662 wxPy_END_ALLOW_THREADS
;
6663 } _resultobj
= Py_BuildValue("i",_result
);
6667 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6668 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
* _resultobj
;
6672 PyObject
* _argo0
= 0;
6673 char *_kwnames
[] = { "self", NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6686 wxPy_BEGIN_ALLOW_THREADS
;
6687 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6689 wxPy_END_ALLOW_THREADS
;
6690 } _resultobj
= Py_BuildValue("i",_result
);
6694 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6695 wxMenuItemList
& list
= self
->GetMenuItems();
6696 return wxPy_ConvertList(&list
, "wxMenuItem");
6698 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
* _resultobj
;
6702 PyObject
* _argo0
= 0;
6703 char *_kwnames
[] = { "self", NULL
};
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
6709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6716 wxPy_BEGIN_ALLOW_THREADS
;
6717 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6719 wxPy_END_ALLOW_THREADS
;
6721 _resultobj
= _result
;
6726 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6727 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6730 wxEvtHandler
* _arg1
;
6731 PyObject
* _argo0
= 0;
6732 PyObject
* _argo1
= 0;
6733 char *_kwnames
[] = { "self","handler", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6746 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6747 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6753 wxPy_BEGIN_ALLOW_THREADS
;
6754 wxMenu_SetEventHandler(_arg0
,_arg1
);
6756 wxPy_END_ALLOW_THREADS
;
6757 } Py_INCREF(Py_None
);
6758 _resultobj
= Py_None
;
6762 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6763 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6765 wxEvtHandler
* _result
;
6767 PyObject
* _argo0
= 0;
6768 char *_kwnames
[] = { "self", NULL
};
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
6775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6782 wxPy_BEGIN_ALLOW_THREADS
;
6783 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
6785 wxPy_END_ALLOW_THREADS
;
6787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
6788 _resultobj
= Py_BuildValue("s",_ptemp
);
6791 _resultobj
= Py_None
;
6796 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
6797 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
* _resultobj
;
6801 PyObject
* _argo0
= 0;
6802 PyObject
* _argo1
= 0;
6803 char *_kwnames
[] = { "self","win", NULL
};
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
6809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
6816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
6823 wxPy_BEGIN_ALLOW_THREADS
;
6824 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
6826 wxPy_END_ALLOW_THREADS
;
6827 } Py_INCREF(Py_None
);
6828 _resultobj
= Py_None
;
6832 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
6833 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6837 PyObject
* _argo0
= 0;
6838 char *_kwnames
[] = { "self", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
6852 wxPy_BEGIN_ALLOW_THREADS
;
6853 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
6855 wxPy_END_ALLOW_THREADS
;
6857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6858 _resultobj
= Py_BuildValue("s",_ptemp
);
6861 _resultobj
= Py_None
;
6866 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
6867 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
* _resultobj
;
6871 PyObject
* _argo0
= 0;
6872 char *_kwnames
[] = { "self", NULL
};
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
6878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
6885 wxPy_BEGIN_ALLOW_THREADS
;
6886 _result
= (long )wxMenu_GetStyle(_arg0
);
6888 wxPy_END_ALLOW_THREADS
;
6889 } _resultobj
= Py_BuildValue("l",_result
);
6893 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
6894 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
* _resultobj
;
6898 PyObject
* _argo0
= 0;
6899 char *_kwnames
[] = { "self", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
6905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
6912 wxPy_BEGIN_ALLOW_THREADS
;
6913 _result
= (bool )wxMenu_IsAttached(_arg0
);
6915 wxPy_END_ALLOW_THREADS
;
6916 } _resultobj
= Py_BuildValue("i",_result
);
6920 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
6921 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
* _resultobj
;
6925 PyObject
* _argo0
= 0;
6926 PyObject
* _argo1
= 0;
6927 char *_kwnames
[] = { "self","parent", NULL
};
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
6933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
6940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
6947 wxPy_BEGIN_ALLOW_THREADS
;
6948 wxMenu_SetParent(_arg0
,_arg1
);
6950 wxPy_END_ALLOW_THREADS
;
6951 } Py_INCREF(Py_None
);
6952 _resultobj
= Py_None
;
6956 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
6957 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
6976 wxPy_BEGIN_ALLOW_THREADS
;
6977 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
6979 wxPy_END_ALLOW_THREADS
;
6981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6982 _resultobj
= Py_BuildValue("s",_ptemp
);
6985 _resultobj
= Py_None
;
6990 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
6993 src
= (wxMenuBar
*) ptr
;
6994 dest
= (wxWindow
*) src
;
6995 return (void *) dest
;
6998 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7001 src
= (wxMenuBar
*) ptr
;
7002 dest
= (wxEvtHandler
*) src
;
7003 return (void *) dest
;
7006 #define new_wxMenuBar() (new wxMenuBar())
7007 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7009 wxMenuBar
* _result
;
7010 char *_kwnames
[] = { NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7017 wxPy_BEGIN_ALLOW_THREADS
;
7018 _result
= (wxMenuBar
*)new_wxMenuBar();
7020 wxPy_END_ALLOW_THREADS
;
7022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7023 _resultobj
= Py_BuildValue("s",_ptemp
);
7026 _resultobj
= Py_None
;
7031 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7032 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 PyObject
* _argo1
= 0;
7040 PyObject
* _obj2
= 0;
7041 char *_kwnames
[] = { "self","menu","title", NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7061 if (!PyString_Check(_obj2
)) {
7062 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7065 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7068 wxPy_BEGIN_ALLOW_THREADS
;
7069 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7071 wxPy_END_ALLOW_THREADS
;
7072 } _resultobj
= Py_BuildValue("i",_result
);
7080 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7081 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
* _resultobj
;
7088 PyObject
* _argo0
= 0;
7089 PyObject
* _argo2
= 0;
7090 PyObject
* _obj3
= 0;
7091 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7104 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7111 if (!PyString_Check(_obj3
)) {
7112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7115 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7118 wxPy_BEGIN_ALLOW_THREADS
;
7119 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7121 wxPy_END_ALLOW_THREADS
;
7122 } _resultobj
= Py_BuildValue("i",_result
);
7130 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7131 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7135 PyObject
* _argo0
= 0;
7136 char *_kwnames
[] = { "self", NULL
};
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7149 wxPy_BEGIN_ALLOW_THREADS
;
7150 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7152 wxPy_END_ALLOW_THREADS
;
7153 } _resultobj
= Py_BuildValue("i",_result
);
7157 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7158 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
* _resultobj
;
7163 PyObject
* _argo0
= 0;
7164 char *_kwnames
[] = { "self","pos", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7178 wxPy_BEGIN_ALLOW_THREADS
;
7179 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7181 wxPy_END_ALLOW_THREADS
;
7183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7184 _resultobj
= Py_BuildValue("s",_ptemp
);
7187 _resultobj
= Py_None
;
7192 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7193 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
* _resultobj
;
7200 PyObject
* _argo0
= 0;
7201 PyObject
* _argo2
= 0;
7202 PyObject
* _obj3
= 0;
7203 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7217 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7218 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7224 if (!PyString_Check(_obj3
)) {
7225 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7228 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7231 wxPy_BEGIN_ALLOW_THREADS
;
7232 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7234 wxPy_END_ALLOW_THREADS
;
7236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7237 _resultobj
= Py_BuildValue("s",_ptemp
);
7240 _resultobj
= Py_None
;
7249 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7250 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
* _resultobj
;
7255 PyObject
* _argo0
= 0;
7256 char *_kwnames
[] = { "self","pos", NULL
};
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7270 wxPy_BEGIN_ALLOW_THREADS
;
7271 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7273 wxPy_END_ALLOW_THREADS
;
7275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7276 _resultobj
= Py_BuildValue("s",_ptemp
);
7279 _resultobj
= Py_None
;
7284 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7285 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7290 PyObject
* _argo0
= 0;
7292 char *_kwnames
[] = { "self","pos","enable", NULL
};
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7304 _arg2
= (bool ) tempbool2
;
7306 wxPy_BEGIN_ALLOW_THREADS
;
7307 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7309 wxPy_END_ALLOW_THREADS
;
7310 } Py_INCREF(Py_None
);
7311 _resultobj
= Py_None
;
7315 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7316 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
* _resultobj
;
7321 PyObject
* _argo0
= 0;
7322 PyObject
* _obj2
= 0;
7323 char *_kwnames
[] = { "self","pos","label", NULL
};
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7336 if (!PyString_Check(_obj2
)) {
7337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7340 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7343 wxPy_BEGIN_ALLOW_THREADS
;
7344 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7346 wxPy_END_ALLOW_THREADS
;
7347 } Py_INCREF(Py_None
);
7348 _resultobj
= Py_None
;
7356 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7357 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7362 PyObject
* _argo0
= 0;
7363 char *_kwnames
[] = { "self","pos", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7376 wxPy_BEGIN_ALLOW_THREADS
;
7377 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7379 wxPy_END_ALLOW_THREADS
;
7381 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7389 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7390 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
* _resultobj
;
7396 PyObject
* _argo0
= 0;
7397 PyObject
* _obj1
= 0;
7398 PyObject
* _obj2
= 0;
7399 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7412 if (!PyString_Check(_obj1
)) {
7413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7416 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7419 if (!PyString_Check(_obj2
)) {
7420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7423 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7426 wxPy_BEGIN_ALLOW_THREADS
;
7427 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7429 wxPy_END_ALLOW_THREADS
;
7430 } _resultobj
= Py_BuildValue("i",_result
);
7442 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7443 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7445 wxMenuItem
* _result
;
7448 PyObject
* _argo0
= 0;
7449 char *_kwnames
[] = { "self","id", NULL
};
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7463 wxPy_BEGIN_ALLOW_THREADS
;
7464 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7466 wxPy_END_ALLOW_THREADS
;
7468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7469 _resultobj
= Py_BuildValue("s",_ptemp
);
7472 _resultobj
= Py_None
;
7477 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7478 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
* _resultobj
;
7483 PyObject
* _argo0
= 0;
7485 char *_kwnames
[] = { "self","id","enable", NULL
};
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7497 _arg2
= (bool ) tempbool2
;
7499 wxPy_BEGIN_ALLOW_THREADS
;
7500 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7502 wxPy_END_ALLOW_THREADS
;
7503 } Py_INCREF(Py_None
);
7504 _resultobj
= Py_None
;
7508 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7509 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
* _resultobj
;
7514 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self","id","check", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7528 _arg2
= (bool ) tempbool2
;
7530 wxPy_BEGIN_ALLOW_THREADS
;
7531 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7533 wxPy_END_ALLOW_THREADS
;
7534 } Py_INCREF(Py_None
);
7535 _resultobj
= Py_None
;
7539 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7540 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
* _resultobj
;
7545 PyObject
* _argo0
= 0;
7546 char *_kwnames
[] = { "self","id", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7559 wxPy_BEGIN_ALLOW_THREADS
;
7560 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7562 wxPy_END_ALLOW_THREADS
;
7563 } _resultobj
= Py_BuildValue("i",_result
);
7567 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7568 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7573 PyObject
* _argo0
= 0;
7574 char *_kwnames
[] = { "self","id", NULL
};
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7587 wxPy_BEGIN_ALLOW_THREADS
;
7588 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7590 wxPy_END_ALLOW_THREADS
;
7591 } _resultobj
= Py_BuildValue("i",_result
);
7595 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7596 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
* _resultobj
;
7601 PyObject
* _argo0
= 0;
7602 PyObject
* _obj2
= 0;
7603 char *_kwnames
[] = { "self","id","label", NULL
};
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7616 if (!PyString_Check(_obj2
)) {
7617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7620 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7623 wxPy_BEGIN_ALLOW_THREADS
;
7624 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7626 wxPy_END_ALLOW_THREADS
;
7627 } Py_INCREF(Py_None
);
7628 _resultobj
= Py_None
;
7636 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7637 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
* _resultobj
;
7642 PyObject
* _argo0
= 0;
7643 char *_kwnames
[] = { "self","id", NULL
};
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7656 wxPy_BEGIN_ALLOW_THREADS
;
7657 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7659 wxPy_END_ALLOW_THREADS
;
7661 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7669 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7670 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
* _resultobj
;
7675 PyObject
* _argo0
= 0;
7676 PyObject
* _obj2
= 0;
7677 char *_kwnames
[] = { "self","id","helpString", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7690 if (!PyString_Check(_obj2
)) {
7691 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7694 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7697 wxPy_BEGIN_ALLOW_THREADS
;
7698 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7700 wxPy_END_ALLOW_THREADS
;
7701 } Py_INCREF(Py_None
);
7702 _resultobj
= Py_None
;
7710 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7711 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
* _resultobj
;
7716 PyObject
* _argo0
= 0;
7717 char *_kwnames
[] = { "self","id", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7730 wxPy_BEGIN_ALLOW_THREADS
;
7731 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7733 wxPy_END_ALLOW_THREADS
;
7735 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7743 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7744 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
* _resultobj
;
7746 wxMenuItem
* _result
;
7747 wxMenu
* _arg0
= (wxMenu
*) NULL
;
7748 int _arg1
= (int ) ID_SEPARATOR
;
7749 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
7750 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7751 bool _arg4
= (bool ) FALSE
;
7752 wxMenu
* _arg5
= (wxMenu
*) NULL
;
7753 PyObject
* _argo0
= 0;
7754 PyObject
* _obj2
= 0;
7755 PyObject
* _obj3
= 0;
7756 int tempbool4
= (int) FALSE
;
7757 PyObject
* _argo5
= 0;
7758 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7773 if (!PyString_Check(_obj2
)) {
7774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7777 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7781 if (!PyString_Check(_obj3
)) {
7782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7785 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7787 _arg4
= (bool ) tempbool4
;
7789 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7790 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
7791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7796 wxPy_BEGIN_ALLOW_THREADS
;
7797 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7799 wxPy_END_ALLOW_THREADS
;
7801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7802 _resultobj
= Py_BuildValue("s",_ptemp
);
7805 _resultobj
= Py_None
;
7818 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
7819 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
* _resultobj
;
7823 PyObject
* _argo0
= 0;
7824 char *_kwnames
[] = { "self", NULL
};
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
7831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
7838 wxPy_BEGIN_ALLOW_THREADS
;
7839 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
7841 wxPy_END_ALLOW_THREADS
;
7843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7844 _resultobj
= Py_BuildValue("s",_ptemp
);
7847 _resultobj
= Py_None
;
7852 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7853 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
* _resultobj
;
7857 PyObject
* _argo0
= 0;
7858 char *_kwnames
[] = { "self","id", NULL
};
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
7864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
7871 wxPy_BEGIN_ALLOW_THREADS
;
7872 wxMenuItem_SetId(_arg0
,_arg1
);
7874 wxPy_END_ALLOW_THREADS
;
7875 } Py_INCREF(Py_None
);
7876 _resultobj
= Py_None
;
7880 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7881 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
* _resultobj
;
7885 PyObject
* _argo0
= 0;
7886 char *_kwnames
[] = { "self", NULL
};
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7899 wxPy_BEGIN_ALLOW_THREADS
;
7900 _result
= (int )wxMenuItem_GetId(_arg0
);
7902 wxPy_END_ALLOW_THREADS
;
7903 } _resultobj
= Py_BuildValue("i",_result
);
7907 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7908 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
* _resultobj
;
7912 PyObject
* _argo0
= 0;
7913 char *_kwnames
[] = { "self", NULL
};
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
7919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
7926 wxPy_BEGIN_ALLOW_THREADS
;
7927 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
7929 wxPy_END_ALLOW_THREADS
;
7930 } _resultobj
= Py_BuildValue("i",_result
);
7934 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7935 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
* _resultobj
;
7939 PyObject
* _argo0
= 0;
7940 PyObject
* _obj1
= 0;
7941 char *_kwnames
[] = { "self","str", NULL
};
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
7947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
7954 if (!PyString_Check(_obj1
)) {
7955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7958 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7961 wxPy_BEGIN_ALLOW_THREADS
;
7962 wxMenuItem_SetText(_arg0
,*_arg1
);
7964 wxPy_END_ALLOW_THREADS
;
7965 } Py_INCREF(Py_None
);
7966 _resultobj
= Py_None
;
7974 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
7975 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
* _resultobj
;
7979 PyObject
* _argo0
= 0;
7980 char *_kwnames
[] = { "self", NULL
};
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
7986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
7993 wxPy_BEGIN_ALLOW_THREADS
;
7994 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
7996 wxPy_END_ALLOW_THREADS
;
7998 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
8006 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8007 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
* _resultobj
;
8011 PyObject
* _argo0
= 0;
8012 char *_kwnames
[] = { "self", NULL
};
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8025 wxPy_BEGIN_ALLOW_THREADS
;
8026 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8027 _result
= (wxString
*) &_result_ref
;
8029 wxPy_END_ALLOW_THREADS
;
8031 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8036 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8037 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
* _resultobj
;
8041 PyObject
* _argo0
= 0;
8043 char *_kwnames
[] = { "self","checkable", NULL
};
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8055 _arg1
= (bool ) tempbool1
;
8057 wxPy_BEGIN_ALLOW_THREADS
;
8058 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8060 wxPy_END_ALLOW_THREADS
;
8061 } Py_INCREF(Py_None
);
8062 _resultobj
= Py_None
;
8066 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8067 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
* _resultobj
;
8071 PyObject
* _argo0
= 0;
8072 char *_kwnames
[] = { "self", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8085 wxPy_BEGIN_ALLOW_THREADS
;
8086 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8088 wxPy_END_ALLOW_THREADS
;
8089 } _resultobj
= Py_BuildValue("i",_result
);
8093 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8094 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
* _resultobj
;
8098 PyObject
* _argo0
= 0;
8099 char *_kwnames
[] = { "self", NULL
};
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8112 wxPy_BEGIN_ALLOW_THREADS
;
8113 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8115 wxPy_END_ALLOW_THREADS
;
8116 } _resultobj
= Py_BuildValue("i",_result
);
8120 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8121 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
* _resultobj
;
8125 PyObject
* _argo0
= 0;
8126 PyObject
* _argo1
= 0;
8127 char *_kwnames
[] = { "self","menu", NULL
};
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8147 wxPy_BEGIN_ALLOW_THREADS
;
8148 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8150 wxPy_END_ALLOW_THREADS
;
8151 } Py_INCREF(Py_None
);
8152 _resultobj
= Py_None
;
8156 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8157 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
* _resultobj
;
8161 PyObject
* _argo0
= 0;
8162 char *_kwnames
[] = { "self", NULL
};
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8176 wxPy_BEGIN_ALLOW_THREADS
;
8177 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8179 wxPy_END_ALLOW_THREADS
;
8181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8182 _resultobj
= Py_BuildValue("s",_ptemp
);
8185 _resultobj
= Py_None
;
8190 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8191 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
* _resultobj
;
8194 bool _arg1
= (bool ) TRUE
;
8195 PyObject
* _argo0
= 0;
8196 int tempbool1
= (int) TRUE
;
8197 char *_kwnames
[] = { "self","enable", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8209 _arg1
= (bool ) tempbool1
;
8211 wxPy_BEGIN_ALLOW_THREADS
;
8212 wxMenuItem_Enable(_arg0
,_arg1
);
8214 wxPy_END_ALLOW_THREADS
;
8215 } Py_INCREF(Py_None
);
8216 _resultobj
= Py_None
;
8220 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8221 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
* _resultobj
;
8225 PyObject
* _argo0
= 0;
8226 char *_kwnames
[] = { "self", NULL
};
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8239 wxPy_BEGIN_ALLOW_THREADS
;
8240 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8242 wxPy_END_ALLOW_THREADS
;
8243 } _resultobj
= Py_BuildValue("i",_result
);
8247 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8248 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
* _resultobj
;
8251 bool _arg1
= (bool ) TRUE
;
8252 PyObject
* _argo0
= 0;
8253 int tempbool1
= (int) TRUE
;
8254 char *_kwnames
[] = { "self","check", NULL
};
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8266 _arg1
= (bool ) tempbool1
;
8268 wxPy_BEGIN_ALLOW_THREADS
;
8269 wxMenuItem_Check(_arg0
,_arg1
);
8271 wxPy_END_ALLOW_THREADS
;
8272 } Py_INCREF(Py_None
);
8273 _resultobj
= Py_None
;
8277 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8278 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
* _resultobj
;
8282 PyObject
* _argo0
= 0;
8283 char *_kwnames
[] = { "self", NULL
};
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8296 wxPy_BEGIN_ALLOW_THREADS
;
8297 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8299 wxPy_END_ALLOW_THREADS
;
8300 } _resultobj
= Py_BuildValue("i",_result
);
8304 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8305 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
* _resultobj
;
8308 PyObject
* _argo0
= 0;
8309 char *_kwnames
[] = { "self", NULL
};
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8322 wxPy_BEGIN_ALLOW_THREADS
;
8323 wxMenuItem_Toggle(_arg0
);
8325 wxPy_END_ALLOW_THREADS
;
8326 } Py_INCREF(Py_None
);
8327 _resultobj
= Py_None
;
8331 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8332 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
* _resultobj
;
8336 PyObject
* _argo0
= 0;
8337 PyObject
* _obj1
= 0;
8338 char *_kwnames
[] = { "self","str", NULL
};
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8351 if (!PyString_Check(_obj1
)) {
8352 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8355 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8358 wxPy_BEGIN_ALLOW_THREADS
;
8359 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8361 wxPy_END_ALLOW_THREADS
;
8362 } Py_INCREF(Py_None
);
8363 _resultobj
= Py_None
;
8371 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8372 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
* _resultobj
;
8376 PyObject
* _argo0
= 0;
8377 char *_kwnames
[] = { "self", NULL
};
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8390 wxPy_BEGIN_ALLOW_THREADS
;
8391 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8392 _result
= (wxString
*) &_result_ref
;
8394 wxPy_END_ALLOW_THREADS
;
8396 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8401 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8402 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
* _resultobj
;
8404 wxAcceleratorEntry
* _result
;
8406 PyObject
* _argo0
= 0;
8407 char *_kwnames
[] = { "self", NULL
};
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8421 wxPy_BEGIN_ALLOW_THREADS
;
8422 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8424 wxPy_END_ALLOW_THREADS
;
8426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8427 _resultobj
= Py_BuildValue("s",_ptemp
);
8430 _resultobj
= Py_None
;
8435 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8436 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
* _resultobj
;
8439 wxAcceleratorEntry
* _arg1
;
8440 PyObject
* _argo0
= 0;
8441 PyObject
* _argo1
= 0;
8442 char *_kwnames
[] = { "self","accel", NULL
};
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8462 wxPy_BEGIN_ALLOW_THREADS
;
8463 wxMenuItem_SetAccel(_arg0
,_arg1
);
8465 wxPy_END_ALLOW_THREADS
;
8466 } Py_INCREF(Py_None
);
8467 _resultobj
= Py_None
;
8471 static PyMethodDef windowscMethods
[] = {
8472 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8540 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8541 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8542 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8543 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8544 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8545 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8546 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8547 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8548 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8549 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8550 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8551 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8552 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8553 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8554 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8555 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8556 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8557 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8558 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8559 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8560 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8561 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8562 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8565 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8566 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8567 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8568 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8569 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8570 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8571 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8572 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8573 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8574 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8575 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8576 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8577 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8578 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8579 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8580 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
8581 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8582 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8583 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8584 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8585 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8586 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8587 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8588 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8589 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8590 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8591 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8592 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8593 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8594 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8595 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8596 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8597 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8598 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8599 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8600 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8601 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8602 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8603 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8604 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8605 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8606 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8607 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8608 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8609 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8610 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8611 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8612 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8613 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8614 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8615 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8616 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8617 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8618 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8619 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8620 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8621 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8622 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8623 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8624 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8625 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8626 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8627 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8628 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8629 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8630 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8631 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8632 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8633 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8634 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8635 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8636 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8637 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8638 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8639 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8640 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8641 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8642 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8643 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
8644 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
8645 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
8646 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8647 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8648 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8649 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8650 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8651 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8652 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8653 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8654 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8655 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8656 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8657 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8658 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8659 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8660 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8661 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8662 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8663 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8664 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8665 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8666 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8667 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8668 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8669 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8670 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8671 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8672 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8673 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8674 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8675 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8676 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8677 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8678 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8679 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8680 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8681 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8682 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8683 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8684 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8685 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8686 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8687 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8688 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8689 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8690 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8691 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8692 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8693 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8694 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8695 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8696 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8697 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8698 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8699 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8700 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8701 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
8702 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8703 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8704 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8705 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8706 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8707 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8708 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8709 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8710 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8711 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8718 * This table is used by the pointer type-checker
8720 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8721 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8722 { "_signed_long","_long",0},
8723 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8724 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8725 { "_wxPrintQuality","_wxCoord",0},
8726 { "_wxPrintQuality","_int",0},
8727 { "_wxPrintQuality","_signed_int",0},
8728 { "_wxPrintQuality","_unsigned_int",0},
8729 { "_wxPrintQuality","_wxWindowID",0},
8730 { "_wxPrintQuality","_uint",0},
8731 { "_wxPrintQuality","_EBool",0},
8732 { "_wxPrintQuality","_size_t",0},
8733 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8734 { "_class_wxRegionIterator","_wxRegionIterator",0},
8735 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8736 { "_class_wxMenuBar","_wxMenuBar",0},
8737 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8738 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8739 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8740 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8741 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8742 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8743 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8744 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8745 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8746 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8747 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8748 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8749 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8750 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8751 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8752 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8753 { "_class_wxEvtHandler","_wxEvtHandler",0},
8754 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8755 { "_wxCursor","_class_wxCursor",0},
8756 { "_wxMask","_class_wxMask",0},
8757 { "_wxPen","_class_wxPen",0},
8758 { "_byte","_unsigned_char",0},
8759 { "_wxDataObject","_class_wxDataObject",0},
8760 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8761 { "_wxPyDropSource","_class_wxPyDropSource",0},
8762 { "_long","_unsigned_long",0},
8763 { "_long","_signed_long",0},
8764 { "_wxImageList","_class_wxImageList",0},
8765 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8766 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8767 { "_class_wxClipboard","_wxClipboard",0},
8768 { "_wxDC","_class_wxDC",0},
8769 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8770 { "_size_t","_wxCoord",0},
8771 { "_size_t","_wxPrintQuality",0},
8772 { "_size_t","_unsigned_int",0},
8773 { "_size_t","_int",0},
8774 { "_size_t","_wxWindowID",0},
8775 { "_size_t","_uint",0},
8776 { "_class_wxRealPoint","_wxRealPoint",0},
8777 { "_class_wxMenuItem","_wxMenuItem",0},
8778 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8779 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8780 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8781 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8782 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8783 { "_wxPanel","_class_wxPanel",0},
8784 { "_class_wxMask","_wxMask",0},
8785 { "_wxTextDataObject","_class_wxTextDataObject",0},
8786 { "_wxColour","_class_wxColour",0},
8787 { "_class_wxDialog","_wxDialog",0},
8788 { "_class_wxFileDataObject","_wxFileDataObject",0},
8789 { "_class_wxDataObject","_wxDataObject",0},
8790 { "_wxBrush","_class_wxBrush",0},
8791 { "_wxDataFormat","_class_wxDataFormat",0},
8792 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8793 { "_uint","_wxCoord",0},
8794 { "_uint","_wxPrintQuality",0},
8795 { "_uint","_size_t",0},
8796 { "_uint","_unsigned_int",0},
8797 { "_uint","_int",0},
8798 { "_uint","_wxWindowID",0},
8799 { "_wxPyValidator","_class_wxPyValidator",0},
8800 { "_wxRect","_class_wxRect",0},
8801 { "_wxPoint","_class_wxPoint",0},
8802 { "_wxBitmap","_class_wxBitmap",0},
8803 { "_char","_wxDash",0},
8804 { "_wxPyTimer","_class_wxPyTimer",0},
8805 { "_wxWindowDC","_class_wxWindowDC",0},
8806 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8807 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8808 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8809 { "_class_wxValidator","_wxValidator",0},
8810 { "_wxDropTarget","_class_wxDropTarget",0},
8811 { "_EBool","_wxCoord",0},
8812 { "_EBool","_wxPrintQuality",0},
8813 { "_EBool","_signed_int",0},
8814 { "_EBool","_int",0},
8815 { "_EBool","_wxWindowID",0},
8816 { "_class_wxRegion","_wxRegion",0},
8817 { "_class_wxDataFormat","_wxDataFormat",0},
8818 { "_wxFont","_class_wxFont",0},
8819 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8820 { "_unsigned_long","_long",0},
8821 { "_class_wxRect","_wxRect",0},
8822 { "_class_wxDC","_wxDC",0},
8823 { "_class_wxPyTimer","_wxPyTimer",0},
8824 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8825 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8826 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8827 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8828 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8829 { "_class_wxPanel","_wxPanel",0},
8830 { "_signed_int","_wxCoord",0},
8831 { "_signed_int","_wxPrintQuality",0},
8832 { "_signed_int","_EBool",0},
8833 { "_signed_int","_wxWindowID",0},
8834 { "_signed_int","_int",0},
8835 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8836 { "_class_wxTextDataObject","_wxTextDataObject",0},
8837 { "_wxMenu","_class_wxMenu",0},
8838 { "_wxScreenDC","_class_wxScreenDC",0},
8839 { "_WXTYPE","_short",0},
8840 { "_WXTYPE","_signed_short",0},
8841 { "_WXTYPE","_unsigned_short",0},
8842 { "_class_wxDropTarget","_wxDropTarget",0},
8843 { "_class_wxBrush","_wxBrush",0},
8844 { "_unsigned_short","_WXTYPE",0},
8845 { "_unsigned_short","_short",0},
8846 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8847 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8848 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8849 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8850 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8851 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8852 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8853 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8854 { "_class_wxWindow","_wxWindow",0},
8855 { "_class_wxFont","_wxFont",0},
8856 { "_wxClipboard","_class_wxClipboard",0},
8857 { "_class_wxPyValidator","_wxPyValidator",0},
8858 { "_wxBusyInfo","_class_wxBusyInfo",0},
8859 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8860 { "_wxClientDC","_class_wxClientDC",0},
8861 { "_class_wxPoint","_wxPoint",0},
8862 { "_wxRealPoint","_class_wxRealPoint",0},
8863 { "_signed_short","_WXTYPE",0},
8864 { "_signed_short","_short",0},
8865 { "_wxMemoryDC","_class_wxMemoryDC",0},
8866 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8867 { "_wxPaintDC","_class_wxPaintDC",0},
8868 { "_class_wxWindowDC","_wxWindowDC",0},
8869 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8870 { "_class_wxCursor","_wxCursor",0},
8871 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8872 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8873 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8874 { "_unsigned_char","_byte",0},
8875 { "_class_wxMenu","_wxMenu",0},
8876 { "_unsigned_int","_wxCoord",0},
8877 { "_unsigned_int","_wxPrintQuality",0},
8878 { "_unsigned_int","_size_t",0},
8879 { "_unsigned_int","_uint",0},
8880 { "_unsigned_int","_wxWindowID",0},
8881 { "_unsigned_int","_int",0},
8882 { "_wxIcon","_class_wxIcon",0},
8883 { "_wxDialog","_class_wxDialog",0},
8884 { "_class_wxPen","_wxPen",0},
8885 { "_short","_WXTYPE",0},
8886 { "_short","_unsigned_short",0},
8887 { "_short","_signed_short",0},
8888 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8889 { "_class_wxPyDropSource","_wxPyDropSource",0},
8890 { "_class_wxImageList","_wxImageList",0},
8891 { "_wxWindowID","_wxCoord",0},
8892 { "_wxWindowID","_wxPrintQuality",0},
8893 { "_wxWindowID","_size_t",0},
8894 { "_wxWindowID","_EBool",0},
8895 { "_wxWindowID","_uint",0},
8896 { "_wxWindowID","_int",0},
8897 { "_wxWindowID","_signed_int",0},
8898 { "_wxWindowID","_unsigned_int",0},
8899 { "_int","_wxCoord",0},
8900 { "_int","_wxPrintQuality",0},
8901 { "_int","_size_t",0},
8902 { "_int","_EBool",0},
8903 { "_int","_uint",0},
8904 { "_int","_wxWindowID",0},
8905 { "_int","_unsigned_int",0},
8906 { "_int","_signed_int",0},
8907 { "_wxSize","_class_wxSize",0},
8908 { "_wxRegionIterator","_class_wxRegionIterator",0},
8909 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8910 { "_class_wxPaintDC","_wxPaintDC",0},
8911 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8912 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8913 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8914 { "_wxValidator","_class_wxValidator",0},
8915 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8916 { "_class_wxIcon","_wxIcon",0},
8917 { "_class_wxColour","_wxColour",0},
8918 { "_class_wxScreenDC","_wxScreenDC",0},
8919 { "_wxPalette","_class_wxPalette",0},
8920 { "_wxCoord","_int",0},
8921 { "_wxCoord","_signed_int",0},
8922 { "_wxCoord","_unsigned_int",0},
8923 { "_wxCoord","_wxWindowID",0},
8924 { "_wxCoord","_uint",0},
8925 { "_wxCoord","_EBool",0},
8926 { "_wxCoord","_size_t",0},
8927 { "_wxCoord","_wxPrintQuality",0},
8928 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8929 { "_wxRegion","_class_wxRegion",0},
8930 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8931 { "_class_wxBusyInfo","_wxBusyInfo",0},
8932 { "_class_wxClientDC","_wxClientDC",0},
8933 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8934 { "_class_wxSize","_wxSize",0},
8935 { "_class_wxBitmap","_wxBitmap",0},
8936 { "_class_wxMemoryDC","_wxMemoryDC",0},
8937 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8938 { "_wxMenuBar","_class_wxMenuBar",0},
8939 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8940 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8941 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8942 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8943 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8944 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8945 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8946 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8947 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8948 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8949 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8950 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8951 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8952 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8953 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8954 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8955 { "_wxEvtHandler","_class_wxEvtHandler",0},
8956 { "_wxMenuItem","_class_wxMenuItem",0},
8957 { "_wxDash","_char",0},
8958 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8959 { "_class_wxPalette","_wxPalette",0},
8960 { "_wxFileDataObject","_class_wxFileDataObject",0},
8961 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8962 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8963 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8964 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8965 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8966 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8967 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8968 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8969 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8970 { "_wxWindow","_class_wxWindow",0},
8973 static PyObject
*SWIG_globals
;
8977 SWIGEXPORT(void) initwindowsc() {
8979 SWIG_globals
= SWIG_newvarlink();
8980 m
= Py_InitModule("windowsc", windowscMethods
);
8981 d
= PyModule_GetDict(m
);
8984 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8985 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);