2 * FILE : msw/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
);
161 wxWindow
* wxWindow_FindFocus() {
162 return wxWindow::FindFocus();
165 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
166 wxWindow
* win
= new wxWindow
;
168 win
->SubclassWin(hWnd
);
174 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
175 PyObject
* _resultobj
;
177 char *_kwnames
[] = { NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (bool )wxValidator_IsSilent();
186 wxPy_END_ALLOW_THREADS
;
187 } _resultobj
= Py_BuildValue("i",_result
);
191 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
192 PyObject
* _resultobj
;
193 int _arg0
= (int ) TRUE
;
194 char *_kwnames
[] = { "doIt", NULL
};
197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
200 wxPy_BEGIN_ALLOW_THREADS
;
201 wxValidator_SetBellOnError(_arg0
);
203 wxPy_END_ALLOW_THREADS
;
204 } Py_INCREF(Py_None
);
205 _resultobj
= Py_None
;
209 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
212 char *_kwnames
[] = { NULL
};
216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
219 wxPy_BEGIN_ALLOW_THREADS
;
220 _result
= (wxWindow
*)wxWindow_FindFocus();
222 wxPy_END_ALLOW_THREADS
;
224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
225 _resultobj
= Py_BuildValue("s",_ptemp
);
228 _resultobj
= Py_None
;
233 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
237 char *_kwnames
[] = { "hWnd", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
244 wxPy_BEGIN_ALLOW_THREADS
;
245 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
247 wxPy_END_ALLOW_THREADS
;
249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
250 _resultobj
= Py_BuildValue("s",_ptemp
);
253 _resultobj
= Py_None
;
258 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
259 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
262 wxEvtHandler
* _arg0
;
264 PyObject
* _argo0
= 0;
265 PyObject
* _argo1
= 0;
266 char *_kwnames
[] = { "self","event", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
279 if (_argo1
== Py_None
) { _arg1
= NULL
; }
280 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
286 wxPy_BEGIN_ALLOW_THREADS
;
287 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
289 wxPy_END_ALLOW_THREADS
;
290 } _resultobj
= Py_BuildValue("i",_result
);
294 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
295 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
298 wxEvtHandler
* _arg0
;
299 PyObject
* _argo0
= 0;
300 char *_kwnames
[] = { "self", NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
313 wxPy_BEGIN_ALLOW_THREADS
;
314 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
316 wxPy_END_ALLOW_THREADS
;
317 } _resultobj
= Py_BuildValue("i",_result
);
321 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
322 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
324 wxEvtHandler
* _arg0
;
326 PyObject
* _argo0
= 0;
328 char *_kwnames
[] = { "self","enabled", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
340 _arg1
= (bool ) tempbool1
;
342 wxPy_BEGIN_ALLOW_THREADS
;
343 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
345 wxPy_END_ALLOW_THREADS
;
346 } Py_INCREF(Py_None
);
347 _resultobj
= Py_None
;
351 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
352 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
354 wxEvtHandler
* _result
;
355 wxEvtHandler
* _arg0
;
356 PyObject
* _argo0
= 0;
357 char *_kwnames
[] = { "self", NULL
};
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
371 wxPy_BEGIN_ALLOW_THREADS
;
372 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
374 wxPy_END_ALLOW_THREADS
;
376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
377 _resultobj
= Py_BuildValue("s",_ptemp
);
380 _resultobj
= Py_None
;
385 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
386 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
387 PyObject
* _resultobj
;
388 wxEvtHandler
* _result
;
389 wxEvtHandler
* _arg0
;
390 PyObject
* _argo0
= 0;
391 char *_kwnames
[] = { "self", NULL
};
395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
405 wxPy_BEGIN_ALLOW_THREADS
;
406 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
408 wxPy_END_ALLOW_THREADS
;
410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
411 _resultobj
= Py_BuildValue("s",_ptemp
);
414 _resultobj
= Py_None
;
419 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
420 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
422 wxEvtHandler
* _arg0
;
423 wxEvtHandler
* _arg1
;
424 PyObject
* _argo0
= 0;
425 PyObject
* _argo1
= 0;
426 char *_kwnames
[] = { "self","handler", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
446 wxPy_BEGIN_ALLOW_THREADS
;
447 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
449 wxPy_END_ALLOW_THREADS
;
450 } Py_INCREF(Py_None
);
451 _resultobj
= Py_None
;
455 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
456 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxEvtHandler
* _arg0
;
459 wxEvtHandler
* _arg1
;
460 PyObject
* _argo0
= 0;
461 PyObject
* _argo1
= 0;
462 char *_kwnames
[] = { "self","handler", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
475 if (_argo1
== Py_None
) { _arg1
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
482 wxPy_BEGIN_ALLOW_THREADS
;
483 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
485 wxPy_END_ALLOW_THREADS
;
486 } Py_INCREF(Py_None
);
487 _resultobj
= Py_None
;
491 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
492 if (PyCallable_Check(func
)) {
493 self
->Connect(id
, lastId
, eventType
,
494 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
495 new wxPyCallback(func
));
498 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
500 wxEvtHandler
* _arg0
;
505 PyObject
* _argo0
= 0;
506 PyObject
* _obj4
= 0;
507 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
523 wxPy_BEGIN_ALLOW_THREADS
;
524 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
526 wxPy_END_ALLOW_THREADS
;
527 } Py_INCREF(Py_None
);
528 _resultobj
= Py_None
;
532 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
533 return self
->Disconnect(id
, lastId
, eventType
,
534 (wxObjectEventFunction
)
535 &wxPyCallback::EventThunker
);
537 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
540 wxEvtHandler
* _arg0
;
542 int _arg2
= (int ) -1;
543 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
559 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
561 wxPy_END_ALLOW_THREADS
;
562 } _resultobj
= Py_BuildValue("i",_result
);
566 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
569 src
= (wxValidator
*) ptr
;
570 dest
= (wxEvtHandler
*) src
;
571 return (void *) dest
;
574 #define new_wxValidator() (new wxValidator())
575 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
577 wxValidator
* _result
;
578 char *_kwnames
[] = { NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
585 wxPy_BEGIN_ALLOW_THREADS
;
586 _result
= (wxValidator
*)new_wxValidator();
588 wxPy_END_ALLOW_THREADS
;
590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
591 _resultobj
= Py_BuildValue("s",_ptemp
);
594 _resultobj
= Py_None
;
599 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
600 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
601 PyObject
* _resultobj
;
602 wxValidator
* _result
;
604 PyObject
* _argo0
= 0;
605 char *_kwnames
[] = { "self", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
619 wxPy_BEGIN_ALLOW_THREADS
;
620 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
622 wxPy_END_ALLOW_THREADS
;
624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
625 _resultobj
= Py_BuildValue("s",_ptemp
);
628 _resultobj
= Py_None
;
633 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
634 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
638 PyObject
* _argo0
= 0;
639 char *_kwnames
[] = { "self", NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
653 wxPy_BEGIN_ALLOW_THREADS
;
654 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
656 wxPy_END_ALLOW_THREADS
;
658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
659 _resultobj
= Py_BuildValue("s",_ptemp
);
662 _resultobj
= Py_None
;
667 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
668 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
672 PyObject
* _argo0
= 0;
673 PyObject
* _argo1
= 0;
674 char *_kwnames
[] = { "self","window", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
694 wxPy_BEGIN_ALLOW_THREADS
;
695 wxValidator_SetWindow(_arg0
,_arg1
);
697 wxPy_END_ALLOW_THREADS
;
698 } Py_INCREF(Py_None
);
699 _resultobj
= Py_None
;
703 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
706 src
= (wxPyValidator
*) ptr
;
707 dest
= (wxValidator
*) src
;
708 return (void *) dest
;
711 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
714 src
= (wxPyValidator
*) ptr
;
715 dest
= (wxEvtHandler
*) src
;
716 return (void *) dest
;
719 #define new_wxPyValidator() (new wxPyValidator())
720 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
722 wxPyValidator
* _result
;
723 char *_kwnames
[] = { NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
730 wxPy_BEGIN_ALLOW_THREADS
;
731 _result
= (wxPyValidator
*)new_wxPyValidator();
733 wxPy_END_ALLOW_THREADS
;
735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
736 _resultobj
= Py_BuildValue("s",_ptemp
);
739 _resultobj
= Py_None
;
744 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
745 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
747 wxPyValidator
* _arg0
;
748 PyObject
* _argo0
= 0;
749 char *_kwnames
[] = { "self", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
762 wxPy_BEGIN_ALLOW_THREADS
;
763 wxPyValidator_Destroy(_arg0
);
765 wxPy_END_ALLOW_THREADS
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
771 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
772 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
774 wxPyValidator
* _arg0
;
776 int _arg2
= (int ) TRUE
;
777 PyObject
* _argo0
= 0;
778 PyObject
* _obj1
= 0;
779 char *_kwnames
[] = { "self","self","incref", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
795 wxPy_BEGIN_ALLOW_THREADS
;
796 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
798 wxPy_END_ALLOW_THREADS
;
799 } Py_INCREF(Py_None
);
800 _resultobj
= Py_None
;
804 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
807 src
= (wxWindow
*) ptr
;
808 dest
= (wxEvtHandler
*) src
;
809 return (void *) dest
;
812 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
813 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
814 PyObject
* _resultobj
;
818 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
819 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
820 long _arg4
= (long ) 0;
821 char * _arg5
= (char *) "panel";
822 PyObject
* _argo0
= 0;
824 PyObject
* _obj2
= 0;
826 PyObject
* _obj3
= 0;
827 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
843 if (! wxPoint_helper(_obj2
, &_arg2
))
849 if (! wxSize_helper(_obj3
, &_arg3
))
853 wxPy_BEGIN_ALLOW_THREADS
;
854 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
856 wxPy_END_ALLOW_THREADS
;
858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
859 _resultobj
= Py_BuildValue("s",_ptemp
);
862 _resultobj
= Py_None
;
867 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
868 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
871 PyObject
* _argo0
= 0;
872 char *_kwnames
[] = { "self", NULL
};
875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
885 wxPy_BEGIN_ALLOW_THREADS
;
886 wxWindow_CaptureMouse(_arg0
);
888 wxPy_END_ALLOW_THREADS
;
889 } Py_INCREF(Py_None
);
890 _resultobj
= Py_None
;
894 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
895 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
898 int _arg1
= (int ) wxBOTH
;
899 PyObject
* _argo0
= 0;
900 char *_kwnames
[] = { "self","direction", NULL
};
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
913 wxPy_BEGIN_ALLOW_THREADS
;
914 wxWindow_Center(_arg0
,_arg1
);
916 wxPy_END_ALLOW_THREADS
;
917 } Py_INCREF(Py_None
);
918 _resultobj
= Py_None
;
922 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
923 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
926 int _arg1
= (int ) wxBOTH
;
927 PyObject
* _argo0
= 0;
928 char *_kwnames
[] = { "self","direction", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
941 wxPy_BEGIN_ALLOW_THREADS
;
942 wxWindow_Centre(_arg0
,_arg1
);
944 wxPy_END_ALLOW_THREADS
;
945 } Py_INCREF(Py_None
);
946 _resultobj
= Py_None
;
950 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
951 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
954 int _arg1
= (int ) wxBOTH
;
955 PyObject
* _argo0
= 0;
956 char *_kwnames
[] = { "self","direction", NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
969 wxPy_BEGIN_ALLOW_THREADS
;
970 wxWindow_CentreOnParent(_arg0
,_arg1
);
972 wxPy_END_ALLOW_THREADS
;
973 } Py_INCREF(Py_None
);
974 _resultobj
= Py_None
;
978 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
979 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
982 int _arg1
= (int ) wxBOTH
;
983 PyObject
* _argo0
= 0;
984 char *_kwnames
[] = { "self","direction", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
997 wxPy_BEGIN_ALLOW_THREADS
;
998 wxWindow_CenterOnParent(_arg0
,_arg1
);
1000 wxPy_END_ALLOW_THREADS
;
1001 } Py_INCREF(Py_None
);
1002 _resultobj
= Py_None
;
1006 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1007 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1012 PyObject
* _argo0
= 0;
1014 PyObject
* _obj1
= 0;
1016 PyObject
* _obj2
= 0;
1017 char *_kwnames
[] = { "self","x","y", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1030 temp
= (int) PyInt_AsLong(_obj1
);
1034 temp0
= (int) PyInt_AsLong(_obj2
);
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1041 wxPy_END_ALLOW_THREADS
;
1042 } Py_INCREF(Py_None
);
1043 _resultobj
= Py_None
;
1046 o
= PyInt_FromLong((long) (*_arg1
));
1047 _resultobj
= t_output_helper(_resultobj
, o
);
1051 o
= PyInt_FromLong((long) (*_arg2
));
1052 _resultobj
= t_output_helper(_resultobj
, o
);
1057 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1058 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1063 PyObject
* _argo0
= 0;
1065 PyObject
* _obj1
= 0;
1066 char *_kwnames
[] = { "self","pt", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1081 if (! wxPoint_helper(_obj1
, &_arg1
))
1085 wxPy_BEGIN_ALLOW_THREADS
;
1086 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1088 wxPy_END_ALLOW_THREADS
;
1089 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1090 _resultobj
= Py_BuildValue("s",_ptemp
);
1094 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1095 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 int _arg1
= (int ) FALSE
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self","force", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1117 wxPy_END_ALLOW_THREADS
;
1118 } _resultobj
= Py_BuildValue("i",_result
);
1122 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1123 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1127 PyObject
* _argo0
= 0;
1128 char *_kwnames
[] = { "self", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1141 wxPy_BEGIN_ALLOW_THREADS
;
1142 _result
= (bool )wxWindow_Destroy(_arg0
);
1144 wxPy_END_ALLOW_THREADS
;
1145 } _resultobj
= Py_BuildValue("i",_result
);
1149 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1150 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1153 PyObject
* _argo0
= 0;
1154 char *_kwnames
[] = { "self", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
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_DestroyChildren. Expected _wxWindow_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 wxWindow_DestroyChildren(_arg0
);
1170 wxPy_END_ALLOW_THREADS
;
1171 } Py_INCREF(Py_None
);
1172 _resultobj
= Py_None
;
1176 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1177 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1181 PyObject
* _argo0
= 0;
1183 char *_kwnames
[] = { "self","accept", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1195 _arg1
= (bool ) tempbool1
;
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1200 wxPy_END_ALLOW_THREADS
;
1201 } Py_INCREF(Py_None
);
1202 _resultobj
= Py_None
;
1206 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1207 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1211 PyObject
* _argo0
= 0;
1213 char *_kwnames
[] = { "self","enable", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1225 _arg1
= (bool ) tempbool1
;
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 wxWindow_Enable(_arg0
,_arg1
);
1230 wxPy_END_ALLOW_THREADS
;
1231 } Py_INCREF(Py_None
);
1232 _resultobj
= Py_None
;
1236 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1237 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1242 PyObject
* _argo0
= 0;
1243 char *_kwnames
[] = { "self","id", NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1257 wxPy_BEGIN_ALLOW_THREADS
;
1258 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1260 wxPy_END_ALLOW_THREADS
;
1262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1263 _resultobj
= Py_BuildValue("s",_ptemp
);
1266 _resultobj
= Py_None
;
1271 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1272 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1277 PyObject
* _argo0
= 0;
1278 PyObject
* _obj1
= 0;
1279 char *_kwnames
[] = { "self","name", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1293 if (!PyString_Check(_obj1
)) {
1294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1297 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1300 wxPy_BEGIN_ALLOW_THREADS
;
1301 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1303 wxPy_END_ALLOW_THREADS
;
1305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1306 _resultobj
= Py_BuildValue("s",_ptemp
);
1309 _resultobj
= Py_None
;
1318 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1319 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1322 PyObject
* _argo0
= 0;
1323 char *_kwnames
[] = { "self", NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1336 wxPy_BEGIN_ALLOW_THREADS
;
1337 wxWindow_Fit(_arg0
);
1339 wxPy_END_ALLOW_THREADS
;
1340 } Py_INCREF(Py_None
);
1341 _resultobj
= Py_None
;
1345 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1346 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1350 PyObject
* _argo0
= 0;
1351 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1368 wxPy_END_ALLOW_THREADS
;
1369 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1370 _resultobj
= Py_BuildValue("s",_ptemp
);
1374 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1375 wxWindowList
& list
= self
->GetChildren();
1376 return wxPy_ConvertList(&list
, "wxWindow");
1378 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
* _resultobj
;
1382 PyObject
* _argo0
= 0;
1383 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1399 wxPy_END_ALLOW_THREADS
;
1401 _resultobj
= _result
;
1406 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1407 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1428 wxPy_END_ALLOW_THREADS
;
1429 } _resultobj
= Py_BuildValue("i",_result
);
1433 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1434 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1438 PyObject
* _argo0
= 0;
1439 char *_kwnames
[] = { "self", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1461 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1491 wxPy_END_ALLOW_THREADS
;
1492 } Py_INCREF(Py_None
);
1493 _resultobj
= Py_None
;
1496 o
= PyInt_FromLong((long) (*_arg1
));
1497 _resultobj
= t_output_helper(_resultobj
, o
);
1501 o
= PyInt_FromLong((long) (*_arg2
));
1502 _resultobj
= t_output_helper(_resultobj
, o
);
1507 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1508 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1512 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1530 wxPy_END_ALLOW_THREADS
;
1531 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1532 _resultobj
= Py_BuildValue("s",_ptemp
);
1536 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1537 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1539 wxLayoutConstraints
* _result
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1559 wxPy_END_ALLOW_THREADS
;
1561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1562 _resultobj
= Py_BuildValue("s",_ptemp
);
1565 _resultobj
= Py_None
;
1570 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1571 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1573 wxEvtHandler
* _result
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1590 wxPy_BEGIN_ALLOW_THREADS
;
1591 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1593 wxPy_END_ALLOW_THREADS
;
1595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1596 _resultobj
= Py_BuildValue("s",_ptemp
);
1599 _resultobj
= Py_None
;
1604 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1605 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1609 PyObject
* _argo0
= 0;
1610 char *_kwnames
[] = { "self", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1624 wxPy_BEGIN_ALLOW_THREADS
;
1625 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1626 _result
= (wxFont
*) &_result_ref
;
1628 wxPy_END_ALLOW_THREADS
;
1630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1631 _resultobj
= Py_BuildValue("s",_ptemp
);
1634 _resultobj
= Py_None
;
1639 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1640 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "self", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1659 wxPy_BEGIN_ALLOW_THREADS
;
1660 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1662 wxPy_END_ALLOW_THREADS
;
1663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1664 _resultobj
= Py_BuildValue("s",_ptemp
);
1668 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1669 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1673 PyObject
* _argo0
= 0;
1674 char *_kwnames
[] = { "self", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1688 wxPy_BEGIN_ALLOW_THREADS
;
1689 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1691 wxPy_END_ALLOW_THREADS
;
1693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1694 _resultobj
= Py_BuildValue("s",_ptemp
);
1697 _resultobj
= Py_None
;
1702 static long wxWindow_GetHandle(wxWindow
*self
) {
1703 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1705 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1709 PyObject
* _argo0
= 0;
1710 char *_kwnames
[] = { "self", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 _result
= (long )wxWindow_GetHandle(_arg0
);
1726 wxPy_END_ALLOW_THREADS
;
1727 } _resultobj
= Py_BuildValue("l",_result
);
1731 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1732 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1736 PyObject
* _argo0
= 0;
1737 char *_kwnames
[] = { "self", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1750 wxPy_BEGIN_ALLOW_THREADS
;
1751 _result
= (int )wxWindow_GetId(_arg0
);
1753 wxPy_END_ALLOW_THREADS
;
1754 } _resultobj
= Py_BuildValue("i",_result
);
1758 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1759 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1780 wxPy_END_ALLOW_THREADS
;
1782 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1790 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1791 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
* _resultobj
;
1795 PyObject
* _argo0
= 0;
1796 PyObject
* _obj1
= 0;
1797 char *_kwnames
[] = { "self","label", NULL
};
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1810 if (!PyString_Check(_obj1
)) {
1811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1814 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1817 wxPy_BEGIN_ALLOW_THREADS
;
1818 wxWindow_SetLabel(_arg0
,*_arg1
);
1820 wxPy_END_ALLOW_THREADS
;
1821 } Py_INCREF(Py_None
);
1822 _resultobj
= Py_None
;
1830 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1831 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 _result
= new wxString (wxWindow_GetName(_arg0
));
1852 wxPy_END_ALLOW_THREADS
;
1854 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1862 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1863 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1882 wxPy_BEGIN_ALLOW_THREADS
;
1883 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1885 wxPy_END_ALLOW_THREADS
;
1887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1888 _resultobj
= Py_BuildValue("s",_ptemp
);
1891 _resultobj
= Py_None
;
1896 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1897 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } Py_INCREF(Py_None
);
1929 _resultobj
= Py_None
;
1932 o
= PyInt_FromLong((long) (*_arg1
));
1933 _resultobj
= t_output_helper(_resultobj
, o
);
1937 o
= PyInt_FromLong((long) (*_arg2
));
1938 _resultobj
= t_output_helper(_resultobj
, o
);
1943 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1944 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1948 PyObject
* _argo0
= 0;
1949 char *_kwnames
[] = { "self", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1966 wxPy_END_ALLOW_THREADS
;
1967 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1968 _resultobj
= Py_BuildValue("s",_ptemp
);
1972 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1973 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1977 PyObject
* _argo0
= 0;
1978 char *_kwnames
[] = { "self", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1995 wxPy_END_ALLOW_THREADS
;
1996 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1997 _resultobj
= Py_BuildValue("s",_ptemp
);
2001 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2002 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2007 PyObject
* _argo0
= 0;
2008 char *_kwnames
[] = { "self","orientation", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2021 wxPy_BEGIN_ALLOW_THREADS
;
2022 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2024 wxPy_END_ALLOW_THREADS
;
2025 } _resultobj
= Py_BuildValue("i",_result
);
2029 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2030 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2035 PyObject
* _argo0
= 0;
2036 char *_kwnames
[] = { "self","orientation", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } _resultobj
= Py_BuildValue("i",_result
);
2057 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2058 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2063 PyObject
* _argo0
= 0;
2064 char *_kwnames
[] = { "self","orientation", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2077 wxPy_BEGIN_ALLOW_THREADS
;
2078 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2080 wxPy_END_ALLOW_THREADS
;
2081 } _resultobj
= Py_BuildValue("i",_result
);
2085 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2086 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2093 PyObject
* _argo0
= 0;
2094 char *_kwnames
[] = { "self", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2113 wxPy_BEGIN_ALLOW_THREADS
;
2114 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2116 wxPy_END_ALLOW_THREADS
;
2117 } Py_INCREF(Py_None
);
2118 _resultobj
= Py_None
;
2121 o
= PyInt_FromLong((long) (*_arg1
));
2122 _resultobj
= t_output_helper(_resultobj
, o
);
2126 o
= PyInt_FromLong((long) (*_arg2
));
2127 _resultobj
= t_output_helper(_resultobj
, o
);
2132 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2133 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2137 PyObject
* _argo0
= 0;
2138 char *_kwnames
[] = { "self", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2152 wxPy_BEGIN_ALLOW_THREADS
;
2153 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2155 wxPy_END_ALLOW_THREADS
;
2156 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2157 _resultobj
= Py_BuildValue("s",_ptemp
);
2161 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2162 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2170 PyObject
* _argo0
= 0;
2171 PyObject
* _obj1
= 0;
2172 char *_kwnames
[] = { "self","string", NULL
};
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2191 if (!PyString_Check(_obj1
)) {
2192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2195 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2201 wxPy_END_ALLOW_THREADS
;
2202 } Py_INCREF(Py_None
);
2203 _resultobj
= Py_None
;
2206 o
= PyInt_FromLong((long) (*_arg2
));
2207 _resultobj
= t_output_helper(_resultobj
, o
);
2211 o
= PyInt_FromLong((long) (*_arg3
));
2212 _resultobj
= t_output_helper(_resultobj
, o
);
2221 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2222 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2234 wxFont
* _arg6
= (wxFont
*) NULL
;
2235 PyObject
* _argo0
= 0;
2236 PyObject
* _obj1
= 0;
2237 PyObject
* _argo6
= 0;
2238 char *_kwnames
[] = { "self","string","font", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2263 if (!PyString_Check(_obj1
)) {
2264 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2267 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2270 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2271 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2280 wxPy_END_ALLOW_THREADS
;
2281 } Py_INCREF(Py_None
);
2282 _resultobj
= Py_None
;
2285 o
= PyInt_FromLong((long) (*_arg2
));
2286 _resultobj
= t_output_helper(_resultobj
, o
);
2290 o
= PyInt_FromLong((long) (*_arg3
));
2291 _resultobj
= t_output_helper(_resultobj
, o
);
2295 o
= PyInt_FromLong((long) (*_arg4
));
2296 _resultobj
= t_output_helper(_resultobj
, o
);
2300 o
= PyInt_FromLong((long) (*_arg5
));
2301 _resultobj
= t_output_helper(_resultobj
, o
);
2310 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2311 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2315 PyObject
* _argo0
= 0;
2316 char *_kwnames
[] = { "self", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2332 wxPy_END_ALLOW_THREADS
;
2334 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2342 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2343 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2347 PyObject
* _argo0
= 0;
2348 char *_kwnames
[] = { "self", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2362 wxPy_BEGIN_ALLOW_THREADS
;
2363 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2365 wxPy_END_ALLOW_THREADS
;
2366 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2367 _resultobj
= Py_BuildValue("s",_ptemp
);
2371 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2372 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2393 wxPy_END_ALLOW_THREADS
;
2394 } _resultobj
= Py_BuildValue("l",_result
);
2398 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2399 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2403 PyObject
* _argo0
= 0;
2404 char *_kwnames
[] = { "self", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2417 wxPy_BEGIN_ALLOW_THREADS
;
2418 _result
= (bool )wxWindow_Hide(_arg0
);
2420 wxPy_END_ALLOW_THREADS
;
2421 } _resultobj
= Py_BuildValue("i",_result
);
2425 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2426 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2429 PyObject
* _argo0
= 0;
2430 char *_kwnames
[] = { "self", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2443 wxPy_BEGIN_ALLOW_THREADS
;
2444 wxWindow_InitDialog(_arg0
);
2446 wxPy_END_ALLOW_THREADS
;
2447 } Py_INCREF(Py_None
);
2448 _resultobj
= Py_None
;
2452 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2453 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2457 PyObject
* _argo0
= 0;
2458 char *_kwnames
[] = { "self", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2474 wxPy_END_ALLOW_THREADS
;
2475 } _resultobj
= Py_BuildValue("i",_result
);
2479 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2480 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2486 int _arg3
= (int ) 0;
2487 int _arg4
= (int ) 0;
2488 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2502 wxPy_BEGIN_ALLOW_THREADS
;
2503 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2505 wxPy_END_ALLOW_THREADS
;
2506 } _resultobj
= Py_BuildValue("i",_result
);
2510 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2511 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2516 PyObject
* _argo0
= 0;
2518 PyObject
* _obj1
= 0;
2519 char *_kwnames
[] = { "self","pt", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2533 if (! wxPoint_helper(_obj1
, &_arg1
))
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2540 wxPy_END_ALLOW_THREADS
;
2541 } _resultobj
= Py_BuildValue("i",_result
);
2545 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2546 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2551 PyObject
* _argo0
= 0;
2553 PyObject
* _obj1
= 0;
2554 char *_kwnames
[] = { "self","rect", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2568 if (! wxRect_helper(_obj1
, &_arg1
))
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2581 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2599 wxPy_BEGIN_ALLOW_THREADS
;
2600 _result
= (bool )wxWindow_IsRetained(_arg0
);
2602 wxPy_END_ALLOW_THREADS
;
2603 } _resultobj
= Py_BuildValue("i",_result
);
2607 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2608 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 _result
= (bool )wxWindow_IsShown(_arg0
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } _resultobj
= Py_BuildValue("i",_result
);
2634 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2635 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2653 wxPy_BEGIN_ALLOW_THREADS
;
2654 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2656 wxPy_END_ALLOW_THREADS
;
2657 } _resultobj
= Py_BuildValue("i",_result
);
2661 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2662 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 wxWindow_Layout(_arg0
);
2682 wxPy_END_ALLOW_THREADS
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2688 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2689 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2695 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2696 PyObject
* _argo0
= 0;
2697 PyObject
* _argo1
= 0;
2698 PyObject
* _obj2
= 0;
2699 PyObject
* _argo3
= 0;
2700 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2720 if (!PyString_Check(_obj2
)) {
2721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2724 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2727 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2728 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2737 wxPy_END_ALLOW_THREADS
;
2738 } _resultobj
= Py_BuildValue("i",_result
);
2746 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2747 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2750 PyObject
* _argo0
= 0;
2751 char *_kwnames
[] = { "self", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 wxWindow_Lower(_arg0
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } Py_INCREF(Py_None
);
2769 _resultobj
= Py_None
;
2773 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2774 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2778 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self","flag", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2792 _arg1
= (bool ) tempbool1
;
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 wxWindow_MakeModal(_arg0
,_arg1
);
2797 wxPy_END_ALLOW_THREADS
;
2798 } Py_INCREF(Py_None
);
2799 _resultobj
= Py_None
;
2803 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2804 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2809 PyObject
* _argo0
= 0;
2810 char *_kwnames
[] = { "self","x","y", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2826 wxPy_END_ALLOW_THREADS
;
2827 } Py_INCREF(Py_None
);
2828 _resultobj
= Py_None
;
2832 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2833 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2837 PyObject
* _argo0
= 0;
2839 PyObject
* _obj1
= 0;
2840 char *_kwnames
[] = { "self","point", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2854 if (! wxPoint_helper(_obj1
, &_arg1
))
2858 wxPy_BEGIN_ALLOW_THREADS
;
2859 wxWindow_Move(_arg0
,*_arg1
);
2861 wxPy_END_ALLOW_THREADS
;
2862 } Py_INCREF(Py_None
);
2863 _resultobj
= Py_None
;
2867 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2868 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2870 wxEvtHandler
* _result
;
2872 bool _arg1
= (bool ) FALSE
;
2873 PyObject
* _argo0
= 0;
2874 int tempbool1
= (int) FALSE
;
2875 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2888 _arg1
= (bool ) tempbool1
;
2890 wxPy_BEGIN_ALLOW_THREADS
;
2891 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2893 wxPy_END_ALLOW_THREADS
;
2895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2896 _resultobj
= Py_BuildValue("s",_ptemp
);
2899 _resultobj
= Py_None
;
2904 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2905 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2908 wxEvtHandler
* _arg1
;
2909 PyObject
* _argo0
= 0;
2910 PyObject
* _argo1
= 0;
2911 char *_kwnames
[] = { "self","handler", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2931 wxPy_BEGIN_ALLOW_THREADS
;
2932 wxWindow_PushEventHandler(_arg0
,_arg1
);
2934 wxPy_END_ALLOW_THREADS
;
2935 } Py_INCREF(Py_None
);
2936 _resultobj
= Py_None
;
2940 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2941 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2948 PyObject
* _argo0
= 0;
2949 PyObject
* _argo1
= 0;
2950 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2970 wxPy_BEGIN_ALLOW_THREADS
;
2971 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2973 wxPy_END_ALLOW_THREADS
;
2974 } _resultobj
= Py_BuildValue("i",_result
);
2978 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2979 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2985 PyObject
* _argo0
= 0;
2986 PyObject
* _argo1
= 0;
2988 PyObject
* _obj2
= 0;
2989 char *_kwnames
[] = { "self","menu","pos", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3002 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3010 if (! wxPoint_helper(_obj2
, &_arg2
))
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3017 wxPy_END_ALLOW_THREADS
;
3018 } _resultobj
= Py_BuildValue("i",_result
);
3022 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3023 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 wxWindow_Raise(_arg0
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } Py_INCREF(Py_None
);
3045 _resultobj
= Py_None
;
3049 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3050 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3053 bool _arg1
= (bool ) TRUE
;
3054 wxRect
* _arg2
= (wxRect
*) NULL
;
3055 PyObject
* _argo0
= 0;
3056 int tempbool1
= (int) TRUE
;
3058 PyObject
* _obj2
= 0;
3059 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3071 _arg1
= (bool ) tempbool1
;
3075 if (! wxRect_helper(_obj2
, &_arg2
))
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3082 wxPy_END_ALLOW_THREADS
;
3083 } Py_INCREF(Py_None
);
3084 _resultobj
= Py_None
;
3088 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3089 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3092 PyObject
* _argo0
= 0;
3093 char *_kwnames
[] = { "self", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3106 wxPy_BEGIN_ALLOW_THREADS
;
3107 wxWindow_ReleaseMouse(_arg0
);
3109 wxPy_END_ALLOW_THREADS
;
3110 } Py_INCREF(Py_None
);
3111 _resultobj
= Py_None
;
3115 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3116 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3120 PyObject
* _argo0
= 0;
3121 PyObject
* _argo1
= 0;
3122 char *_kwnames
[] = { "self","child", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
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_RemoveChild. Expected _wxWindow_p.");
3135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3142 wxPy_BEGIN_ALLOW_THREADS
;
3143 wxWindow_RemoveChild(_arg0
,_arg1
);
3145 wxPy_END_ALLOW_THREADS
;
3146 } Py_INCREF(Py_None
);
3147 _resultobj
= Py_None
;
3151 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3152 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3157 PyObject
* _argo0
= 0;
3158 PyObject
* _argo1
= 0;
3159 char *_kwnames
[] = { "self","newParent", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
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_Reparent. Expected _wxWindow_p.");
3172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3179 wxPy_BEGIN_ALLOW_THREADS
;
3180 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3182 wxPy_END_ALLOW_THREADS
;
3183 } _resultobj
= Py_BuildValue("i",_result
);
3187 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3188 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3193 PyObject
* _argo0
= 0;
3195 PyObject
* _obj1
= 0;
3197 PyObject
* _obj2
= 0;
3198 char *_kwnames
[] = { "self","x","y", NULL
};
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3211 temp
= (int) PyInt_AsLong(_obj1
);
3215 temp0
= (int) PyInt_AsLong(_obj2
);
3219 wxPy_BEGIN_ALLOW_THREADS
;
3220 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3222 wxPy_END_ALLOW_THREADS
;
3223 } Py_INCREF(Py_None
);
3224 _resultobj
= Py_None
;
3227 o
= PyInt_FromLong((long) (*_arg1
));
3228 _resultobj
= t_output_helper(_resultobj
, o
);
3232 o
= PyInt_FromLong((long) (*_arg2
));
3233 _resultobj
= t_output_helper(_resultobj
, o
);
3238 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3239 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3244 PyObject
* _argo0
= 0;
3246 PyObject
* _obj1
= 0;
3247 char *_kwnames
[] = { "self","pt", NULL
};
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3262 if (! wxPoint_helper(_obj1
, &_arg1
))
3266 wxPy_BEGIN_ALLOW_THREADS
;
3267 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3269 wxPy_END_ALLOW_THREADS
;
3270 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3271 _resultobj
= Py_BuildValue("s",_ptemp
);
3275 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3276 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3281 wxRect
* _arg3
= (wxRect
*) NULL
;
3282 PyObject
* _argo0
= 0;
3284 PyObject
* _obj3
= 0;
3285 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3300 if (! wxRect_helper(_obj3
, &_arg3
))
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3307 wxPy_END_ALLOW_THREADS
;
3308 } Py_INCREF(Py_None
);
3309 _resultobj
= Py_None
;
3313 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3314 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3317 wxAcceleratorTable
* _arg1
;
3318 PyObject
* _argo0
= 0;
3319 PyObject
* _argo1
= 0;
3320 char *_kwnames
[] = { "self","accel", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3340 wxPy_BEGIN_ALLOW_THREADS
;
3341 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3343 wxPy_END_ALLOW_THREADS
;
3344 } Py_INCREF(Py_None
);
3345 _resultobj
= Py_None
;
3349 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3350 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3354 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self","autoLayout", NULL
};
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3368 _arg1
= (bool ) tempbool1
;
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3380 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3401 wxPy_END_ALLOW_THREADS
;
3402 } _resultobj
= Py_BuildValue("i",_result
);
3406 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3407 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3411 PyObject
* _argo0
= 0;
3412 PyObject
* _argo1
= 0;
3413 char *_kwnames
[] = { "self","colour", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3426 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3436 wxPy_END_ALLOW_THREADS
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3443 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3446 wxLayoutConstraints
* _arg1
;
3447 PyObject
* _argo0
= 0;
3448 PyObject
* _argo1
= 0;
3449 char *_kwnames
[] = { "self","constraints", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_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_SetConstraints. Expected _wxWindow_p.");
3462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxWindow_SetConstraints(_arg0
,_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3479 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3482 wxLayoutConstraints
* _arg1
;
3483 PyObject
* _argo0
= 0;
3484 PyObject
* _argo1
= 0;
3485 char *_kwnames
[] = { "self","constraints", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_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_UnsetConstraints. Expected _wxWindow_p.");
3498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } Py_INCREF(Py_None
);
3510 _resultobj
= Py_None
;
3514 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3515 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3518 PyObject
* _argo0
= 0;
3519 char *_kwnames
[] = { "self", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3532 wxPy_BEGIN_ALLOW_THREADS
;
3533 wxWindow_SetFocus(_arg0
);
3535 wxPy_END_ALLOW_THREADS
;
3536 } Py_INCREF(Py_None
);
3537 _resultobj
= Py_None
;
3541 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3542 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } _resultobj
= Py_BuildValue("i",_result
);
3568 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3569 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3573 PyObject
* _argo0
= 0;
3574 PyObject
* _argo1
= 0;
3575 char *_kwnames
[] = { "self","font", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 wxWindow_SetFont(_arg0
,*_arg1
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } Py_INCREF(Py_None
);
3600 _resultobj
= Py_None
;
3604 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3605 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3609 PyObject
* _argo0
= 0;
3610 PyObject
* _argo1
= 0;
3611 char *_kwnames
[] = { "self","colour", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3631 wxPy_BEGIN_ALLOW_THREADS
;
3632 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3634 wxPy_END_ALLOW_THREADS
;
3635 } Py_INCREF(Py_None
);
3636 _resultobj
= Py_None
;
3640 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3641 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3645 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "self","id", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 wxWindow_SetId(_arg0
,_arg1
);
3662 wxPy_END_ALLOW_THREADS
;
3663 } Py_INCREF(Py_None
);
3664 _resultobj
= Py_None
;
3668 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3669 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
* _resultobj
;
3673 PyObject
* _argo0
= 0;
3674 PyObject
* _obj1
= 0;
3675 char *_kwnames
[] = { "self","name", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3688 if (!PyString_Check(_obj1
)) {
3689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3692 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 wxWindow_SetName(_arg0
,*_arg1
);
3698 wxPy_END_ALLOW_THREADS
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3708 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3709 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3716 int _arg5
= (int ) TRUE
;
3717 PyObject
* _argo0
= 0;
3718 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3731 wxPy_BEGIN_ALLOW_THREADS
;
3732 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3734 wxPy_END_ALLOW_THREADS
;
3735 } Py_INCREF(Py_None
);
3736 _resultobj
= Py_None
;
3740 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3741 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3746 bool _arg3
= (bool ) TRUE
;
3747 PyObject
* _argo0
= 0;
3748 int tempbool3
= (int) TRUE
;
3749 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3761 _arg3
= (bool ) tempbool3
;
3763 wxPy_BEGIN_ALLOW_THREADS
;
3764 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3766 wxPy_END_ALLOW_THREADS
;
3767 } Py_INCREF(Py_None
);
3768 _resultobj
= Py_None
;
3772 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3773 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3780 int _arg5
= (int ) wxSIZE_AUTO
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3798 wxPy_END_ALLOW_THREADS
;
3799 } Py_INCREF(Py_None
);
3800 _resultobj
= Py_None
;
3804 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3805 self
->SetSize(size
.x
, size
.y
);
3807 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
* _resultobj
;
3811 PyObject
* _argo0
= 0;
3813 PyObject
* _obj1
= 0;
3814 char *_kwnames
[] = { "self","size", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3828 if (! wxSize_helper(_obj1
, &_arg1
))
3832 wxPy_BEGIN_ALLOW_THREADS
;
3833 wxWindow_SetSize(_arg0
,*_arg1
);
3835 wxPy_END_ALLOW_THREADS
;
3836 } Py_INCREF(Py_None
);
3837 _resultobj
= Py_None
;
3841 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3844 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3848 PyObject
* _argo0
= 0;
3850 PyObject
* _obj1
= 0;
3851 char *_kwnames
[] = { "self","pos", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3865 if (! wxPoint_helper(_obj1
, &_arg1
))
3869 wxPy_BEGIN_ALLOW_THREADS
;
3870 wxWindow_SetPosition(_arg0
,*_arg1
);
3872 wxPy_END_ALLOW_THREADS
;
3873 } Py_INCREF(Py_None
);
3874 _resultobj
= Py_None
;
3878 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3879 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 int _arg1
= (int ) -1;
3883 int _arg2
= (int ) -1;
3884 int _arg3
= (int ) -1;
3885 int _arg4
= (int ) -1;
3886 int _arg5
= (int ) -1;
3887 int _arg6
= (int ) -1;
3888 PyObject
* _argo0
= 0;
3889 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3902 wxPy_BEGIN_ALLOW_THREADS
;
3903 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3905 wxPy_END_ALLOW_THREADS
;
3906 } Py_INCREF(Py_None
);
3907 _resultobj
= Py_None
;
3911 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3912 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "self","width","height", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } Py_INCREF(Py_None
);
3936 _resultobj
= Py_None
;
3940 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3941 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3945 PyObject
* _argo0
= 0;
3947 PyObject
* _obj1
= 0;
3948 char *_kwnames
[] = { "self","size", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3962 if (! wxSize_helper(_obj1
, &_arg1
))
3966 wxPy_BEGIN_ALLOW_THREADS
;
3967 wxWindow_SetClientSize(_arg0
,*_arg1
);
3969 wxPy_END_ALLOW_THREADS
;
3970 } Py_INCREF(Py_None
);
3971 _resultobj
= Py_None
;
3975 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3976 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3980 PyObject
* _argo0
= 0;
3981 PyObject
* _argo1
= 0;
3982 char *_kwnames
[] = { "self","cursor", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4002 wxPy_BEGIN_ALLOW_THREADS
;
4003 wxWindow_SetCursor(_arg0
,*_arg1
);
4005 wxPy_END_ALLOW_THREADS
;
4006 } Py_INCREF(Py_None
);
4007 _resultobj
= Py_None
;
4011 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4012 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4015 wxEvtHandler
* _arg1
;
4016 PyObject
* _argo0
= 0;
4017 PyObject
* _argo1
= 0;
4018 char *_kwnames
[] = { "self","handler", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4031 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4038 wxPy_BEGIN_ALLOW_THREADS
;
4039 wxWindow_SetEventHandler(_arg0
,_arg1
);
4041 wxPy_END_ALLOW_THREADS
;
4042 } Py_INCREF(Py_None
);
4043 _resultobj
= Py_None
;
4047 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4048 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4052 PyObject
* _argo0
= 0;
4053 PyObject
* _obj1
= 0;
4054 char *_kwnames
[] = { "self","title", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4067 if (!PyString_Check(_obj1
)) {
4068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4071 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4074 wxPy_BEGIN_ALLOW_THREADS
;
4075 wxWindow_SetTitle(_arg0
,*_arg1
);
4077 wxPy_END_ALLOW_THREADS
;
4078 } Py_INCREF(Py_None
);
4079 _resultobj
= Py_None
;
4087 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4088 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4093 PyObject
* _argo0
= 0;
4095 char *_kwnames
[] = { "self","show", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4107 _arg1
= (bool ) tempbool1
;
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4112 wxPy_END_ALLOW_THREADS
;
4113 } _resultobj
= Py_BuildValue("i",_result
);
4117 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4118 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4139 wxPy_END_ALLOW_THREADS
;
4140 } _resultobj
= Py_BuildValue("i",_result
);
4144 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4145 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
* _resultobj
;
4149 PyObject
* _argo0
= 0;
4150 char *_kwnames
[] = { "self", NULL
};
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4163 wxPy_BEGIN_ALLOW_THREADS
;
4164 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4166 wxPy_END_ALLOW_THREADS
;
4167 } _resultobj
= Py_BuildValue("i",_result
);
4171 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4172 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
* _resultobj
;
4176 PyObject
* _argo0
= 0;
4177 char *_kwnames
[] = { "self", NULL
};
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4190 wxPy_BEGIN_ALLOW_THREADS
;
4191 _result
= (bool )wxWindow_Validate(_arg0
);
4193 wxPy_END_ALLOW_THREADS
;
4194 } _resultobj
= Py_BuildValue("i",_result
);
4198 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4199 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4204 PyObject
* _argo0
= 0;
4205 char *_kwnames
[] = { "self","x","y", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4228 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4233 PyObject
* _argo0
= 0;
4235 PyObject
* _obj1
= 0;
4236 char *_kwnames
[] = { "self","pt", NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4251 if (! wxPoint_helper(_obj1
, &_arg1
))
4255 wxPy_BEGIN_ALLOW_THREADS
;
4256 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4258 wxPy_END_ALLOW_THREADS
;
4259 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4260 _resultobj
= Py_BuildValue("s",_ptemp
);
4264 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4265 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4270 PyObject
* _argo0
= 0;
4272 PyObject
* _obj1
= 0;
4273 char *_kwnames
[] = { "self","sz", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4288 if (! wxSize_helper(_obj1
, &_arg1
))
4292 wxPy_BEGIN_ALLOW_THREADS
;
4293 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4295 wxPy_END_ALLOW_THREADS
;
4296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4297 _resultobj
= Py_BuildValue("s",_ptemp
);
4301 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4302 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4307 PyObject
* _argo0
= 0;
4309 PyObject
* _obj1
= 0;
4310 char *_kwnames
[] = { "self","pt", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4325 if (! wxPoint_helper(_obj1
, &_arg1
))
4329 wxPy_BEGIN_ALLOW_THREADS
;
4330 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4332 wxPy_END_ALLOW_THREADS
;
4333 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4334 _resultobj
= Py_BuildValue("s",_ptemp
);
4338 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4339 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4344 PyObject
* _argo0
= 0;
4346 PyObject
* _obj1
= 0;
4347 char *_kwnames
[] = { "self","sz", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4362 if (! wxSize_helper(_obj1
, &_arg1
))
4366 wxPy_BEGIN_ALLOW_THREADS
;
4367 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4369 wxPy_END_ALLOW_THREADS
;
4370 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4371 _resultobj
= Py_BuildValue("s",_ptemp
);
4375 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4376 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 PyObject
* _obj1
= 0;
4382 char *_kwnames
[] = { "self","tip", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4395 if (!PyString_Check(_obj1
)) {
4396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4399 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4405 wxPy_END_ALLOW_THREADS
;
4406 } Py_INCREF(Py_None
);
4407 _resultobj
= Py_None
;
4415 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4416 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4420 PyObject
* _argo0
= 0;
4421 PyObject
* _argo1
= 0;
4422 char *_kwnames
[] = { "self","tooltip", NULL
};
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 wxWindow_SetToolTip(_arg0
,_arg1
);
4445 wxPy_END_ALLOW_THREADS
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4451 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4452 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4454 wxToolTip
* _result
;
4456 PyObject
* _argo0
= 0;
4457 char *_kwnames
[] = { "self", NULL
};
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4471 wxPy_BEGIN_ALLOW_THREADS
;
4472 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4474 wxPy_END_ALLOW_THREADS
;
4476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4477 _resultobj
= Py_BuildValue("s",_ptemp
);
4480 _resultobj
= Py_None
;
4485 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4486 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4490 PyObject
* _argo0
= 0;
4491 PyObject
* _argo1
= 0;
4492 char *_kwnames
[] = { "self","sizer", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4512 wxPy_BEGIN_ALLOW_THREADS
;
4513 wxWindow_SetSizer(_arg0
,_arg1
);
4515 wxPy_END_ALLOW_THREADS
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4522 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4524 wxValidator
* _result
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4541 wxPy_BEGIN_ALLOW_THREADS
;
4542 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4544 wxPy_END_ALLOW_THREADS
;
4546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4547 _resultobj
= Py_BuildValue("s",_ptemp
);
4550 _resultobj
= Py_None
;
4555 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4556 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4559 wxValidator
* _arg1
;
4560 PyObject
* _argo0
= 0;
4561 PyObject
* _argo1
= 0;
4562 char *_kwnames
[] = { "self","validator", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 wxWindow_SetValidator(_arg0
,*_arg1
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4591 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4592 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4595 wxDropTarget
* _arg1
;
4596 PyObject
* _argo0
= 0;
4597 PyObject
* _argo1
= 0;
4598 char *_kwnames
[] = { "self","target", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4618 wxPy_BEGIN_ALLOW_THREADS
;
4619 wxWindow_SetDropTarget(_arg0
,_arg1
);
4621 wxPy_END_ALLOW_THREADS
;
4622 } Py_INCREF(Py_None
);
4623 _resultobj
= Py_None
;
4627 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4628 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4630 wxDropTarget
* _result
;
4632 PyObject
* _argo0
= 0;
4633 char *_kwnames
[] = { "self", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4647 wxPy_BEGIN_ALLOW_THREADS
;
4648 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4650 wxPy_END_ALLOW_THREADS
;
4652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4653 _resultobj
= Py_BuildValue("s",_ptemp
);
4656 _resultobj
= Py_None
;
4661 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4662 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4666 PyObject
* _argo0
= 0;
4667 char *_kwnames
[] = { "self", NULL
};
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4681 wxPy_BEGIN_ALLOW_THREADS
;
4682 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4684 wxPy_END_ALLOW_THREADS
;
4685 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4686 _resultobj
= Py_BuildValue("s",_ptemp
);
4690 static void *SwigwxPanelTowxWindow(void *ptr
) {
4693 src
= (wxPanel
*) ptr
;
4694 dest
= (wxWindow
*) src
;
4695 return (void *) dest
;
4698 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4701 src
= (wxPanel
*) ptr
;
4702 dest
= (wxEvtHandler
*) src
;
4703 return (void *) dest
;
4706 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4707 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4712 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4713 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4714 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4715 char * _arg5
= (char *) "panel";
4716 PyObject
* _argo0
= 0;
4718 PyObject
* _obj2
= 0;
4720 PyObject
* _obj3
= 0;
4721 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4737 if (! wxPoint_helper(_obj2
, &_arg2
))
4743 if (! wxSize_helper(_obj3
, &_arg3
))
4747 wxPy_BEGIN_ALLOW_THREADS
;
4748 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4750 wxPy_END_ALLOW_THREADS
;
4752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4753 _resultobj
= Py_BuildValue("s",_ptemp
);
4756 _resultobj
= Py_None
;
4761 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4762 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4765 PyObject
* _argo0
= 0;
4766 char *_kwnames
[] = { "self", NULL
};
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4779 wxPy_BEGIN_ALLOW_THREADS
;
4780 wxPanel_InitDialog(_arg0
);
4782 wxPy_END_ALLOW_THREADS
;
4783 } Py_INCREF(Py_None
);
4784 _resultobj
= Py_None
;
4788 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4789 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
* _resultobj
;
4793 PyObject
* _argo0
= 0;
4794 char *_kwnames
[] = { "self", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4808 wxPy_BEGIN_ALLOW_THREADS
;
4809 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4811 wxPy_END_ALLOW_THREADS
;
4813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4814 _resultobj
= Py_BuildValue("s",_ptemp
);
4817 _resultobj
= Py_None
;
4822 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4823 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4827 PyObject
* _argo0
= 0;
4828 PyObject
* _argo1
= 0;
4829 char *_kwnames
[] = { "self","btn", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } Py_INCREF(Py_None
);
4854 _resultobj
= Py_None
;
4858 static void *SwigwxDialogTowxPanel(void *ptr
) {
4861 src
= (wxDialog
*) ptr
;
4862 dest
= (wxPanel
*) src
;
4863 return (void *) dest
;
4866 static void *SwigwxDialogTowxWindow(void *ptr
) {
4869 src
= (wxDialog
*) ptr
;
4870 dest
= (wxWindow
*) src
;
4871 return (void *) dest
;
4874 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4877 src
= (wxDialog
*) ptr
;
4878 dest
= (wxEvtHandler
*) src
;
4879 return (void *) dest
;
4882 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4883 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4889 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4890 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4891 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4892 char * _arg6
= (char *) "dialogBox";
4893 PyObject
* _argo0
= 0;
4894 PyObject
* _obj2
= 0;
4896 PyObject
* _obj3
= 0;
4898 PyObject
* _obj4
= 0;
4899 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4913 if (!PyString_Check(_obj2
)) {
4914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4917 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4922 if (! wxPoint_helper(_obj3
, &_arg3
))
4928 if (! wxSize_helper(_obj4
, &_arg4
))
4932 wxPy_BEGIN_ALLOW_THREADS
;
4933 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4935 wxPy_END_ALLOW_THREADS
;
4937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4938 _resultobj
= Py_BuildValue("s",_ptemp
);
4941 _resultobj
= Py_None
;
4950 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4951 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
* _resultobj
;
4954 int _arg1
= (int ) wxBOTH
;
4955 PyObject
* _argo0
= 0;
4956 char *_kwnames
[] = { "self","direction", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4969 wxPy_BEGIN_ALLOW_THREADS
;
4970 wxDialog_Centre(_arg0
,_arg1
);
4972 wxPy_END_ALLOW_THREADS
;
4973 } Py_INCREF(Py_None
);
4974 _resultobj
= Py_None
;
4978 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4979 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
* _resultobj
;
4983 PyObject
* _argo0
= 0;
4984 char *_kwnames
[] = { "self","retCode", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4997 wxPy_BEGIN_ALLOW_THREADS
;
4998 wxDialog_EndModal(_arg0
,_arg1
);
5000 wxPy_END_ALLOW_THREADS
;
5001 } Py_INCREF(Py_None
);
5002 _resultobj
= Py_None
;
5006 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5007 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5011 PyObject
* _argo0
= 0;
5012 char *_kwnames
[] = { "self", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5025 wxPy_BEGIN_ALLOW_THREADS
;
5026 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5028 wxPy_END_ALLOW_THREADS
;
5030 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5038 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5039 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
* _resultobj
;
5043 PyObject
* _argo0
= 0;
5045 char *_kwnames
[] = { "self","iconize", NULL
};
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5057 _arg1
= (bool ) tempbool1
;
5059 wxPy_BEGIN_ALLOW_THREADS
;
5060 wxDialog_Iconize(_arg0
,_arg1
);
5062 wxPy_END_ALLOW_THREADS
;
5063 } Py_INCREF(Py_None
);
5064 _resultobj
= Py_None
;
5068 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5069 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
* _resultobj
;
5073 PyObject
* _argo0
= 0;
5074 char *_kwnames
[] = { "self", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
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_IsIconized. Expected _wxDialog_p.");
5087 wxPy_BEGIN_ALLOW_THREADS
;
5088 _result
= (bool )wxDialog_IsIconized(_arg0
);
5090 wxPy_END_ALLOW_THREADS
;
5091 } _resultobj
= Py_BuildValue("i",_result
);
5095 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5096 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5100 PyObject
* _argo0
= 0;
5102 char *_kwnames
[] = { "self","flag", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
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_SetModal. Expected _wxDialog_p.");
5114 _arg1
= (bool ) tempbool1
;
5116 wxPy_BEGIN_ALLOW_THREADS
;
5117 wxDialog_SetModal(_arg0
,_arg1
);
5119 wxPy_END_ALLOW_THREADS
;
5120 } Py_INCREF(Py_None
);
5121 _resultobj
= Py_None
;
5125 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5126 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
* _resultobj
;
5130 PyObject
* _argo0
= 0;
5131 char *_kwnames
[] = { "self", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 _result
= (bool )wxDialog_IsModal(_arg0
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } _resultobj
= Py_BuildValue("i",_result
);
5152 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5153 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5157 PyObject
* _argo0
= 0;
5158 PyObject
* _obj1
= 0;
5159 char *_kwnames
[] = { "self","title", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5172 if (!PyString_Check(_obj1
)) {
5173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5176 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 wxDialog_SetTitle(_arg0
,*_arg1
);
5182 wxPy_END_ALLOW_THREADS
;
5183 } Py_INCREF(Py_None
);
5184 _resultobj
= Py_None
;
5192 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5193 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5198 PyObject
* _argo0
= 0;
5200 char *_kwnames
[] = { "self","show", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5212 _arg1
= (bool ) tempbool1
;
5214 wxPy_BEGIN_ALLOW_THREADS
;
5215 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5217 wxPy_END_ALLOW_THREADS
;
5218 } _resultobj
= Py_BuildValue("i",_result
);
5222 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5223 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5227 PyObject
* _argo0
= 0;
5228 char *_kwnames
[] = { "self", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5241 wxPy_BEGIN_ALLOW_THREADS
;
5242 _result
= (int )wxDialog_ShowModal(_arg0
);
5244 wxPy_END_ALLOW_THREADS
;
5245 } _resultobj
= Py_BuildValue("i",_result
);
5249 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5250 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
* _resultobj
;
5254 PyObject
* _argo0
= 0;
5255 char *_kwnames
[] = { "self", NULL
};
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5268 wxPy_BEGIN_ALLOW_THREADS
;
5269 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5271 wxPy_END_ALLOW_THREADS
;
5272 } _resultobj
= Py_BuildValue("i",_result
);
5276 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5277 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5281 PyObject
* _argo0
= 0;
5282 char *_kwnames
[] = { "self","retCode", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5295 wxPy_BEGIN_ALLOW_THREADS
;
5296 wxDialog_SetReturnCode(_arg0
,_arg1
);
5298 wxPy_END_ALLOW_THREADS
;
5299 } Py_INCREF(Py_None
);
5300 _resultobj
= Py_None
;
5304 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5305 wxScrolledWindow
*src
;
5307 src
= (wxScrolledWindow
*) ptr
;
5308 dest
= (wxPanel
*) src
;
5309 return (void *) dest
;
5312 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5313 wxScrolledWindow
*src
;
5315 src
= (wxScrolledWindow
*) ptr
;
5316 dest
= (wxWindow
*) src
;
5317 return (void *) dest
;
5320 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5321 wxScrolledWindow
*src
;
5323 src
= (wxScrolledWindow
*) ptr
;
5324 dest
= (wxEvtHandler
*) src
;
5325 return (void *) dest
;
5328 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5329 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
* _resultobj
;
5331 wxScrolledWindow
* _result
;
5333 wxWindowID _arg1
= (wxWindowID
) -1;
5334 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5335 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5336 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5337 char * _arg5
= (char *) "scrolledWindow";
5338 PyObject
* _argo0
= 0;
5340 PyObject
* _obj2
= 0;
5342 PyObject
* _obj3
= 0;
5343 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5359 if (! wxPoint_helper(_obj2
, &_arg2
))
5365 if (! wxSize_helper(_obj3
, &_arg3
))
5369 wxPy_BEGIN_ALLOW_THREADS
;
5370 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5372 wxPy_END_ALLOW_THREADS
;
5374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5375 _resultobj
= Py_BuildValue("s",_ptemp
);
5378 _resultobj
= Py_None
;
5383 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5384 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
* _resultobj
;
5386 wxScrolledWindow
* _arg0
;
5389 PyObject
* _argo0
= 0;
5392 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5404 _arg1
= (bool ) tempbool1
;
5405 _arg2
= (bool ) tempbool2
;
5407 wxPy_BEGIN_ALLOW_THREADS
;
5408 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5410 wxPy_END_ALLOW_THREADS
;
5411 } Py_INCREF(Py_None
);
5412 _resultobj
= Py_None
;
5416 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5417 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5420 wxScrolledWindow
* _arg0
;
5422 PyObject
* _argo0
= 0;
5423 char *_kwnames
[] = { "self","orient", NULL
};
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5436 wxPy_BEGIN_ALLOW_THREADS
;
5437 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5439 wxPy_END_ALLOW_THREADS
;
5440 } _resultobj
= Py_BuildValue("i",_result
);
5444 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5445 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
* _resultobj
;
5447 wxScrolledWindow
* _arg0
;
5452 PyObject
* _argo0
= 0;
5453 char *_kwnames
[] = { "self", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5472 wxPy_BEGIN_ALLOW_THREADS
;
5473 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5475 wxPy_END_ALLOW_THREADS
;
5476 } Py_INCREF(Py_None
);
5477 _resultobj
= Py_None
;
5480 o
= PyInt_FromLong((long) (*_arg1
));
5481 _resultobj
= t_output_helper(_resultobj
, o
);
5485 o
= PyInt_FromLong((long) (*_arg2
));
5486 _resultobj
= t_output_helper(_resultobj
, o
);
5491 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5492 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
* _resultobj
;
5495 wxScrolledWindow
* _arg0
;
5496 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self", NULL
};
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5511 wxPy_BEGIN_ALLOW_THREADS
;
5512 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5514 wxPy_END_ALLOW_THREADS
;
5516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5517 _resultobj
= Py_BuildValue("s",_ptemp
);
5520 _resultobj
= Py_None
;
5525 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5526 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5528 wxScrolledWindow
* _arg0
;
5533 PyObject
* _argo0
= 0;
5534 char *_kwnames
[] = { "self", NULL
};
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5553 wxPy_BEGIN_ALLOW_THREADS
;
5554 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5556 wxPy_END_ALLOW_THREADS
;
5557 } Py_INCREF(Py_None
);
5558 _resultobj
= Py_None
;
5561 o
= PyInt_FromLong((long) (*_arg1
));
5562 _resultobj
= t_output_helper(_resultobj
, o
);
5566 o
= PyInt_FromLong((long) (*_arg2
));
5567 _resultobj
= t_output_helper(_resultobj
, o
);
5572 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5573 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
* _resultobj
;
5576 wxScrolledWindow
* _arg0
;
5577 PyObject
* _argo0
= 0;
5578 char *_kwnames
[] = { "self", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5591 wxPy_BEGIN_ALLOW_THREADS
;
5592 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5594 wxPy_END_ALLOW_THREADS
;
5595 } _resultobj
= Py_BuildValue("i",_result
);
5599 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5600 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5602 wxScrolledWindow
* _arg0
;
5604 PyObject
* _argo0
= 0;
5605 PyObject
* _argo1
= 0;
5606 char *_kwnames
[] = { "self","dc", NULL
};
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5626 wxPy_BEGIN_ALLOW_THREADS
;
5627 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5629 wxPy_END_ALLOW_THREADS
;
5630 } Py_INCREF(Py_None
);
5631 _resultobj
= Py_None
;
5635 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5636 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5638 wxScrolledWindow
* _arg0
;
5641 PyObject
* _argo0
= 0;
5642 char *_kwnames
[] = { "self","x","y", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5655 wxPy_BEGIN_ALLOW_THREADS
;
5656 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5658 wxPy_END_ALLOW_THREADS
;
5659 } Py_INCREF(Py_None
);
5660 _resultobj
= Py_None
;
5664 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5665 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5667 wxScrolledWindow
* _arg0
;
5672 int _arg5
= (int ) 0;
5673 int _arg6
= (int ) 0;
5674 PyObject
* _argo0
= 0;
5675 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5688 wxPy_BEGIN_ALLOW_THREADS
;
5689 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5691 wxPy_END_ALLOW_THREADS
;
5692 } Py_INCREF(Py_None
);
5693 _resultobj
= Py_None
;
5697 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
5698 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5700 wxScrolledWindow
* _arg0
;
5703 PyObject
* _argo0
= 0;
5704 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
5717 wxPy_BEGIN_ALLOW_THREADS
;
5718 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
5720 wxPy_END_ALLOW_THREADS
;
5721 } Py_INCREF(Py_None
);
5722 _resultobj
= Py_None
;
5726 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5727 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5729 wxScrolledWindow
* _arg0
;
5731 PyObject
* _argo0
= 0;
5732 PyObject
* _argo1
= 0;
5733 char *_kwnames
[] = { "self","window", NULL
};
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
5739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5746 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5753 wxPy_BEGIN_ALLOW_THREADS
;
5754 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5756 wxPy_END_ALLOW_THREADS
;
5757 } Py_INCREF(Py_None
);
5758 _resultobj
= Py_None
;
5762 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5763 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
* _resultobj
;
5765 wxScrolledWindow
* _arg0
;
5770 PyObject
* _argo0
= 0;
5771 char *_kwnames
[] = { "self", NULL
};
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5790 wxPy_BEGIN_ALLOW_THREADS
;
5791 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5793 wxPy_END_ALLOW_THREADS
;
5794 } Py_INCREF(Py_None
);
5795 _resultobj
= Py_None
;
5798 o
= PyInt_FromLong((long) (*_arg1
));
5799 _resultobj
= t_output_helper(_resultobj
, o
);
5803 o
= PyInt_FromLong((long) (*_arg2
));
5804 _resultobj
= t_output_helper(_resultobj
, o
);
5809 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5810 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5812 wxScrolledWindow
* _arg0
;
5819 PyObject
* _argo0
= 0;
5820 char *_kwnames
[] = { "self","x","y", NULL
};
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5839 wxPy_BEGIN_ALLOW_THREADS
;
5840 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5842 wxPy_END_ALLOW_THREADS
;
5843 } Py_INCREF(Py_None
);
5844 _resultobj
= Py_None
;
5847 o
= PyInt_FromLong((long) (*_arg3
));
5848 _resultobj
= t_output_helper(_resultobj
, o
);
5852 o
= PyInt_FromLong((long) (*_arg4
));
5853 _resultobj
= t_output_helper(_resultobj
, o
);
5858 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5859 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5861 wxScrolledWindow
* _arg0
;
5868 PyObject
* _argo0
= 0;
5869 char *_kwnames
[] = { "self","x","y", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5888 wxPy_BEGIN_ALLOW_THREADS
;
5889 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5891 wxPy_END_ALLOW_THREADS
;
5892 } Py_INCREF(Py_None
);
5893 _resultobj
= Py_None
;
5896 o
= PyInt_FromLong((long) (*_arg3
));
5897 _resultobj
= t_output_helper(_resultobj
, o
);
5901 o
= PyInt_FromLong((long) (*_arg4
));
5902 _resultobj
= t_output_helper(_resultobj
, o
);
5907 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5910 src
= (wxMenu
*) ptr
;
5911 dest
= (wxEvtHandler
*) src
;
5912 return (void *) dest
;
5915 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5916 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
* _resultobj
;
5919 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5920 long _arg1
= (long ) 0;
5921 PyObject
* _obj0
= 0;
5922 char *_kwnames
[] = { "title","style", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5930 if (!PyString_Check(_obj0
)) {
5931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5934 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5937 wxPy_BEGIN_ALLOW_THREADS
;
5938 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5940 wxPy_END_ALLOW_THREADS
;
5942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5943 _resultobj
= Py_BuildValue("s",_ptemp
);
5946 _resultobj
= Py_None
;
5955 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5956 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5961 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5962 int _arg4
= (int ) FALSE
;
5963 PyObject
* _argo0
= 0;
5964 PyObject
* _obj2
= 0;
5965 PyObject
* _obj3
= 0;
5966 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5979 if (!PyString_Check(_obj2
)) {
5980 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5983 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5987 if (!PyString_Check(_obj3
)) {
5988 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5991 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5994 wxPy_BEGIN_ALLOW_THREADS
;
5995 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5997 wxPy_END_ALLOW_THREADS
;
5998 } Py_INCREF(Py_None
);
5999 _resultobj
= Py_None
;
6011 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6012 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
* _resultobj
;
6018 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6019 PyObject
* _argo0
= 0;
6020 PyObject
* _obj2
= 0;
6021 PyObject
* _argo3
= 0;
6022 PyObject
* _obj4
= 0;
6023 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6036 if (!PyString_Check(_obj2
)) {
6037 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6040 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6043 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6044 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6051 if (!PyString_Check(_obj4
)) {
6052 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6055 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
6058 wxPy_BEGIN_ALLOW_THREADS
;
6059 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6061 wxPy_END_ALLOW_THREADS
;
6062 } Py_INCREF(Py_None
);
6063 _resultobj
= Py_None
;
6075 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6076 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6080 PyObject
* _argo0
= 0;
6081 PyObject
* _argo1
= 0;
6082 char *_kwnames
[] = { "self","item", NULL
};
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6102 wxPy_BEGIN_ALLOW_THREADS
;
6103 wxMenu_AppendItem(_arg0
,_arg1
);
6105 wxPy_END_ALLOW_THREADS
;
6106 } Py_INCREF(Py_None
);
6107 _resultobj
= Py_None
;
6111 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6112 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
* _resultobj
;
6115 PyObject
* _argo0
= 0;
6116 char *_kwnames
[] = { "self", NULL
};
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6129 wxPy_BEGIN_ALLOW_THREADS
;
6130 wxMenu_AppendSeparator(_arg0
);
6132 wxPy_END_ALLOW_THREADS
;
6133 } Py_INCREF(Py_None
);
6134 _resultobj
= Py_None
;
6138 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6139 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6142 PyObject
* _argo0
= 0;
6143 char *_kwnames
[] = { "self", NULL
};
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6156 wxPy_BEGIN_ALLOW_THREADS
;
6157 wxMenu_Break(_arg0
);
6159 wxPy_END_ALLOW_THREADS
;
6160 } Py_INCREF(Py_None
);
6161 _resultobj
= Py_None
;
6165 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6166 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
* _resultobj
;
6171 PyObject
* _argo0
= 0;
6173 char *_kwnames
[] = { "self","id","flag", NULL
};
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6185 _arg2
= (bool ) tempbool2
;
6187 wxPy_BEGIN_ALLOW_THREADS
;
6188 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6190 wxPy_END_ALLOW_THREADS
;
6191 } Py_INCREF(Py_None
);
6192 _resultobj
= Py_None
;
6196 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6197 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
* _resultobj
;
6202 PyObject
* _argo0
= 0;
6203 char *_kwnames
[] = { "self","id", NULL
};
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6216 wxPy_BEGIN_ALLOW_THREADS
;
6217 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6219 wxPy_END_ALLOW_THREADS
;
6220 } _resultobj
= Py_BuildValue("i",_result
);
6224 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6225 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
* _resultobj
;
6230 PyObject
* _argo0
= 0;
6232 char *_kwnames
[] = { "self","id","enable", NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6244 _arg2
= (bool ) tempbool2
;
6246 wxPy_BEGIN_ALLOW_THREADS
;
6247 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6249 wxPy_END_ALLOW_THREADS
;
6250 } Py_INCREF(Py_None
);
6251 _resultobj
= Py_None
;
6255 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6256 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
* _resultobj
;
6261 PyObject
* _argo0
= 0;
6262 char *_kwnames
[] = { "self","id", NULL
};
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6275 wxPy_BEGIN_ALLOW_THREADS
;
6276 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6278 wxPy_END_ALLOW_THREADS
;
6279 } _resultobj
= Py_BuildValue("i",_result
);
6283 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6284 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
* _resultobj
;
6289 PyObject
* _argo0
= 0;
6290 PyObject
* _obj1
= 0;
6291 char *_kwnames
[] = { "self","itemString", NULL
};
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6304 if (!PyString_Check(_obj1
)) {
6305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6308 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6311 wxPy_BEGIN_ALLOW_THREADS
;
6312 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6314 wxPy_END_ALLOW_THREADS
;
6315 } _resultobj
= Py_BuildValue("i",_result
);
6323 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6324 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
* _resultobj
;
6326 wxMenuItem
* _result
;
6329 PyObject
* _argo0
= 0;
6330 char *_kwnames
[] = { "self","id", NULL
};
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6344 wxPy_BEGIN_ALLOW_THREADS
;
6345 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6347 wxPy_END_ALLOW_THREADS
;
6349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6350 _resultobj
= Py_BuildValue("s",_ptemp
);
6353 _resultobj
= Py_None
;
6358 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6359 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6363 PyObject
* _argo0
= 0;
6364 char *_kwnames
[] = { "self", NULL
};
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6377 wxPy_BEGIN_ALLOW_THREADS
;
6378 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6380 wxPy_END_ALLOW_THREADS
;
6382 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6390 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6391 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6395 PyObject
* _argo0
= 0;
6396 PyObject
* _obj1
= 0;
6397 char *_kwnames
[] = { "self","title", NULL
};
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6410 if (!PyString_Check(_obj1
)) {
6411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6414 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6417 wxPy_BEGIN_ALLOW_THREADS
;
6418 wxMenu_SetTitle(_arg0
,*_arg1
);
6420 wxPy_END_ALLOW_THREADS
;
6421 } Py_INCREF(Py_None
);
6422 _resultobj
= Py_None
;
6430 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6431 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6436 PyObject
* _argo0
= 0;
6437 char *_kwnames
[] = { "self","id", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6450 wxPy_BEGIN_ALLOW_THREADS
;
6451 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6453 wxPy_END_ALLOW_THREADS
;
6455 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6463 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6464 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6469 PyObject
* _argo0
= 0;
6470 PyObject
* _obj2
= 0;
6471 char *_kwnames
[] = { "self","id","label", NULL
};
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6484 if (!PyString_Check(_obj2
)) {
6485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6488 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6491 wxPy_BEGIN_ALLOW_THREADS
;
6492 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6494 wxPy_END_ALLOW_THREADS
;
6495 } Py_INCREF(Py_None
);
6496 _resultobj
= Py_None
;
6504 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6505 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6510 PyObject
* _argo0
= 0;
6511 char *_kwnames
[] = { "self","id", NULL
};
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6524 wxPy_BEGIN_ALLOW_THREADS
;
6525 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6527 wxPy_END_ALLOW_THREADS
;
6529 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6537 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6538 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6543 PyObject
* _argo0
= 0;
6544 PyObject
* _obj2
= 0;
6545 char *_kwnames
[] = { "self","id","helpString", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6558 if (!PyString_Check(_obj2
)) {
6559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6562 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6565 wxPy_BEGIN_ALLOW_THREADS
;
6566 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6568 wxPy_END_ALLOW_THREADS
;
6569 } Py_INCREF(Py_None
);
6570 _resultobj
= Py_None
;
6578 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6579 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
* _resultobj
;
6582 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6583 PyObject
* _argo0
= 0;
6584 PyObject
* _argo1
= 0;
6585 char *_kwnames
[] = { "self","source", NULL
};
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6605 wxPy_BEGIN_ALLOW_THREADS
;
6606 wxMenu_UpdateUI(_arg0
,_arg1
);
6608 wxPy_END_ALLOW_THREADS
;
6609 } Py_INCREF(Py_None
);
6610 _resultobj
= Py_None
;
6614 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6615 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6620 PyObject
* _argo0
= 0;
6621 char *_kwnames
[] = { "self","id", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6634 wxPy_BEGIN_ALLOW_THREADS
;
6635 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6637 wxPy_END_ALLOW_THREADS
;
6638 } _resultobj
= Py_BuildValue("i",_result
);
6642 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6643 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6648 PyObject
* _argo0
= 0;
6649 PyObject
* _argo1
= 0;
6650 char *_kwnames
[] = { "self","item", NULL
};
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6663 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6664 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6670 wxPy_BEGIN_ALLOW_THREADS
;
6671 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6673 wxPy_END_ALLOW_THREADS
;
6674 } _resultobj
= Py_BuildValue("i",_result
);
6678 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6679 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
* _resultobj
;
6685 PyObject
* _argo0
= 0;
6686 PyObject
* _argo2
= 0;
6687 char *_kwnames
[] = { "self","pos","item", NULL
};
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6700 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6707 wxPy_BEGIN_ALLOW_THREADS
;
6708 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6710 wxPy_END_ALLOW_THREADS
;
6711 } _resultobj
= Py_BuildValue("i",_result
);
6715 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6716 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6718 wxMenuItem
* _result
;
6721 PyObject
* _argo0
= 0;
6722 char *_kwnames
[] = { "self","id", NULL
};
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6736 wxPy_BEGIN_ALLOW_THREADS
;
6737 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6739 wxPy_END_ALLOW_THREADS
;
6741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6742 _resultobj
= Py_BuildValue("s",_ptemp
);
6745 _resultobj
= Py_None
;
6750 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6751 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
* _resultobj
;
6753 wxMenuItem
* _result
;
6756 PyObject
* _argo0
= 0;
6757 PyObject
* _argo1
= 0;
6758 char *_kwnames
[] = { "self","item", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6779 wxPy_BEGIN_ALLOW_THREADS
;
6780 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6782 wxPy_END_ALLOW_THREADS
;
6784 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6785 _resultobj
= Py_BuildValue("s",_ptemp
);
6788 _resultobj
= Py_None
;
6793 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
6794 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
* _resultobj
;
6797 PyObject
* _argo0
= 0;
6798 char *_kwnames
[] = { "self", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6811 wxPy_BEGIN_ALLOW_THREADS
;
6812 wxMenu_Destroy(_arg0
);
6814 wxPy_END_ALLOW_THREADS
;
6815 } Py_INCREF(Py_None
);
6816 _resultobj
= Py_None
;
6820 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6821 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
* _resultobj
;
6826 PyObject
* _argo0
= 0;
6827 char *_kwnames
[] = { "self","id", NULL
};
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6840 wxPy_BEGIN_ALLOW_THREADS
;
6841 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6843 wxPy_END_ALLOW_THREADS
;
6844 } _resultobj
= Py_BuildValue("i",_result
);
6848 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6849 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
* _resultobj
;
6854 PyObject
* _argo0
= 0;
6855 PyObject
* _argo1
= 0;
6856 char *_kwnames
[] = { "self","item", NULL
};
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6876 wxPy_BEGIN_ALLOW_THREADS
;
6877 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6879 wxPy_END_ALLOW_THREADS
;
6880 } _resultobj
= Py_BuildValue("i",_result
);
6884 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6885 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
* _resultobj
;
6889 PyObject
* _argo0
= 0;
6890 char *_kwnames
[] = { "self", NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6903 wxPy_BEGIN_ALLOW_THREADS
;
6904 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6906 wxPy_END_ALLOW_THREADS
;
6907 } _resultobj
= Py_BuildValue("i",_result
);
6911 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6912 wxMenuItemList
& list
= self
->GetMenuItems();
6913 return wxPy_ConvertList(&list
, "wxMenuItem");
6915 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
* _resultobj
;
6919 PyObject
* _argo0
= 0;
6920 char *_kwnames
[] = { "self", NULL
};
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
6926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6933 wxPy_BEGIN_ALLOW_THREADS
;
6934 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6936 wxPy_END_ALLOW_THREADS
;
6938 _resultobj
= _result
;
6943 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6944 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
* _resultobj
;
6947 wxEvtHandler
* _arg1
;
6948 PyObject
* _argo0
= 0;
6949 PyObject
* _argo1
= 0;
6950 char *_kwnames
[] = { "self","handler", NULL
};
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6970 wxPy_BEGIN_ALLOW_THREADS
;
6971 wxMenu_SetEventHandler(_arg0
,_arg1
);
6973 wxPy_END_ALLOW_THREADS
;
6974 } Py_INCREF(Py_None
);
6975 _resultobj
= Py_None
;
6979 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6980 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
* _resultobj
;
6982 wxEvtHandler
* _result
;
6984 PyObject
* _argo0
= 0;
6985 char *_kwnames
[] = { "self", NULL
};
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
6992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6999 wxPy_BEGIN_ALLOW_THREADS
;
7000 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7002 wxPy_END_ALLOW_THREADS
;
7004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7005 _resultobj
= Py_BuildValue("s",_ptemp
);
7008 _resultobj
= Py_None
;
7013 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7014 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7018 PyObject
* _argo0
= 0;
7019 PyObject
* _argo1
= 0;
7020 char *_kwnames
[] = { "self","win", NULL
};
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7040 wxPy_BEGIN_ALLOW_THREADS
;
7041 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7043 wxPy_END_ALLOW_THREADS
;
7044 } Py_INCREF(Py_None
);
7045 _resultobj
= Py_None
;
7049 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7050 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
* _resultobj
;
7054 PyObject
* _argo0
= 0;
7055 char *_kwnames
[] = { "self", NULL
};
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7069 wxPy_BEGIN_ALLOW_THREADS
;
7070 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7072 wxPy_END_ALLOW_THREADS
;
7074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7075 _resultobj
= Py_BuildValue("s",_ptemp
);
7078 _resultobj
= Py_None
;
7083 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7084 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
* _resultobj
;
7088 PyObject
* _argo0
= 0;
7089 char *_kwnames
[] = { "self", NULL
};
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7102 wxPy_BEGIN_ALLOW_THREADS
;
7103 _result
= (long )wxMenu_GetStyle(_arg0
);
7105 wxPy_END_ALLOW_THREADS
;
7106 } _resultobj
= Py_BuildValue("l",_result
);
7110 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7111 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
* _resultobj
;
7115 PyObject
* _argo0
= 0;
7116 char *_kwnames
[] = { "self", NULL
};
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7129 wxPy_BEGIN_ALLOW_THREADS
;
7130 _result
= (bool )wxMenu_IsAttached(_arg0
);
7132 wxPy_END_ALLOW_THREADS
;
7133 } _resultobj
= Py_BuildValue("i",_result
);
7137 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7138 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
* _resultobj
;
7142 PyObject
* _argo0
= 0;
7143 PyObject
* _argo1
= 0;
7144 char *_kwnames
[] = { "self","parent", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7164 wxPy_BEGIN_ALLOW_THREADS
;
7165 wxMenu_SetParent(_arg0
,_arg1
);
7167 wxPy_END_ALLOW_THREADS
;
7168 } Py_INCREF(Py_None
);
7169 _resultobj
= Py_None
;
7173 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7174 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7178 PyObject
* _argo0
= 0;
7179 char *_kwnames
[] = { "self", NULL
};
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7193 wxPy_BEGIN_ALLOW_THREADS
;
7194 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7196 wxPy_END_ALLOW_THREADS
;
7198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7199 _resultobj
= Py_BuildValue("s",_ptemp
);
7202 _resultobj
= Py_None
;
7207 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7210 src
= (wxMenuBar
*) ptr
;
7211 dest
= (wxWindow
*) src
;
7212 return (void *) dest
;
7215 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7218 src
= (wxMenuBar
*) ptr
;
7219 dest
= (wxEvtHandler
*) src
;
7220 return (void *) dest
;
7223 #define new_wxMenuBar() (new wxMenuBar())
7224 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
* _resultobj
;
7226 wxMenuBar
* _result
;
7227 char *_kwnames
[] = { NULL
};
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7234 wxPy_BEGIN_ALLOW_THREADS
;
7235 _result
= (wxMenuBar
*)new_wxMenuBar();
7237 wxPy_END_ALLOW_THREADS
;
7239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7240 _resultobj
= Py_BuildValue("s",_ptemp
);
7243 _resultobj
= Py_None
;
7248 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7249 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
* _resultobj
;
7255 PyObject
* _argo0
= 0;
7256 PyObject
* _argo1
= 0;
7257 PyObject
* _obj2
= 0;
7258 char *_kwnames
[] = { "self","menu","title", NULL
};
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7278 if (!PyString_Check(_obj2
)) {
7279 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7282 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7285 wxPy_BEGIN_ALLOW_THREADS
;
7286 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7288 wxPy_END_ALLOW_THREADS
;
7289 } _resultobj
= Py_BuildValue("i",_result
);
7297 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7298 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
* _resultobj
;
7305 PyObject
* _argo0
= 0;
7306 PyObject
* _argo2
= 0;
7307 PyObject
* _obj3
= 0;
7308 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7321 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7322 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7328 if (!PyString_Check(_obj3
)) {
7329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7332 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7335 wxPy_BEGIN_ALLOW_THREADS
;
7336 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7338 wxPy_END_ALLOW_THREADS
;
7339 } _resultobj
= Py_BuildValue("i",_result
);
7347 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7348 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7352 PyObject
* _argo0
= 0;
7353 char *_kwnames
[] = { "self", NULL
};
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7366 wxPy_BEGIN_ALLOW_THREADS
;
7367 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7369 wxPy_END_ALLOW_THREADS
;
7370 } _resultobj
= Py_BuildValue("i",_result
);
7374 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7375 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7380 PyObject
* _argo0
= 0;
7381 char *_kwnames
[] = { "self","pos", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7395 wxPy_BEGIN_ALLOW_THREADS
;
7396 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7398 wxPy_END_ALLOW_THREADS
;
7400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7401 _resultobj
= Py_BuildValue("s",_ptemp
);
7404 _resultobj
= Py_None
;
7409 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7410 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7417 PyObject
* _argo0
= 0;
7418 PyObject
* _argo2
= 0;
7419 PyObject
* _obj3
= 0;
7420 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7434 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7435 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7441 if (!PyString_Check(_obj3
)) {
7442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7445 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7448 wxPy_BEGIN_ALLOW_THREADS
;
7449 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7451 wxPy_END_ALLOW_THREADS
;
7453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7454 _resultobj
= Py_BuildValue("s",_ptemp
);
7457 _resultobj
= Py_None
;
7466 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7467 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7472 PyObject
* _argo0
= 0;
7473 char *_kwnames
[] = { "self","pos", NULL
};
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7487 wxPy_BEGIN_ALLOW_THREADS
;
7488 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7490 wxPy_END_ALLOW_THREADS
;
7492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7493 _resultobj
= Py_BuildValue("s",_ptemp
);
7496 _resultobj
= Py_None
;
7501 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7502 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
* _resultobj
;
7507 PyObject
* _argo0
= 0;
7509 char *_kwnames
[] = { "self","pos","enable", NULL
};
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7521 _arg2
= (bool ) tempbool2
;
7523 wxPy_BEGIN_ALLOW_THREADS
;
7524 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7526 wxPy_END_ALLOW_THREADS
;
7527 } Py_INCREF(Py_None
);
7528 _resultobj
= Py_None
;
7532 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7533 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
* _resultobj
;
7538 PyObject
* _argo0
= 0;
7539 PyObject
* _obj2
= 0;
7540 char *_kwnames
[] = { "self","pos","label", NULL
};
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7553 if (!PyString_Check(_obj2
)) {
7554 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7557 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7560 wxPy_BEGIN_ALLOW_THREADS
;
7561 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7563 wxPy_END_ALLOW_THREADS
;
7564 } Py_INCREF(Py_None
);
7565 _resultobj
= Py_None
;
7573 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7574 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7579 PyObject
* _argo0
= 0;
7580 char *_kwnames
[] = { "self","pos", NULL
};
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7593 wxPy_BEGIN_ALLOW_THREADS
;
7594 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7596 wxPy_END_ALLOW_THREADS
;
7598 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7606 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7607 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
* _resultobj
;
7613 PyObject
* _argo0
= 0;
7614 PyObject
* _obj1
= 0;
7615 PyObject
* _obj2
= 0;
7616 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7629 if (!PyString_Check(_obj1
)) {
7630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7633 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7636 if (!PyString_Check(_obj2
)) {
7637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7640 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7643 wxPy_BEGIN_ALLOW_THREADS
;
7644 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7646 wxPy_END_ALLOW_THREADS
;
7647 } _resultobj
= Py_BuildValue("i",_result
);
7659 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7660 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
* _resultobj
;
7662 wxMenuItem
* _result
;
7665 PyObject
* _argo0
= 0;
7666 char *_kwnames
[] = { "self","id", NULL
};
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7680 wxPy_BEGIN_ALLOW_THREADS
;
7681 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7683 wxPy_END_ALLOW_THREADS
;
7685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7686 _resultobj
= Py_BuildValue("s",_ptemp
);
7689 _resultobj
= Py_None
;
7694 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7695 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
* _resultobj
;
7700 PyObject
* _argo0
= 0;
7702 char *_kwnames
[] = { "self","id","enable", NULL
};
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7714 _arg2
= (bool ) tempbool2
;
7716 wxPy_BEGIN_ALLOW_THREADS
;
7717 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7719 wxPy_END_ALLOW_THREADS
;
7720 } Py_INCREF(Py_None
);
7721 _resultobj
= Py_None
;
7725 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7726 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
* _resultobj
;
7731 PyObject
* _argo0
= 0;
7733 char *_kwnames
[] = { "self","id","check", NULL
};
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7745 _arg2
= (bool ) tempbool2
;
7747 wxPy_BEGIN_ALLOW_THREADS
;
7748 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7750 wxPy_END_ALLOW_THREADS
;
7751 } Py_INCREF(Py_None
);
7752 _resultobj
= Py_None
;
7756 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7757 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
* _resultobj
;
7762 PyObject
* _argo0
= 0;
7763 char *_kwnames
[] = { "self","id", NULL
};
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7776 wxPy_BEGIN_ALLOW_THREADS
;
7777 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7779 wxPy_END_ALLOW_THREADS
;
7780 } _resultobj
= Py_BuildValue("i",_result
);
7784 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7785 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
* _resultobj
;
7790 PyObject
* _argo0
= 0;
7791 char *_kwnames
[] = { "self","id", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7804 wxPy_BEGIN_ALLOW_THREADS
;
7805 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7807 wxPy_END_ALLOW_THREADS
;
7808 } _resultobj
= Py_BuildValue("i",_result
);
7812 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7813 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
* _resultobj
;
7818 PyObject
* _argo0
= 0;
7819 PyObject
* _obj2
= 0;
7820 char *_kwnames
[] = { "self","id","label", NULL
};
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7833 if (!PyString_Check(_obj2
)) {
7834 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7837 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7840 wxPy_BEGIN_ALLOW_THREADS
;
7841 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7843 wxPy_END_ALLOW_THREADS
;
7844 } Py_INCREF(Py_None
);
7845 _resultobj
= Py_None
;
7853 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7854 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
* _resultobj
;
7859 PyObject
* _argo0
= 0;
7860 char *_kwnames
[] = { "self","id", NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7873 wxPy_BEGIN_ALLOW_THREADS
;
7874 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7876 wxPy_END_ALLOW_THREADS
;
7878 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7886 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7887 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
* _resultobj
;
7892 PyObject
* _argo0
= 0;
7893 PyObject
* _obj2
= 0;
7894 char *_kwnames
[] = { "self","id","helpString", NULL
};
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7907 if (!PyString_Check(_obj2
)) {
7908 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7911 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7914 wxPy_BEGIN_ALLOW_THREADS
;
7915 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7917 wxPy_END_ALLOW_THREADS
;
7918 } Py_INCREF(Py_None
);
7919 _resultobj
= Py_None
;
7927 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7928 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
* _resultobj
;
7933 PyObject
* _argo0
= 0;
7934 char *_kwnames
[] = { "self","id", NULL
};
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7947 wxPy_BEGIN_ALLOW_THREADS
;
7948 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7950 wxPy_END_ALLOW_THREADS
;
7952 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7960 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7961 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
* _resultobj
;
7963 wxMenuItem
* _result
;
7964 wxMenu
* _arg0
= (wxMenu
*) NULL
;
7965 int _arg1
= (int ) ID_SEPARATOR
;
7966 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
7967 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7968 bool _arg4
= (bool ) FALSE
;
7969 wxMenu
* _arg5
= (wxMenu
*) NULL
;
7970 PyObject
* _argo0
= 0;
7971 PyObject
* _obj2
= 0;
7972 PyObject
* _obj3
= 0;
7973 int tempbool4
= (int) FALSE
;
7974 PyObject
* _argo5
= 0;
7975 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
7982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7990 if (!PyString_Check(_obj2
)) {
7991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7994 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7998 if (!PyString_Check(_obj3
)) {
7999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8002 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
8004 _arg4
= (bool ) tempbool4
;
8006 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8013 wxPy_BEGIN_ALLOW_THREADS
;
8014 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8016 wxPy_END_ALLOW_THREADS
;
8018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8019 _resultobj
= Py_BuildValue("s",_ptemp
);
8022 _resultobj
= Py_None
;
8035 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8036 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
* _resultobj
;
8040 PyObject
* _argo0
= 0;
8041 char *_kwnames
[] = { "self", NULL
};
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8055 wxPy_BEGIN_ALLOW_THREADS
;
8056 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8058 wxPy_END_ALLOW_THREADS
;
8060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8061 _resultobj
= Py_BuildValue("s",_ptemp
);
8064 _resultobj
= Py_None
;
8069 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8070 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
* _resultobj
;
8074 PyObject
* _argo0
= 0;
8075 char *_kwnames
[] = { "self","id", NULL
};
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8088 wxPy_BEGIN_ALLOW_THREADS
;
8089 wxMenuItem_SetId(_arg0
,_arg1
);
8091 wxPy_END_ALLOW_THREADS
;
8092 } Py_INCREF(Py_None
);
8093 _resultobj
= Py_None
;
8097 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8098 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
* _resultobj
;
8102 PyObject
* _argo0
= 0;
8103 char *_kwnames
[] = { "self", NULL
};
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8116 wxPy_BEGIN_ALLOW_THREADS
;
8117 _result
= (int )wxMenuItem_GetId(_arg0
);
8119 wxPy_END_ALLOW_THREADS
;
8120 } _resultobj
= Py_BuildValue("i",_result
);
8124 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8125 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
* _resultobj
;
8129 PyObject
* _argo0
= 0;
8130 char *_kwnames
[] = { "self", NULL
};
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8143 wxPy_BEGIN_ALLOW_THREADS
;
8144 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8146 wxPy_END_ALLOW_THREADS
;
8147 } _resultobj
= Py_BuildValue("i",_result
);
8151 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8152 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
* _resultobj
;
8156 PyObject
* _argo0
= 0;
8157 PyObject
* _obj1
= 0;
8158 char *_kwnames
[] = { "self","str", NULL
};
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8171 if (!PyString_Check(_obj1
)) {
8172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8175 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8178 wxPy_BEGIN_ALLOW_THREADS
;
8179 wxMenuItem_SetText(_arg0
,*_arg1
);
8181 wxPy_END_ALLOW_THREADS
;
8182 } Py_INCREF(Py_None
);
8183 _resultobj
= Py_None
;
8191 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8192 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8196 PyObject
* _argo0
= 0;
8197 char *_kwnames
[] = { "self", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
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_GetLabel. Expected _wxMenuItem_p.");
8210 wxPy_BEGIN_ALLOW_THREADS
;
8211 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8213 wxPy_END_ALLOW_THREADS
;
8215 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
8223 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8224 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
* _resultobj
;
8228 PyObject
* _argo0
= 0;
8229 char *_kwnames
[] = { "self", NULL
};
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8242 wxPy_BEGIN_ALLOW_THREADS
;
8243 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8244 _result
= (wxString
*) &_result_ref
;
8246 wxPy_END_ALLOW_THREADS
;
8248 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8253 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8254 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
* _resultobj
;
8258 PyObject
* _argo0
= 0;
8260 char *_kwnames
[] = { "self","checkable", NULL
};
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8272 _arg1
= (bool ) tempbool1
;
8274 wxPy_BEGIN_ALLOW_THREADS
;
8275 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8277 wxPy_END_ALLOW_THREADS
;
8278 } Py_INCREF(Py_None
);
8279 _resultobj
= Py_None
;
8283 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8284 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
* _resultobj
;
8288 PyObject
* _argo0
= 0;
8289 char *_kwnames
[] = { "self", NULL
};
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8302 wxPy_BEGIN_ALLOW_THREADS
;
8303 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8305 wxPy_END_ALLOW_THREADS
;
8306 } _resultobj
= Py_BuildValue("i",_result
);
8310 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8311 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
* _resultobj
;
8315 PyObject
* _argo0
= 0;
8316 char *_kwnames
[] = { "self", NULL
};
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8329 wxPy_BEGIN_ALLOW_THREADS
;
8330 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8332 wxPy_END_ALLOW_THREADS
;
8333 } _resultobj
= Py_BuildValue("i",_result
);
8337 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8338 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
* _resultobj
;
8342 PyObject
* _argo0
= 0;
8343 PyObject
* _argo1
= 0;
8344 char *_kwnames
[] = { "self","menu", NULL
};
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8364 wxPy_BEGIN_ALLOW_THREADS
;
8365 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8367 wxPy_END_ALLOW_THREADS
;
8368 } Py_INCREF(Py_None
);
8369 _resultobj
= Py_None
;
8373 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8374 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
* _resultobj
;
8378 PyObject
* _argo0
= 0;
8379 char *_kwnames
[] = { "self", NULL
};
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8393 wxPy_BEGIN_ALLOW_THREADS
;
8394 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8396 wxPy_END_ALLOW_THREADS
;
8398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8399 _resultobj
= Py_BuildValue("s",_ptemp
);
8402 _resultobj
= Py_None
;
8407 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8408 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
* _resultobj
;
8411 bool _arg1
= (bool ) TRUE
;
8412 PyObject
* _argo0
= 0;
8413 int tempbool1
= (int) TRUE
;
8414 char *_kwnames
[] = { "self","enable", NULL
};
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8426 _arg1
= (bool ) tempbool1
;
8428 wxPy_BEGIN_ALLOW_THREADS
;
8429 wxMenuItem_Enable(_arg0
,_arg1
);
8431 wxPy_END_ALLOW_THREADS
;
8432 } Py_INCREF(Py_None
);
8433 _resultobj
= Py_None
;
8437 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8438 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
* _resultobj
;
8442 PyObject
* _argo0
= 0;
8443 char *_kwnames
[] = { "self", NULL
};
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8456 wxPy_BEGIN_ALLOW_THREADS
;
8457 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8459 wxPy_END_ALLOW_THREADS
;
8460 } _resultobj
= Py_BuildValue("i",_result
);
8464 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8465 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
* _resultobj
;
8468 bool _arg1
= (bool ) TRUE
;
8469 PyObject
* _argo0
= 0;
8470 int tempbool1
= (int) TRUE
;
8471 char *_kwnames
[] = { "self","check", NULL
};
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8483 _arg1
= (bool ) tempbool1
;
8485 wxPy_BEGIN_ALLOW_THREADS
;
8486 wxMenuItem_Check(_arg0
,_arg1
);
8488 wxPy_END_ALLOW_THREADS
;
8489 } Py_INCREF(Py_None
);
8490 _resultobj
= Py_None
;
8494 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8495 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
* _resultobj
;
8499 PyObject
* _argo0
= 0;
8500 char *_kwnames
[] = { "self", NULL
};
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8513 wxPy_BEGIN_ALLOW_THREADS
;
8514 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8516 wxPy_END_ALLOW_THREADS
;
8517 } _resultobj
= Py_BuildValue("i",_result
);
8521 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8522 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8525 PyObject
* _argo0
= 0;
8526 char *_kwnames
[] = { "self", NULL
};
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8539 wxPy_BEGIN_ALLOW_THREADS
;
8540 wxMenuItem_Toggle(_arg0
);
8542 wxPy_END_ALLOW_THREADS
;
8543 } Py_INCREF(Py_None
);
8544 _resultobj
= Py_None
;
8548 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8549 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
* _resultobj
;
8553 PyObject
* _argo0
= 0;
8554 PyObject
* _obj1
= 0;
8555 char *_kwnames
[] = { "self","str", NULL
};
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8568 if (!PyString_Check(_obj1
)) {
8569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8572 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8575 wxPy_BEGIN_ALLOW_THREADS
;
8576 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8578 wxPy_END_ALLOW_THREADS
;
8579 } Py_INCREF(Py_None
);
8580 _resultobj
= Py_None
;
8588 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8589 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
* _resultobj
;
8593 PyObject
* _argo0
= 0;
8594 char *_kwnames
[] = { "self", NULL
};
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8607 wxPy_BEGIN_ALLOW_THREADS
;
8608 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8609 _result
= (wxString
*) &_result_ref
;
8611 wxPy_END_ALLOW_THREADS
;
8613 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8618 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8619 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
* _resultobj
;
8621 wxAcceleratorEntry
* _result
;
8623 PyObject
* _argo0
= 0;
8624 char *_kwnames
[] = { "self", NULL
};
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8638 wxPy_BEGIN_ALLOW_THREADS
;
8639 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8641 wxPy_END_ALLOW_THREADS
;
8643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8644 _resultobj
= Py_BuildValue("s",_ptemp
);
8647 _resultobj
= Py_None
;
8652 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8653 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
* _resultobj
;
8656 wxAcceleratorEntry
* _arg1
;
8657 PyObject
* _argo0
= 0;
8658 PyObject
* _argo1
= 0;
8659 char *_kwnames
[] = { "self","accel", NULL
};
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8679 wxPy_BEGIN_ALLOW_THREADS
;
8680 wxMenuItem_SetAccel(_arg0
,_arg1
);
8682 wxPy_END_ALLOW_THREADS
;
8683 } Py_INCREF(Py_None
);
8684 _resultobj
= Py_None
;
8688 static PyMethodDef windowscMethods
[] = {
8689 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8690 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8691 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8692 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8693 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8694 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8695 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8696 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8697 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8698 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8699 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8700 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8701 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8702 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8703 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8704 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8705 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8706 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8707 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8708 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8709 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8710 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8711 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8712 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8713 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8714 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8715 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8716 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8717 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8718 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8719 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8720 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8721 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8722 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8723 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8724 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8725 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8726 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8727 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8728 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8729 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8730 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8731 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8732 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8733 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8734 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8735 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8736 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8737 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8738 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8739 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8740 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8741 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8742 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8743 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8744 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8745 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8746 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8747 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8748 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8749 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8750 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8751 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8752 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8753 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8754 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8755 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8756 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8757 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8758 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8759 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8760 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8761 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8762 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8763 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8764 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8765 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8766 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8767 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8768 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8769 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8770 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8771 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8772 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8773 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8774 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8775 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8776 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8777 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8778 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8779 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8780 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8781 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8782 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8783 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8784 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8785 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8786 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8787 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8788 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8789 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8790 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8791 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8792 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8793 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8794 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8795 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8796 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8797 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8798 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8799 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8800 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
8801 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8802 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8803 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8804 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8805 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8806 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8807 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8808 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8809 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8810 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8811 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8812 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8813 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8814 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8815 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8816 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8817 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8818 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8819 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8820 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8821 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8822 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8823 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8824 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8825 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8826 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8827 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8828 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8829 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8830 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8831 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8832 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8833 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8834 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8835 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8836 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8837 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8838 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8839 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8840 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8841 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8842 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8843 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8844 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8845 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8846 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8847 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
8848 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8849 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8850 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8851 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8852 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8853 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8854 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8855 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8856 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8857 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8858 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8859 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8860 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8861 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8862 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8863 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8864 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
8865 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
8866 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
8867 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8868 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8869 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8870 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8871 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8872 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8873 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8874 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8875 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8876 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8877 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8878 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8879 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8880 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8881 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8882 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8883 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8884 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8885 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8886 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8887 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8888 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8889 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8890 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8891 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8892 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8893 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8894 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8895 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8896 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8897 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8898 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8899 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8900 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8901 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8902 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8903 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8904 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
8905 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8906 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8907 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8908 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8909 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8910 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8911 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8912 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8913 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8914 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8915 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8916 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8917 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8918 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8919 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8920 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8921 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8922 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8923 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
8924 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8925 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8926 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8927 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8928 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8929 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8930 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8931 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8932 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
8933 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
8934 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8935 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8942 * This table is used by the pointer type-checker
8944 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8945 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8946 { "_signed_long","_long",0},
8947 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8948 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8949 { "_wxPrintQuality","_wxCoord",0},
8950 { "_wxPrintQuality","_int",0},
8951 { "_wxPrintQuality","_signed_int",0},
8952 { "_wxPrintQuality","_unsigned_int",0},
8953 { "_wxPrintQuality","_wxWindowID",0},
8954 { "_wxPrintQuality","_uint",0},
8955 { "_wxPrintQuality","_EBool",0},
8956 { "_wxPrintQuality","_size_t",0},
8957 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8958 { "_class_wxRegionIterator","_wxRegionIterator",0},
8959 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8960 { "_class_wxMenuBar","_wxMenuBar",0},
8961 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8962 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8963 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8964 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8965 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8966 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8967 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8968 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8969 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8970 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8971 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8972 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8973 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8974 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8975 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8976 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8977 { "_class_wxEvtHandler","_wxEvtHandler",0},
8978 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8979 { "_wxCursor","_class_wxCursor",0},
8980 { "_wxMask","_class_wxMask",0},
8981 { "_wxPen","_class_wxPen",0},
8982 { "_byte","_unsigned_char",0},
8983 { "_wxDataObject","_class_wxDataObject",0},
8984 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8985 { "_wxPyDropSource","_class_wxPyDropSource",0},
8986 { "_long","_wxDash",0},
8987 { "_long","_unsigned_long",0},
8988 { "_long","_signed_long",0},
8989 { "_wxImageList","_class_wxImageList",0},
8990 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8991 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8992 { "_class_wxClipboard","_wxClipboard",0},
8993 { "_wxDC","_class_wxDC",0},
8994 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8995 { "_size_t","_wxCoord",0},
8996 { "_size_t","_wxPrintQuality",0},
8997 { "_size_t","_unsigned_int",0},
8998 { "_size_t","_int",0},
8999 { "_size_t","_wxWindowID",0},
9000 { "_size_t","_uint",0},
9001 { "_class_wxRealPoint","_wxRealPoint",0},
9002 { "_wxPrinterDC","_class_wxPrinterDC",0},
9003 { "_class_wxMenuItem","_wxMenuItem",0},
9004 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9005 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9006 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9007 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9008 { "_wxPanel","_class_wxPanel",0},
9009 { "_class_wxMask","_wxMask",0},
9010 { "_wxTextDataObject","_class_wxTextDataObject",0},
9011 { "_wxColour","_class_wxColour",0},
9012 { "_class_wxDialog","_wxDialog",0},
9013 { "_class_wxFileDataObject","_wxFileDataObject",0},
9014 { "_class_wxDataObject","_wxDataObject",0},
9015 { "_wxBrush","_class_wxBrush",0},
9016 { "_wxDataFormat","_class_wxDataFormat",0},
9017 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9018 { "_uint","_wxCoord",0},
9019 { "_uint","_wxPrintQuality",0},
9020 { "_uint","_size_t",0},
9021 { "_uint","_unsigned_int",0},
9022 { "_uint","_int",0},
9023 { "_uint","_wxWindowID",0},
9024 { "_wxPyValidator","_class_wxPyValidator",0},
9025 { "_wxRect","_class_wxRect",0},
9026 { "_wxPoint","_class_wxPoint",0},
9027 { "_wxBitmap","_class_wxBitmap",0},
9028 { "_wxPyTimer","_class_wxPyTimer",0},
9029 { "_wxWindowDC","_class_wxWindowDC",0},
9030 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9031 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9032 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9033 { "_class_wxValidator","_wxValidator",0},
9034 { "_wxDropTarget","_class_wxDropTarget",0},
9035 { "_EBool","_wxCoord",0},
9036 { "_EBool","_wxPrintQuality",0},
9037 { "_EBool","_signed_int",0},
9038 { "_EBool","_int",0},
9039 { "_EBool","_wxWindowID",0},
9040 { "_class_wxRegion","_wxRegion",0},
9041 { "_class_wxDataFormat","_wxDataFormat",0},
9042 { "_wxFont","_class_wxFont",0},
9043 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9044 { "_unsigned_long","_wxDash",0},
9045 { "_unsigned_long","_long",0},
9046 { "_class_wxRect","_wxRect",0},
9047 { "_class_wxDC","_wxDC",0},
9048 { "_class_wxPyTimer","_wxPyTimer",0},
9049 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9050 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9051 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9052 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9053 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9054 { "_class_wxPanel","_wxPanel",0},
9055 { "_signed_int","_wxCoord",0},
9056 { "_signed_int","_wxPrintQuality",0},
9057 { "_signed_int","_EBool",0},
9058 { "_signed_int","_wxWindowID",0},
9059 { "_signed_int","_int",0},
9060 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9061 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
9062 { "_class_wxTextDataObject","_wxTextDataObject",0},
9063 { "_wxMenu","_class_wxMenu",0},
9064 { "_wxScreenDC","_class_wxScreenDC",0},
9065 { "_WXTYPE","_short",0},
9066 { "_WXTYPE","_signed_short",0},
9067 { "_WXTYPE","_unsigned_short",0},
9068 { "_class_wxDropTarget","_wxDropTarget",0},
9069 { "_class_wxBrush","_wxBrush",0},
9070 { "_unsigned_short","_WXTYPE",0},
9071 { "_unsigned_short","_short",0},
9072 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9073 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9074 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9075 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9076 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9077 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9078 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9079 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9080 { "_class_wxWindow","_wxWindow",0},
9081 { "_class_wxFont","_wxFont",0},
9082 { "_wxClipboard","_class_wxClipboard",0},
9083 { "_class_wxPyValidator","_wxPyValidator",0},
9084 { "_wxBusyInfo","_class_wxBusyInfo",0},
9085 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9086 { "_wxClientDC","_class_wxClientDC",0},
9087 { "_class_wxPoint","_wxPoint",0},
9088 { "_wxRealPoint","_class_wxRealPoint",0},
9089 { "_signed_short","_WXTYPE",0},
9090 { "_signed_short","_short",0},
9091 { "_wxMemoryDC","_class_wxMemoryDC",0},
9092 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9093 { "_wxPaintDC","_class_wxPaintDC",0},
9094 { "_class_wxWindowDC","_wxWindowDC",0},
9095 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9096 { "_class_wxCursor","_wxCursor",0},
9097 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9098 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9099 { "_unsigned_char","_byte",0},
9100 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
9101 { "_class_wxMenu","_wxMenu",0},
9102 { "_unsigned_int","_wxCoord",0},
9103 { "_unsigned_int","_wxPrintQuality",0},
9104 { "_unsigned_int","_size_t",0},
9105 { "_unsigned_int","_uint",0},
9106 { "_unsigned_int","_wxWindowID",0},
9107 { "_unsigned_int","_int",0},
9108 { "_wxIcon","_class_wxIcon",0},
9109 { "_wxDialog","_class_wxDialog",0},
9110 { "_class_wxPen","_wxPen",0},
9111 { "_short","_WXTYPE",0},
9112 { "_short","_unsigned_short",0},
9113 { "_short","_signed_short",0},
9114 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9115 { "_class_wxPyDropSource","_wxPyDropSource",0},
9116 { "_class_wxImageList","_wxImageList",0},
9117 { "_wxWindowID","_wxCoord",0},
9118 { "_wxWindowID","_wxPrintQuality",0},
9119 { "_wxWindowID","_size_t",0},
9120 { "_wxWindowID","_EBool",0},
9121 { "_wxWindowID","_uint",0},
9122 { "_wxWindowID","_int",0},
9123 { "_wxWindowID","_signed_int",0},
9124 { "_wxWindowID","_unsigned_int",0},
9125 { "_int","_wxCoord",0},
9126 { "_int","_wxPrintQuality",0},
9127 { "_int","_size_t",0},
9128 { "_int","_EBool",0},
9129 { "_int","_uint",0},
9130 { "_int","_wxWindowID",0},
9131 { "_int","_unsigned_int",0},
9132 { "_int","_signed_int",0},
9133 { "_wxSize","_class_wxSize",0},
9134 { "_wxRegionIterator","_class_wxRegionIterator",0},
9135 { "_class_wxPrinterDC","_wxPrinterDC",0},
9136 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9137 { "_class_wxPaintDC","_wxPaintDC",0},
9138 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9139 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9140 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9141 { "_wxValidator","_class_wxValidator",0},
9142 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9143 { "_class_wxIcon","_wxIcon",0},
9144 { "_class_wxColour","_wxColour",0},
9145 { "_class_wxScreenDC","_wxScreenDC",0},
9146 { "_wxPalette","_class_wxPalette",0},
9147 { "_wxCoord","_int",0},
9148 { "_wxCoord","_signed_int",0},
9149 { "_wxCoord","_unsigned_int",0},
9150 { "_wxCoord","_wxWindowID",0},
9151 { "_wxCoord","_uint",0},
9152 { "_wxCoord","_EBool",0},
9153 { "_wxCoord","_size_t",0},
9154 { "_wxCoord","_wxPrintQuality",0},
9155 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9156 { "_wxRegion","_class_wxRegion",0},
9157 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9158 { "_class_wxBusyInfo","_wxBusyInfo",0},
9159 { "_class_wxClientDC","_wxClientDC",0},
9160 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9161 { "_class_wxSize","_wxSize",0},
9162 { "_class_wxBitmap","_wxBitmap",0},
9163 { "_class_wxMemoryDC","_wxMemoryDC",0},
9164 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9165 { "_wxMenuBar","_class_wxMenuBar",0},
9166 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9167 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9168 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9169 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9170 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9171 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9172 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9173 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9174 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9175 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9176 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9177 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9178 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9179 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9180 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9181 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9182 { "_wxEvtHandler","_class_wxEvtHandler",0},
9183 { "_wxMenuItem","_class_wxMenuItem",0},
9184 { "_wxDash","_unsigned_long",0},
9185 { "_wxDash","_long",0},
9186 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9187 { "_class_wxPalette","_wxPalette",0},
9188 { "_wxFileDataObject","_class_wxFileDataObject",0},
9189 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9190 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9191 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9192 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9193 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9194 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9195 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9196 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9197 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9198 { "_wxWindow","_class_wxWindow",0},
9201 static PyObject
*SWIG_globals
;
9205 SWIGEXPORT(void) initwindowsc() {
9207 SWIG_globals
= SWIG_newvarlink();
9208 m
= Py_InitModule("windowsc", windowscMethods
);
9209 d
= PyModule_GetDict(m
);
9212 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9213 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);