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 (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_IsRetained(_swigobj) (_swigobj->IsRetained())
2480 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2484 PyObject
* _argo0
= 0;
2485 char *_kwnames
[] = { "self", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2498 wxPy_BEGIN_ALLOW_THREADS
;
2499 _result
= (bool )wxWindow_IsRetained(_arg0
);
2501 wxPy_END_ALLOW_THREADS
;
2502 } _resultobj
= Py_BuildValue("i",_result
);
2506 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2507 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2511 PyObject
* _argo0
= 0;
2512 char *_kwnames
[] = { "self", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 _result
= (bool )wxWindow_IsShown(_arg0
);
2528 wxPy_END_ALLOW_THREADS
;
2529 } _resultobj
= Py_BuildValue("i",_result
);
2533 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2534 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2538 PyObject
* _argo0
= 0;
2539 char *_kwnames
[] = { "self", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2552 wxPy_BEGIN_ALLOW_THREADS
;
2553 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2555 wxPy_END_ALLOW_THREADS
;
2556 } _resultobj
= Py_BuildValue("i",_result
);
2560 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2561 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2564 PyObject
* _argo0
= 0;
2565 char *_kwnames
[] = { "self", NULL
};
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2578 wxPy_BEGIN_ALLOW_THREADS
;
2579 wxWindow_Layout(_arg0
);
2581 wxPy_END_ALLOW_THREADS
;
2582 } Py_INCREF(Py_None
);
2583 _resultobj
= Py_None
;
2587 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2588 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2594 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2595 PyObject
* _argo0
= 0;
2596 PyObject
* _argo1
= 0;
2597 PyObject
* _obj2
= 0;
2598 PyObject
* _argo3
= 0;
2599 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2619 if (!PyString_Check(_obj2
)) {
2620 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2623 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2626 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2633 wxPy_BEGIN_ALLOW_THREADS
;
2634 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2636 wxPy_END_ALLOW_THREADS
;
2637 } _resultobj
= Py_BuildValue("i",_result
);
2645 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2646 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 wxWindow_Lower(_arg0
);
2666 wxPy_END_ALLOW_THREADS
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2672 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2673 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2677 PyObject
* _argo0
= 0;
2679 char *_kwnames
[] = { "self","flag", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2691 _arg1
= (bool ) tempbool1
;
2693 wxPy_BEGIN_ALLOW_THREADS
;
2694 wxWindow_MakeModal(_arg0
,_arg1
);
2696 wxPy_END_ALLOW_THREADS
;
2697 } Py_INCREF(Py_None
);
2698 _resultobj
= Py_None
;
2702 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2703 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self","x","y", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2731 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2732 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2736 PyObject
* _argo0
= 0;
2738 PyObject
* _obj1
= 0;
2739 char *_kwnames
[] = { "self","point", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2753 if (! wxPoint_helper(_obj1
, &_arg1
))
2757 wxPy_BEGIN_ALLOW_THREADS
;
2758 wxWindow_Move(_arg0
,*_arg1
);
2760 wxPy_END_ALLOW_THREADS
;
2761 } Py_INCREF(Py_None
);
2762 _resultobj
= Py_None
;
2766 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2767 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2769 wxEvtHandler
* _result
;
2771 bool _arg1
= (bool ) FALSE
;
2772 PyObject
* _argo0
= 0;
2773 int tempbool1
= (int) FALSE
;
2774 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2787 _arg1
= (bool ) tempbool1
;
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2792 wxPy_END_ALLOW_THREADS
;
2794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2798 _resultobj
= Py_None
;
2803 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2804 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2807 wxEvtHandler
* _arg1
;
2808 PyObject
* _argo0
= 0;
2809 PyObject
* _argo1
= 0;
2810 char *_kwnames
[] = { "self","handler", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
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_PushEventHandler. Expected _wxWindow_p.");
2823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 wxWindow_PushEventHandler(_arg0
,_arg1
);
2833 wxPy_END_ALLOW_THREADS
;
2834 } Py_INCREF(Py_None
);
2835 _resultobj
= Py_None
;
2839 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2840 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2848 PyObject
* _argo1
= 0;
2849 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2869 wxPy_BEGIN_ALLOW_THREADS
;
2870 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2872 wxPy_END_ALLOW_THREADS
;
2873 } _resultobj
= Py_BuildValue("i",_result
);
2877 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2878 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2884 PyObject
* _argo0
= 0;
2885 PyObject
* _argo1
= 0;
2887 PyObject
* _obj2
= 0;
2888 char *_kwnames
[] = { "self","menu","pos", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2909 if (! wxPoint_helper(_obj2
, &_arg2
))
2913 wxPy_BEGIN_ALLOW_THREADS
;
2914 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2916 wxPy_END_ALLOW_THREADS
;
2917 } _resultobj
= Py_BuildValue("i",_result
);
2921 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2922 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2926 char *_kwnames
[] = { "self", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 wxWindow_Raise(_arg0
);
2942 wxPy_END_ALLOW_THREADS
;
2943 } Py_INCREF(Py_None
);
2944 _resultobj
= Py_None
;
2948 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2949 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
* _resultobj
;
2952 bool _arg1
= (bool ) TRUE
;
2953 wxRect
* _arg2
= (wxRect
*) NULL
;
2954 PyObject
* _argo0
= 0;
2955 int tempbool1
= (int) TRUE
;
2957 PyObject
* _obj2
= 0;
2958 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2970 _arg1
= (bool ) tempbool1
;
2974 if (! wxRect_helper(_obj2
, &_arg2
))
2978 wxPy_BEGIN_ALLOW_THREADS
;
2979 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2981 wxPy_END_ALLOW_THREADS
;
2982 } Py_INCREF(Py_None
);
2983 _resultobj
= Py_None
;
2987 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2988 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2991 PyObject
* _argo0
= 0;
2992 char *_kwnames
[] = { "self", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3005 wxPy_BEGIN_ALLOW_THREADS
;
3006 wxWindow_ReleaseMouse(_arg0
);
3008 wxPy_END_ALLOW_THREADS
;
3009 } Py_INCREF(Py_None
);
3010 _resultobj
= Py_None
;
3014 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3015 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3020 PyObject
* _argo0
= 0;
3021 PyObject
* _argo1
= 0;
3022 char *_kwnames
[] = { "self","newParent", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3045 wxPy_END_ALLOW_THREADS
;
3046 } _resultobj
= Py_BuildValue("i",_result
);
3050 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3051 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3058 PyObject
* _obj1
= 0;
3060 PyObject
* _obj2
= 0;
3061 char *_kwnames
[] = { "self","x","y", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3074 temp
= (int) PyInt_AsLong(_obj1
);
3078 temp0
= (int) PyInt_AsLong(_obj2
);
3082 wxPy_BEGIN_ALLOW_THREADS
;
3083 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3085 wxPy_END_ALLOW_THREADS
;
3086 } Py_INCREF(Py_None
);
3087 _resultobj
= Py_None
;
3090 o
= PyInt_FromLong((long) (*_arg1
));
3091 _resultobj
= t_output_helper(_resultobj
, o
);
3095 o
= PyInt_FromLong((long) (*_arg2
));
3096 _resultobj
= t_output_helper(_resultobj
, o
);
3101 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3102 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3107 PyObject
* _argo0
= 0;
3109 PyObject
* _obj1
= 0;
3110 char *_kwnames
[] = { "self","pt", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3125 if (! wxPoint_helper(_obj1
, &_arg1
))
3129 wxPy_BEGIN_ALLOW_THREADS
;
3130 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3132 wxPy_END_ALLOW_THREADS
;
3133 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3134 _resultobj
= Py_BuildValue("s",_ptemp
);
3138 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3139 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3144 wxRect
* _arg3
= (wxRect
*) NULL
;
3145 PyObject
* _argo0
= 0;
3147 PyObject
* _obj3
= 0;
3148 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3163 if (! wxRect_helper(_obj3
, &_arg3
))
3167 wxPy_BEGIN_ALLOW_THREADS
;
3168 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3170 wxPy_END_ALLOW_THREADS
;
3171 } Py_INCREF(Py_None
);
3172 _resultobj
= Py_None
;
3176 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3177 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3180 wxAcceleratorTable
* _arg1
;
3181 PyObject
* _argo0
= 0;
3182 PyObject
* _argo1
= 0;
3183 char *_kwnames
[] = { "self","accel", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3203 wxPy_BEGIN_ALLOW_THREADS
;
3204 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3206 wxPy_END_ALLOW_THREADS
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3213 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3217 PyObject
* _argo0
= 0;
3219 char *_kwnames
[] = { "self","autoLayout", NULL
};
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3231 _arg1
= (bool ) tempbool1
;
3233 wxPy_BEGIN_ALLOW_THREADS
;
3234 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3236 wxPy_END_ALLOW_THREADS
;
3237 } Py_INCREF(Py_None
);
3238 _resultobj
= Py_None
;
3242 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3243 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
* _resultobj
;
3247 PyObject
* _argo0
= 0;
3248 char *_kwnames
[] = { "self", NULL
};
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3261 wxPy_BEGIN_ALLOW_THREADS
;
3262 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3264 wxPy_END_ALLOW_THREADS
;
3265 } _resultobj
= Py_BuildValue("i",_result
);
3269 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3270 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3274 PyObject
* _argo0
= 0;
3275 PyObject
* _argo1
= 0;
3276 char *_kwnames
[] = { "self","colour", NULL
};
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3296 wxPy_BEGIN_ALLOW_THREADS
;
3297 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3299 wxPy_END_ALLOW_THREADS
;
3300 } Py_INCREF(Py_None
);
3301 _resultobj
= Py_None
;
3305 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3306 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3309 wxLayoutConstraints
* _arg1
;
3310 PyObject
* _argo0
= 0;
3311 PyObject
* _argo1
= 0;
3312 char *_kwnames
[] = { "self","constraints", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3332 wxPy_BEGIN_ALLOW_THREADS
;
3333 wxWindow_SetConstraints(_arg0
,_arg1
);
3335 wxPy_END_ALLOW_THREADS
;
3336 } Py_INCREF(Py_None
);
3337 _resultobj
= Py_None
;
3341 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3342 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3345 wxLayoutConstraints
* _arg1
;
3346 PyObject
* _argo0
= 0;
3347 PyObject
* _argo1
= 0;
3348 char *_kwnames
[] = { "self","constraints", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3368 wxPy_BEGIN_ALLOW_THREADS
;
3369 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3371 wxPy_END_ALLOW_THREADS
;
3372 } Py_INCREF(Py_None
);
3373 _resultobj
= Py_None
;
3377 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3378 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3381 PyObject
* _argo0
= 0;
3382 char *_kwnames
[] = { "self", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3395 wxPy_BEGIN_ALLOW_THREADS
;
3396 wxWindow_SetFocus(_arg0
);
3398 wxPy_END_ALLOW_THREADS
;
3399 } Py_INCREF(Py_None
);
3400 _resultobj
= Py_None
;
3404 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3405 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3409 PyObject
* _argo0
= 0;
3410 char *_kwnames
[] = { "self", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3423 wxPy_BEGIN_ALLOW_THREADS
;
3424 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3426 wxPy_END_ALLOW_THREADS
;
3427 } _resultobj
= Py_BuildValue("i",_result
);
3431 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3432 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3436 PyObject
* _argo0
= 0;
3437 PyObject
* _argo1
= 0;
3438 char *_kwnames
[] = { "self","font", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3451 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3452 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3458 wxPy_BEGIN_ALLOW_THREADS
;
3459 wxWindow_SetFont(_arg0
,*_arg1
);
3461 wxPy_END_ALLOW_THREADS
;
3462 } Py_INCREF(Py_None
);
3463 _resultobj
= Py_None
;
3467 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3468 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3472 PyObject
* _argo0
= 0;
3473 PyObject
* _argo1
= 0;
3474 char *_kwnames
[] = { "self","colour", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3494 wxPy_BEGIN_ALLOW_THREADS
;
3495 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3497 wxPy_END_ALLOW_THREADS
;
3498 } Py_INCREF(Py_None
);
3499 _resultobj
= Py_None
;
3503 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3504 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3508 PyObject
* _argo0
= 0;
3509 char *_kwnames
[] = { "self","id", NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3522 wxPy_BEGIN_ALLOW_THREADS
;
3523 wxWindow_SetId(_arg0
,_arg1
);
3525 wxPy_END_ALLOW_THREADS
;
3526 } Py_INCREF(Py_None
);
3527 _resultobj
= Py_None
;
3531 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3532 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3536 PyObject
* _argo0
= 0;
3537 PyObject
* _obj1
= 0;
3538 char *_kwnames
[] = { "self","name", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3551 if (!PyString_Check(_obj1
)) {
3552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3555 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3558 wxPy_BEGIN_ALLOW_THREADS
;
3559 wxWindow_SetName(_arg0
,*_arg1
);
3561 wxPy_END_ALLOW_THREADS
;
3562 } Py_INCREF(Py_None
);
3563 _resultobj
= Py_None
;
3571 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3572 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3579 int _arg5
= (int ) TRUE
;
3580 PyObject
* _argo0
= 0;
3581 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3594 wxPy_BEGIN_ALLOW_THREADS
;
3595 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3597 wxPy_END_ALLOW_THREADS
;
3598 } Py_INCREF(Py_None
);
3599 _resultobj
= Py_None
;
3603 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3604 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3609 bool _arg3
= (bool ) TRUE
;
3610 PyObject
* _argo0
= 0;
3611 int tempbool3
= (int) TRUE
;
3612 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3624 _arg3
= (bool ) tempbool3
;
3626 wxPy_BEGIN_ALLOW_THREADS
;
3627 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3629 wxPy_END_ALLOW_THREADS
;
3630 } Py_INCREF(Py_None
);
3631 _resultobj
= Py_None
;
3635 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3636 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3643 int _arg5
= (int ) wxSIZE_AUTO
;
3644 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3658 wxPy_BEGIN_ALLOW_THREADS
;
3659 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3661 wxPy_END_ALLOW_THREADS
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3668 self
->SetSize(size
.x
, size
.y
);
3670 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3676 PyObject
* _obj1
= 0;
3677 char *_kwnames
[] = { "self","size", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3691 if (! wxSize_helper(_obj1
, &_arg1
))
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 wxWindow_SetSize(_arg0
,*_arg1
);
3698 wxPy_END_ALLOW_THREADS
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3705 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3707 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3711 PyObject
* _argo0
= 0;
3713 PyObject
* _obj1
= 0;
3714 char *_kwnames
[] = { "self","pos", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3728 if (! wxPoint_helper(_obj1
, &_arg1
))
3732 wxPy_BEGIN_ALLOW_THREADS
;
3733 wxWindow_SetPosition(_arg0
,*_arg1
);
3735 wxPy_END_ALLOW_THREADS
;
3736 } Py_INCREF(Py_None
);
3737 _resultobj
= Py_None
;
3741 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3742 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3745 int _arg1
= (int ) -1;
3746 int _arg2
= (int ) -1;
3747 int _arg3
= (int ) -1;
3748 int _arg4
= (int ) -1;
3749 int _arg5
= (int ) -1;
3750 int _arg6
= (int ) -1;
3751 PyObject
* _argo0
= 0;
3752 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3765 wxPy_BEGIN_ALLOW_THREADS
;
3766 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3768 wxPy_END_ALLOW_THREADS
;
3769 } Py_INCREF(Py_None
);
3770 _resultobj
= Py_None
;
3774 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3775 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3780 PyObject
* _argo0
= 0;
3781 char *_kwnames
[] = { "self","width","height", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3794 wxPy_BEGIN_ALLOW_THREADS
;
3795 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3797 wxPy_END_ALLOW_THREADS
;
3798 } Py_INCREF(Py_None
);
3799 _resultobj
= Py_None
;
3803 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3804 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3808 PyObject
* _argo0
= 0;
3810 PyObject
* _obj1
= 0;
3811 char *_kwnames
[] = { "self","size", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3825 if (! wxSize_helper(_obj1
, &_arg1
))
3829 wxPy_BEGIN_ALLOW_THREADS
;
3830 wxWindow_SetClientSize(_arg0
,*_arg1
);
3832 wxPy_END_ALLOW_THREADS
;
3833 } Py_INCREF(Py_None
);
3834 _resultobj
= Py_None
;
3838 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3839 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3843 PyObject
* _argo0
= 0;
3844 PyObject
* _argo1
= 0;
3845 char *_kwnames
[] = { "self","cursor", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3865 wxPy_BEGIN_ALLOW_THREADS
;
3866 wxWindow_SetCursor(_arg0
,*_arg1
);
3868 wxPy_END_ALLOW_THREADS
;
3869 } Py_INCREF(Py_None
);
3870 _resultobj
= Py_None
;
3874 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3875 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3878 wxEvtHandler
* _arg1
;
3879 PyObject
* _argo0
= 0;
3880 PyObject
* _argo1
= 0;
3881 char *_kwnames
[] = { "self","handler", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3901 wxPy_BEGIN_ALLOW_THREADS
;
3902 wxWindow_SetEventHandler(_arg0
,_arg1
);
3904 wxPy_END_ALLOW_THREADS
;
3905 } Py_INCREF(Py_None
);
3906 _resultobj
= Py_None
;
3910 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3911 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
* _resultobj
;
3915 PyObject
* _argo0
= 0;
3916 PyObject
* _obj1
= 0;
3917 char *_kwnames
[] = { "self","title", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3930 if (!PyString_Check(_obj1
)) {
3931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3934 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3937 wxPy_BEGIN_ALLOW_THREADS
;
3938 wxWindow_SetTitle(_arg0
,*_arg1
);
3940 wxPy_END_ALLOW_THREADS
;
3941 } Py_INCREF(Py_None
);
3942 _resultobj
= Py_None
;
3950 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3951 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3956 PyObject
* _argo0
= 0;
3958 char *_kwnames
[] = { "self","show", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3970 _arg1
= (bool ) tempbool1
;
3972 wxPy_BEGIN_ALLOW_THREADS
;
3973 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3975 wxPy_END_ALLOW_THREADS
;
3976 } _resultobj
= Py_BuildValue("i",_result
);
3980 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3981 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3985 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "self", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3999 wxPy_BEGIN_ALLOW_THREADS
;
4000 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4002 wxPy_END_ALLOW_THREADS
;
4003 } _resultobj
= Py_BuildValue("i",_result
);
4007 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4008 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
* _resultobj
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } _resultobj
= Py_BuildValue("i",_result
);
4034 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4035 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4039 PyObject
* _argo0
= 0;
4040 char *_kwnames
[] = { "self", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4053 wxPy_BEGIN_ALLOW_THREADS
;
4054 _result
= (bool )wxWindow_Validate(_arg0
);
4056 wxPy_END_ALLOW_THREADS
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4062 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4067 PyObject
* _argo0
= 0;
4068 char *_kwnames
[] = { "self","x","y", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4081 wxPy_BEGIN_ALLOW_THREADS
;
4082 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4084 wxPy_END_ALLOW_THREADS
;
4085 } Py_INCREF(Py_None
);
4086 _resultobj
= Py_None
;
4090 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4091 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4096 PyObject
* _argo0
= 0;
4098 PyObject
* _obj1
= 0;
4099 char *_kwnames
[] = { "self","pt", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4114 if (! wxPoint_helper(_obj1
, &_arg1
))
4118 wxPy_BEGIN_ALLOW_THREADS
;
4119 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4121 wxPy_END_ALLOW_THREADS
;
4122 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4123 _resultobj
= Py_BuildValue("s",_ptemp
);
4127 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4128 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4133 PyObject
* _argo0
= 0;
4135 PyObject
* _obj1
= 0;
4136 char *_kwnames
[] = { "self","sz", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4151 if (! wxSize_helper(_obj1
, &_arg1
))
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4158 wxPy_END_ALLOW_THREADS
;
4159 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4160 _resultobj
= Py_BuildValue("s",_ptemp
);
4164 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4165 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4170 PyObject
* _argo0
= 0;
4172 PyObject
* _obj1
= 0;
4173 char *_kwnames
[] = { "self","pt", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4188 if (! wxPoint_helper(_obj1
, &_arg1
))
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4195 wxPy_END_ALLOW_THREADS
;
4196 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4197 _resultobj
= Py_BuildValue("s",_ptemp
);
4201 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4202 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
* _resultobj
;
4207 PyObject
* _argo0
= 0;
4209 PyObject
* _obj1
= 0;
4210 char *_kwnames
[] = { "self","sz", NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4225 if (! wxSize_helper(_obj1
, &_arg1
))
4229 wxPy_BEGIN_ALLOW_THREADS
;
4230 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4232 wxPy_END_ALLOW_THREADS
;
4233 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4234 _resultobj
= Py_BuildValue("s",_ptemp
);
4238 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4239 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4243 PyObject
* _argo0
= 0;
4244 PyObject
* _obj1
= 0;
4245 char *_kwnames
[] = { "self","tip", NULL
};
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4258 if (!PyString_Check(_obj1
)) {
4259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4262 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4265 wxPy_BEGIN_ALLOW_THREADS
;
4266 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4268 wxPy_END_ALLOW_THREADS
;
4269 } Py_INCREF(Py_None
);
4270 _resultobj
= Py_None
;
4278 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4279 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4283 PyObject
* _argo0
= 0;
4284 PyObject
* _argo1
= 0;
4285 char *_kwnames
[] = { "self","tooltip", NULL
};
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4305 wxPy_BEGIN_ALLOW_THREADS
;
4306 wxWindow_SetToolTip(_arg0
,_arg1
);
4308 wxPy_END_ALLOW_THREADS
;
4309 } Py_INCREF(Py_None
);
4310 _resultobj
= Py_None
;
4314 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4315 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
* _resultobj
;
4317 wxToolTip
* _result
;
4319 PyObject
* _argo0
= 0;
4320 char *_kwnames
[] = { "self", NULL
};
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4334 wxPy_BEGIN_ALLOW_THREADS
;
4335 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4337 wxPy_END_ALLOW_THREADS
;
4339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4340 _resultobj
= Py_BuildValue("s",_ptemp
);
4343 _resultobj
= Py_None
;
4348 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4349 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
* _resultobj
;
4353 PyObject
* _argo0
= 0;
4354 PyObject
* _argo1
= 0;
4355 char *_kwnames
[] = { "self","sizer", NULL
};
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4375 wxPy_BEGIN_ALLOW_THREADS
;
4376 wxWindow_SetSizer(_arg0
,_arg1
);
4378 wxPy_END_ALLOW_THREADS
;
4379 } Py_INCREF(Py_None
);
4380 _resultobj
= Py_None
;
4384 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4385 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4387 wxValidator
* _result
;
4389 PyObject
* _argo0
= 0;
4390 char *_kwnames
[] = { "self", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4404 wxPy_BEGIN_ALLOW_THREADS
;
4405 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4407 wxPy_END_ALLOW_THREADS
;
4409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4410 _resultobj
= Py_BuildValue("s",_ptemp
);
4413 _resultobj
= Py_None
;
4418 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4419 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
* _resultobj
;
4422 wxValidator
* _arg1
;
4423 PyObject
* _argo0
= 0;
4424 PyObject
* _argo1
= 0;
4425 char *_kwnames
[] = { "self","validator", NULL
};
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4445 wxPy_BEGIN_ALLOW_THREADS
;
4446 wxWindow_SetValidator(_arg0
,*_arg1
);
4448 wxPy_END_ALLOW_THREADS
;
4449 } Py_INCREF(Py_None
);
4450 _resultobj
= Py_None
;
4454 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4455 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4458 wxDropTarget
* _arg1
;
4459 PyObject
* _argo0
= 0;
4460 PyObject
* _argo1
= 0;
4461 char *_kwnames
[] = { "self","target", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4481 wxPy_BEGIN_ALLOW_THREADS
;
4482 wxWindow_SetDropTarget(_arg0
,_arg1
);
4484 wxPy_END_ALLOW_THREADS
;
4485 } Py_INCREF(Py_None
);
4486 _resultobj
= Py_None
;
4490 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4491 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4493 wxDropTarget
* _result
;
4495 PyObject
* _argo0
= 0;
4496 char *_kwnames
[] = { "self", NULL
};
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4510 wxPy_BEGIN_ALLOW_THREADS
;
4511 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4513 wxPy_END_ALLOW_THREADS
;
4515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4516 _resultobj
= Py_BuildValue("s",_ptemp
);
4519 _resultobj
= Py_None
;
4524 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4525 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4544 wxPy_BEGIN_ALLOW_THREADS
;
4545 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4547 wxPy_END_ALLOW_THREADS
;
4548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4549 _resultobj
= Py_BuildValue("s",_ptemp
);
4553 static void *SwigwxPanelTowxWindow(void *ptr
) {
4556 src
= (wxPanel
*) ptr
;
4557 dest
= (wxWindow
*) src
;
4558 return (void *) dest
;
4561 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4564 src
= (wxPanel
*) ptr
;
4565 dest
= (wxEvtHandler
*) src
;
4566 return (void *) dest
;
4569 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4570 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
* _resultobj
;
4575 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4576 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4577 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4578 char * _arg5
= (char *) "panel";
4579 PyObject
* _argo0
= 0;
4581 PyObject
* _obj2
= 0;
4583 PyObject
* _obj3
= 0;
4584 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4600 if (! wxPoint_helper(_obj2
, &_arg2
))
4606 if (! wxSize_helper(_obj3
, &_arg3
))
4610 wxPy_BEGIN_ALLOW_THREADS
;
4611 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4613 wxPy_END_ALLOW_THREADS
;
4615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4616 _resultobj
= Py_BuildValue("s",_ptemp
);
4619 _resultobj
= Py_None
;
4624 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4625 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4628 PyObject
* _argo0
= 0;
4629 char *_kwnames
[] = { "self", NULL
};
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4642 wxPy_BEGIN_ALLOW_THREADS
;
4643 wxPanel_InitDialog(_arg0
);
4645 wxPy_END_ALLOW_THREADS
;
4646 } Py_INCREF(Py_None
);
4647 _resultobj
= Py_None
;
4651 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4652 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4656 PyObject
* _argo0
= 0;
4657 char *_kwnames
[] = { "self", NULL
};
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4671 wxPy_BEGIN_ALLOW_THREADS
;
4672 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4674 wxPy_END_ALLOW_THREADS
;
4676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4677 _resultobj
= Py_BuildValue("s",_ptemp
);
4680 _resultobj
= Py_None
;
4685 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4686 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4690 PyObject
* _argo0
= 0;
4691 PyObject
* _argo1
= 0;
4692 char *_kwnames
[] = { "self","btn", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4712 wxPy_BEGIN_ALLOW_THREADS
;
4713 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4715 wxPy_END_ALLOW_THREADS
;
4716 } Py_INCREF(Py_None
);
4717 _resultobj
= Py_None
;
4721 static void *SwigwxDialogTowxPanel(void *ptr
) {
4724 src
= (wxDialog
*) ptr
;
4725 dest
= (wxPanel
*) src
;
4726 return (void *) dest
;
4729 static void *SwigwxDialogTowxWindow(void *ptr
) {
4732 src
= (wxDialog
*) ptr
;
4733 dest
= (wxWindow
*) src
;
4734 return (void *) dest
;
4737 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4740 src
= (wxDialog
*) ptr
;
4741 dest
= (wxEvtHandler
*) src
;
4742 return (void *) dest
;
4745 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4746 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4752 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4753 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4754 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4755 char * _arg6
= (char *) "dialogBox";
4756 PyObject
* _argo0
= 0;
4757 PyObject
* _obj2
= 0;
4759 PyObject
* _obj3
= 0;
4761 PyObject
* _obj4
= 0;
4762 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4776 if (!PyString_Check(_obj2
)) {
4777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4780 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4785 if (! wxPoint_helper(_obj3
, &_arg3
))
4791 if (! wxSize_helper(_obj4
, &_arg4
))
4795 wxPy_BEGIN_ALLOW_THREADS
;
4796 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4798 wxPy_END_ALLOW_THREADS
;
4800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4801 _resultobj
= Py_BuildValue("s",_ptemp
);
4804 _resultobj
= Py_None
;
4813 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4814 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4817 int _arg1
= (int ) wxBOTH
;
4818 PyObject
* _argo0
= 0;
4819 char *_kwnames
[] = { "self","direction", NULL
};
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4832 wxPy_BEGIN_ALLOW_THREADS
;
4833 wxDialog_Centre(_arg0
,_arg1
);
4835 wxPy_END_ALLOW_THREADS
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4841 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4842 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4846 PyObject
* _argo0
= 0;
4847 char *_kwnames
[] = { "self","retCode", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4860 wxPy_BEGIN_ALLOW_THREADS
;
4861 wxDialog_EndModal(_arg0
,_arg1
);
4863 wxPy_END_ALLOW_THREADS
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4870 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4874 PyObject
* _argo0
= 0;
4875 char *_kwnames
[] = { "self", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4888 wxPy_BEGIN_ALLOW_THREADS
;
4889 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4891 wxPy_END_ALLOW_THREADS
;
4893 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4901 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4902 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4906 PyObject
* _argo0
= 0;
4908 char *_kwnames
[] = { "self","iconize", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4920 _arg1
= (bool ) tempbool1
;
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 wxDialog_Iconize(_arg0
,_arg1
);
4925 wxPy_END_ALLOW_THREADS
;
4926 } Py_INCREF(Py_None
);
4927 _resultobj
= Py_None
;
4931 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4932 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4936 PyObject
* _argo0
= 0;
4937 char *_kwnames
[] = { "self", NULL
};
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4950 wxPy_BEGIN_ALLOW_THREADS
;
4951 _result
= (bool )wxDialog_IsIconized(_arg0
);
4953 wxPy_END_ALLOW_THREADS
;
4954 } _resultobj
= Py_BuildValue("i",_result
);
4958 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4959 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4963 PyObject
* _argo0
= 0;
4965 char *_kwnames
[] = { "self","flag", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4977 _arg1
= (bool ) tempbool1
;
4979 wxPy_BEGIN_ALLOW_THREADS
;
4980 wxDialog_SetModal(_arg0
,_arg1
);
4982 wxPy_END_ALLOW_THREADS
;
4983 } Py_INCREF(Py_None
);
4984 _resultobj
= Py_None
;
4988 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4989 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4993 PyObject
* _argo0
= 0;
4994 char *_kwnames
[] = { "self", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5007 wxPy_BEGIN_ALLOW_THREADS
;
5008 _result
= (bool )wxDialog_IsModal(_arg0
);
5010 wxPy_END_ALLOW_THREADS
;
5011 } _resultobj
= Py_BuildValue("i",_result
);
5015 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5016 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5020 PyObject
* _argo0
= 0;
5021 PyObject
* _obj1
= 0;
5022 char *_kwnames
[] = { "self","title", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5035 if (!PyString_Check(_obj1
)) {
5036 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5039 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5042 wxPy_BEGIN_ALLOW_THREADS
;
5043 wxDialog_SetTitle(_arg0
,*_arg1
);
5045 wxPy_END_ALLOW_THREADS
;
5046 } Py_INCREF(Py_None
);
5047 _resultobj
= Py_None
;
5055 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5056 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
* _resultobj
;
5061 PyObject
* _argo0
= 0;
5063 char *_kwnames
[] = { "self","show", NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5075 _arg1
= (bool ) tempbool1
;
5077 wxPy_BEGIN_ALLOW_THREADS
;
5078 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5080 wxPy_END_ALLOW_THREADS
;
5081 } _resultobj
= Py_BuildValue("i",_result
);
5085 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5086 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
* _resultobj
;
5090 PyObject
* _argo0
= 0;
5091 char *_kwnames
[] = { "self", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5104 wxPy_BEGIN_ALLOW_THREADS
;
5105 _result
= (int )wxDialog_ShowModal(_arg0
);
5107 wxPy_END_ALLOW_THREADS
;
5108 } _resultobj
= Py_BuildValue("i",_result
);
5112 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5113 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5117 PyObject
* _argo0
= 0;
5118 char *_kwnames
[] = { "self", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5131 wxPy_BEGIN_ALLOW_THREADS
;
5132 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5134 wxPy_END_ALLOW_THREADS
;
5135 } _resultobj
= Py_BuildValue("i",_result
);
5139 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5140 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5144 PyObject
* _argo0
= 0;
5145 char *_kwnames
[] = { "self","retCode", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5158 wxPy_BEGIN_ALLOW_THREADS
;
5159 wxDialog_SetReturnCode(_arg0
,_arg1
);
5161 wxPy_END_ALLOW_THREADS
;
5162 } Py_INCREF(Py_None
);
5163 _resultobj
= Py_None
;
5167 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5168 wxScrolledWindow
*src
;
5170 src
= (wxScrolledWindow
*) ptr
;
5171 dest
= (wxPanel
*) src
;
5172 return (void *) dest
;
5175 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5176 wxScrolledWindow
*src
;
5178 src
= (wxScrolledWindow
*) ptr
;
5179 dest
= (wxWindow
*) src
;
5180 return (void *) dest
;
5183 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5184 wxScrolledWindow
*src
;
5186 src
= (wxScrolledWindow
*) ptr
;
5187 dest
= (wxEvtHandler
*) src
;
5188 return (void *) dest
;
5191 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5192 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
* _resultobj
;
5194 wxScrolledWindow
* _result
;
5196 wxWindowID _arg1
= (wxWindowID
) -1;
5197 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5198 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5199 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5200 char * _arg5
= (char *) "scrolledWindow";
5201 PyObject
* _argo0
= 0;
5203 PyObject
* _obj2
= 0;
5205 PyObject
* _obj3
= 0;
5206 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5222 if (! wxPoint_helper(_obj2
, &_arg2
))
5228 if (! wxSize_helper(_obj3
, &_arg3
))
5232 wxPy_BEGIN_ALLOW_THREADS
;
5233 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5235 wxPy_END_ALLOW_THREADS
;
5237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5238 _resultobj
= Py_BuildValue("s",_ptemp
);
5241 _resultobj
= Py_None
;
5246 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5247 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
* _resultobj
;
5249 wxScrolledWindow
* _arg0
;
5252 PyObject
* _argo0
= 0;
5255 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5267 _arg1
= (bool ) tempbool1
;
5268 _arg2
= (bool ) tempbool2
;
5270 wxPy_BEGIN_ALLOW_THREADS
;
5271 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5273 wxPy_END_ALLOW_THREADS
;
5274 } Py_INCREF(Py_None
);
5275 _resultobj
= Py_None
;
5279 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5280 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5282 wxScrolledWindow
* _arg0
;
5287 PyObject
* _argo0
= 0;
5288 char *_kwnames
[] = { "self", NULL
};
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5307 wxPy_BEGIN_ALLOW_THREADS
;
5308 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5310 wxPy_END_ALLOW_THREADS
;
5311 } Py_INCREF(Py_None
);
5312 _resultobj
= Py_None
;
5315 o
= PyInt_FromLong((long) (*_arg1
));
5316 _resultobj
= t_output_helper(_resultobj
, o
);
5320 o
= PyInt_FromLong((long) (*_arg2
));
5321 _resultobj
= t_output_helper(_resultobj
, o
);
5326 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5327 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5329 wxScrolledWindow
* _arg0
;
5334 PyObject
* _argo0
= 0;
5335 char *_kwnames
[] = { "self", NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5354 wxPy_BEGIN_ALLOW_THREADS
;
5355 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5357 wxPy_END_ALLOW_THREADS
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5362 o
= PyInt_FromLong((long) (*_arg1
));
5363 _resultobj
= t_output_helper(_resultobj
, o
);
5367 o
= PyInt_FromLong((long) (*_arg2
));
5368 _resultobj
= t_output_helper(_resultobj
, o
);
5373 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5374 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5377 wxScrolledWindow
* _arg0
;
5378 PyObject
* _argo0
= 0;
5379 char *_kwnames
[] = { "self", NULL
};
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5392 wxPy_BEGIN_ALLOW_THREADS
;
5393 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5395 wxPy_END_ALLOW_THREADS
;
5396 } _resultobj
= Py_BuildValue("i",_result
);
5400 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5401 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5403 wxScrolledWindow
* _arg0
;
5405 PyObject
* _argo0
= 0;
5406 PyObject
* _argo1
= 0;
5407 char *_kwnames
[] = { "self","dc", NULL
};
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5430 wxPy_END_ALLOW_THREADS
;
5431 } Py_INCREF(Py_None
);
5432 _resultobj
= Py_None
;
5436 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5437 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5439 wxScrolledWindow
* _arg0
;
5442 PyObject
* _argo0
= 0;
5443 char *_kwnames
[] = { "self","x","y", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5456 wxPy_BEGIN_ALLOW_THREADS
;
5457 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5459 wxPy_END_ALLOW_THREADS
;
5460 } Py_INCREF(Py_None
);
5461 _resultobj
= Py_None
;
5465 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5466 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5468 wxScrolledWindow
* _arg0
;
5473 int _arg5
= (int ) 0;
5474 int _arg6
= (int ) 0;
5475 PyObject
* _argo0
= 0;
5476 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5489 wxPy_BEGIN_ALLOW_THREADS
;
5490 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5492 wxPy_END_ALLOW_THREADS
;
5493 } Py_INCREF(Py_None
);
5494 _resultobj
= Py_None
;
5498 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5499 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
* _resultobj
;
5501 wxScrolledWindow
* _arg0
;
5503 PyObject
* _argo0
= 0;
5504 PyObject
* _argo1
= 0;
5505 char *_kwnames
[] = { "self","window", NULL
};
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
5511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5518 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5525 wxPy_BEGIN_ALLOW_THREADS
;
5526 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5528 wxPy_END_ALLOW_THREADS
;
5529 } Py_INCREF(Py_None
);
5530 _resultobj
= Py_None
;
5534 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5535 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5537 wxScrolledWindow
* _arg0
;
5542 PyObject
* _argo0
= 0;
5543 char *_kwnames
[] = { "self", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5562 wxPy_BEGIN_ALLOW_THREADS
;
5563 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5565 wxPy_END_ALLOW_THREADS
;
5566 } Py_INCREF(Py_None
);
5567 _resultobj
= Py_None
;
5570 o
= PyInt_FromLong((long) (*_arg1
));
5571 _resultobj
= t_output_helper(_resultobj
, o
);
5575 o
= PyInt_FromLong((long) (*_arg2
));
5576 _resultobj
= t_output_helper(_resultobj
, o
);
5581 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5582 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5584 wxScrolledWindow
* _arg0
;
5591 PyObject
* _argo0
= 0;
5592 char *_kwnames
[] = { "self","x","y", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5611 wxPy_BEGIN_ALLOW_THREADS
;
5612 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5614 wxPy_END_ALLOW_THREADS
;
5615 } Py_INCREF(Py_None
);
5616 _resultobj
= Py_None
;
5619 o
= PyInt_FromLong((long) (*_arg3
));
5620 _resultobj
= t_output_helper(_resultobj
, o
);
5624 o
= PyInt_FromLong((long) (*_arg4
));
5625 _resultobj
= t_output_helper(_resultobj
, o
);
5630 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5631 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
* _resultobj
;
5633 wxScrolledWindow
* _arg0
;
5640 PyObject
* _argo0
= 0;
5641 char *_kwnames
[] = { "self","x","y", NULL
};
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5660 wxPy_BEGIN_ALLOW_THREADS
;
5661 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5663 wxPy_END_ALLOW_THREADS
;
5664 } Py_INCREF(Py_None
);
5665 _resultobj
= Py_None
;
5668 o
= PyInt_FromLong((long) (*_arg3
));
5669 _resultobj
= t_output_helper(_resultobj
, o
);
5673 o
= PyInt_FromLong((long) (*_arg4
));
5674 _resultobj
= t_output_helper(_resultobj
, o
);
5679 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5682 src
= (wxMenu
*) ptr
;
5683 dest
= (wxEvtHandler
*) src
;
5684 return (void *) dest
;
5687 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5688 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
* _resultobj
;
5691 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5692 long _arg1
= (long ) 0;
5693 PyObject
* _obj0
= 0;
5694 char *_kwnames
[] = { "title","style", NULL
};
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5702 if (!PyString_Check(_obj0
)) {
5703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5706 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5709 wxPy_BEGIN_ALLOW_THREADS
;
5710 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5712 wxPy_END_ALLOW_THREADS
;
5714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5715 _resultobj
= Py_BuildValue("s",_ptemp
);
5718 _resultobj
= Py_None
;
5727 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5728 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
* _resultobj
;
5733 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5734 int _arg4
= (int ) FALSE
;
5735 PyObject
* _argo0
= 0;
5736 PyObject
* _obj2
= 0;
5737 PyObject
* _obj3
= 0;
5738 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5751 if (!PyString_Check(_obj2
)) {
5752 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5755 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5759 if (!PyString_Check(_obj3
)) {
5760 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5763 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5766 wxPy_BEGIN_ALLOW_THREADS
;
5767 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5769 wxPy_END_ALLOW_THREADS
;
5770 } Py_INCREF(Py_None
);
5771 _resultobj
= Py_None
;
5783 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5784 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
* _resultobj
;
5790 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5791 PyObject
* _argo0
= 0;
5792 PyObject
* _obj2
= 0;
5793 PyObject
* _argo3
= 0;
5794 PyObject
* _obj4
= 0;
5795 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5808 if (!PyString_Check(_obj2
)) {
5809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5812 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5815 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5823 if (!PyString_Check(_obj4
)) {
5824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5827 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5830 wxPy_BEGIN_ALLOW_THREADS
;
5831 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5833 wxPy_END_ALLOW_THREADS
;
5834 } Py_INCREF(Py_None
);
5835 _resultobj
= Py_None
;
5847 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5848 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5852 PyObject
* _argo0
= 0;
5853 PyObject
* _argo1
= 0;
5854 char *_kwnames
[] = { "self","item", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5874 wxPy_BEGIN_ALLOW_THREADS
;
5875 wxMenu_AppendItem(_arg0
,_arg1
);
5877 wxPy_END_ALLOW_THREADS
;
5878 } Py_INCREF(Py_None
);
5879 _resultobj
= Py_None
;
5883 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5884 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
* _resultobj
;
5887 PyObject
* _argo0
= 0;
5888 char *_kwnames
[] = { "self", NULL
};
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5901 wxPy_BEGIN_ALLOW_THREADS
;
5902 wxMenu_AppendSeparator(_arg0
);
5904 wxPy_END_ALLOW_THREADS
;
5905 } Py_INCREF(Py_None
);
5906 _resultobj
= Py_None
;
5910 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5911 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5914 PyObject
* _argo0
= 0;
5915 char *_kwnames
[] = { "self", NULL
};
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5928 wxPy_BEGIN_ALLOW_THREADS
;
5929 wxMenu_Break(_arg0
);
5931 wxPy_END_ALLOW_THREADS
;
5932 } Py_INCREF(Py_None
);
5933 _resultobj
= Py_None
;
5937 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5938 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
* _resultobj
;
5943 PyObject
* _argo0
= 0;
5945 char *_kwnames
[] = { "self","id","flag", NULL
};
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5957 _arg2
= (bool ) tempbool2
;
5959 wxPy_BEGIN_ALLOW_THREADS
;
5960 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5962 wxPy_END_ALLOW_THREADS
;
5963 } Py_INCREF(Py_None
);
5964 _resultobj
= Py_None
;
5968 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5969 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
* _resultobj
;
5974 PyObject
* _argo0
= 0;
5975 char *_kwnames
[] = { "self","id", NULL
};
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5988 wxPy_BEGIN_ALLOW_THREADS
;
5989 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5991 wxPy_END_ALLOW_THREADS
;
5992 } _resultobj
= Py_BuildValue("i",_result
);
5996 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5997 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
* _resultobj
;
6002 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self","id","enable", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6016 _arg2
= (bool ) tempbool2
;
6018 wxPy_BEGIN_ALLOW_THREADS
;
6019 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6021 wxPy_END_ALLOW_THREADS
;
6022 } Py_INCREF(Py_None
);
6023 _resultobj
= Py_None
;
6027 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6028 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6033 PyObject
* _argo0
= 0;
6034 char *_kwnames
[] = { "self","id", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6047 wxPy_BEGIN_ALLOW_THREADS
;
6048 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6050 wxPy_END_ALLOW_THREADS
;
6051 } _resultobj
= Py_BuildValue("i",_result
);
6055 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6056 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
* _resultobj
;
6061 PyObject
* _argo0
= 0;
6062 PyObject
* _obj1
= 0;
6063 char *_kwnames
[] = { "self","itemString", NULL
};
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6076 if (!PyString_Check(_obj1
)) {
6077 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6080 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6083 wxPy_BEGIN_ALLOW_THREADS
;
6084 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6086 wxPy_END_ALLOW_THREADS
;
6087 } _resultobj
= Py_BuildValue("i",_result
);
6095 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6096 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
* _resultobj
;
6098 wxMenuItem
* _result
;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self","id", NULL
};
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6116 wxPy_BEGIN_ALLOW_THREADS
;
6117 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6119 wxPy_END_ALLOW_THREADS
;
6121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6122 _resultobj
= Py_BuildValue("s",_ptemp
);
6125 _resultobj
= Py_None
;
6130 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6131 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
* _resultobj
;
6135 PyObject
* _argo0
= 0;
6136 char *_kwnames
[] = { "self", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6152 wxPy_END_ALLOW_THREADS
;
6154 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6162 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6163 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6167 PyObject
* _argo0
= 0;
6168 PyObject
* _obj1
= 0;
6169 char *_kwnames
[] = { "self","title", NULL
};
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6182 if (!PyString_Check(_obj1
)) {
6183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6186 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6189 wxPy_BEGIN_ALLOW_THREADS
;
6190 wxMenu_SetTitle(_arg0
,*_arg1
);
6192 wxPy_END_ALLOW_THREADS
;
6193 } Py_INCREF(Py_None
);
6194 _resultobj
= Py_None
;
6202 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6203 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6208 PyObject
* _argo0
= 0;
6209 char *_kwnames
[] = { "self","id", NULL
};
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6222 wxPy_BEGIN_ALLOW_THREADS
;
6223 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6225 wxPy_END_ALLOW_THREADS
;
6227 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6235 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6236 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6241 PyObject
* _argo0
= 0;
6242 PyObject
* _obj2
= 0;
6243 char *_kwnames
[] = { "self","id","label", NULL
};
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6256 if (!PyString_Check(_obj2
)) {
6257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6260 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6263 wxPy_BEGIN_ALLOW_THREADS
;
6264 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6266 wxPy_END_ALLOW_THREADS
;
6267 } Py_INCREF(Py_None
);
6268 _resultobj
= Py_None
;
6276 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6277 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
* _resultobj
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self","id", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6296 wxPy_BEGIN_ALLOW_THREADS
;
6297 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6299 wxPy_END_ALLOW_THREADS
;
6301 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6309 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6310 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
* _resultobj
;
6315 PyObject
* _argo0
= 0;
6316 PyObject
* _obj2
= 0;
6317 char *_kwnames
[] = { "self","id","helpString", NULL
};
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6330 if (!PyString_Check(_obj2
)) {
6331 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6334 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6337 wxPy_BEGIN_ALLOW_THREADS
;
6338 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6340 wxPy_END_ALLOW_THREADS
;
6341 } Py_INCREF(Py_None
);
6342 _resultobj
= Py_None
;
6350 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6351 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
* _resultobj
;
6354 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6355 PyObject
* _argo0
= 0;
6356 PyObject
* _argo1
= 0;
6357 char *_kwnames
[] = { "self","source", NULL
};
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6370 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6371 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6377 wxPy_BEGIN_ALLOW_THREADS
;
6378 wxMenu_UpdateUI(_arg0
,_arg1
);
6380 wxPy_END_ALLOW_THREADS
;
6381 } Py_INCREF(Py_None
);
6382 _resultobj
= Py_None
;
6386 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6387 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6392 PyObject
* _argo0
= 0;
6393 char *_kwnames
[] = { "self","id", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6406 wxPy_BEGIN_ALLOW_THREADS
;
6407 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6409 wxPy_END_ALLOW_THREADS
;
6410 } _resultobj
= Py_BuildValue("i",_result
);
6414 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6415 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6420 PyObject
* _argo0
= 0;
6421 PyObject
* _argo1
= 0;
6422 char *_kwnames
[] = { "self","item", NULL
};
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6442 wxPy_BEGIN_ALLOW_THREADS
;
6443 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6445 wxPy_END_ALLOW_THREADS
;
6446 } _resultobj
= Py_BuildValue("i",_result
);
6450 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6451 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
* _resultobj
;
6457 PyObject
* _argo0
= 0;
6458 PyObject
* _argo2
= 0;
6459 char *_kwnames
[] = { "self","pos","item", NULL
};
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6472 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6473 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6479 wxPy_BEGIN_ALLOW_THREADS
;
6480 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6482 wxPy_END_ALLOW_THREADS
;
6483 } _resultobj
= Py_BuildValue("i",_result
);
6487 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6488 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6490 wxMenuItem
* _result
;
6493 PyObject
* _argo0
= 0;
6494 char *_kwnames
[] = { "self","id", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6508 wxPy_BEGIN_ALLOW_THREADS
;
6509 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6511 wxPy_END_ALLOW_THREADS
;
6513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6514 _resultobj
= Py_BuildValue("s",_ptemp
);
6517 _resultobj
= Py_None
;
6522 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6523 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
* _resultobj
;
6525 wxMenuItem
* _result
;
6528 PyObject
* _argo0
= 0;
6529 PyObject
* _argo1
= 0;
6530 char *_kwnames
[] = { "self","item", NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6551 wxPy_BEGIN_ALLOW_THREADS
;
6552 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
6554 wxPy_END_ALLOW_THREADS
;
6556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6557 _resultobj
= Py_BuildValue("s",_ptemp
);
6560 _resultobj
= Py_None
;
6565 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
6566 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6569 PyObject
* _argo0
= 0;
6570 char *_kwnames
[] = { "self", NULL
};
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6583 wxPy_BEGIN_ALLOW_THREADS
;
6584 wxMenu_Destroy(_arg0
);
6586 wxPy_END_ALLOW_THREADS
;
6587 } Py_INCREF(Py_None
);
6588 _resultobj
= Py_None
;
6592 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6593 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self","id", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6612 wxPy_BEGIN_ALLOW_THREADS
;
6613 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
6615 wxPy_END_ALLOW_THREADS
;
6616 } _resultobj
= Py_BuildValue("i",_result
);
6620 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6621 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
* _resultobj
;
6626 PyObject
* _argo0
= 0;
6627 PyObject
* _argo1
= 0;
6628 char *_kwnames
[] = { "self","item", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
6651 wxPy_END_ALLOW_THREADS
;
6652 } _resultobj
= Py_BuildValue("i",_result
);
6656 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6657 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
* _resultobj
;
6661 PyObject
* _argo0
= 0;
6662 char *_kwnames
[] = { "self", NULL
};
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
6668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6675 wxPy_BEGIN_ALLOW_THREADS
;
6676 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
6678 wxPy_END_ALLOW_THREADS
;
6679 } _resultobj
= Py_BuildValue("i",_result
);
6683 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
6684 wxMenuItemList
& list
= self
->GetMenuItems();
6685 return wxPy_ConvertList(&list
, "wxMenuItem");
6687 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
* _resultobj
;
6691 PyObject
* _argo0
= 0;
6692 char *_kwnames
[] = { "self", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6705 wxPy_BEGIN_ALLOW_THREADS
;
6706 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
6708 wxPy_END_ALLOW_THREADS
;
6710 _resultobj
= _result
;
6715 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6716 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6719 wxEvtHandler
* _arg1
;
6720 PyObject
* _argo0
= 0;
6721 PyObject
* _argo1
= 0;
6722 char *_kwnames
[] = { "self","handler", NULL
};
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
6728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6742 wxPy_BEGIN_ALLOW_THREADS
;
6743 wxMenu_SetEventHandler(_arg0
,_arg1
);
6745 wxPy_END_ALLOW_THREADS
;
6746 } Py_INCREF(Py_None
);
6747 _resultobj
= Py_None
;
6751 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6752 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6754 wxEvtHandler
* _result
;
6756 PyObject
* _argo0
= 0;
6757 char *_kwnames
[] = { "self", NULL
};
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
6764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6771 wxPy_BEGIN_ALLOW_THREADS
;
6772 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
6774 wxPy_END_ALLOW_THREADS
;
6776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
6777 _resultobj
= Py_BuildValue("s",_ptemp
);
6780 _resultobj
= Py_None
;
6785 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
6786 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
* _resultobj
;
6790 PyObject
* _argo0
= 0;
6791 PyObject
* _argo1
= 0;
6792 char *_kwnames
[] = { "self","win", NULL
};
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
6798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
6805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
6812 wxPy_BEGIN_ALLOW_THREADS
;
6813 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
6815 wxPy_END_ALLOW_THREADS
;
6816 } Py_INCREF(Py_None
);
6817 _resultobj
= Py_None
;
6821 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
6822 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
* _resultobj
;
6826 PyObject
* _argo0
= 0;
6827 char *_kwnames
[] = { "self", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
6841 wxPy_BEGIN_ALLOW_THREADS
;
6842 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
6844 wxPy_END_ALLOW_THREADS
;
6846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6847 _resultobj
= Py_BuildValue("s",_ptemp
);
6850 _resultobj
= Py_None
;
6855 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
6856 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6860 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self", NULL
};
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
6867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
6874 wxPy_BEGIN_ALLOW_THREADS
;
6875 _result
= (long )wxMenu_GetStyle(_arg0
);
6877 wxPy_END_ALLOW_THREADS
;
6878 } _resultobj
= Py_BuildValue("l",_result
);
6882 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
6883 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6887 PyObject
* _argo0
= 0;
6888 char *_kwnames
[] = { "self", NULL
};
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
6894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
6901 wxPy_BEGIN_ALLOW_THREADS
;
6902 _result
= (bool )wxMenu_IsAttached(_arg0
);
6904 wxPy_END_ALLOW_THREADS
;
6905 } _resultobj
= Py_BuildValue("i",_result
);
6909 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
6910 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6914 PyObject
* _argo0
= 0;
6915 PyObject
* _argo1
= 0;
6916 char *_kwnames
[] = { "self","parent", NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
6922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
6929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
6936 wxPy_BEGIN_ALLOW_THREADS
;
6937 wxMenu_SetParent(_arg0
,_arg1
);
6939 wxPy_END_ALLOW_THREADS
;
6940 } Py_INCREF(Py_None
);
6941 _resultobj
= Py_None
;
6945 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
6946 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
* _resultobj
;
6950 PyObject
* _argo0
= 0;
6951 char *_kwnames
[] = { "self", NULL
};
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
6958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
6965 wxPy_BEGIN_ALLOW_THREADS
;
6966 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
6968 wxPy_END_ALLOW_THREADS
;
6970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6971 _resultobj
= Py_BuildValue("s",_ptemp
);
6974 _resultobj
= Py_None
;
6979 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
6982 src
= (wxMenuBar
*) ptr
;
6983 dest
= (wxWindow
*) src
;
6984 return (void *) dest
;
6987 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6990 src
= (wxMenuBar
*) ptr
;
6991 dest
= (wxEvtHandler
*) src
;
6992 return (void *) dest
;
6995 #define new_wxMenuBar() (new wxMenuBar())
6996 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
* _resultobj
;
6998 wxMenuBar
* _result
;
6999 char *_kwnames
[] = { NULL
};
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7006 wxPy_BEGIN_ALLOW_THREADS
;
7007 _result
= (wxMenuBar
*)new_wxMenuBar();
7009 wxPy_END_ALLOW_THREADS
;
7011 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7012 _resultobj
= Py_BuildValue("s",_ptemp
);
7015 _resultobj
= Py_None
;
7020 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7021 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
* _resultobj
;
7027 PyObject
* _argo0
= 0;
7028 PyObject
* _argo1
= 0;
7029 PyObject
* _obj2
= 0;
7030 char *_kwnames
[] = { "self","menu","title", NULL
};
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7050 if (!PyString_Check(_obj2
)) {
7051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7054 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7057 wxPy_BEGIN_ALLOW_THREADS
;
7058 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7060 wxPy_END_ALLOW_THREADS
;
7061 } _resultobj
= Py_BuildValue("i",_result
);
7069 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7070 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7077 PyObject
* _argo0
= 0;
7078 PyObject
* _argo2
= 0;
7079 PyObject
* _obj3
= 0;
7080 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7093 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7094 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7100 if (!PyString_Check(_obj3
)) {
7101 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7104 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7110 wxPy_END_ALLOW_THREADS
;
7111 } _resultobj
= Py_BuildValue("i",_result
);
7119 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7120 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7124 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self", NULL
};
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7138 wxPy_BEGIN_ALLOW_THREADS
;
7139 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7141 wxPy_END_ALLOW_THREADS
;
7142 } _resultobj
= Py_BuildValue("i",_result
);
7146 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7147 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
* _resultobj
;
7152 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self","pos", NULL
};
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7167 wxPy_BEGIN_ALLOW_THREADS
;
7168 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7170 wxPy_END_ALLOW_THREADS
;
7172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7173 _resultobj
= Py_BuildValue("s",_ptemp
);
7176 _resultobj
= Py_None
;
7181 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7182 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7189 PyObject
* _argo0
= 0;
7190 PyObject
* _argo2
= 0;
7191 PyObject
* _obj3
= 0;
7192 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7206 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7207 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7213 if (!PyString_Check(_obj3
)) {
7214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7217 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7220 wxPy_BEGIN_ALLOW_THREADS
;
7221 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7223 wxPy_END_ALLOW_THREADS
;
7225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7226 _resultobj
= Py_BuildValue("s",_ptemp
);
7229 _resultobj
= Py_None
;
7238 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7239 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
* _resultobj
;
7244 PyObject
* _argo0
= 0;
7245 char *_kwnames
[] = { "self","pos", NULL
};
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7259 wxPy_BEGIN_ALLOW_THREADS
;
7260 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7262 wxPy_END_ALLOW_THREADS
;
7264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7265 _resultobj
= Py_BuildValue("s",_ptemp
);
7268 _resultobj
= Py_None
;
7273 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7274 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7279 PyObject
* _argo0
= 0;
7281 char *_kwnames
[] = { "self","pos","enable", NULL
};
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7293 _arg2
= (bool ) tempbool2
;
7295 wxPy_BEGIN_ALLOW_THREADS
;
7296 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7298 wxPy_END_ALLOW_THREADS
;
7299 } Py_INCREF(Py_None
);
7300 _resultobj
= Py_None
;
7304 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7305 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
* _resultobj
;
7310 PyObject
* _argo0
= 0;
7311 PyObject
* _obj2
= 0;
7312 char *_kwnames
[] = { "self","pos","label", NULL
};
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7325 if (!PyString_Check(_obj2
)) {
7326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7329 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7332 wxPy_BEGIN_ALLOW_THREADS
;
7333 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7335 wxPy_END_ALLOW_THREADS
;
7336 } Py_INCREF(Py_None
);
7337 _resultobj
= Py_None
;
7345 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7346 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
* _resultobj
;
7351 PyObject
* _argo0
= 0;
7352 char *_kwnames
[] = { "self","pos", NULL
};
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7365 wxPy_BEGIN_ALLOW_THREADS
;
7366 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7368 wxPy_END_ALLOW_THREADS
;
7370 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7378 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7379 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
* _resultobj
;
7385 PyObject
* _argo0
= 0;
7386 PyObject
* _obj1
= 0;
7387 PyObject
* _obj2
= 0;
7388 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7401 if (!PyString_Check(_obj1
)) {
7402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7405 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7408 if (!PyString_Check(_obj2
)) {
7409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7412 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7415 wxPy_BEGIN_ALLOW_THREADS
;
7416 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7418 wxPy_END_ALLOW_THREADS
;
7419 } _resultobj
= Py_BuildValue("i",_result
);
7431 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7432 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
* _resultobj
;
7434 wxMenuItem
* _result
;
7437 PyObject
* _argo0
= 0;
7438 char *_kwnames
[] = { "self","id", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7452 wxPy_BEGIN_ALLOW_THREADS
;
7453 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7455 wxPy_END_ALLOW_THREADS
;
7457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7458 _resultobj
= Py_BuildValue("s",_ptemp
);
7461 _resultobj
= Py_None
;
7466 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7467 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7472 PyObject
* _argo0
= 0;
7474 char *_kwnames
[] = { "self","id","enable", NULL
};
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7486 _arg2
= (bool ) tempbool2
;
7488 wxPy_BEGIN_ALLOW_THREADS
;
7489 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7491 wxPy_END_ALLOW_THREADS
;
7492 } Py_INCREF(Py_None
);
7493 _resultobj
= Py_None
;
7497 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7498 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
* _resultobj
;
7503 PyObject
* _argo0
= 0;
7505 char *_kwnames
[] = { "self","id","check", NULL
};
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7517 _arg2
= (bool ) tempbool2
;
7519 wxPy_BEGIN_ALLOW_THREADS
;
7520 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7522 wxPy_END_ALLOW_THREADS
;
7523 } Py_INCREF(Py_None
);
7524 _resultobj
= Py_None
;
7528 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7529 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
* _resultobj
;
7534 PyObject
* _argo0
= 0;
7535 char *_kwnames
[] = { "self","id", NULL
};
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7548 wxPy_BEGIN_ALLOW_THREADS
;
7549 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
7551 wxPy_END_ALLOW_THREADS
;
7552 } _resultobj
= Py_BuildValue("i",_result
);
7556 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7557 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7562 PyObject
* _argo0
= 0;
7563 char *_kwnames
[] = { "self","id", NULL
};
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7576 wxPy_BEGIN_ALLOW_THREADS
;
7577 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
7579 wxPy_END_ALLOW_THREADS
;
7580 } _resultobj
= Py_BuildValue("i",_result
);
7584 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7585 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
* _resultobj
;
7590 PyObject
* _argo0
= 0;
7591 PyObject
* _obj2
= 0;
7592 char *_kwnames
[] = { "self","id","label", NULL
};
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7605 if (!PyString_Check(_obj2
)) {
7606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7609 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7612 wxPy_BEGIN_ALLOW_THREADS
;
7613 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
7615 wxPy_END_ALLOW_THREADS
;
7616 } Py_INCREF(Py_None
);
7617 _resultobj
= Py_None
;
7625 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7626 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
* _resultobj
;
7631 PyObject
* _argo0
= 0;
7632 char *_kwnames
[] = { "self","id", NULL
};
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7645 wxPy_BEGIN_ALLOW_THREADS
;
7646 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
7648 wxPy_END_ALLOW_THREADS
;
7650 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7658 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7659 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
* _resultobj
;
7664 PyObject
* _argo0
= 0;
7665 PyObject
* _obj2
= 0;
7666 char *_kwnames
[] = { "self","id","helpString", NULL
};
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7679 if (!PyString_Check(_obj2
)) {
7680 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7683 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7686 wxPy_BEGIN_ALLOW_THREADS
;
7687 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
7689 wxPy_END_ALLOW_THREADS
;
7690 } Py_INCREF(Py_None
);
7691 _resultobj
= Py_None
;
7699 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7700 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
* _resultobj
;
7705 PyObject
* _argo0
= 0;
7706 char *_kwnames
[] = { "self","id", NULL
};
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7719 wxPy_BEGIN_ALLOW_THREADS
;
7720 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
7722 wxPy_END_ALLOW_THREADS
;
7724 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7732 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7733 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
* _resultobj
;
7735 wxMenuItem
* _result
;
7736 wxMenu
* _arg0
= (wxMenu
*) NULL
;
7737 int _arg1
= (int ) ID_SEPARATOR
;
7738 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
7739 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
7740 bool _arg4
= (bool ) FALSE
;
7741 wxMenu
* _arg5
= (wxMenu
*) NULL
;
7742 PyObject
* _argo0
= 0;
7743 PyObject
* _obj2
= 0;
7744 PyObject
* _obj3
= 0;
7745 int tempbool4
= (int) FALSE
;
7746 PyObject
* _argo5
= 0;
7747 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
7754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7762 if (!PyString_Check(_obj2
)) {
7763 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7766 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7770 if (!PyString_Check(_obj3
)) {
7771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7774 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7776 _arg4
= (bool ) tempbool4
;
7778 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7779 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
7780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7785 wxPy_BEGIN_ALLOW_THREADS
;
7786 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7788 wxPy_END_ALLOW_THREADS
;
7790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7791 _resultobj
= Py_BuildValue("s",_ptemp
);
7794 _resultobj
= Py_None
;
7807 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
7808 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
* _resultobj
;
7812 PyObject
* _argo0
= 0;
7813 char *_kwnames
[] = { "self", NULL
};
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
7820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
7827 wxPy_BEGIN_ALLOW_THREADS
;
7828 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
7830 wxPy_END_ALLOW_THREADS
;
7832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7833 _resultobj
= Py_BuildValue("s",_ptemp
);
7836 _resultobj
= Py_None
;
7841 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7842 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7846 PyObject
* _argo0
= 0;
7847 char *_kwnames
[] = { "self","id", NULL
};
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
7853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
7860 wxPy_BEGIN_ALLOW_THREADS
;
7861 wxMenuItem_SetId(_arg0
,_arg1
);
7863 wxPy_END_ALLOW_THREADS
;
7864 } Py_INCREF(Py_None
);
7865 _resultobj
= Py_None
;
7869 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7870 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7874 PyObject
* _argo0
= 0;
7875 char *_kwnames
[] = { "self", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7888 wxPy_BEGIN_ALLOW_THREADS
;
7889 _result
= (int )wxMenuItem_GetId(_arg0
);
7891 wxPy_END_ALLOW_THREADS
;
7892 } _resultobj
= Py_BuildValue("i",_result
);
7896 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7897 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
* _resultobj
;
7901 PyObject
* _argo0
= 0;
7902 char *_kwnames
[] = { "self", NULL
};
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
7908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
7915 wxPy_BEGIN_ALLOW_THREADS
;
7916 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
7918 wxPy_END_ALLOW_THREADS
;
7919 } _resultobj
= Py_BuildValue("i",_result
);
7923 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7924 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
* _resultobj
;
7928 PyObject
* _argo0
= 0;
7929 PyObject
* _obj1
= 0;
7930 char *_kwnames
[] = { "self","str", NULL
};
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
7936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
7943 if (!PyString_Check(_obj1
)) {
7944 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7947 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7950 wxPy_BEGIN_ALLOW_THREADS
;
7951 wxMenuItem_SetText(_arg0
,*_arg1
);
7953 wxPy_END_ALLOW_THREADS
;
7954 } Py_INCREF(Py_None
);
7955 _resultobj
= Py_None
;
7963 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
7964 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
* _resultobj
;
7968 PyObject
* _argo0
= 0;
7969 char *_kwnames
[] = { "self", NULL
};
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
7975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
7982 wxPy_BEGIN_ALLOW_THREADS
;
7983 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
7985 wxPy_END_ALLOW_THREADS
;
7987 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7995 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
7996 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
* _resultobj
;
8000 PyObject
* _argo0
= 0;
8001 char *_kwnames
[] = { "self", NULL
};
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8014 wxPy_BEGIN_ALLOW_THREADS
;
8015 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8016 _result
= (wxString
*) &_result_ref
;
8018 wxPy_END_ALLOW_THREADS
;
8020 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8025 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8026 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
* _resultobj
;
8030 PyObject
* _argo0
= 0;
8032 char *_kwnames
[] = { "self","checkable", NULL
};
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8044 _arg1
= (bool ) tempbool1
;
8046 wxPy_BEGIN_ALLOW_THREADS
;
8047 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8049 wxPy_END_ALLOW_THREADS
;
8050 } Py_INCREF(Py_None
);
8051 _resultobj
= Py_None
;
8055 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8056 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
* _resultobj
;
8060 PyObject
* _argo0
= 0;
8061 char *_kwnames
[] = { "self", NULL
};
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8074 wxPy_BEGIN_ALLOW_THREADS
;
8075 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8077 wxPy_END_ALLOW_THREADS
;
8078 } _resultobj
= Py_BuildValue("i",_result
);
8082 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8083 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
* _resultobj
;
8087 PyObject
* _argo0
= 0;
8088 char *_kwnames
[] = { "self", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8101 wxPy_BEGIN_ALLOW_THREADS
;
8102 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8104 wxPy_END_ALLOW_THREADS
;
8105 } _resultobj
= Py_BuildValue("i",_result
);
8109 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8110 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8114 PyObject
* _argo0
= 0;
8115 PyObject
* _argo1
= 0;
8116 char *_kwnames
[] = { "self","menu", NULL
};
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8136 wxPy_BEGIN_ALLOW_THREADS
;
8137 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8139 wxPy_END_ALLOW_THREADS
;
8140 } Py_INCREF(Py_None
);
8141 _resultobj
= Py_None
;
8145 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8146 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
* _resultobj
;
8150 PyObject
* _argo0
= 0;
8151 char *_kwnames
[] = { "self", NULL
};
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8165 wxPy_BEGIN_ALLOW_THREADS
;
8166 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8168 wxPy_END_ALLOW_THREADS
;
8170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8171 _resultobj
= Py_BuildValue("s",_ptemp
);
8174 _resultobj
= Py_None
;
8179 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8180 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
* _resultobj
;
8183 bool _arg1
= (bool ) TRUE
;
8184 PyObject
* _argo0
= 0;
8185 int tempbool1
= (int) TRUE
;
8186 char *_kwnames
[] = { "self","enable", NULL
};
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8198 _arg1
= (bool ) tempbool1
;
8200 wxPy_BEGIN_ALLOW_THREADS
;
8201 wxMenuItem_Enable(_arg0
,_arg1
);
8203 wxPy_END_ALLOW_THREADS
;
8204 } Py_INCREF(Py_None
);
8205 _resultobj
= Py_None
;
8209 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8210 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
* _resultobj
;
8214 PyObject
* _argo0
= 0;
8215 char *_kwnames
[] = { "self", NULL
};
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8228 wxPy_BEGIN_ALLOW_THREADS
;
8229 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8231 wxPy_END_ALLOW_THREADS
;
8232 } _resultobj
= Py_BuildValue("i",_result
);
8236 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8237 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
* _resultobj
;
8240 bool _arg1
= (bool ) TRUE
;
8241 PyObject
* _argo0
= 0;
8242 int tempbool1
= (int) TRUE
;
8243 char *_kwnames
[] = { "self","check", NULL
};
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8255 _arg1
= (bool ) tempbool1
;
8257 wxPy_BEGIN_ALLOW_THREADS
;
8258 wxMenuItem_Check(_arg0
,_arg1
);
8260 wxPy_END_ALLOW_THREADS
;
8261 } Py_INCREF(Py_None
);
8262 _resultobj
= Py_None
;
8266 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8267 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8271 PyObject
* _argo0
= 0;
8272 char *_kwnames
[] = { "self", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8285 wxPy_BEGIN_ALLOW_THREADS
;
8286 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8288 wxPy_END_ALLOW_THREADS
;
8289 } _resultobj
= Py_BuildValue("i",_result
);
8293 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8294 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
* _resultobj
;
8297 PyObject
* _argo0
= 0;
8298 char *_kwnames
[] = { "self", NULL
};
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8311 wxPy_BEGIN_ALLOW_THREADS
;
8312 wxMenuItem_Toggle(_arg0
);
8314 wxPy_END_ALLOW_THREADS
;
8315 } Py_INCREF(Py_None
);
8316 _resultobj
= Py_None
;
8320 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8321 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
* _resultobj
;
8325 PyObject
* _argo0
= 0;
8326 PyObject
* _obj1
= 0;
8327 char *_kwnames
[] = { "self","str", NULL
};
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8340 if (!PyString_Check(_obj1
)) {
8341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8344 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8347 wxPy_BEGIN_ALLOW_THREADS
;
8348 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8350 wxPy_END_ALLOW_THREADS
;
8351 } Py_INCREF(Py_None
);
8352 _resultobj
= Py_None
;
8360 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8361 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
* _resultobj
;
8365 PyObject
* _argo0
= 0;
8366 char *_kwnames
[] = { "self", NULL
};
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8379 wxPy_BEGIN_ALLOW_THREADS
;
8380 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8381 _result
= (wxString
*) &_result_ref
;
8383 wxPy_END_ALLOW_THREADS
;
8385 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
8390 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8391 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
* _resultobj
;
8393 wxAcceleratorEntry
* _result
;
8395 PyObject
* _argo0
= 0;
8396 char *_kwnames
[] = { "self", NULL
};
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8410 wxPy_BEGIN_ALLOW_THREADS
;
8411 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8413 wxPy_END_ALLOW_THREADS
;
8415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8416 _resultobj
= Py_BuildValue("s",_ptemp
);
8419 _resultobj
= Py_None
;
8424 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8425 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
* _resultobj
;
8428 wxAcceleratorEntry
* _arg1
;
8429 PyObject
* _argo0
= 0;
8430 PyObject
* _argo1
= 0;
8431 char *_kwnames
[] = { "self","accel", NULL
};
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8451 wxPy_BEGIN_ALLOW_THREADS
;
8452 wxMenuItem_SetAccel(_arg0
,_arg1
);
8454 wxPy_END_ALLOW_THREADS
;
8455 } Py_INCREF(Py_None
);
8456 _resultobj
= Py_None
;
8460 static PyMethodDef windowscMethods
[] = {
8461 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8540 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8541 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8542 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8543 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8544 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8545 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8546 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
8547 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8548 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
8549 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
8550 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
8551 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
8552 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8553 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
8554 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
8555 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
8556 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8557 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
8558 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
8559 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
8560 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
8561 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8562 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
8565 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8566 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
8567 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8568 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
8569 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
8570 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8571 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
8572 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8573 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
8574 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
8575 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8576 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
8577 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
8578 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8579 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
8580 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8581 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8582 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8583 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
8584 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
8585 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
8586 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
8587 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
8588 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
8589 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8590 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8591 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8592 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8593 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
8594 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
8595 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8596 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8597 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
8598 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8599 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8600 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8601 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8602 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8603 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8604 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
8605 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
8606 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8607 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8608 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8609 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8610 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
8611 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
8612 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
8613 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
8614 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
8615 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
8616 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
8617 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
8618 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
8619 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
8620 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
8621 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8622 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8623 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
8624 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
8625 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
8626 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
8627 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
8628 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8629 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
8630 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8631 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
8632 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8633 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
8634 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
8635 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8636 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
8637 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8638 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8639 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8640 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8641 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8642 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
8643 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
8644 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
8645 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
8646 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8647 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
8648 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8649 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8650 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8651 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8652 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8653 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8654 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
8655 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8656 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8657 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8658 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
8659 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
8660 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8661 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8662 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8663 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8664 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8665 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
8666 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
8667 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
8668 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8669 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
8670 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
8671 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8672 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
8673 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
8674 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
8675 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8676 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
8677 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
8678 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
8679 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
8680 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
8681 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8682 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8683 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
8684 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8685 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8686 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
8687 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
8688 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
8689 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
8690 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8691 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8692 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8693 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
8694 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8695 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8696 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
8697 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
8698 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
8699 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
8700 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
8707 * This table is used by the pointer type-checker
8709 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8710 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8711 { "_signed_long","_long",0},
8712 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8713 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8714 { "_wxPrintQuality","_wxCoord",0},
8715 { "_wxPrintQuality","_int",0},
8716 { "_wxPrintQuality","_signed_int",0},
8717 { "_wxPrintQuality","_unsigned_int",0},
8718 { "_wxPrintQuality","_wxWindowID",0},
8719 { "_wxPrintQuality","_uint",0},
8720 { "_wxPrintQuality","_EBool",0},
8721 { "_wxPrintQuality","_size_t",0},
8722 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8723 { "_class_wxRegionIterator","_wxRegionIterator",0},
8724 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8725 { "_class_wxMenuBar","_wxMenuBar",0},
8726 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8727 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8728 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8729 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8730 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8731 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8732 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8733 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8734 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8735 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8736 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8737 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8738 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8739 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8740 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8741 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8742 { "_class_wxEvtHandler","_wxEvtHandler",0},
8743 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8744 { "_wxCursor","_class_wxCursor",0},
8745 { "_wxMask","_class_wxMask",0},
8746 { "_wxPen","_class_wxPen",0},
8747 { "_byte","_unsigned_char",0},
8748 { "_wxDataObject","_class_wxDataObject",0},
8749 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8750 { "_wxPyDropSource","_class_wxPyDropSource",0},
8751 { "_long","_wxDash",0},
8752 { "_long","_unsigned_long",0},
8753 { "_long","_signed_long",0},
8754 { "_wxImageList","_class_wxImageList",0},
8755 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8756 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8757 { "_class_wxClipboard","_wxClipboard",0},
8758 { "_wxDC","_class_wxDC",0},
8759 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8760 { "_size_t","_wxCoord",0},
8761 { "_size_t","_wxPrintQuality",0},
8762 { "_size_t","_unsigned_int",0},
8763 { "_size_t","_int",0},
8764 { "_size_t","_wxWindowID",0},
8765 { "_size_t","_uint",0},
8766 { "_class_wxRealPoint","_wxRealPoint",0},
8767 { "_wxPrinterDC","_class_wxPrinterDC",0},
8768 { "_class_wxMenuItem","_wxMenuItem",0},
8769 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8770 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8771 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8772 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8773 { "_wxPanel","_class_wxPanel",0},
8774 { "_class_wxMask","_wxMask",0},
8775 { "_wxTextDataObject","_class_wxTextDataObject",0},
8776 { "_wxColour","_class_wxColour",0},
8777 { "_class_wxDialog","_wxDialog",0},
8778 { "_class_wxFileDataObject","_wxFileDataObject",0},
8779 { "_class_wxDataObject","_wxDataObject",0},
8780 { "_wxBrush","_class_wxBrush",0},
8781 { "_wxDataFormat","_class_wxDataFormat",0},
8782 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8783 { "_uint","_wxCoord",0},
8784 { "_uint","_wxPrintQuality",0},
8785 { "_uint","_size_t",0},
8786 { "_uint","_unsigned_int",0},
8787 { "_uint","_int",0},
8788 { "_uint","_wxWindowID",0},
8789 { "_wxPyValidator","_class_wxPyValidator",0},
8790 { "_wxRect","_class_wxRect",0},
8791 { "_wxPoint","_class_wxPoint",0},
8792 { "_wxBitmap","_class_wxBitmap",0},
8793 { "_wxPyTimer","_class_wxPyTimer",0},
8794 { "_wxWindowDC","_class_wxWindowDC",0},
8795 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8796 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8797 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8798 { "_class_wxValidator","_wxValidator",0},
8799 { "_wxDropTarget","_class_wxDropTarget",0},
8800 { "_EBool","_wxCoord",0},
8801 { "_EBool","_wxPrintQuality",0},
8802 { "_EBool","_signed_int",0},
8803 { "_EBool","_int",0},
8804 { "_EBool","_wxWindowID",0},
8805 { "_class_wxRegion","_wxRegion",0},
8806 { "_class_wxDataFormat","_wxDataFormat",0},
8807 { "_wxGDIImage","_class_wxGDIImage",0},
8808 { "_wxFont","_class_wxFont",0},
8809 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8810 { "_unsigned_long","_wxDash",0},
8811 { "_unsigned_long","_long",0},
8812 { "_class_wxRect","_wxRect",0},
8813 { "_class_wxDC","_wxDC",0},
8814 { "_class_wxPyTimer","_wxPyTimer",0},
8815 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8816 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8817 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
8818 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
8819 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
8820 { "_class_wxPanel","_wxPanel",0},
8821 { "_signed_int","_wxCoord",0},
8822 { "_signed_int","_wxPrintQuality",0},
8823 { "_signed_int","_EBool",0},
8824 { "_signed_int","_wxWindowID",0},
8825 { "_signed_int","_int",0},
8826 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8827 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8828 { "_class_wxTextDataObject","_wxTextDataObject",0},
8829 { "_wxMenu","_class_wxMenu",0},
8830 { "_wxScreenDC","_class_wxScreenDC",0},
8831 { "_WXTYPE","_short",0},
8832 { "_WXTYPE","_signed_short",0},
8833 { "_WXTYPE","_unsigned_short",0},
8834 { "_class_wxDropTarget","_wxDropTarget",0},
8835 { "_class_wxBrush","_wxBrush",0},
8836 { "_unsigned_short","_WXTYPE",0},
8837 { "_unsigned_short","_short",0},
8838 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8839 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8840 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8841 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8842 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8843 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8844 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8845 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8846 { "_class_wxWindow","_wxWindow",0},
8847 { "_class_wxFont","_wxFont",0},
8848 { "_wxClipboard","_class_wxClipboard",0},
8849 { "_class_wxPyValidator","_wxPyValidator",0},
8850 { "_wxBusyInfo","_class_wxBusyInfo",0},
8851 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8852 { "_wxClientDC","_class_wxClientDC",0},
8853 { "_class_wxPoint","_wxPoint",0},
8854 { "_wxRealPoint","_class_wxRealPoint",0},
8855 { "_signed_short","_WXTYPE",0},
8856 { "_signed_short","_short",0},
8857 { "_wxMemoryDC","_class_wxMemoryDC",0},
8858 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8859 { "_wxPaintDC","_class_wxPaintDC",0},
8860 { "_class_wxWindowDC","_wxWindowDC",0},
8861 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8862 { "_class_wxCursor","_wxCursor",0},
8863 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8864 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8865 { "_unsigned_char","_byte",0},
8866 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8867 { "_class_wxMenu","_wxMenu",0},
8868 { "_unsigned_int","_wxCoord",0},
8869 { "_unsigned_int","_wxPrintQuality",0},
8870 { "_unsigned_int","_size_t",0},
8871 { "_unsigned_int","_uint",0},
8872 { "_unsigned_int","_wxWindowID",0},
8873 { "_unsigned_int","_int",0},
8874 { "_wxIcon","_class_wxIcon",0},
8875 { "_wxDialog","_class_wxDialog",0},
8876 { "_class_wxPen","_wxPen",0},
8877 { "_short","_WXTYPE",0},
8878 { "_short","_unsigned_short",0},
8879 { "_short","_signed_short",0},
8880 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8881 { "_class_wxPyDropSource","_wxPyDropSource",0},
8882 { "_class_wxImageList","_wxImageList",0},
8883 { "_class_wxGDIImage","_wxGDIImage",0},
8884 { "_wxWindowID","_wxCoord",0},
8885 { "_wxWindowID","_wxPrintQuality",0},
8886 { "_wxWindowID","_size_t",0},
8887 { "_wxWindowID","_EBool",0},
8888 { "_wxWindowID","_uint",0},
8889 { "_wxWindowID","_int",0},
8890 { "_wxWindowID","_signed_int",0},
8891 { "_wxWindowID","_unsigned_int",0},
8892 { "_int","_wxCoord",0},
8893 { "_int","_wxPrintQuality",0},
8894 { "_int","_size_t",0},
8895 { "_int","_EBool",0},
8896 { "_int","_uint",0},
8897 { "_int","_wxWindowID",0},
8898 { "_int","_unsigned_int",0},
8899 { "_int","_signed_int",0},
8900 { "_wxSize","_class_wxSize",0},
8901 { "_wxRegionIterator","_class_wxRegionIterator",0},
8902 { "_class_wxPrinterDC","_wxPrinterDC",0},
8903 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8904 { "_class_wxPaintDC","_wxPaintDC",0},
8905 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8906 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8907 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
8908 { "_wxValidator","_class_wxValidator",0},
8909 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8910 { "_class_wxIcon","_wxIcon",0},
8911 { "_class_wxColour","_wxColour",0},
8912 { "_class_wxScreenDC","_wxScreenDC",0},
8913 { "_wxPalette","_class_wxPalette",0},
8914 { "_wxCoord","_int",0},
8915 { "_wxCoord","_signed_int",0},
8916 { "_wxCoord","_unsigned_int",0},
8917 { "_wxCoord","_wxWindowID",0},
8918 { "_wxCoord","_uint",0},
8919 { "_wxCoord","_EBool",0},
8920 { "_wxCoord","_size_t",0},
8921 { "_wxCoord","_wxPrintQuality",0},
8922 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8923 { "_wxRegion","_class_wxRegion",0},
8924 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8925 { "_class_wxBusyInfo","_wxBusyInfo",0},
8926 { "_class_wxClientDC","_wxClientDC",0},
8927 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8928 { "_class_wxSize","_wxSize",0},
8929 { "_class_wxBitmap","_wxBitmap",0},
8930 { "_class_wxMemoryDC","_wxMemoryDC",0},
8931 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8932 { "_wxMenuBar","_class_wxMenuBar",0},
8933 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8934 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
8935 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
8936 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
8937 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8938 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
8939 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
8940 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
8941 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
8942 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
8943 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
8944 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
8945 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8946 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
8947 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
8948 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
8949 { "_wxEvtHandler","_class_wxEvtHandler",0},
8950 { "_wxMenuItem","_class_wxMenuItem",0},
8951 { "_wxDash","_unsigned_long",0},
8952 { "_wxDash","_long",0},
8953 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8954 { "_class_wxPalette","_wxPalette",0},
8955 { "_wxFileDataObject","_class_wxFileDataObject",0},
8956 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8957 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
8958 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
8959 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8960 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
8961 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
8962 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
8963 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
8964 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
8965 { "_wxWindow","_class_wxWindow",0},
8968 static PyObject
*SWIG_globals
;
8972 SWIGEXPORT(void) initwindowsc() {
8974 SWIG_globals
= SWIG_newvarlink();
8975 m
= Py_InitModule("windowsc", windowscMethods
);
8976 d
= PyModule_GetDict(m
);
8979 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8980 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);