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_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3116 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3121 PyObject
* _argo0
= 0;
3122 PyObject
* _argo1
= 0;
3123 char *_kwnames
[] = { "self","newParent", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3143 wxPy_BEGIN_ALLOW_THREADS
;
3144 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3146 wxPy_END_ALLOW_THREADS
;
3147 } _resultobj
= Py_BuildValue("i",_result
);
3151 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3152 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3157 PyObject
* _argo0
= 0;
3159 PyObject
* _obj1
= 0;
3161 PyObject
* _obj2
= 0;
3162 char *_kwnames
[] = { "self","x","y", NULL
};
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3175 temp
= (int) PyInt_AsLong(_obj1
);
3179 temp0
= (int) PyInt_AsLong(_obj2
);
3183 wxPy_BEGIN_ALLOW_THREADS
;
3184 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3186 wxPy_END_ALLOW_THREADS
;
3187 } Py_INCREF(Py_None
);
3188 _resultobj
= Py_None
;
3191 o
= PyInt_FromLong((long) (*_arg1
));
3192 _resultobj
= t_output_helper(_resultobj
, o
);
3196 o
= PyInt_FromLong((long) (*_arg2
));
3197 _resultobj
= t_output_helper(_resultobj
, o
);
3202 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3203 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3208 PyObject
* _argo0
= 0;
3210 PyObject
* _obj1
= 0;
3211 char *_kwnames
[] = { "self","pt", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3226 if (! wxPoint_helper(_obj1
, &_arg1
))
3230 wxPy_BEGIN_ALLOW_THREADS
;
3231 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3233 wxPy_END_ALLOW_THREADS
;
3234 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3235 _resultobj
= Py_BuildValue("s",_ptemp
);
3239 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3240 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3245 wxRect
* _arg3
= (wxRect
*) NULL
;
3246 PyObject
* _argo0
= 0;
3248 PyObject
* _obj3
= 0;
3249 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3264 if (! wxRect_helper(_obj3
, &_arg3
))
3268 wxPy_BEGIN_ALLOW_THREADS
;
3269 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3271 wxPy_END_ALLOW_THREADS
;
3272 } Py_INCREF(Py_None
);
3273 _resultobj
= Py_None
;
3277 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3278 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
* _resultobj
;
3281 wxAcceleratorTable
* _arg1
;
3282 PyObject
* _argo0
= 0;
3283 PyObject
* _argo1
= 0;
3284 char *_kwnames
[] = { "self","accel", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3307 wxPy_END_ALLOW_THREADS
;
3308 } Py_INCREF(Py_None
);
3309 _resultobj
= Py_None
;
3313 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3314 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3318 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self","autoLayout", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
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_SetAutoLayout. Expected _wxWindow_p.");
3332 _arg1
= (bool ) tempbool1
;
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3337 wxPy_END_ALLOW_THREADS
;
3338 } Py_INCREF(Py_None
);
3339 _resultobj
= Py_None
;
3343 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3344 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
* _resultobj
;
3348 PyObject
* _argo0
= 0;
3349 char *_kwnames
[] = { "self", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3362 wxPy_BEGIN_ALLOW_THREADS
;
3363 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3365 wxPy_END_ALLOW_THREADS
;
3366 } _resultobj
= Py_BuildValue("i",_result
);
3370 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3371 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3375 PyObject
* _argo0
= 0;
3376 PyObject
* _argo1
= 0;
3377 char *_kwnames
[] = { "self","colour", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3400 wxPy_END_ALLOW_THREADS
;
3401 } Py_INCREF(Py_None
);
3402 _resultobj
= Py_None
;
3406 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3407 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3410 wxLayoutConstraints
* _arg1
;
3411 PyObject
* _argo0
= 0;
3412 PyObject
* _argo1
= 0;
3413 char *_kwnames
[] = { "self","constraints", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_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_SetConstraints. Expected _wxWindow_p.");
3426 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 wxWindow_SetConstraints(_arg0
,_arg1
);
3436 wxPy_END_ALLOW_THREADS
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3443 static PyObject
*_wrap_wxWindow_UnsetConstraints(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_UnsetConstraints",_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_UnsetConstraints. 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_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3479 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3482 PyObject
* _argo0
= 0;
3483 char *_kwnames
[] = { "self", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 wxWindow_SetFocus(_arg0
);
3499 wxPy_END_ALLOW_THREADS
;
3500 } Py_INCREF(Py_None
);
3501 _resultobj
= Py_None
;
3505 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3506 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3510 PyObject
* _argo0
= 0;
3511 char *_kwnames
[] = { "self", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3524 wxPy_BEGIN_ALLOW_THREADS
;
3525 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3527 wxPy_END_ALLOW_THREADS
;
3528 } _resultobj
= Py_BuildValue("i",_result
);
3532 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3533 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3537 PyObject
* _argo0
= 0;
3538 PyObject
* _argo1
= 0;
3539 char *_kwnames
[] = { "self","font", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3559 wxPy_BEGIN_ALLOW_THREADS
;
3560 wxWindow_SetFont(_arg0
,*_arg1
);
3562 wxPy_END_ALLOW_THREADS
;
3563 } Py_INCREF(Py_None
);
3564 _resultobj
= Py_None
;
3568 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3569 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3573 PyObject
* _argo0
= 0;
3574 PyObject
* _argo1
= 0;
3575 char *_kwnames
[] = { "self","colour", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_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_SetForegroundColour. Expected _wxWindow_p.");
3588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } Py_INCREF(Py_None
);
3600 _resultobj
= Py_None
;
3604 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3605 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self","id", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 wxWindow_SetId(_arg0
,_arg1
);
3626 wxPy_END_ALLOW_THREADS
;
3627 } Py_INCREF(Py_None
);
3628 _resultobj
= Py_None
;
3632 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3633 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
* _resultobj
;
3637 PyObject
* _argo0
= 0;
3638 PyObject
* _obj1
= 0;
3639 char *_kwnames
[] = { "self","name", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3652 if (!PyString_Check(_obj1
)) {
3653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3656 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 wxWindow_SetName(_arg0
,*_arg1
);
3662 wxPy_END_ALLOW_THREADS
;
3663 } Py_INCREF(Py_None
);
3664 _resultobj
= Py_None
;
3672 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3673 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
* _resultobj
;
3680 int _arg5
= (int ) TRUE
;
3681 PyObject
* _argo0
= 0;
3682 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3698 wxPy_END_ALLOW_THREADS
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3705 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3710 bool _arg3
= (bool ) TRUE
;
3711 PyObject
* _argo0
= 0;
3712 int tempbool3
= (int) TRUE
;
3713 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3725 _arg3
= (bool ) tempbool3
;
3727 wxPy_BEGIN_ALLOW_THREADS
;
3728 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3730 wxPy_END_ALLOW_THREADS
;
3731 } Py_INCREF(Py_None
);
3732 _resultobj
= Py_None
;
3736 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3737 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3744 int _arg5
= (int ) wxSIZE_AUTO
;
3745 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3759 wxPy_BEGIN_ALLOW_THREADS
;
3760 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3762 wxPy_END_ALLOW_THREADS
;
3763 } Py_INCREF(Py_None
);
3764 _resultobj
= Py_None
;
3768 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3769 self
->SetSize(size
.x
, size
.y
);
3771 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3775 PyObject
* _argo0
= 0;
3777 PyObject
* _obj1
= 0;
3778 char *_kwnames
[] = { "self","size", NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3792 if (! wxSize_helper(_obj1
, &_arg1
))
3796 wxPy_BEGIN_ALLOW_THREADS
;
3797 wxWindow_SetSize(_arg0
,*_arg1
);
3799 wxPy_END_ALLOW_THREADS
;
3800 } Py_INCREF(Py_None
);
3801 _resultobj
= Py_None
;
3805 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3806 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3808 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
* _resultobj
;
3812 PyObject
* _argo0
= 0;
3814 PyObject
* _obj1
= 0;
3815 char *_kwnames
[] = { "self","pos", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3829 if (! wxPoint_helper(_obj1
, &_arg1
))
3833 wxPy_BEGIN_ALLOW_THREADS
;
3834 wxWindow_SetPosition(_arg0
,*_arg1
);
3836 wxPy_END_ALLOW_THREADS
;
3837 } Py_INCREF(Py_None
);
3838 _resultobj
= Py_None
;
3842 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3843 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3846 int _arg1
= (int ) -1;
3847 int _arg2
= (int ) -1;
3848 int _arg3
= (int ) -1;
3849 int _arg4
= (int ) -1;
3850 int _arg5
= (int ) -1;
3851 int _arg6
= (int ) -1;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3869 wxPy_END_ALLOW_THREADS
;
3870 } Py_INCREF(Py_None
);
3871 _resultobj
= Py_None
;
3875 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3876 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self","width","height", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3895 wxPy_BEGIN_ALLOW_THREADS
;
3896 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3898 wxPy_END_ALLOW_THREADS
;
3899 } Py_INCREF(Py_None
);
3900 _resultobj
= Py_None
;
3904 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3905 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3909 PyObject
* _argo0
= 0;
3911 PyObject
* _obj1
= 0;
3912 char *_kwnames
[] = { "self","size", NULL
};
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3926 if (! wxSize_helper(_obj1
, &_arg1
))
3930 wxPy_BEGIN_ALLOW_THREADS
;
3931 wxWindow_SetClientSize(_arg0
,*_arg1
);
3933 wxPy_END_ALLOW_THREADS
;
3934 } Py_INCREF(Py_None
);
3935 _resultobj
= Py_None
;
3939 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3940 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3944 PyObject
* _argo0
= 0;
3945 PyObject
* _argo1
= 0;
3946 char *_kwnames
[] = { "self","cursor", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3966 wxPy_BEGIN_ALLOW_THREADS
;
3967 wxWindow_SetCursor(_arg0
,*_arg1
);
3969 wxPy_END_ALLOW_THREADS
;
3970 } Py_INCREF(Py_None
);
3971 _resultobj
= Py_None
;
3975 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3976 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3979 wxEvtHandler
* _arg1
;
3980 PyObject
* _argo0
= 0;
3981 PyObject
* _argo1
= 0;
3982 char *_kwnames
[] = { "self","handler", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_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_SetEventHandler. Expected _wxWindow_p.");
3995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4002 wxPy_BEGIN_ALLOW_THREADS
;
4003 wxWindow_SetEventHandler(_arg0
,_arg1
);
4005 wxPy_END_ALLOW_THREADS
;
4006 } Py_INCREF(Py_None
);
4007 _resultobj
= Py_None
;
4011 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4012 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4016 PyObject
* _argo0
= 0;
4017 PyObject
* _obj1
= 0;
4018 char *_kwnames
[] = { "self","title", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
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_SetTitle. Expected _wxWindow_p.");
4031 if (!PyString_Check(_obj1
)) {
4032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4035 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4038 wxPy_BEGIN_ALLOW_THREADS
;
4039 wxWindow_SetTitle(_arg0
,*_arg1
);
4041 wxPy_END_ALLOW_THREADS
;
4042 } Py_INCREF(Py_None
);
4043 _resultobj
= Py_None
;
4051 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4052 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4057 PyObject
* _argo0
= 0;
4059 char *_kwnames
[] = { "self","show", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4071 _arg1
= (bool ) tempbool1
;
4073 wxPy_BEGIN_ALLOW_THREADS
;
4074 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4076 wxPy_END_ALLOW_THREADS
;
4077 } _resultobj
= Py_BuildValue("i",_result
);
4081 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4082 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4086 PyObject
* _argo0
= 0;
4087 char *_kwnames
[] = { "self", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4100 wxPy_BEGIN_ALLOW_THREADS
;
4101 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4103 wxPy_END_ALLOW_THREADS
;
4104 } _resultobj
= Py_BuildValue("i",_result
);
4108 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4109 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4127 wxPy_BEGIN_ALLOW_THREADS
;
4128 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4130 wxPy_END_ALLOW_THREADS
;
4131 } _resultobj
= Py_BuildValue("i",_result
);
4135 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4136 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4140 PyObject
* _argo0
= 0;
4141 char *_kwnames
[] = { "self", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 _result
= (bool )wxWindow_Validate(_arg0
);
4157 wxPy_END_ALLOW_THREADS
;
4158 } _resultobj
= Py_BuildValue("i",_result
);
4162 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4163 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self","x","y", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4182 wxPy_BEGIN_ALLOW_THREADS
;
4183 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4185 wxPy_END_ALLOW_THREADS
;
4186 } Py_INCREF(Py_None
);
4187 _resultobj
= Py_None
;
4191 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4192 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4197 PyObject
* _argo0
= 0;
4199 PyObject
* _obj1
= 0;
4200 char *_kwnames
[] = { "self","pt", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4215 if (! wxPoint_helper(_obj1
, &_arg1
))
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4222 wxPy_END_ALLOW_THREADS
;
4223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4224 _resultobj
= Py_BuildValue("s",_ptemp
);
4228 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4229 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4234 PyObject
* _argo0
= 0;
4236 PyObject
* _obj1
= 0;
4237 char *_kwnames
[] = { "self","sz", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4252 if (! wxSize_helper(_obj1
, &_arg1
))
4256 wxPy_BEGIN_ALLOW_THREADS
;
4257 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4259 wxPy_END_ALLOW_THREADS
;
4260 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4261 _resultobj
= Py_BuildValue("s",_ptemp
);
4265 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4266 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
* _resultobj
;
4271 PyObject
* _argo0
= 0;
4273 PyObject
* _obj1
= 0;
4274 char *_kwnames
[] = { "self","pt", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4289 if (! wxPoint_helper(_obj1
, &_arg1
))
4293 wxPy_BEGIN_ALLOW_THREADS
;
4294 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4296 wxPy_END_ALLOW_THREADS
;
4297 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4298 _resultobj
= Py_BuildValue("s",_ptemp
);
4302 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4303 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4308 PyObject
* _argo0
= 0;
4310 PyObject
* _obj1
= 0;
4311 char *_kwnames
[] = { "self","sz", NULL
};
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4326 if (! wxSize_helper(_obj1
, &_arg1
))
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4333 wxPy_END_ALLOW_THREADS
;
4334 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4335 _resultobj
= Py_BuildValue("s",_ptemp
);
4339 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4340 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4344 PyObject
* _argo0
= 0;
4345 PyObject
* _obj1
= 0;
4346 char *_kwnames
[] = { "self","tip", NULL
};
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4359 if (!PyString_Check(_obj1
)) {
4360 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4363 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4366 wxPy_BEGIN_ALLOW_THREADS
;
4367 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4369 wxPy_END_ALLOW_THREADS
;
4370 } Py_INCREF(Py_None
);
4371 _resultobj
= Py_None
;
4379 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4380 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
* _resultobj
;
4384 PyObject
* _argo0
= 0;
4385 PyObject
* _argo1
= 0;
4386 char *_kwnames
[] = { "self","tooltip", NULL
};
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4406 wxPy_BEGIN_ALLOW_THREADS
;
4407 wxWindow_SetToolTip(_arg0
,_arg1
);
4409 wxPy_END_ALLOW_THREADS
;
4410 } Py_INCREF(Py_None
);
4411 _resultobj
= Py_None
;
4415 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4416 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4418 wxToolTip
* _result
;
4420 PyObject
* _argo0
= 0;
4421 char *_kwnames
[] = { "self", NULL
};
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
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_GetToolTip. Expected _wxWindow_p.");
4435 wxPy_BEGIN_ALLOW_THREADS
;
4436 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4438 wxPy_END_ALLOW_THREADS
;
4440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4441 _resultobj
= Py_BuildValue("s",_ptemp
);
4444 _resultobj
= Py_None
;
4449 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4450 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4454 PyObject
* _argo0
= 0;
4455 PyObject
* _argo1
= 0;
4456 char *_kwnames
[] = { "self","sizer", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 wxWindow_SetSizer(_arg0
,_arg1
);
4479 wxPy_END_ALLOW_THREADS
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4486 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4488 wxValidator
* _result
;
4490 PyObject
* _argo0
= 0;
4491 char *_kwnames
[] = { "self", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
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_GetValidator. Expected _wxWindow_p.");
4505 wxPy_BEGIN_ALLOW_THREADS
;
4506 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4508 wxPy_END_ALLOW_THREADS
;
4510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4511 _resultobj
= Py_BuildValue("s",_ptemp
);
4514 _resultobj
= Py_None
;
4519 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4520 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4523 wxValidator
* _arg1
;
4524 PyObject
* _argo0
= 0;
4525 PyObject
* _argo1
= 0;
4526 char *_kwnames
[] = { "self","validator", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4546 wxPy_BEGIN_ALLOW_THREADS
;
4547 wxWindow_SetValidator(_arg0
,*_arg1
);
4549 wxPy_END_ALLOW_THREADS
;
4550 } Py_INCREF(Py_None
);
4551 _resultobj
= Py_None
;
4555 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4556 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4559 wxDropTarget
* _arg1
;
4560 PyObject
* _argo0
= 0;
4561 PyObject
* _argo1
= 0;
4562 char *_kwnames
[] = { "self","target", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_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_SetDropTarget. Expected _wxWindow_p.");
4575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 wxWindow_SetDropTarget(_arg0
,_arg1
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4591 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4592 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4594 wxDropTarget
* _result
;
4596 PyObject
* _argo0
= 0;
4597 char *_kwnames
[] = { "self", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
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_GetDropTarget. Expected _wxWindow_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4614 wxPy_END_ALLOW_THREADS
;
4616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4617 _resultobj
= Py_BuildValue("s",_ptemp
);
4620 _resultobj
= Py_None
;
4625 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4626 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4630 PyObject
* _argo0
= 0;
4631 char *_kwnames
[] = { "self", NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4645 wxPy_BEGIN_ALLOW_THREADS
;
4646 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4648 wxPy_END_ALLOW_THREADS
;
4649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4650 _resultobj
= Py_BuildValue("s",_ptemp
);
4654 static void *SwigwxPanelTowxWindow(void *ptr
) {
4657 src
= (wxPanel
*) ptr
;
4658 dest
= (wxWindow
*) src
;
4659 return (void *) dest
;
4662 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4665 src
= (wxPanel
*) ptr
;
4666 dest
= (wxEvtHandler
*) src
;
4667 return (void *) dest
;
4670 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4671 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4676 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4677 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4678 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4679 char * _arg5
= (char *) "panel";
4680 PyObject
* _argo0
= 0;
4682 PyObject
* _obj2
= 0;
4684 PyObject
* _obj3
= 0;
4685 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4701 if (! wxPoint_helper(_obj2
, &_arg2
))
4707 if (! wxSize_helper(_obj3
, &_arg3
))
4711 wxPy_BEGIN_ALLOW_THREADS
;
4712 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4714 wxPy_END_ALLOW_THREADS
;
4716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4717 _resultobj
= Py_BuildValue("s",_ptemp
);
4720 _resultobj
= Py_None
;
4725 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4726 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 char *_kwnames
[] = { "self", NULL
};
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4743 wxPy_BEGIN_ALLOW_THREADS
;
4744 wxPanel_InitDialog(_arg0
);
4746 wxPy_END_ALLOW_THREADS
;
4747 } Py_INCREF(Py_None
);
4748 _resultobj
= Py_None
;
4752 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4753 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4775 wxPy_END_ALLOW_THREADS
;
4777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4778 _resultobj
= Py_BuildValue("s",_ptemp
);
4781 _resultobj
= Py_None
;
4786 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4787 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4791 PyObject
* _argo0
= 0;
4792 PyObject
* _argo1
= 0;
4793 char *_kwnames
[] = { "self","btn", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4813 wxPy_BEGIN_ALLOW_THREADS
;
4814 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4816 wxPy_END_ALLOW_THREADS
;
4817 } Py_INCREF(Py_None
);
4818 _resultobj
= Py_None
;
4822 static void *SwigwxDialogTowxPanel(void *ptr
) {
4825 src
= (wxDialog
*) ptr
;
4826 dest
= (wxPanel
*) src
;
4827 return (void *) dest
;
4830 static void *SwigwxDialogTowxWindow(void *ptr
) {
4833 src
= (wxDialog
*) ptr
;
4834 dest
= (wxWindow
*) src
;
4835 return (void *) dest
;
4838 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4841 src
= (wxDialog
*) ptr
;
4842 dest
= (wxEvtHandler
*) src
;
4843 return (void *) dest
;
4846 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4847 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
* _resultobj
;
4853 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4854 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4855 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4856 char * _arg6
= (char *) "dialogBox";
4857 PyObject
* _argo0
= 0;
4858 PyObject
* _obj2
= 0;
4860 PyObject
* _obj3
= 0;
4862 PyObject
* _obj4
= 0;
4863 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4877 if (!PyString_Check(_obj2
)) {
4878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4881 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4886 if (! wxPoint_helper(_obj3
, &_arg3
))
4892 if (! wxSize_helper(_obj4
, &_arg4
))
4896 wxPy_BEGIN_ALLOW_THREADS
;
4897 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4899 wxPy_END_ALLOW_THREADS
;
4901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4902 _resultobj
= Py_BuildValue("s",_ptemp
);
4905 _resultobj
= Py_None
;
4914 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4915 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4918 int _arg1
= (int ) wxBOTH
;
4919 PyObject
* _argo0
= 0;
4920 char *_kwnames
[] = { "self","direction", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4933 wxPy_BEGIN_ALLOW_THREADS
;
4934 wxDialog_Centre(_arg0
,_arg1
);
4936 wxPy_END_ALLOW_THREADS
;
4937 } Py_INCREF(Py_None
);
4938 _resultobj
= Py_None
;
4942 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4943 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4947 PyObject
* _argo0
= 0;
4948 char *_kwnames
[] = { "self","retCode", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4961 wxPy_BEGIN_ALLOW_THREADS
;
4962 wxDialog_EndModal(_arg0
,_arg1
);
4964 wxPy_END_ALLOW_THREADS
;
4965 } Py_INCREF(Py_None
);
4966 _resultobj
= Py_None
;
4970 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4971 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
* _resultobj
;
4975 PyObject
* _argo0
= 0;
4976 char *_kwnames
[] = { "self", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4989 wxPy_BEGIN_ALLOW_THREADS
;
4990 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4992 wxPy_END_ALLOW_THREADS
;
4994 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5002 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5003 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5007 PyObject
* _argo0
= 0;
5009 char *_kwnames
[] = { "self","iconize", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5021 _arg1
= (bool ) tempbool1
;
5023 wxPy_BEGIN_ALLOW_THREADS
;
5024 wxDialog_Iconize(_arg0
,_arg1
);
5026 wxPy_END_ALLOW_THREADS
;
5027 } Py_INCREF(Py_None
);
5028 _resultobj
= Py_None
;
5032 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5033 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5037 PyObject
* _argo0
= 0;
5038 char *_kwnames
[] = { "self", NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5051 wxPy_BEGIN_ALLOW_THREADS
;
5052 _result
= (bool )wxDialog_IsIconized(_arg0
);
5054 wxPy_END_ALLOW_THREADS
;
5055 } _resultobj
= Py_BuildValue("i",_result
);
5059 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5060 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5064 PyObject
* _argo0
= 0;
5066 char *_kwnames
[] = { "self","flag", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5078 _arg1
= (bool ) tempbool1
;
5080 wxPy_BEGIN_ALLOW_THREADS
;
5081 wxDialog_SetModal(_arg0
,_arg1
);
5083 wxPy_END_ALLOW_THREADS
;
5084 } Py_INCREF(Py_None
);
5085 _resultobj
= Py_None
;
5089 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5090 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
* _resultobj
;
5094 PyObject
* _argo0
= 0;
5095 char *_kwnames
[] = { "self", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5108 wxPy_BEGIN_ALLOW_THREADS
;
5109 _result
= (bool )wxDialog_IsModal(_arg0
);
5111 wxPy_END_ALLOW_THREADS
;
5112 } _resultobj
= Py_BuildValue("i",_result
);
5116 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5117 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5121 PyObject
* _argo0
= 0;
5122 PyObject
* _obj1
= 0;
5123 char *_kwnames
[] = { "self","title", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5136 if (!PyString_Check(_obj1
)) {
5137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5140 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 wxDialog_SetTitle(_arg0
,*_arg1
);
5146 wxPy_END_ALLOW_THREADS
;
5147 } Py_INCREF(Py_None
);
5148 _resultobj
= Py_None
;
5156 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5157 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5162 PyObject
* _argo0
= 0;
5164 char *_kwnames
[] = { "self","show", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5176 _arg1
= (bool ) tempbool1
;
5178 wxPy_BEGIN_ALLOW_THREADS
;
5179 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5181 wxPy_END_ALLOW_THREADS
;
5182 } _resultobj
= Py_BuildValue("i",_result
);
5186 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5187 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5191 PyObject
* _argo0
= 0;
5192 char *_kwnames
[] = { "self", NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5205 wxPy_BEGIN_ALLOW_THREADS
;
5206 _result
= (int )wxDialog_ShowModal(_arg0
);
5208 wxPy_END_ALLOW_THREADS
;
5209 } _resultobj
= Py_BuildValue("i",_result
);
5213 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5214 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5232 wxPy_BEGIN_ALLOW_THREADS
;
5233 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5235 wxPy_END_ALLOW_THREADS
;
5236 } _resultobj
= Py_BuildValue("i",_result
);
5240 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5241 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5245 PyObject
* _argo0
= 0;
5246 char *_kwnames
[] = { "self","retCode", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5259 wxPy_BEGIN_ALLOW_THREADS
;
5260 wxDialog_SetReturnCode(_arg0
,_arg1
);
5262 wxPy_END_ALLOW_THREADS
;
5263 } Py_INCREF(Py_None
);
5264 _resultobj
= Py_None
;
5268 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5269 wxScrolledWindow
*src
;
5271 src
= (wxScrolledWindow
*) ptr
;
5272 dest
= (wxPanel
*) src
;
5273 return (void *) dest
;
5276 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5277 wxScrolledWindow
*src
;
5279 src
= (wxScrolledWindow
*) ptr
;
5280 dest
= (wxWindow
*) src
;
5281 return (void *) dest
;
5284 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5285 wxScrolledWindow
*src
;
5287 src
= (wxScrolledWindow
*) ptr
;
5288 dest
= (wxEvtHandler
*) src
;
5289 return (void *) dest
;
5292 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5293 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
* _resultobj
;
5295 wxScrolledWindow
* _result
;
5297 wxWindowID _arg1
= (wxWindowID
) -1;
5298 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5299 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5300 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5301 char * _arg5
= (char *) "scrolledWindow";
5302 PyObject
* _argo0
= 0;
5304 PyObject
* _obj2
= 0;
5306 PyObject
* _obj3
= 0;
5307 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5323 if (! wxPoint_helper(_obj2
, &_arg2
))
5329 if (! wxSize_helper(_obj3
, &_arg3
))
5333 wxPy_BEGIN_ALLOW_THREADS
;
5334 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5336 wxPy_END_ALLOW_THREADS
;
5338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5339 _resultobj
= Py_BuildValue("s",_ptemp
);
5342 _resultobj
= Py_None
;
5347 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5348 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
* _resultobj
;
5350 wxScrolledWindow
* _arg0
;
5353 PyObject
* _argo0
= 0;
5356 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5368 _arg1
= (bool ) tempbool1
;
5369 _arg2
= (bool ) tempbool2
;
5371 wxPy_BEGIN_ALLOW_THREADS
;
5372 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5374 wxPy_END_ALLOW_THREADS
;
5375 } Py_INCREF(Py_None
);
5376 _resultobj
= Py_None
;
5380 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5381 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
* _resultobj
;
5383 wxScrolledWindow
* _arg0
;
5388 PyObject
* _argo0
= 0;
5389 char *_kwnames
[] = { "self", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5408 wxPy_BEGIN_ALLOW_THREADS
;
5409 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5411 wxPy_END_ALLOW_THREADS
;
5412 } Py_INCREF(Py_None
);
5413 _resultobj
= Py_None
;
5416 o
= PyInt_FromLong((long) (*_arg1
));
5417 _resultobj
= t_output_helper(_resultobj
, o
);
5421 o
= PyInt_FromLong((long) (*_arg2
));
5422 _resultobj
= t_output_helper(_resultobj
, o
);
5427 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5428 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5430 wxScrolledWindow
* _arg0
;
5435 PyObject
* _argo0
= 0;
5436 char *_kwnames
[] = { "self", NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5455 wxPy_BEGIN_ALLOW_THREADS
;
5456 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5458 wxPy_END_ALLOW_THREADS
;
5459 } Py_INCREF(Py_None
);
5460 _resultobj
= Py_None
;
5463 o
= PyInt_FromLong((long) (*_arg1
));
5464 _resultobj
= t_output_helper(_resultobj
, o
);
5468 o
= PyInt_FromLong((long) (*_arg2
));
5469 _resultobj
= t_output_helper(_resultobj
, o
);
5474 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5475 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
* _resultobj
;
5478 wxScrolledWindow
* _arg0
;
5479 PyObject
* _argo0
= 0;
5480 char *_kwnames
[] = { "self", NULL
};
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5493 wxPy_BEGIN_ALLOW_THREADS
;
5494 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5496 wxPy_END_ALLOW_THREADS
;
5497 } _resultobj
= Py_BuildValue("i",_result
);
5501 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5502 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
* _resultobj
;
5504 wxScrolledWindow
* _arg0
;
5506 PyObject
* _argo0
= 0;
5507 PyObject
* _argo1
= 0;
5508 char *_kwnames
[] = { "self","dc", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5528 wxPy_BEGIN_ALLOW_THREADS
;
5529 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5531 wxPy_END_ALLOW_THREADS
;
5532 } Py_INCREF(Py_None
);
5533 _resultobj
= Py_None
;
5537 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5538 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5540 wxScrolledWindow
* _arg0
;
5543 PyObject
* _argo0
= 0;
5544 char *_kwnames
[] = { "self","x","y", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5557 wxPy_BEGIN_ALLOW_THREADS
;
5558 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5560 wxPy_END_ALLOW_THREADS
;
5561 } Py_INCREF(Py_None
);
5562 _resultobj
= Py_None
;
5566 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5567 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
* _resultobj
;
5569 wxScrolledWindow
* _arg0
;
5574 int _arg5
= (int ) 0;
5575 int _arg6
= (int ) 0;
5576 PyObject
* _argo0
= 0;
5577 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5590 wxPy_BEGIN_ALLOW_THREADS
;
5591 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5593 wxPy_END_ALLOW_THREADS
;
5594 } Py_INCREF(Py_None
);
5595 _resultobj
= Py_None
;
5599 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5600 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5602 wxScrolledWindow
* _arg0
;
5604 PyObject
* _argo0
= 0;
5605 PyObject
* _argo1
= 0;
5606 char *_kwnames
[] = { "self","window", NULL
};
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_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_SetTargetWindow. Expected _wxScrolledWindow_p.");
5619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5626 wxPy_BEGIN_ALLOW_THREADS
;
5627 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5629 wxPy_END_ALLOW_THREADS
;
5630 } Py_INCREF(Py_None
);
5631 _resultobj
= Py_None
;
5635 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5636 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5638 wxScrolledWindow
* _arg0
;
5643 PyObject
* _argo0
= 0;
5644 char *_kwnames
[] = { "self", NULL
};
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5663 wxPy_BEGIN_ALLOW_THREADS
;
5664 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5666 wxPy_END_ALLOW_THREADS
;
5667 } Py_INCREF(Py_None
);
5668 _resultobj
= Py_None
;
5671 o
= PyInt_FromLong((long) (*_arg1
));
5672 _resultobj
= t_output_helper(_resultobj
, o
);
5676 o
= PyInt_FromLong((long) (*_arg2
));
5677 _resultobj
= t_output_helper(_resultobj
, o
);
5682 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5683 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5685 wxScrolledWindow
* _arg0
;
5692 PyObject
* _argo0
= 0;
5693 char *_kwnames
[] = { "self","x","y", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5712 wxPy_BEGIN_ALLOW_THREADS
;
5713 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5715 wxPy_END_ALLOW_THREADS
;
5716 } Py_INCREF(Py_None
);
5717 _resultobj
= Py_None
;
5720 o
= PyInt_FromLong((long) (*_arg3
));
5721 _resultobj
= t_output_helper(_resultobj
, o
);
5725 o
= PyInt_FromLong((long) (*_arg4
));
5726 _resultobj
= t_output_helper(_resultobj
, o
);
5731 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5732 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
* _resultobj
;
5734 wxScrolledWindow
* _arg0
;
5741 PyObject
* _argo0
= 0;
5742 char *_kwnames
[] = { "self","x","y", NULL
};
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5761 wxPy_BEGIN_ALLOW_THREADS
;
5762 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5764 wxPy_END_ALLOW_THREADS
;
5765 } Py_INCREF(Py_None
);
5766 _resultobj
= Py_None
;
5769 o
= PyInt_FromLong((long) (*_arg3
));
5770 _resultobj
= t_output_helper(_resultobj
, o
);
5774 o
= PyInt_FromLong((long) (*_arg4
));
5775 _resultobj
= t_output_helper(_resultobj
, o
);
5780 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5783 src
= (wxMenu
*) ptr
;
5784 dest
= (wxEvtHandler
*) src
;
5785 return (void *) dest
;
5788 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5789 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5792 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5793 long _arg1
= (long ) 0;
5794 PyObject
* _obj0
= 0;
5795 char *_kwnames
[] = { "title","style", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5803 if (!PyString_Check(_obj0
)) {
5804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5807 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5810 wxPy_BEGIN_ALLOW_THREADS
;
5811 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5813 wxPy_END_ALLOW_THREADS
;
5815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5816 _resultobj
= Py_BuildValue("s",_ptemp
);
5819 _resultobj
= Py_None
;
5828 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5829 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
* _resultobj
;
5834 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5835 int _arg4
= (int ) FALSE
;
5836 PyObject
* _argo0
= 0;
5837 PyObject
* _obj2
= 0;
5838 PyObject
* _obj3
= 0;
5839 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5852 if (!PyString_Check(_obj2
)) {
5853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5856 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5860 if (!PyString_Check(_obj3
)) {
5861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5864 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5867 wxPy_BEGIN_ALLOW_THREADS
;
5868 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5870 wxPy_END_ALLOW_THREADS
;
5871 } Py_INCREF(Py_None
);
5872 _resultobj
= Py_None
;
5884 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5885 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
* _resultobj
;
5891 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5892 PyObject
* _argo0
= 0;
5893 PyObject
* _obj2
= 0;
5894 PyObject
* _argo3
= 0;
5895 PyObject
* _obj4
= 0;
5896 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5909 if (!PyString_Check(_obj2
)) {
5910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5913 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5916 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5924 if (!PyString_Check(_obj4
)) {
5925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5928 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5931 wxPy_BEGIN_ALLOW_THREADS
;
5932 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5934 wxPy_END_ALLOW_THREADS
;
5935 } Py_INCREF(Py_None
);
5936 _resultobj
= Py_None
;
5948 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5949 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5953 PyObject
* _argo0
= 0;
5954 PyObject
* _argo1
= 0;
5955 char *_kwnames
[] = { "self","item", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5968 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5975 wxPy_BEGIN_ALLOW_THREADS
;
5976 wxMenu_AppendItem(_arg0
,_arg1
);
5978 wxPy_END_ALLOW_THREADS
;
5979 } Py_INCREF(Py_None
);
5980 _resultobj
= Py_None
;
5984 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5985 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 wxMenu_AppendSeparator(_arg0
);
6005 wxPy_END_ALLOW_THREADS
;
6006 } Py_INCREF(Py_None
);
6007 _resultobj
= Py_None
;
6011 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6012 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
* _resultobj
;
6015 PyObject
* _argo0
= 0;
6016 char *_kwnames
[] = { "self", NULL
};
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6029 wxPy_BEGIN_ALLOW_THREADS
;
6030 wxMenu_Break(_arg0
);
6032 wxPy_END_ALLOW_THREADS
;
6033 } Py_INCREF(Py_None
);
6034 _resultobj
= Py_None
;
6038 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6039 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
* _resultobj
;
6044 PyObject
* _argo0
= 0;
6046 char *_kwnames
[] = { "self","id","flag", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6058 _arg2
= (bool ) tempbool2
;
6060 wxPy_BEGIN_ALLOW_THREADS
;
6061 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6063 wxPy_END_ALLOW_THREADS
;
6064 } Py_INCREF(Py_None
);
6065 _resultobj
= Py_None
;
6069 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6070 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
* _resultobj
;
6075 PyObject
* _argo0
= 0;
6076 char *_kwnames
[] = { "self","id", NULL
};
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6089 wxPy_BEGIN_ALLOW_THREADS
;
6090 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6092 wxPy_END_ALLOW_THREADS
;
6093 } _resultobj
= Py_BuildValue("i",_result
);
6097 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6098 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6103 PyObject
* _argo0
= 0;
6105 char *_kwnames
[] = { "self","id","enable", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6117 _arg2
= (bool ) tempbool2
;
6119 wxPy_BEGIN_ALLOW_THREADS
;
6120 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6122 wxPy_END_ALLOW_THREADS
;
6123 } Py_INCREF(Py_None
);
6124 _resultobj
= Py_None
;
6128 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6129 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6134 PyObject
* _argo0
= 0;
6135 char *_kwnames
[] = { "self","id", NULL
};
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6148 wxPy_BEGIN_ALLOW_THREADS
;
6149 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6151 wxPy_END_ALLOW_THREADS
;
6152 } _resultobj
= Py_BuildValue("i",_result
);
6156 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6157 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
* _resultobj
;
6162 PyObject
* _argo0
= 0;
6163 PyObject
* _obj1
= 0;
6164 char *_kwnames
[] = { "self","itemString", NULL
};
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6177 if (!PyString_Check(_obj1
)) {
6178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6181 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6184 wxPy_BEGIN_ALLOW_THREADS
;
6185 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6187 wxPy_END_ALLOW_THREADS
;
6188 } _resultobj
= Py_BuildValue("i",_result
);
6196 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6197 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
* _resultobj
;
6199 wxMenuItem
* _result
;
6202 PyObject
* _argo0
= 0;
6203 char *_kwnames
[] = { "self","id", NULL
};
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6217 wxPy_BEGIN_ALLOW_THREADS
;
6218 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6220 wxPy_END_ALLOW_THREADS
;
6222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6223 _resultobj
= Py_BuildValue("s",_ptemp
);
6226 _resultobj
= Py_None
;
6231 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6232 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
* _resultobj
;
6236 PyObject
* _argo0
= 0;
6237 char *_kwnames
[] = { "self", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6250 wxPy_BEGIN_ALLOW_THREADS
;
6251 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6253 wxPy_END_ALLOW_THREADS
;
6255 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6263 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6264 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
* _resultobj
;
6268 PyObject
* _argo0
= 0;
6269 PyObject
* _obj1
= 0;
6270 char *_kwnames
[] = { "self","title", NULL
};
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6283 if (!PyString_Check(_obj1
)) {
6284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6287 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6290 wxPy_BEGIN_ALLOW_THREADS
;
6291 wxMenu_SetTitle(_arg0
,*_arg1
);
6293 wxPy_END_ALLOW_THREADS
;
6294 } Py_INCREF(Py_None
);
6295 _resultobj
= Py_None
;
6303 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6304 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6309 PyObject
* _argo0
= 0;
6310 char *_kwnames
[] = { "self","id", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6323 wxPy_BEGIN_ALLOW_THREADS
;
6324 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6326 wxPy_END_ALLOW_THREADS
;
6328 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6336 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6337 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
* _resultobj
;
6342 PyObject
* _argo0
= 0;
6343 PyObject
* _obj2
= 0;
6344 char *_kwnames
[] = { "self","id","label", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6357 if (!PyString_Check(_obj2
)) {
6358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6361 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6364 wxPy_BEGIN_ALLOW_THREADS
;
6365 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6367 wxPy_END_ALLOW_THREADS
;
6368 } Py_INCREF(Py_None
);
6369 _resultobj
= Py_None
;
6377 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6378 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6383 PyObject
* _argo0
= 0;
6384 char *_kwnames
[] = { "self","id", NULL
};
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6397 wxPy_BEGIN_ALLOW_THREADS
;
6398 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6400 wxPy_END_ALLOW_THREADS
;
6402 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6410 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6411 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6416 PyObject
* _argo0
= 0;
6417 PyObject
* _obj2
= 0;
6418 char *_kwnames
[] = { "self","id","helpString", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6431 if (!PyString_Check(_obj2
)) {
6432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6435 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6438 wxPy_BEGIN_ALLOW_THREADS
;
6439 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6441 wxPy_END_ALLOW_THREADS
;
6442 } Py_INCREF(Py_None
);
6443 _resultobj
= Py_None
;
6451 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6452 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6455 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6456 PyObject
* _argo0
= 0;
6457 PyObject
* _argo1
= 0;
6458 char *_kwnames
[] = { "self","source", NULL
};
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6478 wxPy_BEGIN_ALLOW_THREADS
;
6479 wxMenu_UpdateUI(_arg0
,_arg1
);
6481 wxPy_END_ALLOW_THREADS
;
6482 } Py_INCREF(Py_None
);
6483 _resultobj
= Py_None
;
6487 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6488 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6493 PyObject
* _argo0
= 0;
6494 char *_kwnames
[] = { "self","id", NULL
};
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6507 wxPy_BEGIN_ALLOW_THREADS
;
6508 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6510 wxPy_END_ALLOW_THREADS
;
6511 } _resultobj
= Py_BuildValue("i",_result
);
6515 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6516 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
* _resultobj
;
6521 PyObject
* _argo0
= 0;
6522 PyObject
* _argo1
= 0;
6523 char *_kwnames
[] = { "self","item", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6536 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6537 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6543 wxPy_BEGIN_ALLOW_THREADS
;
6544 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6546 wxPy_END_ALLOW_THREADS
;
6547 } _resultobj
= Py_BuildValue("i",_result
);
6551 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6552 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
* _resultobj
;
6558 PyObject
* _argo0
= 0;
6559 PyObject
* _argo2
= 0;
6560 char *_kwnames
[] = { "self","pos","item", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6573 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6574 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6580 wxPy_BEGIN_ALLOW_THREADS
;
6581 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6583 wxPy_END_ALLOW_THREADS
;
6584 } _resultobj
= Py_BuildValue("i",_result
);
6588 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6589 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6591 wxMenuItem
* _result
;
6594 PyObject
* _argo0
= 0;
6595 char *_kwnames
[] = { "self","id", NULL
};
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6609 wxPy_BEGIN_ALLOW_THREADS
;
6610 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6612 wxPy_END_ALLOW_THREADS
;
6614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6615 _resultobj
= Py_BuildValue("s",_ptemp
);
6618 _resultobj
= Py_None
;
6623 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6624 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
* _resultobj
;
6626 wxMenuItem
* _result
;
6629 PyObject
* _argo0
= 0;
6630 PyObject
* _argo1
= 0;
6631 char *_kwnames
[] = { "self","item", NULL
};
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6652 wxPy_BEGIN_ALLOW_THREADS
;
6653 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6655 wxPy_END_ALLOW_THREADS
;
6657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6658 _resultobj
= Py_BuildValue("s",_ptemp
);
6661 _resultobj
= Py_None
;
6666 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
6667 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
* _resultobj
;
6670 PyObject
* _argo0
= 0;
6671 char *_kwnames
[] = { "self", NULL
};
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6684 wxPy_BEGIN_ALLOW_THREADS
;
6685 wxMenu_Destroy(_arg0
);
6687 wxPy_END_ALLOW_THREADS
;
6688 } Py_INCREF(Py_None
);
6689 _resultobj
= Py_None
;
6693 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6694 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6699 PyObject
* _argo0
= 0;
6700 char *_kwnames
[] = { "self","id", NULL
};
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6713 wxPy_BEGIN_ALLOW_THREADS
;
6714 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6716 wxPy_END_ALLOW_THREADS
;
6717 } _resultobj
= Py_BuildValue("i",_result
);
6721 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6722 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6727 PyObject
* _argo0
= 0;
6728 PyObject
* _argo1
= 0;
6729 char *_kwnames
[] = { "self","item", NULL
};
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6749 wxPy_BEGIN_ALLOW_THREADS
;
6750 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6752 wxPy_END_ALLOW_THREADS
;
6753 } _resultobj
= Py_BuildValue("i",_result
);
6757 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6758 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6762 PyObject
* _argo0
= 0;
6763 char *_kwnames
[] = { "self", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6776 wxPy_BEGIN_ALLOW_THREADS
;
6777 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6779 wxPy_END_ALLOW_THREADS
;
6780 } _resultobj
= Py_BuildValue("i",_result
);
6784 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6785 wxMenuItemList
& list
= self
->GetMenuItems();
6786 return wxPy_ConvertList(&list
, "wxMenuItem");
6788 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6792 PyObject
* _argo0
= 0;
6793 char *_kwnames
[] = { "self", NULL
};
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
6799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6806 wxPy_BEGIN_ALLOW_THREADS
;
6807 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6809 wxPy_END_ALLOW_THREADS
;
6811 _resultobj
= _result
;
6816 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6817 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6820 wxEvtHandler
* _arg1
;
6821 PyObject
* _argo0
= 0;
6822 PyObject
* _argo1
= 0;
6823 char *_kwnames
[] = { "self","handler", NULL
};
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6843 wxPy_BEGIN_ALLOW_THREADS
;
6844 wxMenu_SetEventHandler(_arg0
,_arg1
);
6846 wxPy_END_ALLOW_THREADS
;
6847 } Py_INCREF(Py_None
);
6848 _resultobj
= Py_None
;
6852 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6853 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
* _resultobj
;
6855 wxEvtHandler
* _result
;
6857 PyObject
* _argo0
= 0;
6858 char *_kwnames
[] = { "self", NULL
};
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
6865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6872 wxPy_BEGIN_ALLOW_THREADS
;
6873 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
6875 wxPy_END_ALLOW_THREADS
;
6877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
6878 _resultobj
= Py_BuildValue("s",_ptemp
);
6881 _resultobj
= Py_None
;
6886 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
6887 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
* _resultobj
;
6891 PyObject
* _argo0
= 0;
6892 PyObject
* _argo1
= 0;
6893 char *_kwnames
[] = { "self","win", NULL
};
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
6899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
6906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
6913 wxPy_BEGIN_ALLOW_THREADS
;
6914 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
6916 wxPy_END_ALLOW_THREADS
;
6917 } Py_INCREF(Py_None
);
6918 _resultobj
= Py_None
;
6922 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
6923 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6927 PyObject
* _argo0
= 0;
6928 char *_kwnames
[] = { "self", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
6942 wxPy_BEGIN_ALLOW_THREADS
;
6943 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
6945 wxPy_END_ALLOW_THREADS
;
6947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6948 _resultobj
= Py_BuildValue("s",_ptemp
);
6951 _resultobj
= Py_None
;
6956 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
6957 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
6975 wxPy_BEGIN_ALLOW_THREADS
;
6976 _result
= (long )wxMenu_GetStyle(_arg0
);
6978 wxPy_END_ALLOW_THREADS
;
6979 } _resultobj
= Py_BuildValue("l",_result
);
6983 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
6984 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6988 PyObject
* _argo0
= 0;
6989 char *_kwnames
[] = { "self", NULL
};
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
6995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7002 wxPy_BEGIN_ALLOW_THREADS
;
7003 _result
= (bool )wxMenu_IsAttached(_arg0
);
7005 wxPy_END_ALLOW_THREADS
;
7006 } _resultobj
= Py_BuildValue("i",_result
);
7010 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7011 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
* _resultobj
;
7015 PyObject
* _argo0
= 0;
7016 PyObject
* _argo1
= 0;
7017 char *_kwnames
[] = { "self","parent", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7030 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7031 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7037 wxPy_BEGIN_ALLOW_THREADS
;
7038 wxMenu_SetParent(_arg0
,_arg1
);
7040 wxPy_END_ALLOW_THREADS
;
7041 } Py_INCREF(Py_None
);
7042 _resultobj
= Py_None
;
7046 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7047 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 char *_kwnames
[] = { "self", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7066 wxPy_BEGIN_ALLOW_THREADS
;
7067 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7069 wxPy_END_ALLOW_THREADS
;
7071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7072 _resultobj
= Py_BuildValue("s",_ptemp
);
7075 _resultobj
= Py_None
;
7080 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7083 src
= (wxMenuBar
*) ptr
;
7084 dest
= (wxWindow
*) src
;
7085 return (void *) dest
;
7088 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7091 src
= (wxMenuBar
*) ptr
;
7092 dest
= (wxEvtHandler
*) src
;
7093 return (void *) dest
;
7096 #define new_wxMenuBar() (new wxMenuBar())
7097 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7099 wxMenuBar
* _result
;
7100 char *_kwnames
[] = { NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 _result
= (wxMenuBar
*)new_wxMenuBar();
7110 wxPy_END_ALLOW_THREADS
;
7112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7113 _resultobj
= Py_BuildValue("s",_ptemp
);
7116 _resultobj
= Py_None
;
7121 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7122 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7128 PyObject
* _argo0
= 0;
7129 PyObject
* _argo1
= 0;
7130 PyObject
* _obj2
= 0;
7131 char *_kwnames
[] = { "self","menu","title", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7151 if (!PyString_Check(_obj2
)) {
7152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7155 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7158 wxPy_BEGIN_ALLOW_THREADS
;
7159 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7161 wxPy_END_ALLOW_THREADS
;
7162 } _resultobj
= Py_BuildValue("i",_result
);
7170 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7171 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
* _resultobj
;
7178 PyObject
* _argo0
= 0;
7179 PyObject
* _argo2
= 0;
7180 PyObject
* _obj3
= 0;
7181 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7194 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7195 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7201 if (!PyString_Check(_obj3
)) {
7202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7205 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7208 wxPy_BEGIN_ALLOW_THREADS
;
7209 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7211 wxPy_END_ALLOW_THREADS
;
7212 } _resultobj
= Py_BuildValue("i",_result
);
7220 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7221 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
* _resultobj
;
7225 PyObject
* _argo0
= 0;
7226 char *_kwnames
[] = { "self", NULL
};
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7239 wxPy_BEGIN_ALLOW_THREADS
;
7240 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7242 wxPy_END_ALLOW_THREADS
;
7243 } _resultobj
= Py_BuildValue("i",_result
);
7247 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7248 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
* _resultobj
;
7253 PyObject
* _argo0
= 0;
7254 char *_kwnames
[] = { "self","pos", NULL
};
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7268 wxPy_BEGIN_ALLOW_THREADS
;
7269 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7271 wxPy_END_ALLOW_THREADS
;
7273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7274 _resultobj
= Py_BuildValue("s",_ptemp
);
7277 _resultobj
= Py_None
;
7282 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7283 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7290 PyObject
* _argo0
= 0;
7291 PyObject
* _argo2
= 0;
7292 PyObject
* _obj3
= 0;
7293 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7307 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7308 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7314 if (!PyString_Check(_obj3
)) {
7315 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7318 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7321 wxPy_BEGIN_ALLOW_THREADS
;
7322 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7324 wxPy_END_ALLOW_THREADS
;
7326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7327 _resultobj
= Py_BuildValue("s",_ptemp
);
7330 _resultobj
= Py_None
;
7339 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7340 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
* _resultobj
;
7345 PyObject
* _argo0
= 0;
7346 char *_kwnames
[] = { "self","pos", NULL
};
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7360 wxPy_BEGIN_ALLOW_THREADS
;
7361 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7363 wxPy_END_ALLOW_THREADS
;
7365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7366 _resultobj
= Py_BuildValue("s",_ptemp
);
7369 _resultobj
= Py_None
;
7374 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7375 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7380 PyObject
* _argo0
= 0;
7382 char *_kwnames
[] = { "self","pos","enable", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
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_EnableTop. Expected _wxMenuBar_p.");
7394 _arg2
= (bool ) tempbool2
;
7396 wxPy_BEGIN_ALLOW_THREADS
;
7397 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7399 wxPy_END_ALLOW_THREADS
;
7400 } Py_INCREF(Py_None
);
7401 _resultobj
= Py_None
;
7405 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7406 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7411 PyObject
* _argo0
= 0;
7412 PyObject
* _obj2
= 0;
7413 char *_kwnames
[] = { "self","pos","label", NULL
};
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7426 if (!PyString_Check(_obj2
)) {
7427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7430 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7433 wxPy_BEGIN_ALLOW_THREADS
;
7434 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7436 wxPy_END_ALLOW_THREADS
;
7437 } Py_INCREF(Py_None
);
7438 _resultobj
= Py_None
;
7446 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7447 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
* _resultobj
;
7452 PyObject
* _argo0
= 0;
7453 char *_kwnames
[] = { "self","pos", NULL
};
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7466 wxPy_BEGIN_ALLOW_THREADS
;
7467 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7469 wxPy_END_ALLOW_THREADS
;
7471 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7479 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7480 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7486 PyObject
* _argo0
= 0;
7487 PyObject
* _obj1
= 0;
7488 PyObject
* _obj2
= 0;
7489 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7502 if (!PyString_Check(_obj1
)) {
7503 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7506 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7509 if (!PyString_Check(_obj2
)) {
7510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7513 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7516 wxPy_BEGIN_ALLOW_THREADS
;
7517 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7519 wxPy_END_ALLOW_THREADS
;
7520 } _resultobj
= Py_BuildValue("i",_result
);
7532 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7533 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
* _resultobj
;
7535 wxMenuItem
* _result
;
7538 PyObject
* _argo0
= 0;
7539 char *_kwnames
[] = { "self","id", NULL
};
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
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_FindItemById. Expected _wxMenuBar_p.");
7553 wxPy_BEGIN_ALLOW_THREADS
;
7554 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7556 wxPy_END_ALLOW_THREADS
;
7558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7559 _resultobj
= Py_BuildValue("s",_ptemp
);
7562 _resultobj
= Py_None
;
7567 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7568 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7573 PyObject
* _argo0
= 0;
7575 char *_kwnames
[] = { "self","id","enable", NULL
};
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7587 _arg2
= (bool ) tempbool2
;
7589 wxPy_BEGIN_ALLOW_THREADS
;
7590 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7592 wxPy_END_ALLOW_THREADS
;
7593 } Py_INCREF(Py_None
);
7594 _resultobj
= Py_None
;
7598 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7599 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
* _resultobj
;
7604 PyObject
* _argo0
= 0;
7606 char *_kwnames
[] = { "self","id","check", NULL
};
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7618 _arg2
= (bool ) tempbool2
;
7620 wxPy_BEGIN_ALLOW_THREADS
;
7621 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7623 wxPy_END_ALLOW_THREADS
;
7624 } Py_INCREF(Py_None
);
7625 _resultobj
= Py_None
;
7629 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7630 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
* _resultobj
;
7635 PyObject
* _argo0
= 0;
7636 char *_kwnames
[] = { "self","id", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7649 wxPy_BEGIN_ALLOW_THREADS
;
7650 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7652 wxPy_END_ALLOW_THREADS
;
7653 } _resultobj
= Py_BuildValue("i",_result
);
7657 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7658 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
* _resultobj
;
7663 PyObject
* _argo0
= 0;
7664 char *_kwnames
[] = { "self","id", NULL
};
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7677 wxPy_BEGIN_ALLOW_THREADS
;
7678 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7680 wxPy_END_ALLOW_THREADS
;
7681 } _resultobj
= Py_BuildValue("i",_result
);
7685 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7686 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
* _resultobj
;
7691 PyObject
* _argo0
= 0;
7692 PyObject
* _obj2
= 0;
7693 char *_kwnames
[] = { "self","id","label", NULL
};
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7706 if (!PyString_Check(_obj2
)) {
7707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7710 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7713 wxPy_BEGIN_ALLOW_THREADS
;
7714 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7716 wxPy_END_ALLOW_THREADS
;
7717 } Py_INCREF(Py_None
);
7718 _resultobj
= Py_None
;
7726 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7727 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
* _resultobj
;
7732 PyObject
* _argo0
= 0;
7733 char *_kwnames
[] = { "self","id", NULL
};
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
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_GetLabel. Expected _wxMenuBar_p.");
7746 wxPy_BEGIN_ALLOW_THREADS
;
7747 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7749 wxPy_END_ALLOW_THREADS
;
7751 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7759 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7760 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
* _resultobj
;
7765 PyObject
* _argo0
= 0;
7766 PyObject
* _obj2
= 0;
7767 char *_kwnames
[] = { "self","id","helpString", NULL
};
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7780 if (!PyString_Check(_obj2
)) {
7781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7784 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7787 wxPy_BEGIN_ALLOW_THREADS
;
7788 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7790 wxPy_END_ALLOW_THREADS
;
7791 } Py_INCREF(Py_None
);
7792 _resultobj
= Py_None
;
7800 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7801 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
* _resultobj
;
7806 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self","id", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7820 wxPy_BEGIN_ALLOW_THREADS
;
7821 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7823 wxPy_END_ALLOW_THREADS
;
7825 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7833 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7834 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7836 wxMenuItem
* _result
;
7837 wxMenu
* _arg0
= (wxMenu
*) NULL
;
7838 int _arg1
= (int ) ID_SEPARATOR
;
7839 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
7840 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7841 bool _arg4
= (bool ) FALSE
;
7842 wxMenu
* _arg5
= (wxMenu
*) NULL
;
7843 PyObject
* _argo0
= 0;
7844 PyObject
* _obj2
= 0;
7845 PyObject
* _obj3
= 0;
7846 int tempbool4
= (int) FALSE
;
7847 PyObject
* _argo5
= 0;
7848 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
7855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7863 if (!PyString_Check(_obj2
)) {
7864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7867 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7871 if (!PyString_Check(_obj3
)) {
7872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7875 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7877 _arg4
= (bool ) tempbool4
;
7879 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7880 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
7881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7886 wxPy_BEGIN_ALLOW_THREADS
;
7887 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7889 wxPy_END_ALLOW_THREADS
;
7891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7892 _resultobj
= Py_BuildValue("s",_ptemp
);
7895 _resultobj
= Py_None
;
7908 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
7909 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
* _resultobj
;
7913 PyObject
* _argo0
= 0;
7914 char *_kwnames
[] = { "self", NULL
};
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
7921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
7928 wxPy_BEGIN_ALLOW_THREADS
;
7929 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
7931 wxPy_END_ALLOW_THREADS
;
7933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7934 _resultobj
= Py_BuildValue("s",_ptemp
);
7937 _resultobj
= Py_None
;
7942 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7943 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
* _resultobj
;
7947 PyObject
* _argo0
= 0;
7948 char *_kwnames
[] = { "self","id", NULL
};
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
7954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
7961 wxPy_BEGIN_ALLOW_THREADS
;
7962 wxMenuItem_SetId(_arg0
,_arg1
);
7964 wxPy_END_ALLOW_THREADS
;
7965 } Py_INCREF(Py_None
);
7966 _resultobj
= Py_None
;
7970 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7971 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
* _resultobj
;
7975 PyObject
* _argo0
= 0;
7976 char *_kwnames
[] = { "self", NULL
};
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7989 wxPy_BEGIN_ALLOW_THREADS
;
7990 _result
= (int )wxMenuItem_GetId(_arg0
);
7992 wxPy_END_ALLOW_THREADS
;
7993 } _resultobj
= Py_BuildValue("i",_result
);
7997 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7998 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
* _resultobj
;
8002 PyObject
* _argo0
= 0;
8003 char *_kwnames
[] = { "self", NULL
};
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8016 wxPy_BEGIN_ALLOW_THREADS
;
8017 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8019 wxPy_END_ALLOW_THREADS
;
8020 } _resultobj
= Py_BuildValue("i",_result
);
8024 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8025 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
* _resultobj
;
8029 PyObject
* _argo0
= 0;
8030 PyObject
* _obj1
= 0;
8031 char *_kwnames
[] = { "self","str", NULL
};
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8044 if (!PyString_Check(_obj1
)) {
8045 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8048 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8051 wxPy_BEGIN_ALLOW_THREADS
;
8052 wxMenuItem_SetText(_arg0
,*_arg1
);
8054 wxPy_END_ALLOW_THREADS
;
8055 } Py_INCREF(Py_None
);
8056 _resultobj
= Py_None
;
8064 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8065 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
* _resultobj
;
8069 PyObject
* _argo0
= 0;
8070 char *_kwnames
[] = { "self", NULL
};
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8083 wxPy_BEGIN_ALLOW_THREADS
;
8084 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8086 wxPy_END_ALLOW_THREADS
;
8088 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
8096 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8097 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
* _resultobj
;
8101 PyObject
* _argo0
= 0;
8102 char *_kwnames
[] = { "self", NULL
};
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8115 wxPy_BEGIN_ALLOW_THREADS
;
8116 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8117 _result
= (wxString
*) &_result_ref
;
8119 wxPy_END_ALLOW_THREADS
;
8121 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8126 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8127 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
* _resultobj
;
8131 PyObject
* _argo0
= 0;
8133 char *_kwnames
[] = { "self","checkable", NULL
};
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8145 _arg1
= (bool ) tempbool1
;
8147 wxPy_BEGIN_ALLOW_THREADS
;
8148 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8150 wxPy_END_ALLOW_THREADS
;
8151 } Py_INCREF(Py_None
);
8152 _resultobj
= Py_None
;
8156 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8157 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
* _resultobj
;
8161 PyObject
* _argo0
= 0;
8162 char *_kwnames
[] = { "self", NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8175 wxPy_BEGIN_ALLOW_THREADS
;
8176 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8178 wxPy_END_ALLOW_THREADS
;
8179 } _resultobj
= Py_BuildValue("i",_result
);
8183 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8184 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
* _resultobj
;
8188 PyObject
* _argo0
= 0;
8189 char *_kwnames
[] = { "self", NULL
};
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8202 wxPy_BEGIN_ALLOW_THREADS
;
8203 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8205 wxPy_END_ALLOW_THREADS
;
8206 } _resultobj
= Py_BuildValue("i",_result
);
8210 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8211 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
* _resultobj
;
8215 PyObject
* _argo0
= 0;
8216 PyObject
* _argo1
= 0;
8217 char *_kwnames
[] = { "self","menu", NULL
};
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8237 wxPy_BEGIN_ALLOW_THREADS
;
8238 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8240 wxPy_END_ALLOW_THREADS
;
8241 } Py_INCREF(Py_None
);
8242 _resultobj
= Py_None
;
8246 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8247 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
* _resultobj
;
8251 PyObject
* _argo0
= 0;
8252 char *_kwnames
[] = { "self", NULL
};
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8266 wxPy_BEGIN_ALLOW_THREADS
;
8267 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8269 wxPy_END_ALLOW_THREADS
;
8271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8272 _resultobj
= Py_BuildValue("s",_ptemp
);
8275 _resultobj
= Py_None
;
8280 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8281 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
* _resultobj
;
8284 bool _arg1
= (bool ) TRUE
;
8285 PyObject
* _argo0
= 0;
8286 int tempbool1
= (int) TRUE
;
8287 char *_kwnames
[] = { "self","enable", NULL
};
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8299 _arg1
= (bool ) tempbool1
;
8301 wxPy_BEGIN_ALLOW_THREADS
;
8302 wxMenuItem_Enable(_arg0
,_arg1
);
8304 wxPy_END_ALLOW_THREADS
;
8305 } Py_INCREF(Py_None
);
8306 _resultobj
= Py_None
;
8310 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8311 static PyObject
*_wrap_wxMenuItem_IsEnabled(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_IsEnabled",_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_IsEnabled. Expected _wxMenuItem_p.");
8329 wxPy_BEGIN_ALLOW_THREADS
;
8330 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8332 wxPy_END_ALLOW_THREADS
;
8333 } _resultobj
= Py_BuildValue("i",_result
);
8337 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8338 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
* _resultobj
;
8341 bool _arg1
= (bool ) TRUE
;
8342 PyObject
* _argo0
= 0;
8343 int tempbool1
= (int) TRUE
;
8344 char *_kwnames
[] = { "self","check", NULL
};
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
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_Check. Expected _wxMenuItem_p.");
8356 _arg1
= (bool ) tempbool1
;
8358 wxPy_BEGIN_ALLOW_THREADS
;
8359 wxMenuItem_Check(_arg0
,_arg1
);
8361 wxPy_END_ALLOW_THREADS
;
8362 } Py_INCREF(Py_None
);
8363 _resultobj
= Py_None
;
8367 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8368 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
* _resultobj
;
8372 PyObject
* _argo0
= 0;
8373 char *_kwnames
[] = { "self", NULL
};
8376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8386 wxPy_BEGIN_ALLOW_THREADS
;
8387 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8389 wxPy_END_ALLOW_THREADS
;
8390 } _resultobj
= Py_BuildValue("i",_result
);
8394 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8395 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
* _resultobj
;
8398 PyObject
* _argo0
= 0;
8399 char *_kwnames
[] = { "self", NULL
};
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8412 wxPy_BEGIN_ALLOW_THREADS
;
8413 wxMenuItem_Toggle(_arg0
);
8415 wxPy_END_ALLOW_THREADS
;
8416 } Py_INCREF(Py_None
);
8417 _resultobj
= Py_None
;
8421 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8422 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
* _resultobj
;
8426 PyObject
* _argo0
= 0;
8427 PyObject
* _obj1
= 0;
8428 char *_kwnames
[] = { "self","str", NULL
};
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8441 if (!PyString_Check(_obj1
)) {
8442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8445 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8448 wxPy_BEGIN_ALLOW_THREADS
;
8449 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8451 wxPy_END_ALLOW_THREADS
;
8452 } Py_INCREF(Py_None
);
8453 _resultobj
= Py_None
;
8461 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8462 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
* _resultobj
;
8466 PyObject
* _argo0
= 0;
8467 char *_kwnames
[] = { "self", NULL
};
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8480 wxPy_BEGIN_ALLOW_THREADS
;
8481 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8482 _result
= (wxString
*) &_result_ref
;
8484 wxPy_END_ALLOW_THREADS
;
8486 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8491 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8492 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
* _resultobj
;
8494 wxAcceleratorEntry
* _result
;
8496 PyObject
* _argo0
= 0;
8497 char *_kwnames
[] = { "self", NULL
};
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8511 wxPy_BEGIN_ALLOW_THREADS
;
8512 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8514 wxPy_END_ALLOW_THREADS
;
8516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8517 _resultobj
= Py_BuildValue("s",_ptemp
);
8520 _resultobj
= Py_None
;
8525 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8526 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
* _resultobj
;
8529 wxAcceleratorEntry
* _arg1
;
8530 PyObject
* _argo0
= 0;
8531 PyObject
* _argo1
= 0;
8532 char *_kwnames
[] = { "self","accel", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8552 wxPy_BEGIN_ALLOW_THREADS
;
8553 wxMenuItem_SetAccel(_arg0
,_arg1
);
8555 wxPy_END_ALLOW_THREADS
;
8556 } Py_INCREF(Py_None
);
8557 _resultobj
= Py_None
;
8561 static PyMethodDef windowscMethods
[] = {
8562 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8565 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8566 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8567 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8568 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8569 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8570 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8571 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8572 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8573 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8574 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8575 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8576 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8577 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8578 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8579 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8580 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8581 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8582 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8583 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8584 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8585 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8586 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8587 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8588 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8589 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8590 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8591 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8592 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8593 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8594 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8595 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8596 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8597 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8598 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8599 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8600 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8601 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8602 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8603 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8604 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8605 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8606 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8607 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8608 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8609 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8610 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8611 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8612 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8613 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8614 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8615 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8616 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8617 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8618 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8619 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8620 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8621 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8622 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8623 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8624 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8625 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8626 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8627 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8628 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8629 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8630 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8631 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8632 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8633 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8634 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8635 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8636 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8637 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8638 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8639 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8640 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8641 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8642 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8643 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8644 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8645 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8646 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8647 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8648 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8649 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8650 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8651 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8652 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8653 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8654 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8655 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8656 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8657 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8658 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8659 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8660 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8661 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8662 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8663 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8664 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8665 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8666 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8667 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8668 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8669 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8670 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
8671 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8672 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8673 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8674 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8675 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8676 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8677 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8678 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8679 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8680 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8681 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8682 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8683 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8684 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8685 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8686 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8687 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8688 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8689 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8690 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8691 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8692 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8693 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8694 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8695 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8696 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8697 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8698 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8699 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8700 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8701 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8702 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8703 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8704 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8705 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8706 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8707 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8708 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8709 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8710 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8711 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8712 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8713 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8714 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8715 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8716 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8717 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8718 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8719 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8720 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8721 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8722 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8723 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8724 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8725 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8726 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8727 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8728 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8729 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8730 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8731 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8732 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8733 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
8734 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
8735 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
8736 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8737 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8738 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8739 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8740 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8741 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8742 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8743 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8744 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8745 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8746 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8747 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8748 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8749 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8750 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8751 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8752 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8753 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8754 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8755 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8756 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8757 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8758 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8759 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8760 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8761 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8762 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8763 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8764 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8765 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8766 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8767 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8768 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8769 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8770 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8771 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8772 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8773 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
8774 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8775 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8776 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8777 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8778 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8779 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8780 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8781 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8782 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8783 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8784 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8785 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8786 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8787 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8788 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8789 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8790 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8791 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8792 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
8793 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8794 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8795 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8796 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8797 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8798 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8799 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8800 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8801 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
8802 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
8803 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8804 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8811 * This table is used by the pointer type-checker
8813 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8814 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8815 { "_signed_long","_long",0},
8816 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8817 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8818 { "_wxPrintQuality","_wxCoord",0},
8819 { "_wxPrintQuality","_int",0},
8820 { "_wxPrintQuality","_signed_int",0},
8821 { "_wxPrintQuality","_unsigned_int",0},
8822 { "_wxPrintQuality","_wxWindowID",0},
8823 { "_wxPrintQuality","_uint",0},
8824 { "_wxPrintQuality","_EBool",0},
8825 { "_wxPrintQuality","_size_t",0},
8826 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8827 { "_class_wxRegionIterator","_wxRegionIterator",0},
8828 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8829 { "_class_wxMenuBar","_wxMenuBar",0},
8830 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8831 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8832 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8833 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8834 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8835 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8836 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8837 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8838 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8839 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8840 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8841 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8842 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8843 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8844 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8845 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8846 { "_class_wxEvtHandler","_wxEvtHandler",0},
8847 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8848 { "_wxCursor","_class_wxCursor",0},
8849 { "_wxMask","_class_wxMask",0},
8850 { "_wxPen","_class_wxPen",0},
8851 { "_byte","_unsigned_char",0},
8852 { "_wxDataObject","_class_wxDataObject",0},
8853 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8854 { "_wxPyDropSource","_class_wxPyDropSource",0},
8855 { "_long","_wxDash",0},
8856 { "_long","_unsigned_long",0},
8857 { "_long","_signed_long",0},
8858 { "_wxImageList","_class_wxImageList",0},
8859 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8860 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8861 { "_class_wxClipboard","_wxClipboard",0},
8862 { "_wxDC","_class_wxDC",0},
8863 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8864 { "_size_t","_wxCoord",0},
8865 { "_size_t","_wxPrintQuality",0},
8866 { "_size_t","_unsigned_int",0},
8867 { "_size_t","_int",0},
8868 { "_size_t","_wxWindowID",0},
8869 { "_size_t","_uint",0},
8870 { "_class_wxRealPoint","_wxRealPoint",0},
8871 { "_wxPrinterDC","_class_wxPrinterDC",0},
8872 { "_class_wxMenuItem","_wxMenuItem",0},
8873 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8874 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8875 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8876 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8877 { "_wxPanel","_class_wxPanel",0},
8878 { "_class_wxMask","_wxMask",0},
8879 { "_wxTextDataObject","_class_wxTextDataObject",0},
8880 { "_wxColour","_class_wxColour",0},
8881 { "_class_wxDialog","_wxDialog",0},
8882 { "_class_wxFileDataObject","_wxFileDataObject",0},
8883 { "_class_wxDataObject","_wxDataObject",0},
8884 { "_wxBrush","_class_wxBrush",0},
8885 { "_wxDataFormat","_class_wxDataFormat",0},
8886 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8887 { "_uint","_wxCoord",0},
8888 { "_uint","_wxPrintQuality",0},
8889 { "_uint","_size_t",0},
8890 { "_uint","_unsigned_int",0},
8891 { "_uint","_int",0},
8892 { "_uint","_wxWindowID",0},
8893 { "_wxPyValidator","_class_wxPyValidator",0},
8894 { "_wxRect","_class_wxRect",0},
8895 { "_wxPoint","_class_wxPoint",0},
8896 { "_wxBitmap","_class_wxBitmap",0},
8897 { "_wxPyTimer","_class_wxPyTimer",0},
8898 { "_wxWindowDC","_class_wxWindowDC",0},
8899 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8900 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8901 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8902 { "_class_wxValidator","_wxValidator",0},
8903 { "_wxDropTarget","_class_wxDropTarget",0},
8904 { "_EBool","_wxCoord",0},
8905 { "_EBool","_wxPrintQuality",0},
8906 { "_EBool","_signed_int",0},
8907 { "_EBool","_int",0},
8908 { "_EBool","_wxWindowID",0},
8909 { "_class_wxRegion","_wxRegion",0},
8910 { "_class_wxDataFormat","_wxDataFormat",0},
8911 { "_wxFont","_class_wxFont",0},
8912 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8913 { "_unsigned_long","_wxDash",0},
8914 { "_unsigned_long","_long",0},
8915 { "_class_wxRect","_wxRect",0},
8916 { "_class_wxDC","_wxDC",0},
8917 { "_class_wxPyTimer","_wxPyTimer",0},
8918 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8919 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8920 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8921 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8922 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8923 { "_class_wxPanel","_wxPanel",0},
8924 { "_signed_int","_wxCoord",0},
8925 { "_signed_int","_wxPrintQuality",0},
8926 { "_signed_int","_EBool",0},
8927 { "_signed_int","_wxWindowID",0},
8928 { "_signed_int","_int",0},
8929 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8930 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8931 { "_class_wxTextDataObject","_wxTextDataObject",0},
8932 { "_wxMenu","_class_wxMenu",0},
8933 { "_wxScreenDC","_class_wxScreenDC",0},
8934 { "_WXTYPE","_short",0},
8935 { "_WXTYPE","_signed_short",0},
8936 { "_WXTYPE","_unsigned_short",0},
8937 { "_class_wxDropTarget","_wxDropTarget",0},
8938 { "_class_wxBrush","_wxBrush",0},
8939 { "_unsigned_short","_WXTYPE",0},
8940 { "_unsigned_short","_short",0},
8941 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8942 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8943 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8944 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8945 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8946 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8947 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8948 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8949 { "_class_wxWindow","_wxWindow",0},
8950 { "_class_wxFont","_wxFont",0},
8951 { "_wxClipboard","_class_wxClipboard",0},
8952 { "_class_wxPyValidator","_wxPyValidator",0},
8953 { "_wxBusyInfo","_class_wxBusyInfo",0},
8954 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8955 { "_wxClientDC","_class_wxClientDC",0},
8956 { "_class_wxPoint","_wxPoint",0},
8957 { "_wxRealPoint","_class_wxRealPoint",0},
8958 { "_signed_short","_WXTYPE",0},
8959 { "_signed_short","_short",0},
8960 { "_wxMemoryDC","_class_wxMemoryDC",0},
8961 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8962 { "_wxPaintDC","_class_wxPaintDC",0},
8963 { "_class_wxWindowDC","_wxWindowDC",0},
8964 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8965 { "_class_wxCursor","_wxCursor",0},
8966 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8967 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8968 { "_unsigned_char","_byte",0},
8969 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8970 { "_class_wxMenu","_wxMenu",0},
8971 { "_unsigned_int","_wxCoord",0},
8972 { "_unsigned_int","_wxPrintQuality",0},
8973 { "_unsigned_int","_size_t",0},
8974 { "_unsigned_int","_uint",0},
8975 { "_unsigned_int","_wxWindowID",0},
8976 { "_unsigned_int","_int",0},
8977 { "_wxIcon","_class_wxIcon",0},
8978 { "_wxDialog","_class_wxDialog",0},
8979 { "_class_wxPen","_wxPen",0},
8980 { "_short","_WXTYPE",0},
8981 { "_short","_unsigned_short",0},
8982 { "_short","_signed_short",0},
8983 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8984 { "_class_wxPyDropSource","_wxPyDropSource",0},
8985 { "_class_wxImageList","_wxImageList",0},
8986 { "_wxWindowID","_wxCoord",0},
8987 { "_wxWindowID","_wxPrintQuality",0},
8988 { "_wxWindowID","_size_t",0},
8989 { "_wxWindowID","_EBool",0},
8990 { "_wxWindowID","_uint",0},
8991 { "_wxWindowID","_int",0},
8992 { "_wxWindowID","_signed_int",0},
8993 { "_wxWindowID","_unsigned_int",0},
8994 { "_int","_wxCoord",0},
8995 { "_int","_wxPrintQuality",0},
8996 { "_int","_size_t",0},
8997 { "_int","_EBool",0},
8998 { "_int","_uint",0},
8999 { "_int","_wxWindowID",0},
9000 { "_int","_unsigned_int",0},
9001 { "_int","_signed_int",0},
9002 { "_wxSize","_class_wxSize",0},
9003 { "_wxRegionIterator","_class_wxRegionIterator",0},
9004 { "_class_wxPrinterDC","_wxPrinterDC",0},
9005 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9006 { "_class_wxPaintDC","_wxPaintDC",0},
9007 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9008 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9009 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9010 { "_wxValidator","_class_wxValidator",0},
9011 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9012 { "_class_wxIcon","_wxIcon",0},
9013 { "_class_wxColour","_wxColour",0},
9014 { "_class_wxScreenDC","_wxScreenDC",0},
9015 { "_wxPalette","_class_wxPalette",0},
9016 { "_wxCoord","_int",0},
9017 { "_wxCoord","_signed_int",0},
9018 { "_wxCoord","_unsigned_int",0},
9019 { "_wxCoord","_wxWindowID",0},
9020 { "_wxCoord","_uint",0},
9021 { "_wxCoord","_EBool",0},
9022 { "_wxCoord","_size_t",0},
9023 { "_wxCoord","_wxPrintQuality",0},
9024 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9025 { "_wxRegion","_class_wxRegion",0},
9026 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9027 { "_class_wxBusyInfo","_wxBusyInfo",0},
9028 { "_class_wxClientDC","_wxClientDC",0},
9029 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9030 { "_class_wxSize","_wxSize",0},
9031 { "_class_wxBitmap","_wxBitmap",0},
9032 { "_class_wxMemoryDC","_wxMemoryDC",0},
9033 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9034 { "_wxMenuBar","_class_wxMenuBar",0},
9035 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9036 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9037 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9038 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9039 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9040 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9041 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9042 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9043 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9044 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9045 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9046 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9047 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9048 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9049 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9050 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9051 { "_wxEvtHandler","_class_wxEvtHandler",0},
9052 { "_wxMenuItem","_class_wxMenuItem",0},
9053 { "_wxDash","_unsigned_long",0},
9054 { "_wxDash","_long",0},
9055 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9056 { "_class_wxPalette","_wxPalette",0},
9057 { "_wxFileDataObject","_class_wxFileDataObject",0},
9058 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9059 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9060 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9061 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9062 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9063 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9064 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9065 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9066 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9067 { "_wxWindow","_class_wxWindow",0},
9070 static PyObject
*SWIG_globals
;
9074 SWIGEXPORT(void) initwindowsc() {
9076 SWIG_globals
= SWIG_newvarlink();
9077 m
= Py_InitModule("windowsc", windowscMethods
);
9078 d
= PyModule_GetDict(m
);
9081 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9082 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);