2 * FILE : src/msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 bool wxValidator_IsSilent() {
110 return wxValidator::IsSilent();
113 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
114 wxValidator::SetBellOnError(doIt
);
117 class wxPyValidator
: public wxValidator
{
118 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
122 // wxPyValidator(const wxPyValidator& other);
127 wxObject
* wxPyValidator::Clone() const {
128 wxPyValidator
* ptr
= NULL
;
129 wxPyValidator
* self
= (wxPyValidator
*)this;
131 bool doSave
= wxPyRestoreThread();
132 if (self
->m_myInst
.findCallback("Clone")) {
134 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
136 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
140 // This is very dangerous!!! But is the only way I could find
141 // to squash a memory leak. Currently it is okay, but if the
142 // validator architecture in wxWindows ever changes, problems
146 wxPySaveThread(doSave
);
150 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
151 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
152 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
158 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
159 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
160 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
162 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
165 wxWindow
* wxWindow_FindFocus() {
166 return wxWindow::FindFocus();
169 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
170 wxWindow
* win
= new wxWindow
;
172 win
->SubclassWin(hWnd
);
176 int wxWindow_NewControlId() {
177 return wxWindow::NewControlId();
179 int wxWindow_NextControlId(int id
) {
180 return wxWindow::NextControlId(id
);
182 int wxWindow_PrevControlId(int id
) {
183 return wxWindow::PrevControlId(id
);
188 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
189 PyObject
* _resultobj
;
191 char *_kwnames
[] = { NULL
};
194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
197 wxPy_BEGIN_ALLOW_THREADS
;
198 _result
= (bool )wxValidator_IsSilent();
200 wxPy_END_ALLOW_THREADS
;
201 } _resultobj
= Py_BuildValue("i",_result
);
205 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
206 PyObject
* _resultobj
;
207 int _arg0
= (int ) TRUE
;
208 char *_kwnames
[] = { "doIt", NULL
};
211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
214 wxPy_BEGIN_ALLOW_THREADS
;
215 wxValidator_SetBellOnError(_arg0
);
217 wxPy_END_ALLOW_THREADS
;
218 } Py_INCREF(Py_None
);
219 _resultobj
= Py_None
;
223 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
226 char *_kwnames
[] = { NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
233 wxPy_BEGIN_ALLOW_THREADS
;
234 _result
= (wxWindow
*)wxWindow_FindFocus();
236 wxPy_END_ALLOW_THREADS
;
238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
239 _resultobj
= Py_BuildValue("s",_ptemp
);
242 _resultobj
= Py_None
;
247 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
251 char *_kwnames
[] = { "hWnd", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
258 wxPy_BEGIN_ALLOW_THREADS
;
259 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
261 wxPy_END_ALLOW_THREADS
;
263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
264 _resultobj
= Py_BuildValue("s",_ptemp
);
267 _resultobj
= Py_None
;
272 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
273 PyObject
* _resultobj
;
275 char *_kwnames
[] = { NULL
};
278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
281 wxPy_BEGIN_ALLOW_THREADS
;
282 _result
= (int )wxWindow_NewControlId();
284 wxPy_END_ALLOW_THREADS
;
285 } _resultobj
= Py_BuildValue("i",_result
);
289 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
293 char *_kwnames
[] = { "id", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
299 wxPy_BEGIN_ALLOW_THREADS
;
300 _result
= (int )wxWindow_NextControlId(_arg0
);
302 wxPy_END_ALLOW_THREADS
;
303 } _resultobj
= Py_BuildValue("i",_result
);
307 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
311 char *_kwnames
[] = { "id", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
317 wxPy_BEGIN_ALLOW_THREADS
;
318 _result
= (int )wxWindow_PrevControlId(_arg0
);
320 wxPy_END_ALLOW_THREADS
;
321 } _resultobj
= Py_BuildValue("i",_result
);
325 #define new_wxEvtHandler() (new wxEvtHandler())
326 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
328 wxEvtHandler
* _result
;
329 char *_kwnames
[] = { NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
336 wxPy_BEGIN_ALLOW_THREADS
;
337 _result
= (wxEvtHandler
*)new_wxEvtHandler();
339 wxPy_END_ALLOW_THREADS
;
341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
342 _resultobj
= Py_BuildValue("s",_ptemp
);
345 _resultobj
= Py_None
;
350 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
351 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
352 PyObject
* _resultobj
;
354 wxEvtHandler
* _arg0
;
356 PyObject
* _argo0
= 0;
357 PyObject
* _argo1
= 0;
358 char *_kwnames
[] = { "self","event", NULL
};
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
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_ProcessEvent. Expected _wxEvtHandler_p.");
371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
378 wxPy_BEGIN_ALLOW_THREADS
;
379 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
381 wxPy_END_ALLOW_THREADS
;
382 } _resultobj
= Py_BuildValue("i",_result
);
386 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
387 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
389 wxEvtHandler
* _arg0
;
391 PyObject
* _argo0
= 0;
392 PyObject
* _argo1
= 0;
393 char *_kwnames
[] = { "self","event", NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
413 wxPy_BEGIN_ALLOW_THREADS
;
414 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
416 wxPy_END_ALLOW_THREADS
;
417 } Py_INCREF(Py_None
);
418 _resultobj
= Py_None
;
422 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
423 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
426 wxEvtHandler
* _arg0
;
427 PyObject
* _argo0
= 0;
428 char *_kwnames
[] = { "self", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
441 wxPy_BEGIN_ALLOW_THREADS
;
442 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
444 wxPy_END_ALLOW_THREADS
;
445 } _resultobj
= Py_BuildValue("i",_result
);
449 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
450 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
452 wxEvtHandler
* _arg0
;
454 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self","enabled", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
468 _arg1
= (bool ) tempbool1
;
470 wxPy_BEGIN_ALLOW_THREADS
;
471 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
473 wxPy_END_ALLOW_THREADS
;
474 } Py_INCREF(Py_None
);
475 _resultobj
= Py_None
;
479 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
480 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
482 wxEvtHandler
* _result
;
483 wxEvtHandler
* _arg0
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
499 wxPy_BEGIN_ALLOW_THREADS
;
500 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
502 wxPy_END_ALLOW_THREADS
;
504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
505 _resultobj
= Py_BuildValue("s",_ptemp
);
508 _resultobj
= Py_None
;
513 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
514 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
516 wxEvtHandler
* _result
;
517 wxEvtHandler
* _arg0
;
518 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "self", NULL
};
523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
533 wxPy_BEGIN_ALLOW_THREADS
;
534 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
536 wxPy_END_ALLOW_THREADS
;
538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
539 _resultobj
= Py_BuildValue("s",_ptemp
);
542 _resultobj
= Py_None
;
547 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
548 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
550 wxEvtHandler
* _arg0
;
551 wxEvtHandler
* _arg1
;
552 PyObject
* _argo0
= 0;
553 PyObject
* _argo1
= 0;
554 char *_kwnames
[] = { "self","handler", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
574 wxPy_BEGIN_ALLOW_THREADS
;
575 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
577 wxPy_END_ALLOW_THREADS
;
578 } Py_INCREF(Py_None
);
579 _resultobj
= Py_None
;
583 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
584 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
585 PyObject
* _resultobj
;
586 wxEvtHandler
* _arg0
;
587 wxEvtHandler
* _arg1
;
588 PyObject
* _argo0
= 0;
589 PyObject
* _argo1
= 0;
590 char *_kwnames
[] = { "self","handler", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
610 wxPy_BEGIN_ALLOW_THREADS
;
611 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
613 wxPy_END_ALLOW_THREADS
;
614 } Py_INCREF(Py_None
);
615 _resultobj
= Py_None
;
619 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
620 if (PyCallable_Check(func
)) {
621 self
->Connect(id
, lastId
, eventType
,
622 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
623 new wxPyCallback(func
));
626 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
628 wxEvtHandler
* _arg0
;
633 PyObject
* _argo0
= 0;
634 PyObject
* _obj4
= 0;
635 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
651 wxPy_BEGIN_ALLOW_THREADS
;
652 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
654 wxPy_END_ALLOW_THREADS
;
655 } Py_INCREF(Py_None
);
656 _resultobj
= Py_None
;
660 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
661 return self
->Disconnect(id
, lastId
, eventType
,
662 (wxObjectEventFunction
)
663 &wxPyCallback::EventThunker
);
665 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
668 wxEvtHandler
* _arg0
;
670 int _arg2
= (int ) -1;
671 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
672 PyObject
* _argo0
= 0;
673 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
686 wxPy_BEGIN_ALLOW_THREADS
;
687 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
689 wxPy_END_ALLOW_THREADS
;
690 } _resultobj
= Py_BuildValue("i",_result
);
694 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
697 src
= (wxValidator
*) ptr
;
698 dest
= (wxEvtHandler
*) src
;
699 return (void *) dest
;
702 #define new_wxValidator() (new wxValidator())
703 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
705 wxValidator
* _result
;
706 char *_kwnames
[] = { NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
713 wxPy_BEGIN_ALLOW_THREADS
;
714 _result
= (wxValidator
*)new_wxValidator();
716 wxPy_END_ALLOW_THREADS
;
718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
719 _resultobj
= Py_BuildValue("s",_ptemp
);
722 _resultobj
= Py_None
;
727 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
728 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
730 wxValidator
* _result
;
732 PyObject
* _argo0
= 0;
733 char *_kwnames
[] = { "self", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
750 wxPy_END_ALLOW_THREADS
;
752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
753 _resultobj
= Py_BuildValue("s",_ptemp
);
756 _resultobj
= Py_None
;
761 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
762 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
763 PyObject
* _resultobj
;
766 PyObject
* _argo0
= 0;
767 char *_kwnames
[] = { "self", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
781 wxPy_BEGIN_ALLOW_THREADS
;
782 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
784 wxPy_END_ALLOW_THREADS
;
786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
787 _resultobj
= Py_BuildValue("s",_ptemp
);
790 _resultobj
= Py_None
;
795 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
796 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
800 PyObject
* _argo0
= 0;
801 PyObject
* _argo1
= 0;
802 char *_kwnames
[] = { "self","window", NULL
};
805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
815 if (_argo1
== Py_None
) { _arg1
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
822 wxPy_BEGIN_ALLOW_THREADS
;
823 wxValidator_SetWindow(_arg0
,_arg1
);
825 wxPy_END_ALLOW_THREADS
;
826 } Py_INCREF(Py_None
);
827 _resultobj
= Py_None
;
831 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
834 src
= (wxPyValidator
*) ptr
;
835 dest
= (wxValidator
*) src
;
836 return (void *) dest
;
839 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
842 src
= (wxPyValidator
*) ptr
;
843 dest
= (wxEvtHandler
*) src
;
844 return (void *) dest
;
847 #define new_wxPyValidator() (new wxPyValidator())
848 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
850 wxPyValidator
* _result
;
851 char *_kwnames
[] = { NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
858 wxPy_BEGIN_ALLOW_THREADS
;
859 _result
= (wxPyValidator
*)new_wxPyValidator();
861 wxPy_END_ALLOW_THREADS
;
863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
864 _resultobj
= Py_BuildValue("s",_ptemp
);
867 _resultobj
= Py_None
;
872 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
873 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
875 wxPyValidator
* _arg0
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "self", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
890 wxPy_BEGIN_ALLOW_THREADS
;
891 wxPyValidator_Destroy(_arg0
);
893 wxPy_END_ALLOW_THREADS
;
894 } Py_INCREF(Py_None
);
895 _resultobj
= Py_None
;
899 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
900 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
902 wxPyValidator
* _arg0
;
905 int _arg3
= (int ) TRUE
;
906 PyObject
* _argo0
= 0;
907 PyObject
* _obj1
= 0;
908 PyObject
* _obj2
= 0;
909 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
928 wxPy_BEGIN_ALLOW_THREADS
;
929 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
931 wxPy_END_ALLOW_THREADS
;
932 } Py_INCREF(Py_None
);
933 _resultobj
= Py_None
;
937 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
940 src
= (wxWindow
*) ptr
;
941 dest
= (wxEvtHandler
*) src
;
942 return (void *) dest
;
945 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
946 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
951 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
952 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
953 long _arg4
= (long ) 0;
954 char * _arg5
= (char *) "panel";
955 PyObject
* _argo0
= 0;
957 PyObject
* _obj2
= 0;
959 PyObject
* _obj3
= 0;
960 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
976 if (! wxPoint_helper(_obj2
, &_arg2
))
982 if (! wxSize_helper(_obj3
, &_arg3
))
986 wxPy_BEGIN_ALLOW_THREADS
;
987 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
989 wxPy_END_ALLOW_THREADS
;
991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
992 _resultobj
= Py_BuildValue("s",_ptemp
);
995 _resultobj
= Py_None
;
1000 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
1001 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 wxWindow_CaptureMouse(_arg0
);
1021 wxPy_END_ALLOW_THREADS
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1027 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1028 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1031 int _arg1
= (int ) wxBOTH
;
1032 PyObject
* _argo0
= 0;
1033 char *_kwnames
[] = { "self","direction", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1046 wxPy_BEGIN_ALLOW_THREADS
;
1047 wxWindow_Center(_arg0
,_arg1
);
1049 wxPy_END_ALLOW_THREADS
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1056 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 int _arg1
= (int ) wxBOTH
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self","direction", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxWindow_Centre(_arg0
,_arg1
);
1077 wxPy_END_ALLOW_THREADS
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1084 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1087 int _arg1
= (int ) wxBOTH
;
1088 PyObject
* _argo0
= 0;
1089 char *_kwnames
[] = { "self","direction", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1102 wxPy_BEGIN_ALLOW_THREADS
;
1103 wxWindow_CentreOnParent(_arg0
,_arg1
);
1105 wxPy_END_ALLOW_THREADS
;
1106 } Py_INCREF(Py_None
);
1107 _resultobj
= Py_None
;
1111 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1112 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1115 int _arg1
= (int ) wxBOTH
;
1116 PyObject
* _argo0
= 0;
1117 char *_kwnames
[] = { "self","direction", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1130 wxPy_BEGIN_ALLOW_THREADS
;
1131 wxWindow_CenterOnParent(_arg0
,_arg1
);
1133 wxPy_END_ALLOW_THREADS
;
1134 } Py_INCREF(Py_None
);
1135 _resultobj
= Py_None
;
1139 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1140 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 int _arg1
= (int ) wxBOTH
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self","direction", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1161 wxPy_END_ALLOW_THREADS
;
1162 } Py_INCREF(Py_None
);
1163 _resultobj
= Py_None
;
1167 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1168 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
* _resultobj
;
1171 int _arg1
= (int ) wxBOTH
;
1172 PyObject
* _argo0
= 0;
1173 char *_kwnames
[] = { "self","direction", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1186 wxPy_BEGIN_ALLOW_THREADS
;
1187 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1189 wxPy_END_ALLOW_THREADS
;
1190 } Py_INCREF(Py_None
);
1191 _resultobj
= Py_None
;
1195 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1196 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1201 PyObject
* _argo0
= 0;
1203 PyObject
* _obj1
= 0;
1205 PyObject
* _obj2
= 0;
1206 char *_kwnames
[] = { "self","x","y", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1219 temp
= (int) PyInt_AsLong(_obj1
);
1223 temp0
= (int) PyInt_AsLong(_obj2
);
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1230 wxPy_END_ALLOW_THREADS
;
1231 } Py_INCREF(Py_None
);
1232 _resultobj
= Py_None
;
1235 o
= PyInt_FromLong((long) (*_arg1
));
1236 _resultobj
= t_output_helper(_resultobj
, o
);
1240 o
= PyInt_FromLong((long) (*_arg2
));
1241 _resultobj
= t_output_helper(_resultobj
, o
);
1246 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1247 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1252 PyObject
* _argo0
= 0;
1254 PyObject
* _obj1
= 0;
1255 char *_kwnames
[] = { "self","pt", NULL
};
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1270 if (! wxPoint_helper(_obj1
, &_arg1
))
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1277 wxPy_END_ALLOW_THREADS
;
1278 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1279 _resultobj
= Py_BuildValue("s",_ptemp
);
1283 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1284 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1288 int _arg1
= (int ) FALSE
;
1289 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self","force", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1303 wxPy_BEGIN_ALLOW_THREADS
;
1304 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1306 wxPy_END_ALLOW_THREADS
;
1307 } _resultobj
= Py_BuildValue("i",_result
);
1311 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1312 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "self", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (bool )wxWindow_Destroy(_arg0
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } _resultobj
= Py_BuildValue("i",_result
);
1338 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1339 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "self", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1356 wxPy_BEGIN_ALLOW_THREADS
;
1357 wxWindow_DestroyChildren(_arg0
);
1359 wxPy_END_ALLOW_THREADS
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1366 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1370 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self","accept", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1384 _arg1
= (bool ) tempbool1
;
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1389 wxPy_END_ALLOW_THREADS
;
1390 } Py_INCREF(Py_None
);
1391 _resultobj
= Py_None
;
1395 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1396 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1400 PyObject
* _argo0
= 0;
1402 char *_kwnames
[] = { "self","enable", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1414 _arg1
= (bool ) tempbool1
;
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 wxWindow_Enable(_arg0
,_arg1
);
1419 wxPy_END_ALLOW_THREADS
;
1420 } Py_INCREF(Py_None
);
1421 _resultobj
= Py_None
;
1425 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1426 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self","id", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1446 wxPy_BEGIN_ALLOW_THREADS
;
1447 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1449 wxPy_END_ALLOW_THREADS
;
1451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1452 _resultobj
= Py_BuildValue("s",_ptemp
);
1455 _resultobj
= Py_None
;
1460 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1461 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1466 PyObject
* _argo0
= 0;
1467 PyObject
* _obj1
= 0;
1468 char *_kwnames
[] = { "self","name", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1482 #if PYTHON_API_VERSION >= 1009
1483 char* tmpPtr
; int tmpSize
;
1484 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1485 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1488 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1490 _arg1
= new wxString(tmpPtr
, tmpSize
);
1492 if (!PyString_Check(_obj1
)) {
1493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1496 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1503 wxPy_END_ALLOW_THREADS
;
1505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1506 _resultobj
= Py_BuildValue("s",_ptemp
);
1509 _resultobj
= Py_None
;
1518 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1519 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 wxWindow_Fit(_arg0
);
1539 wxPy_END_ALLOW_THREADS
;
1540 } Py_INCREF(Py_None
);
1541 _resultobj
= Py_None
;
1545 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1546 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1568 wxPy_END_ALLOW_THREADS
;
1569 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1570 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1575 wxWindowList
& list
= self
->GetChildren();
1576 return wxPy_ConvertList(&list
, "wxWindow");
1578 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1582 PyObject
* _argo0
= 0;
1583 char *_kwnames
[] = { "self", NULL
};
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1596 wxPy_BEGIN_ALLOW_THREADS
;
1597 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1599 wxPy_END_ALLOW_THREADS
;
1601 _resultobj
= _result
;
1606 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1607 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1611 PyObject
* _argo0
= 0;
1612 char *_kwnames
[] = { "self", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1625 wxPy_BEGIN_ALLOW_THREADS
;
1626 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1628 wxPy_END_ALLOW_THREADS
;
1629 } _resultobj
= Py_BuildValue("i",_result
);
1633 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1634 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1638 PyObject
* _argo0
= 0;
1639 char *_kwnames
[] = { "self", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1655 wxPy_END_ALLOW_THREADS
;
1656 } _resultobj
= Py_BuildValue("i",_result
);
1660 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1661 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1668 PyObject
* _argo0
= 0;
1669 char *_kwnames
[] = { "self", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_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_GetClientSizeTuple. Expected _wxWindow_p.");
1688 wxPy_BEGIN_ALLOW_THREADS
;
1689 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1691 wxPy_END_ALLOW_THREADS
;
1692 } Py_INCREF(Py_None
);
1693 _resultobj
= Py_None
;
1696 o
= PyInt_FromLong((long) (*_arg1
));
1697 _resultobj
= t_output_helper(_resultobj
, o
);
1701 o
= PyInt_FromLong((long) (*_arg2
));
1702 _resultobj
= t_output_helper(_resultobj
, o
);
1707 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1708 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1730 wxPy_END_ALLOW_THREADS
;
1731 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1732 _resultobj
= Py_BuildValue("s",_ptemp
);
1736 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1737 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxLayoutConstraints
* _result
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1756 wxPy_BEGIN_ALLOW_THREADS
;
1757 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1759 wxPy_END_ALLOW_THREADS
;
1761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1762 _resultobj
= Py_BuildValue("s",_ptemp
);
1765 _resultobj
= Py_None
;
1770 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1771 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1773 wxEvtHandler
* _result
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1790 wxPy_BEGIN_ALLOW_THREADS
;
1791 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1793 wxPy_END_ALLOW_THREADS
;
1795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1796 _resultobj
= Py_BuildValue("s",_ptemp
);
1799 _resultobj
= Py_None
;
1804 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1805 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1809 PyObject
* _argo0
= 0;
1810 char *_kwnames
[] = { "self", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1826 _result
= (wxFont
*) &_result_ref
;
1828 wxPy_END_ALLOW_THREADS
;
1830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1831 _resultobj
= Py_BuildValue("s",_ptemp
);
1834 _resultobj
= Py_None
;
1839 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1840 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1844 PyObject
* _argo0
= 0;
1845 char *_kwnames
[] = { "self", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1859 wxPy_BEGIN_ALLOW_THREADS
;
1860 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1862 wxPy_END_ALLOW_THREADS
;
1863 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1864 _resultobj
= Py_BuildValue("s",_ptemp
);
1868 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1869 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1891 wxPy_END_ALLOW_THREADS
;
1893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1894 _resultobj
= Py_BuildValue("s",_ptemp
);
1897 _resultobj
= Py_None
;
1902 static long wxWindow_GetHandle(wxWindow
*self
) {
1903 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1905 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1909 PyObject
* _argo0
= 0;
1910 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 _result
= (long )wxWindow_GetHandle(_arg0
);
1926 wxPy_END_ALLOW_THREADS
;
1927 } _resultobj
= Py_BuildValue("l",_result
);
1931 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1932 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1936 PyObject
* _argo0
= 0;
1937 char *_kwnames
[] = { "self", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 _result
= (int )wxWindow_GetId(_arg0
);
1953 wxPy_END_ALLOW_THREADS
;
1954 } _resultobj
= Py_BuildValue("i",_result
);
1958 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1959 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1963 PyObject
* _argo0
= 0;
1964 char *_kwnames
[] = { "self", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1977 wxPy_BEGIN_ALLOW_THREADS
;
1978 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1980 wxPy_END_ALLOW_THREADS
;
1982 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1990 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1991 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1995 PyObject
* _argo0
= 0;
1996 PyObject
* _obj1
= 0;
1997 char *_kwnames
[] = { "self","label", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2010 #if PYTHON_API_VERSION >= 1009
2011 char* tmpPtr
; int tmpSize
;
2012 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2013 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2016 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2018 _arg1
= new wxString(tmpPtr
, tmpSize
);
2020 if (!PyString_Check(_obj1
)) {
2021 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2024 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 wxWindow_SetLabel(_arg0
,*_arg1
);
2031 wxPy_END_ALLOW_THREADS
;
2032 } Py_INCREF(Py_None
);
2033 _resultobj
= Py_None
;
2041 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2042 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2046 PyObject
* _argo0
= 0;
2047 char *_kwnames
[] = { "self", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 _result
= new wxString (wxWindow_GetName(_arg0
));
2063 wxPy_END_ALLOW_THREADS
;
2065 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2073 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2074 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2078 PyObject
* _argo0
= 0;
2079 char *_kwnames
[] = { "self", NULL
};
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2093 wxPy_BEGIN_ALLOW_THREADS
;
2094 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2096 wxPy_END_ALLOW_THREADS
;
2098 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2099 _resultobj
= Py_BuildValue("s",_ptemp
);
2102 _resultobj
= Py_None
;
2107 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2108 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2115 PyObject
* _argo0
= 0;
2116 char *_kwnames
[] = { "self", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2135 wxPy_BEGIN_ALLOW_THREADS
;
2136 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2138 wxPy_END_ALLOW_THREADS
;
2139 } Py_INCREF(Py_None
);
2140 _resultobj
= Py_None
;
2143 o
= PyInt_FromLong((long) (*_arg1
));
2144 _resultobj
= t_output_helper(_resultobj
, o
);
2148 o
= PyInt_FromLong((long) (*_arg2
));
2149 _resultobj
= t_output_helper(_resultobj
, o
);
2154 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2155 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2159 PyObject
* _argo0
= 0;
2160 char *_kwnames
[] = { "self", NULL
};
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2174 wxPy_BEGIN_ALLOW_THREADS
;
2175 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2177 wxPy_END_ALLOW_THREADS
;
2178 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2179 _resultobj
= Py_BuildValue("s",_ptemp
);
2183 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2184 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2188 PyObject
* _argo0
= 0;
2189 char *_kwnames
[] = { "self", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2203 wxPy_BEGIN_ALLOW_THREADS
;
2204 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2206 wxPy_END_ALLOW_THREADS
;
2207 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2208 _resultobj
= Py_BuildValue("s",_ptemp
);
2212 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2213 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2218 PyObject
* _argo0
= 0;
2219 char *_kwnames
[] = { "self","orientation", NULL
};
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2235 wxPy_END_ALLOW_THREADS
;
2236 } _resultobj
= Py_BuildValue("i",_result
);
2240 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2241 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2246 PyObject
* _argo0
= 0;
2247 char *_kwnames
[] = { "self","orientation", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2260 wxPy_BEGIN_ALLOW_THREADS
;
2261 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2263 wxPy_END_ALLOW_THREADS
;
2264 } _resultobj
= Py_BuildValue("i",_result
);
2268 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2269 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2274 PyObject
* _argo0
= 0;
2275 char *_kwnames
[] = { "self","orientation", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2291 wxPy_END_ALLOW_THREADS
;
2292 } _resultobj
= Py_BuildValue("i",_result
);
2296 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2297 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
* _resultobj
;
2304 PyObject
* _argo0
= 0;
2305 char *_kwnames
[] = { "self", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2324 wxPy_BEGIN_ALLOW_THREADS
;
2325 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2327 wxPy_END_ALLOW_THREADS
;
2328 } Py_INCREF(Py_None
);
2329 _resultobj
= Py_None
;
2332 o
= PyInt_FromLong((long) (*_arg1
));
2333 _resultobj
= t_output_helper(_resultobj
, o
);
2337 o
= PyInt_FromLong((long) (*_arg2
));
2338 _resultobj
= t_output_helper(_resultobj
, o
);
2343 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2344 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2348 PyObject
* _argo0
= 0;
2349 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2366 wxPy_END_ALLOW_THREADS
;
2367 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2368 _resultobj
= Py_BuildValue("s",_ptemp
);
2372 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2373 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
* _resultobj
;
2381 PyObject
* _argo0
= 0;
2382 PyObject
* _obj1
= 0;
2383 char *_kwnames
[] = { "self","string", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2402 #if PYTHON_API_VERSION >= 1009
2403 char* tmpPtr
; int tmpSize
;
2404 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2405 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2408 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2410 _arg1
= new wxString(tmpPtr
, tmpSize
);
2412 if (!PyString_Check(_obj1
)) {
2413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2416 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2423 wxPy_END_ALLOW_THREADS
;
2424 } Py_INCREF(Py_None
);
2425 _resultobj
= Py_None
;
2428 o
= PyInt_FromLong((long) (*_arg2
));
2429 _resultobj
= t_output_helper(_resultobj
, o
);
2433 o
= PyInt_FromLong((long) (*_arg3
));
2434 _resultobj
= t_output_helper(_resultobj
, o
);
2443 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2444 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2456 wxFont
* _arg6
= (wxFont
*) NULL
;
2457 PyObject
* _argo0
= 0;
2458 PyObject
* _obj1
= 0;
2459 PyObject
* _argo6
= 0;
2460 char *_kwnames
[] = { "self","string","font", NULL
};
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2485 #if PYTHON_API_VERSION >= 1009
2486 char* tmpPtr
; int tmpSize
;
2487 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2488 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2491 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2493 _arg1
= new wxString(tmpPtr
, tmpSize
);
2495 if (!PyString_Check(_obj1
)) {
2496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2499 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2503 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2513 wxPy_END_ALLOW_THREADS
;
2514 } Py_INCREF(Py_None
);
2515 _resultobj
= Py_None
;
2518 o
= PyInt_FromLong((long) (*_arg2
));
2519 _resultobj
= t_output_helper(_resultobj
, o
);
2523 o
= PyInt_FromLong((long) (*_arg3
));
2524 _resultobj
= t_output_helper(_resultobj
, o
);
2528 o
= PyInt_FromLong((long) (*_arg4
));
2529 _resultobj
= t_output_helper(_resultobj
, o
);
2533 o
= PyInt_FromLong((long) (*_arg5
));
2534 _resultobj
= t_output_helper(_resultobj
, o
);
2543 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2544 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
* _resultobj
;
2548 PyObject
* _argo0
= 0;
2549 char *_kwnames
[] = { "self", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2565 wxPy_END_ALLOW_THREADS
;
2567 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2575 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2576 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2580 PyObject
* _argo0
= 0;
2581 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2598 wxPy_END_ALLOW_THREADS
;
2599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2600 _resultobj
= Py_BuildValue("s",_ptemp
);
2604 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2605 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2623 wxPy_BEGIN_ALLOW_THREADS
;
2624 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2626 wxPy_END_ALLOW_THREADS
;
2627 } _resultobj
= Py_BuildValue("l",_result
);
2631 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2632 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2636 PyObject
* _argo0
= 0;
2637 char *_kwnames
[] = { "self","style", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2660 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self","style", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2678 wxPy_BEGIN_ALLOW_THREADS
;
2679 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2681 wxPy_END_ALLOW_THREADS
;
2682 } Py_INCREF(Py_None
);
2683 _resultobj
= Py_None
;
2687 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2688 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2692 PyObject
* _argo0
= 0;
2693 char *_kwnames
[] = { "self", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 _result
= (bool )wxWindow_Hide(_arg0
);
2709 wxPy_END_ALLOW_THREADS
;
2710 } _resultobj
= Py_BuildValue("i",_result
);
2714 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2715 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2718 PyObject
* _argo0
= 0;
2719 char *_kwnames
[] = { "self", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2732 wxPy_BEGIN_ALLOW_THREADS
;
2733 wxWindow_InitDialog(_arg0
);
2735 wxPy_END_ALLOW_THREADS
;
2736 } Py_INCREF(Py_None
);
2737 _resultobj
= Py_None
;
2741 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2742 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2763 wxPy_END_ALLOW_THREADS
;
2764 } _resultobj
= Py_BuildValue("i",_result
);
2768 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2769 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2775 int _arg3
= (int ) 0;
2776 int _arg4
= (int ) 0;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2791 wxPy_BEGIN_ALLOW_THREADS
;
2792 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2794 wxPy_END_ALLOW_THREADS
;
2795 } _resultobj
= Py_BuildValue("i",_result
);
2799 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2800 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2805 PyObject
* _argo0
= 0;
2807 PyObject
* _obj1
= 0;
2808 char *_kwnames
[] = { "self","pt", NULL
};
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2822 if (! wxPoint_helper(_obj1
, &_arg1
))
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2829 wxPy_END_ALLOW_THREADS
;
2830 } _resultobj
= Py_BuildValue("i",_result
);
2834 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2835 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2840 PyObject
* _argo0
= 0;
2842 PyObject
* _obj1
= 0;
2843 char *_kwnames
[] = { "self","rect", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2857 if (! wxRect_helper(_obj1
, &_arg1
))
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } _resultobj
= Py_BuildValue("i",_result
);
2869 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2870 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 _result
= (bool )wxWindow_IsRetained(_arg0
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } _resultobj
= Py_BuildValue("i",_result
);
2896 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2897 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
* _resultobj
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 _result
= (bool )wxWindow_IsShown(_arg0
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } _resultobj
= Py_BuildValue("i",_result
);
2923 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2924 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2928 PyObject
* _argo0
= 0;
2929 char *_kwnames
[] = { "self", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2945 wxPy_END_ALLOW_THREADS
;
2946 } _resultobj
= Py_BuildValue("i",_result
);
2950 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2951 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2954 PyObject
* _argo0
= 0;
2955 char *_kwnames
[] = { "self", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2968 wxPy_BEGIN_ALLOW_THREADS
;
2969 wxWindow_Layout(_arg0
);
2971 wxPy_END_ALLOW_THREADS
;
2972 } Py_INCREF(Py_None
);
2973 _resultobj
= Py_None
;
2977 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2978 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2984 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2985 PyObject
* _argo0
= 0;
2986 PyObject
* _argo1
= 0;
2987 PyObject
* _obj2
= 0;
2988 PyObject
* _argo3
= 0;
2989 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3002 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3009 #if PYTHON_API_VERSION >= 1009
3010 char* tmpPtr
; int tmpSize
;
3011 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3012 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3015 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3017 _arg2
= new wxString(tmpPtr
, tmpSize
);
3019 if (!PyString_Check(_obj2
)) {
3020 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3023 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3027 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3037 wxPy_END_ALLOW_THREADS
;
3038 } _resultobj
= Py_BuildValue("i",_result
);
3046 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3047 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3050 PyObject
* _argo0
= 0;
3051 char *_kwnames
[] = { "self", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3064 wxPy_BEGIN_ALLOW_THREADS
;
3065 wxWindow_Lower(_arg0
);
3067 wxPy_END_ALLOW_THREADS
;
3068 } Py_INCREF(Py_None
);
3069 _resultobj
= Py_None
;
3073 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3074 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3078 PyObject
* _argo0
= 0;
3080 char *_kwnames
[] = { "self","flag", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3092 _arg1
= (bool ) tempbool1
;
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 wxWindow_MakeModal(_arg0
,_arg1
);
3097 wxPy_END_ALLOW_THREADS
;
3098 } Py_INCREF(Py_None
);
3099 _resultobj
= Py_None
;
3103 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3104 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3109 PyObject
* _argo0
= 0;
3110 char *_kwnames
[] = { "self","x","y", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3123 wxPy_BEGIN_ALLOW_THREADS
;
3124 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3126 wxPy_END_ALLOW_THREADS
;
3127 } Py_INCREF(Py_None
);
3128 _resultobj
= Py_None
;
3132 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3133 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3137 PyObject
* _argo0
= 0;
3139 PyObject
* _obj1
= 0;
3140 char *_kwnames
[] = { "self","point", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3154 if (! wxPoint_helper(_obj1
, &_arg1
))
3158 wxPy_BEGIN_ALLOW_THREADS
;
3159 wxWindow_Move(_arg0
,*_arg1
);
3161 wxPy_END_ALLOW_THREADS
;
3162 } Py_INCREF(Py_None
);
3163 _resultobj
= Py_None
;
3167 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3168 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxEvtHandler
* _result
;
3172 bool _arg1
= (bool ) FALSE
;
3173 PyObject
* _argo0
= 0;
3174 int tempbool1
= (int) FALSE
;
3175 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3188 _arg1
= (bool ) tempbool1
;
3190 wxPy_BEGIN_ALLOW_THREADS
;
3191 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3193 wxPy_END_ALLOW_THREADS
;
3195 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3196 _resultobj
= Py_BuildValue("s",_ptemp
);
3199 _resultobj
= Py_None
;
3204 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3205 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3208 wxEvtHandler
* _arg1
;
3209 PyObject
* _argo0
= 0;
3210 PyObject
* _argo1
= 0;
3211 char *_kwnames
[] = { "self","handler", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 wxWindow_PushEventHandler(_arg0
,_arg1
);
3234 wxPy_END_ALLOW_THREADS
;
3235 } Py_INCREF(Py_None
);
3236 _resultobj
= Py_None
;
3240 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3241 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
* _resultobj
;
3248 PyObject
* _argo0
= 0;
3249 PyObject
* _argo1
= 0;
3250 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3273 wxPy_END_ALLOW_THREADS
;
3274 } _resultobj
= Py_BuildValue("i",_result
);
3278 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3279 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3285 PyObject
* _argo0
= 0;
3286 PyObject
* _argo1
= 0;
3288 PyObject
* _obj2
= 0;
3289 char *_kwnames
[] = { "self","menu","pos", NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3310 if (! wxPoint_helper(_obj2
, &_arg2
))
3314 wxPy_BEGIN_ALLOW_THREADS
;
3315 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3317 wxPy_END_ALLOW_THREADS
;
3318 } _resultobj
= Py_BuildValue("i",_result
);
3322 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3323 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3326 PyObject
* _argo0
= 0;
3327 char *_kwnames
[] = { "self", NULL
};
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3340 wxPy_BEGIN_ALLOW_THREADS
;
3341 wxWindow_Raise(_arg0
);
3343 wxPy_END_ALLOW_THREADS
;
3344 } Py_INCREF(Py_None
);
3345 _resultobj
= Py_None
;
3349 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3350 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3353 bool _arg1
= (bool ) TRUE
;
3354 wxRect
* _arg2
= (wxRect
*) NULL
;
3355 PyObject
* _argo0
= 0;
3356 int tempbool1
= (int) TRUE
;
3358 PyObject
* _obj2
= 0;
3359 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3371 _arg1
= (bool ) tempbool1
;
3375 if (! wxRect_helper(_obj2
, &_arg2
))
3379 wxPy_BEGIN_ALLOW_THREADS
;
3380 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3382 wxPy_END_ALLOW_THREADS
;
3383 } Py_INCREF(Py_None
);
3384 _resultobj
= Py_None
;
3388 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3389 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3392 PyObject
* _argo0
= 0;
3393 char *_kwnames
[] = { "self", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 wxWindow_ReleaseMouse(_arg0
);
3409 wxPy_END_ALLOW_THREADS
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3416 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3420 PyObject
* _argo0
= 0;
3421 PyObject
* _argo1
= 0;
3422 char *_kwnames
[] = { "self","child", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3443 wxWindow_RemoveChild(_arg0
,_arg1
);
3445 wxPy_END_ALLOW_THREADS
;
3446 } Py_INCREF(Py_None
);
3447 _resultobj
= Py_None
;
3451 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3452 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3457 PyObject
* _argo0
= 0;
3458 PyObject
* _argo1
= 0;
3459 char *_kwnames
[] = { "self","newParent", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3479 wxPy_BEGIN_ALLOW_THREADS
;
3480 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3482 wxPy_END_ALLOW_THREADS
;
3483 } _resultobj
= Py_BuildValue("i",_result
);
3487 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3488 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3493 PyObject
* _argo0
= 0;
3495 PyObject
* _obj1
= 0;
3497 PyObject
* _obj2
= 0;
3498 char *_kwnames
[] = { "self","x","y", NULL
};
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3511 temp
= (int) PyInt_AsLong(_obj1
);
3515 temp0
= (int) PyInt_AsLong(_obj2
);
3519 wxPy_BEGIN_ALLOW_THREADS
;
3520 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3522 wxPy_END_ALLOW_THREADS
;
3523 } Py_INCREF(Py_None
);
3524 _resultobj
= Py_None
;
3527 o
= PyInt_FromLong((long) (*_arg1
));
3528 _resultobj
= t_output_helper(_resultobj
, o
);
3532 o
= PyInt_FromLong((long) (*_arg2
));
3533 _resultobj
= t_output_helper(_resultobj
, o
);
3538 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3539 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3544 PyObject
* _argo0
= 0;
3546 PyObject
* _obj1
= 0;
3547 char *_kwnames
[] = { "self","pt", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3562 if (! wxPoint_helper(_obj1
, &_arg1
))
3566 wxPy_BEGIN_ALLOW_THREADS
;
3567 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3569 wxPy_END_ALLOW_THREADS
;
3570 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3571 _resultobj
= Py_BuildValue("s",_ptemp
);
3575 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3576 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
* _resultobj
;
3581 wxRect
* _arg3
= (wxRect
*) NULL
;
3582 PyObject
* _argo0
= 0;
3584 PyObject
* _obj3
= 0;
3585 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3600 if (! wxRect_helper(_obj3
, &_arg3
))
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3607 wxPy_END_ALLOW_THREADS
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3613 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3614 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3617 wxAcceleratorTable
* _arg1
;
3618 PyObject
* _argo0
= 0;
3619 PyObject
* _argo1
= 0;
3620 char *_kwnames
[] = { "self","accel", NULL
};
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3633 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3643 wxPy_END_ALLOW_THREADS
;
3644 } Py_INCREF(Py_None
);
3645 _resultobj
= Py_None
;
3649 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3650 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3654 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self","autoLayout", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3668 _arg1
= (bool ) tempbool1
;
3670 wxPy_BEGIN_ALLOW_THREADS
;
3671 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3673 wxPy_END_ALLOW_THREADS
;
3674 } Py_INCREF(Py_None
);
3675 _resultobj
= Py_None
;
3679 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3680 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3684 PyObject
* _argo0
= 0;
3685 char *_kwnames
[] = { "self", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3698 wxPy_BEGIN_ALLOW_THREADS
;
3699 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3701 wxPy_END_ALLOW_THREADS
;
3702 } _resultobj
= Py_BuildValue("i",_result
);
3706 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3707 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3711 PyObject
* _argo0
= 0;
3713 PyObject
* _obj1
= 0;
3714 char *_kwnames
[] = { "self","colour", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_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_SetBackgroundColour. Expected _wxWindow_p.");
3728 if (! wxColour_helper(_obj1
, &_arg1
))
3732 wxPy_BEGIN_ALLOW_THREADS
;
3733 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3735 wxPy_END_ALLOW_THREADS
;
3736 } Py_INCREF(Py_None
);
3737 _resultobj
= Py_None
;
3741 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3742 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3745 wxLayoutConstraints
* _arg1
;
3746 PyObject
* _argo0
= 0;
3747 PyObject
* _argo1
= 0;
3748 char *_kwnames
[] = { "self","constraints", NULL
};
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 wxWindow_SetConstraints(_arg0
,_arg1
);
3771 wxPy_END_ALLOW_THREADS
;
3772 } Py_INCREF(Py_None
);
3773 _resultobj
= Py_None
;
3777 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3778 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3781 wxLayoutConstraints
* _arg1
;
3782 PyObject
* _argo0
= 0;
3783 PyObject
* _argo1
= 0;
3784 char *_kwnames
[] = { "self","constraints", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3807 wxPy_END_ALLOW_THREADS
;
3808 } Py_INCREF(Py_None
);
3809 _resultobj
= Py_None
;
3813 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3814 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3817 PyObject
* _argo0
= 0;
3818 char *_kwnames
[] = { "self", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3831 wxPy_BEGIN_ALLOW_THREADS
;
3832 wxWindow_SetFocus(_arg0
);
3834 wxPy_END_ALLOW_THREADS
;
3835 } Py_INCREF(Py_None
);
3836 _resultobj
= Py_None
;
3840 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3841 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3846 char *_kwnames
[] = { "self", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3859 wxPy_BEGIN_ALLOW_THREADS
;
3860 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3862 wxPy_END_ALLOW_THREADS
;
3863 } _resultobj
= Py_BuildValue("i",_result
);
3867 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3868 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3872 PyObject
* _argo0
= 0;
3873 PyObject
* _argo1
= 0;
3874 char *_kwnames
[] = { "self","font", NULL
};
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3887 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 wxWindow_SetFont(_arg0
,*_arg1
);
3897 wxPy_END_ALLOW_THREADS
;
3898 } Py_INCREF(Py_None
);
3899 _resultobj
= Py_None
;
3903 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3904 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3908 PyObject
* _argo0
= 0;
3910 PyObject
* _obj1
= 0;
3911 char *_kwnames
[] = { "self","colour", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3925 if (! wxColour_helper(_obj1
, &_arg1
))
3929 wxPy_BEGIN_ALLOW_THREADS
;
3930 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3932 wxPy_END_ALLOW_THREADS
;
3933 } Py_INCREF(Py_None
);
3934 _resultobj
= Py_None
;
3938 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3939 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3943 PyObject
* _argo0
= 0;
3944 char *_kwnames
[] = { "self","id", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3957 wxPy_BEGIN_ALLOW_THREADS
;
3958 wxWindow_SetId(_arg0
,_arg1
);
3960 wxPy_END_ALLOW_THREADS
;
3961 } Py_INCREF(Py_None
);
3962 _resultobj
= Py_None
;
3966 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3967 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3971 PyObject
* _argo0
= 0;
3972 PyObject
* _obj1
= 0;
3973 char *_kwnames
[] = { "self","name", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3986 #if PYTHON_API_VERSION >= 1009
3987 char* tmpPtr
; int tmpSize
;
3988 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3989 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3992 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3994 _arg1
= new wxString(tmpPtr
, tmpSize
);
3996 if (!PyString_Check(_obj1
)) {
3997 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4000 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4004 wxPy_BEGIN_ALLOW_THREADS
;
4005 wxWindow_SetName(_arg0
,*_arg1
);
4007 wxPy_END_ALLOW_THREADS
;
4008 } Py_INCREF(Py_None
);
4009 _resultobj
= Py_None
;
4017 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4018 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4025 int _arg5
= (int ) TRUE
;
4026 PyObject
* _argo0
= 0;
4027 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4043 wxPy_END_ALLOW_THREADS
;
4044 } Py_INCREF(Py_None
);
4045 _resultobj
= Py_None
;
4049 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4050 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
* _resultobj
;
4055 bool _arg3
= (bool ) TRUE
;
4056 PyObject
* _argo0
= 0;
4057 int tempbool3
= (int) TRUE
;
4058 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4070 _arg3
= (bool ) tempbool3
;
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4075 wxPy_END_ALLOW_THREADS
;
4076 } Py_INCREF(Py_None
);
4077 _resultobj
= Py_None
;
4081 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4082 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4089 int _arg5
= (int ) wxSIZE_AUTO
;
4090 PyObject
* _argo0
= 0;
4091 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4104 wxPy_BEGIN_ALLOW_THREADS
;
4105 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4107 wxPy_END_ALLOW_THREADS
;
4108 } Py_INCREF(Py_None
);
4109 _resultobj
= Py_None
;
4113 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4114 self
->SetSize(size
);
4116 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
* _resultobj
;
4120 PyObject
* _argo0
= 0;
4122 PyObject
* _obj1
= 0;
4123 char *_kwnames
[] = { "self","size", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4137 if (! wxSize_helper(_obj1
, &_arg1
))
4141 wxPy_BEGIN_ALLOW_THREADS
;
4142 wxWindow_SetSize(_arg0
,*_arg1
);
4144 wxPy_END_ALLOW_THREADS
;
4145 } Py_INCREF(Py_None
);
4146 _resultobj
= Py_None
;
4150 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4153 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
* _resultobj
;
4157 PyObject
* _argo0
= 0;
4159 PyObject
* _obj1
= 0;
4160 char *_kwnames
[] = { "self","pos", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4174 if (! wxPoint_helper(_obj1
, &_arg1
))
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 wxWindow_SetPosition(_arg0
,*_arg1
);
4181 wxPy_END_ALLOW_THREADS
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4187 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4188 self
->SetSize(rect
, sizeFlags
);
4190 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
* _resultobj
;
4194 int _arg2
= (int ) wxSIZE_AUTO
;
4195 PyObject
* _argo0
= 0;
4197 PyObject
* _obj1
= 0;
4198 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4212 if (! wxRect_helper(_obj1
, &_arg1
))
4216 wxPy_BEGIN_ALLOW_THREADS
;
4217 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4219 wxPy_END_ALLOW_THREADS
;
4220 } Py_INCREF(Py_None
);
4221 _resultobj
= Py_None
;
4225 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4226 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4229 int _arg1
= (int ) -1;
4230 int _arg2
= (int ) -1;
4231 int _arg3
= (int ) -1;
4232 int _arg4
= (int ) -1;
4233 int _arg5
= (int ) -1;
4234 int _arg6
= (int ) -1;
4235 PyObject
* _argo0
= 0;
4236 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4249 wxPy_BEGIN_ALLOW_THREADS
;
4250 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4252 wxPy_END_ALLOW_THREADS
;
4253 } Py_INCREF(Py_None
);
4254 _resultobj
= Py_None
;
4258 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4259 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
* _resultobj
;
4264 PyObject
* _argo0
= 0;
4265 char *_kwnames
[] = { "self","width","height", NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4278 wxPy_BEGIN_ALLOW_THREADS
;
4279 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4281 wxPy_END_ALLOW_THREADS
;
4282 } Py_INCREF(Py_None
);
4283 _resultobj
= Py_None
;
4287 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4288 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
* _resultobj
;
4292 PyObject
* _argo0
= 0;
4294 PyObject
* _obj1
= 0;
4295 char *_kwnames
[] = { "self","size", NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4309 if (! wxSize_helper(_obj1
, &_arg1
))
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 wxWindow_SetClientSize(_arg0
,*_arg1
);
4316 wxPy_END_ALLOW_THREADS
;
4317 } Py_INCREF(Py_None
);
4318 _resultobj
= Py_None
;
4322 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4323 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4327 PyObject
* _argo0
= 0;
4328 PyObject
* _argo1
= 0;
4329 char *_kwnames
[] = { "self","cursor", NULL
};
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4342 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4349 wxPy_BEGIN_ALLOW_THREADS
;
4350 wxWindow_SetCursor(_arg0
,*_arg1
);
4352 wxPy_END_ALLOW_THREADS
;
4353 } Py_INCREF(Py_None
);
4354 _resultobj
= Py_None
;
4358 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4359 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4362 wxEvtHandler
* _arg1
;
4363 PyObject
* _argo0
= 0;
4364 PyObject
* _argo1
= 0;
4365 char *_kwnames
[] = { "self","handler", NULL
};
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4385 wxPy_BEGIN_ALLOW_THREADS
;
4386 wxWindow_SetEventHandler(_arg0
,_arg1
);
4388 wxPy_END_ALLOW_THREADS
;
4389 } Py_INCREF(Py_None
);
4390 _resultobj
= Py_None
;
4394 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4395 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4399 PyObject
* _argo0
= 0;
4400 PyObject
* _obj1
= 0;
4401 char *_kwnames
[] = { "self","title", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4414 #if PYTHON_API_VERSION >= 1009
4415 char* tmpPtr
; int tmpSize
;
4416 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4417 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4420 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4422 _arg1
= new wxString(tmpPtr
, tmpSize
);
4424 if (!PyString_Check(_obj1
)) {
4425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4428 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4432 wxPy_BEGIN_ALLOW_THREADS
;
4433 wxWindow_SetTitle(_arg0
,*_arg1
);
4435 wxPy_END_ALLOW_THREADS
;
4436 } Py_INCREF(Py_None
);
4437 _resultobj
= Py_None
;
4445 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4446 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
* _resultobj
;
4451 PyObject
* _argo0
= 0;
4453 char *_kwnames
[] = { "self","show", NULL
};
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4465 _arg1
= (bool ) tempbool1
;
4467 wxPy_BEGIN_ALLOW_THREADS
;
4468 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4470 wxPy_END_ALLOW_THREADS
;
4471 } _resultobj
= Py_BuildValue("i",_result
);
4475 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4476 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4480 PyObject
* _argo0
= 0;
4481 char *_kwnames
[] = { "self", NULL
};
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } _resultobj
= Py_BuildValue("i",_result
);
4502 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4503 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4507 PyObject
* _argo0
= 0;
4508 char *_kwnames
[] = { "self", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4521 wxPy_BEGIN_ALLOW_THREADS
;
4522 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4524 wxPy_END_ALLOW_THREADS
;
4525 } _resultobj
= Py_BuildValue("i",_result
);
4529 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4530 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4548 wxPy_BEGIN_ALLOW_THREADS
;
4549 _result
= (bool )wxWindow_Validate(_arg0
);
4551 wxPy_END_ALLOW_THREADS
;
4552 } _resultobj
= Py_BuildValue("i",_result
);
4556 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4557 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
* _resultobj
;
4562 PyObject
* _argo0
= 0;
4563 char *_kwnames
[] = { "self","x","y", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4579 wxPy_END_ALLOW_THREADS
;
4580 } Py_INCREF(Py_None
);
4581 _resultobj
= Py_None
;
4585 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4586 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
* _resultobj
;
4591 PyObject
* _argo0
= 0;
4593 PyObject
* _obj1
= 0;
4594 char *_kwnames
[] = { "self","pt", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4609 if (! wxPoint_helper(_obj1
, &_arg1
))
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4616 wxPy_END_ALLOW_THREADS
;
4617 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4618 _resultobj
= Py_BuildValue("s",_ptemp
);
4622 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4623 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4628 PyObject
* _argo0
= 0;
4630 PyObject
* _obj1
= 0;
4631 char *_kwnames
[] = { "self","sz", NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4646 if (! wxSize_helper(_obj1
, &_arg1
))
4650 wxPy_BEGIN_ALLOW_THREADS
;
4651 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4653 wxPy_END_ALLOW_THREADS
;
4654 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4655 _resultobj
= Py_BuildValue("s",_ptemp
);
4659 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4660 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4665 PyObject
* _argo0
= 0;
4667 PyObject
* _obj1
= 0;
4668 char *_kwnames
[] = { "self","pt", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4683 if (! wxPoint_helper(_obj1
, &_arg1
))
4687 wxPy_BEGIN_ALLOW_THREADS
;
4688 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4690 wxPy_END_ALLOW_THREADS
;
4691 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4692 _resultobj
= Py_BuildValue("s",_ptemp
);
4696 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4697 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4702 PyObject
* _argo0
= 0;
4704 PyObject
* _obj1
= 0;
4705 char *_kwnames
[] = { "self","sz", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4720 if (! wxSize_helper(_obj1
, &_arg1
))
4724 wxPy_BEGIN_ALLOW_THREADS
;
4725 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4727 wxPy_END_ALLOW_THREADS
;
4728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4729 _resultobj
= Py_BuildValue("s",_ptemp
);
4733 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4734 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4738 PyObject
* _argo0
= 0;
4739 PyObject
* _obj1
= 0;
4740 char *_kwnames
[] = { "self","tip", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4753 #if PYTHON_API_VERSION >= 1009
4754 char* tmpPtr
; int tmpSize
;
4755 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4756 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4759 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4761 _arg1
= new wxString(tmpPtr
, tmpSize
);
4763 if (!PyString_Check(_obj1
)) {
4764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4767 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4771 wxPy_BEGIN_ALLOW_THREADS
;
4772 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4774 wxPy_END_ALLOW_THREADS
;
4775 } Py_INCREF(Py_None
);
4776 _resultobj
= Py_None
;
4784 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4785 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
* _resultobj
;
4789 PyObject
* _argo0
= 0;
4790 PyObject
* _argo1
= 0;
4791 char *_kwnames
[] = { "self","tooltip", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4811 wxPy_BEGIN_ALLOW_THREADS
;
4812 wxWindow_SetToolTip(_arg0
,_arg1
);
4814 wxPy_END_ALLOW_THREADS
;
4815 } Py_INCREF(Py_None
);
4816 _resultobj
= Py_None
;
4820 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4821 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
* _resultobj
;
4823 wxToolTip
* _result
;
4825 PyObject
* _argo0
= 0;
4826 char *_kwnames
[] = { "self", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4840 wxPy_BEGIN_ALLOW_THREADS
;
4841 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4843 wxPy_END_ALLOW_THREADS
;
4845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4846 _resultobj
= Py_BuildValue("s",_ptemp
);
4849 _resultobj
= Py_None
;
4854 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4855 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
* _resultobj
;
4859 PyObject
* _argo0
= 0;
4860 PyObject
* _argo1
= 0;
4861 char *_kwnames
[] = { "self","sizer", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4881 wxPy_BEGIN_ALLOW_THREADS
;
4882 wxWindow_SetSizer(_arg0
,_arg1
);
4884 wxPy_END_ALLOW_THREADS
;
4885 } Py_INCREF(Py_None
);
4886 _resultobj
= Py_None
;
4890 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4891 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4895 PyObject
* _argo0
= 0;
4896 char *_kwnames
[] = { "self", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4910 wxPy_BEGIN_ALLOW_THREADS
;
4911 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4913 wxPy_END_ALLOW_THREADS
;
4915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4916 _resultobj
= Py_BuildValue("s",_ptemp
);
4919 _resultobj
= Py_None
;
4924 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4925 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4927 wxValidator
* _result
;
4929 PyObject
* _argo0
= 0;
4930 char *_kwnames
[] = { "self", NULL
};
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4944 wxPy_BEGIN_ALLOW_THREADS
;
4945 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4947 wxPy_END_ALLOW_THREADS
;
4949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4950 _resultobj
= Py_BuildValue("s",_ptemp
);
4953 _resultobj
= Py_None
;
4958 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4959 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4962 wxValidator
* _arg1
;
4963 PyObject
* _argo0
= 0;
4964 PyObject
* _argo1
= 0;
4965 char *_kwnames
[] = { "self","validator", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4985 wxPy_BEGIN_ALLOW_THREADS
;
4986 wxWindow_SetValidator(_arg0
,*_arg1
);
4988 wxPy_END_ALLOW_THREADS
;
4989 } Py_INCREF(Py_None
);
4990 _resultobj
= Py_None
;
4994 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4995 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4998 wxDropTarget
* _arg1
;
4999 PyObject
* _argo0
= 0;
5000 PyObject
* _argo1
= 0;
5001 char *_kwnames
[] = { "self","target", NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 wxWindow_SetDropTarget(_arg0
,_arg1
);
5024 wxPy_END_ALLOW_THREADS
;
5025 } Py_INCREF(Py_None
);
5026 _resultobj
= Py_None
;
5030 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5031 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5033 wxDropTarget
* _result
;
5035 PyObject
* _argo0
= 0;
5036 char *_kwnames
[] = { "self", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5050 wxPy_BEGIN_ALLOW_THREADS
;
5051 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5053 wxPy_END_ALLOW_THREADS
;
5055 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5056 _resultobj
= Py_BuildValue("s",_ptemp
);
5059 _resultobj
= Py_None
;
5064 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5065 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
* _resultobj
;
5069 PyObject
* _argo0
= 0;
5070 char *_kwnames
[] = { "self", NULL
};
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5084 wxPy_BEGIN_ALLOW_THREADS
;
5085 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5087 wxPy_END_ALLOW_THREADS
;
5088 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5089 _resultobj
= Py_BuildValue("s",_ptemp
);
5093 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5094 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5098 PyObject
* _argo0
= 0;
5099 PyObject
* _argo1
= 0;
5100 char *_kwnames
[] = { "self","caret", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5113 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5114 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5120 wxPy_BEGIN_ALLOW_THREADS
;
5121 wxWindow_SetCaret(_arg0
,_arg1
);
5123 wxPy_END_ALLOW_THREADS
;
5124 } Py_INCREF(Py_None
);
5125 _resultobj
= Py_None
;
5129 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5130 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5134 PyObject
* _argo0
= 0;
5135 char *_kwnames
[] = { "self", NULL
};
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5149 wxPy_BEGIN_ALLOW_THREADS
;
5150 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5152 wxPy_END_ALLOW_THREADS
;
5154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5155 _resultobj
= Py_BuildValue("s",_ptemp
);
5158 _resultobj
= Py_None
;
5163 static void *SwigwxPanelTowxWindow(void *ptr
) {
5166 src
= (wxPanel
*) ptr
;
5167 dest
= (wxWindow
*) src
;
5168 return (void *) dest
;
5171 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5174 src
= (wxPanel
*) ptr
;
5175 dest
= (wxEvtHandler
*) src
;
5176 return (void *) dest
;
5179 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5180 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5185 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5186 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5187 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5188 char * _arg5
= (char *) "panel";
5189 PyObject
* _argo0
= 0;
5191 PyObject
* _obj2
= 0;
5193 PyObject
* _obj3
= 0;
5194 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5210 if (! wxPoint_helper(_obj2
, &_arg2
))
5216 if (! wxSize_helper(_obj3
, &_arg3
))
5220 wxPy_BEGIN_ALLOW_THREADS
;
5221 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5223 wxPy_END_ALLOW_THREADS
;
5225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5226 _resultobj
= Py_BuildValue("s",_ptemp
);
5229 _resultobj
= Py_None
;
5234 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5235 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5238 PyObject
* _argo0
= 0;
5239 char *_kwnames
[] = { "self", NULL
};
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5252 wxPy_BEGIN_ALLOW_THREADS
;
5253 wxPanel_InitDialog(_arg0
);
5255 wxPy_END_ALLOW_THREADS
;
5256 } Py_INCREF(Py_None
);
5257 _resultobj
= Py_None
;
5261 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5262 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
* _resultobj
;
5266 PyObject
* _argo0
= 0;
5267 char *_kwnames
[] = { "self", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5284 wxPy_END_ALLOW_THREADS
;
5286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5287 _resultobj
= Py_BuildValue("s",_ptemp
);
5290 _resultobj
= Py_None
;
5295 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5296 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
* _resultobj
;
5300 PyObject
* _argo0
= 0;
5301 PyObject
* _argo1
= 0;
5302 char *_kwnames
[] = { "self","btn", NULL
};
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5322 wxPy_BEGIN_ALLOW_THREADS
;
5323 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5325 wxPy_END_ALLOW_THREADS
;
5326 } Py_INCREF(Py_None
);
5327 _resultobj
= Py_None
;
5331 static void *SwigwxDialogTowxPanel(void *ptr
) {
5334 src
= (wxDialog
*) ptr
;
5335 dest
= (wxPanel
*) src
;
5336 return (void *) dest
;
5339 static void *SwigwxDialogTowxWindow(void *ptr
) {
5342 src
= (wxDialog
*) ptr
;
5343 dest
= (wxWindow
*) src
;
5344 return (void *) dest
;
5347 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5350 src
= (wxDialog
*) ptr
;
5351 dest
= (wxEvtHandler
*) src
;
5352 return (void *) dest
;
5355 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5356 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5362 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5363 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5364 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5365 char * _arg6
= (char *) "dialogBox";
5366 PyObject
* _argo0
= 0;
5367 PyObject
* _obj2
= 0;
5369 PyObject
* _obj3
= 0;
5371 PyObject
* _obj4
= 0;
5372 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5386 #if PYTHON_API_VERSION >= 1009
5387 char* tmpPtr
; int tmpSize
;
5388 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5389 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5392 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5394 _arg2
= new wxString(tmpPtr
, tmpSize
);
5396 if (!PyString_Check(_obj2
)) {
5397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5400 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5406 if (! wxPoint_helper(_obj3
, &_arg3
))
5412 if (! wxSize_helper(_obj4
, &_arg4
))
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5419 wxPy_END_ALLOW_THREADS
;
5421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5422 _resultobj
= Py_BuildValue("s",_ptemp
);
5425 _resultobj
= Py_None
;
5434 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5435 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5438 int _arg1
= (int ) wxBOTH
;
5439 PyObject
* _argo0
= 0;
5440 char *_kwnames
[] = { "self","direction", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5453 wxPy_BEGIN_ALLOW_THREADS
;
5454 wxDialog_Centre(_arg0
,_arg1
);
5456 wxPy_END_ALLOW_THREADS
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5462 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5463 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self","retCode", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5481 wxPy_BEGIN_ALLOW_THREADS
;
5482 wxDialog_EndModal(_arg0
,_arg1
);
5484 wxPy_END_ALLOW_THREADS
;
5485 } Py_INCREF(Py_None
);
5486 _resultobj
= Py_None
;
5490 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5491 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5495 PyObject
* _argo0
= 0;
5496 char *_kwnames
[] = { "self", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5509 wxPy_BEGIN_ALLOW_THREADS
;
5510 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5512 wxPy_END_ALLOW_THREADS
;
5514 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5522 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5523 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
* _resultobj
;
5527 PyObject
* _argo0
= 0;
5529 char *_kwnames
[] = { "self","iconize", NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5541 _arg1
= (bool ) tempbool1
;
5543 wxPy_BEGIN_ALLOW_THREADS
;
5544 wxDialog_Iconize(_arg0
,_arg1
);
5546 wxPy_END_ALLOW_THREADS
;
5547 } Py_INCREF(Py_None
);
5548 _resultobj
= Py_None
;
5552 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5553 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5557 PyObject
* _argo0
= 0;
5558 char *_kwnames
[] = { "self", NULL
};
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5571 wxPy_BEGIN_ALLOW_THREADS
;
5572 _result
= (bool )wxDialog_IsIconized(_arg0
);
5574 wxPy_END_ALLOW_THREADS
;
5575 } _resultobj
= Py_BuildValue("i",_result
);
5579 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5580 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
* _resultobj
;
5584 PyObject
* _argo0
= 0;
5586 char *_kwnames
[] = { "self","flag", NULL
};
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5598 _arg1
= (bool ) tempbool1
;
5600 wxPy_BEGIN_ALLOW_THREADS
;
5601 wxDialog_SetModal(_arg0
,_arg1
);
5603 wxPy_END_ALLOW_THREADS
;
5604 } Py_INCREF(Py_None
);
5605 _resultobj
= Py_None
;
5609 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5610 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5614 PyObject
* _argo0
= 0;
5615 char *_kwnames
[] = { "self", NULL
};
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5628 wxPy_BEGIN_ALLOW_THREADS
;
5629 _result
= (bool )wxDialog_IsModal(_arg0
);
5631 wxPy_END_ALLOW_THREADS
;
5632 } _resultobj
= Py_BuildValue("i",_result
);
5636 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5637 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5641 PyObject
* _argo0
= 0;
5642 PyObject
* _obj1
= 0;
5643 char *_kwnames
[] = { "self","title", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5656 #if PYTHON_API_VERSION >= 1009
5657 char* tmpPtr
; int tmpSize
;
5658 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5659 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5662 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5664 _arg1
= new wxString(tmpPtr
, tmpSize
);
5666 if (!PyString_Check(_obj1
)) {
5667 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5670 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5674 wxPy_BEGIN_ALLOW_THREADS
;
5675 wxDialog_SetTitle(_arg0
,*_arg1
);
5677 wxPy_END_ALLOW_THREADS
;
5678 } Py_INCREF(Py_None
);
5679 _resultobj
= Py_None
;
5687 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5688 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
* _resultobj
;
5693 PyObject
* _argo0
= 0;
5695 char *_kwnames
[] = { "self","show", NULL
};
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5707 _arg1
= (bool ) tempbool1
;
5709 wxPy_BEGIN_ALLOW_THREADS
;
5710 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5712 wxPy_END_ALLOW_THREADS
;
5713 } _resultobj
= Py_BuildValue("i",_result
);
5717 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5718 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
* _resultobj
;
5722 PyObject
* _argo0
= 0;
5723 char *_kwnames
[] = { "self", NULL
};
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5736 wxPy_BEGIN_ALLOW_THREADS
;
5737 _result
= (int )wxDialog_ShowModal(_arg0
);
5739 wxPy_END_ALLOW_THREADS
;
5740 } _resultobj
= Py_BuildValue("i",_result
);
5744 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5745 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
* _resultobj
;
5749 PyObject
* _argo0
= 0;
5750 char *_kwnames
[] = { "self", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5763 wxPy_BEGIN_ALLOW_THREADS
;
5764 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5766 wxPy_END_ALLOW_THREADS
;
5767 } _resultobj
= Py_BuildValue("i",_result
);
5771 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5772 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5776 PyObject
* _argo0
= 0;
5777 char *_kwnames
[] = { "self","retCode", NULL
};
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5790 wxPy_BEGIN_ALLOW_THREADS
;
5791 wxDialog_SetReturnCode(_arg0
,_arg1
);
5793 wxPy_END_ALLOW_THREADS
;
5794 } Py_INCREF(Py_None
);
5795 _resultobj
= Py_None
;
5799 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5800 wxScrolledWindow
*src
;
5802 src
= (wxScrolledWindow
*) ptr
;
5803 dest
= (wxPanel
*) src
;
5804 return (void *) dest
;
5807 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5808 wxScrolledWindow
*src
;
5810 src
= (wxScrolledWindow
*) ptr
;
5811 dest
= (wxWindow
*) src
;
5812 return (void *) dest
;
5815 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5816 wxScrolledWindow
*src
;
5818 src
= (wxScrolledWindow
*) ptr
;
5819 dest
= (wxEvtHandler
*) src
;
5820 return (void *) dest
;
5823 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5824 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5826 wxScrolledWindow
* _result
;
5828 wxWindowID _arg1
= (wxWindowID
) -1;
5829 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5830 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5831 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5832 char * _arg5
= (char *) "scrolledWindow";
5833 PyObject
* _argo0
= 0;
5835 PyObject
* _obj2
= 0;
5837 PyObject
* _obj3
= 0;
5838 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5854 if (! wxPoint_helper(_obj2
, &_arg2
))
5860 if (! wxSize_helper(_obj3
, &_arg3
))
5864 wxPy_BEGIN_ALLOW_THREADS
;
5865 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5867 wxPy_END_ALLOW_THREADS
;
5869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5870 _resultobj
= Py_BuildValue("s",_ptemp
);
5873 _resultobj
= Py_None
;
5878 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5879 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5881 wxScrolledWindow
* _arg0
;
5884 PyObject
* _argo0
= 0;
5887 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5899 _arg1
= (bool ) tempbool1
;
5900 _arg2
= (bool ) tempbool2
;
5902 wxPy_BEGIN_ALLOW_THREADS
;
5903 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5905 wxPy_END_ALLOW_THREADS
;
5906 } Py_INCREF(Py_None
);
5907 _resultobj
= Py_None
;
5911 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5912 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
* _resultobj
;
5915 wxScrolledWindow
* _arg0
;
5917 PyObject
* _argo0
= 0;
5918 char *_kwnames
[] = { "self","orient", NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5931 wxPy_BEGIN_ALLOW_THREADS
;
5932 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5934 wxPy_END_ALLOW_THREADS
;
5935 } _resultobj
= Py_BuildValue("i",_result
);
5939 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5940 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
* _resultobj
;
5942 wxScrolledWindow
* _arg0
;
5947 PyObject
* _argo0
= 0;
5948 char *_kwnames
[] = { "self", NULL
};
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5967 wxPy_BEGIN_ALLOW_THREADS
;
5968 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5970 wxPy_END_ALLOW_THREADS
;
5971 } Py_INCREF(Py_None
);
5972 _resultobj
= Py_None
;
5975 o
= PyInt_FromLong((long) (*_arg1
));
5976 _resultobj
= t_output_helper(_resultobj
, o
);
5980 o
= PyInt_FromLong((long) (*_arg2
));
5981 _resultobj
= t_output_helper(_resultobj
, o
);
5986 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5987 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
* _resultobj
;
5990 wxScrolledWindow
* _arg0
;
5991 PyObject
* _argo0
= 0;
5992 char *_kwnames
[] = { "self", NULL
};
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6006 wxPy_BEGIN_ALLOW_THREADS
;
6007 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6009 wxPy_END_ALLOW_THREADS
;
6011 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6012 _resultobj
= Py_BuildValue("s",_ptemp
);
6015 _resultobj
= Py_None
;
6020 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6021 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
* _resultobj
;
6023 wxScrolledWindow
* _arg0
;
6028 PyObject
* _argo0
= 0;
6029 char *_kwnames
[] = { "self", NULL
};
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6048 wxPy_BEGIN_ALLOW_THREADS
;
6049 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6051 wxPy_END_ALLOW_THREADS
;
6052 } Py_INCREF(Py_None
);
6053 _resultobj
= Py_None
;
6056 o
= PyInt_FromLong((long) (*_arg1
));
6057 _resultobj
= t_output_helper(_resultobj
, o
);
6061 o
= PyInt_FromLong((long) (*_arg2
));
6062 _resultobj
= t_output_helper(_resultobj
, o
);
6067 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6068 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6071 wxScrolledWindow
* _arg0
;
6072 PyObject
* _argo0
= 0;
6073 char *_kwnames
[] = { "self", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6086 wxPy_BEGIN_ALLOW_THREADS
;
6087 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6089 wxPy_END_ALLOW_THREADS
;
6090 } _resultobj
= Py_BuildValue("i",_result
);
6094 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6095 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6097 wxScrolledWindow
* _arg0
;
6099 PyObject
* _argo0
= 0;
6100 PyObject
* _argo1
= 0;
6101 char *_kwnames
[] = { "self","dc", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6121 wxPy_BEGIN_ALLOW_THREADS
;
6122 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6124 wxPy_END_ALLOW_THREADS
;
6125 } Py_INCREF(Py_None
);
6126 _resultobj
= Py_None
;
6130 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6131 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
* _resultobj
;
6133 wxScrolledWindow
* _arg0
;
6136 PyObject
* _argo0
= 0;
6137 char *_kwnames
[] = { "self","x","y", NULL
};
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6150 wxPy_BEGIN_ALLOW_THREADS
;
6151 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6153 wxPy_END_ALLOW_THREADS
;
6154 } Py_INCREF(Py_None
);
6155 _resultobj
= Py_None
;
6159 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6160 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6162 wxScrolledWindow
* _arg0
;
6167 int _arg5
= (int ) 0;
6168 int _arg6
= (int ) 0;
6169 int _arg7
= (int ) FALSE
;
6170 PyObject
* _argo0
= 0;
6171 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6184 wxPy_BEGIN_ALLOW_THREADS
;
6185 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6187 wxPy_END_ALLOW_THREADS
;
6188 } Py_INCREF(Py_None
);
6189 _resultobj
= Py_None
;
6193 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6194 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6196 wxScrolledWindow
* _arg0
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6213 wxPy_BEGIN_ALLOW_THREADS
;
6214 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6216 wxPy_END_ALLOW_THREADS
;
6217 } Py_INCREF(Py_None
);
6218 _resultobj
= Py_None
;
6222 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6223 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
* _resultobj
;
6225 wxScrolledWindow
* _arg0
;
6227 PyObject
* _argo0
= 0;
6228 PyObject
* _argo1
= 0;
6229 char *_kwnames
[] = { "self","window", NULL
};
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6249 wxPy_BEGIN_ALLOW_THREADS
;
6250 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6252 wxPy_END_ALLOW_THREADS
;
6253 } Py_INCREF(Py_None
);
6254 _resultobj
= Py_None
;
6258 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6259 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
* _resultobj
;
6261 wxScrolledWindow
* _arg0
;
6266 PyObject
* _argo0
= 0;
6267 char *_kwnames
[] = { "self", NULL
};
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6286 wxPy_BEGIN_ALLOW_THREADS
;
6287 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6289 wxPy_END_ALLOW_THREADS
;
6290 } Py_INCREF(Py_None
);
6291 _resultobj
= Py_None
;
6294 o
= PyInt_FromLong((long) (*_arg1
));
6295 _resultobj
= t_output_helper(_resultobj
, o
);
6299 o
= PyInt_FromLong((long) (*_arg2
));
6300 _resultobj
= t_output_helper(_resultobj
, o
);
6305 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6306 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
* _resultobj
;
6308 wxScrolledWindow
* _arg0
;
6313 PyObject
* _argo0
= 0;
6314 char *_kwnames
[] = { "self", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6333 wxPy_BEGIN_ALLOW_THREADS
;
6334 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6336 wxPy_END_ALLOW_THREADS
;
6337 } Py_INCREF(Py_None
);
6338 _resultobj
= Py_None
;
6341 o
= PyInt_FromLong((long) (*_arg1
));
6342 _resultobj
= t_output_helper(_resultobj
, o
);
6346 o
= PyInt_FromLong((long) (*_arg2
));
6347 _resultobj
= t_output_helper(_resultobj
, o
);
6352 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6353 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
* _resultobj
;
6355 wxScrolledWindow
* _arg0
;
6362 PyObject
* _argo0
= 0;
6363 char *_kwnames
[] = { "self","x","y", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6382 wxPy_BEGIN_ALLOW_THREADS
;
6383 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6385 wxPy_END_ALLOW_THREADS
;
6386 } Py_INCREF(Py_None
);
6387 _resultobj
= Py_None
;
6390 o
= PyInt_FromLong((long) (*_arg3
));
6391 _resultobj
= t_output_helper(_resultobj
, o
);
6395 o
= PyInt_FromLong((long) (*_arg4
));
6396 _resultobj
= t_output_helper(_resultobj
, o
);
6401 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6402 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
* _resultobj
;
6404 wxScrolledWindow
* _arg0
;
6411 PyObject
* _argo0
= 0;
6412 char *_kwnames
[] = { "self","x","y", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6431 wxPy_BEGIN_ALLOW_THREADS
;
6432 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6434 wxPy_END_ALLOW_THREADS
;
6435 } Py_INCREF(Py_None
);
6436 _resultobj
= Py_None
;
6439 o
= PyInt_FromLong((long) (*_arg3
));
6440 _resultobj
= t_output_helper(_resultobj
, o
);
6444 o
= PyInt_FromLong((long) (*_arg4
));
6445 _resultobj
= t_output_helper(_resultobj
, o
);
6450 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6453 src
= (wxMenu
*) ptr
;
6454 dest
= (wxEvtHandler
*) src
;
6455 return (void *) dest
;
6458 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6459 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6462 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6463 long _arg1
= (long ) 0;
6464 PyObject
* _obj0
= 0;
6465 char *_kwnames
[] = { "title","style", NULL
};
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6473 #if PYTHON_API_VERSION >= 1009
6474 char* tmpPtr
; int tmpSize
;
6475 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6476 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6479 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6481 _arg0
= new wxString(tmpPtr
, tmpSize
);
6483 if (!PyString_Check(_obj0
)) {
6484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6487 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6491 wxPy_BEGIN_ALLOW_THREADS
;
6492 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6494 wxPy_END_ALLOW_THREADS
;
6496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6497 _resultobj
= Py_BuildValue("s",_ptemp
);
6500 _resultobj
= Py_None
;
6509 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6510 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
* _resultobj
;
6515 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6516 int _arg4
= (int ) FALSE
;
6517 PyObject
* _argo0
= 0;
6518 PyObject
* _obj2
= 0;
6519 PyObject
* _obj3
= 0;
6520 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6533 #if PYTHON_API_VERSION >= 1009
6534 char* tmpPtr
; int tmpSize
;
6535 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6536 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6539 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6541 _arg2
= new wxString(tmpPtr
, tmpSize
);
6543 if (!PyString_Check(_obj2
)) {
6544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6547 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6552 #if PYTHON_API_VERSION >= 1009
6553 char* tmpPtr
; int tmpSize
;
6554 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6555 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6558 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6560 _arg3
= new wxString(tmpPtr
, tmpSize
);
6562 if (!PyString_Check(_obj3
)) {
6563 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6566 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6570 wxPy_BEGIN_ALLOW_THREADS
;
6571 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6573 wxPy_END_ALLOW_THREADS
;
6574 } Py_INCREF(Py_None
);
6575 _resultobj
= Py_None
;
6587 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6588 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6594 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6595 PyObject
* _argo0
= 0;
6596 PyObject
* _obj2
= 0;
6597 PyObject
* _argo3
= 0;
6598 PyObject
* _obj4
= 0;
6599 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
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_AppendMenu. Expected _wxMenu_p.");
6612 #if PYTHON_API_VERSION >= 1009
6613 char* tmpPtr
; int tmpSize
;
6614 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6615 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6618 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6620 _arg2
= new wxString(tmpPtr
, tmpSize
);
6622 if (!PyString_Check(_obj2
)) {
6623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6626 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6630 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6638 #if PYTHON_API_VERSION >= 1009
6639 char* tmpPtr
; int tmpSize
;
6640 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6641 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6644 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6646 _arg4
= new wxString(tmpPtr
, tmpSize
);
6648 if (!PyString_Check(_obj4
)) {
6649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6652 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6656 wxPy_BEGIN_ALLOW_THREADS
;
6657 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6659 wxPy_END_ALLOW_THREADS
;
6660 } Py_INCREF(Py_None
);
6661 _resultobj
= Py_None
;
6673 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6674 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6678 PyObject
* _argo0
= 0;
6679 PyObject
* _argo1
= 0;
6680 char *_kwnames
[] = { "self","item", NULL
};
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6700 wxPy_BEGIN_ALLOW_THREADS
;
6701 wxMenu_AppendItem(_arg0
,_arg1
);
6703 wxPy_END_ALLOW_THREADS
;
6704 } Py_INCREF(Py_None
);
6705 _resultobj
= Py_None
;
6709 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6710 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6727 wxPy_BEGIN_ALLOW_THREADS
;
6728 wxMenu_AppendSeparator(_arg0
);
6730 wxPy_END_ALLOW_THREADS
;
6731 } Py_INCREF(Py_None
);
6732 _resultobj
= Py_None
;
6736 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6737 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
* _resultobj
;
6740 PyObject
* _argo0
= 0;
6741 char *_kwnames
[] = { "self", NULL
};
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6754 wxPy_BEGIN_ALLOW_THREADS
;
6755 wxMenu_Break(_arg0
);
6757 wxPy_END_ALLOW_THREADS
;
6758 } Py_INCREF(Py_None
);
6759 _resultobj
= Py_None
;
6763 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6764 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
* _resultobj
;
6769 PyObject
* _argo0
= 0;
6771 char *_kwnames
[] = { "self","id","flag", NULL
};
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6783 _arg2
= (bool ) tempbool2
;
6785 wxPy_BEGIN_ALLOW_THREADS
;
6786 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6788 wxPy_END_ALLOW_THREADS
;
6789 } Py_INCREF(Py_None
);
6790 _resultobj
= Py_None
;
6794 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6795 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
* _resultobj
;
6800 PyObject
* _argo0
= 0;
6801 char *_kwnames
[] = { "self","id", NULL
};
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6814 wxPy_BEGIN_ALLOW_THREADS
;
6815 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6817 wxPy_END_ALLOW_THREADS
;
6818 } _resultobj
= Py_BuildValue("i",_result
);
6822 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6823 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6828 PyObject
* _argo0
= 0;
6830 char *_kwnames
[] = { "self","id","enable", NULL
};
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6842 _arg2
= (bool ) tempbool2
;
6844 wxPy_BEGIN_ALLOW_THREADS
;
6845 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6847 wxPy_END_ALLOW_THREADS
;
6848 } Py_INCREF(Py_None
);
6849 _resultobj
= Py_None
;
6853 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6854 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6859 PyObject
* _argo0
= 0;
6860 char *_kwnames
[] = { "self","id", NULL
};
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6873 wxPy_BEGIN_ALLOW_THREADS
;
6874 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6876 wxPy_END_ALLOW_THREADS
;
6877 } _resultobj
= Py_BuildValue("i",_result
);
6881 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6882 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
* _resultobj
;
6887 PyObject
* _argo0
= 0;
6888 PyObject
* _obj1
= 0;
6889 char *_kwnames
[] = { "self","itemString", NULL
};
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6902 #if PYTHON_API_VERSION >= 1009
6903 char* tmpPtr
; int tmpSize
;
6904 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6905 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6908 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6910 _arg1
= new wxString(tmpPtr
, tmpSize
);
6912 if (!PyString_Check(_obj1
)) {
6913 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6916 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6920 wxPy_BEGIN_ALLOW_THREADS
;
6921 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6923 wxPy_END_ALLOW_THREADS
;
6924 } _resultobj
= Py_BuildValue("i",_result
);
6932 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6933 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
* _resultobj
;
6935 wxMenuItem
* _result
;
6938 PyObject
* _argo0
= 0;
6939 char *_kwnames
[] = { "self","id", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6953 wxPy_BEGIN_ALLOW_THREADS
;
6954 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6956 wxPy_END_ALLOW_THREADS
;
6958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6959 _resultobj
= Py_BuildValue("s",_ptemp
);
6962 _resultobj
= Py_None
;
6967 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6968 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
* _resultobj
;
6972 PyObject
* _argo0
= 0;
6973 char *_kwnames
[] = { "self", NULL
};
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6986 wxPy_BEGIN_ALLOW_THREADS
;
6987 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6989 wxPy_END_ALLOW_THREADS
;
6991 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6999 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
7000 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
* _resultobj
;
7004 PyObject
* _argo0
= 0;
7005 PyObject
* _obj1
= 0;
7006 char *_kwnames
[] = { "self","title", NULL
};
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
7012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
7019 #if PYTHON_API_VERSION >= 1009
7020 char* tmpPtr
; int tmpSize
;
7021 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7022 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7025 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7027 _arg1
= new wxString(tmpPtr
, tmpSize
);
7029 if (!PyString_Check(_obj1
)) {
7030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7033 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7037 wxPy_BEGIN_ALLOW_THREADS
;
7038 wxMenu_SetTitle(_arg0
,*_arg1
);
7040 wxPy_END_ALLOW_THREADS
;
7041 } Py_INCREF(Py_None
);
7042 _resultobj
= Py_None
;
7050 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7051 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
* _resultobj
;
7056 PyObject
* _argo0
= 0;
7057 char *_kwnames
[] = { "self","id", NULL
};
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7070 wxPy_BEGIN_ALLOW_THREADS
;
7071 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7073 wxPy_END_ALLOW_THREADS
;
7075 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7083 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7084 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
* _resultobj
;
7089 PyObject
* _argo0
= 0;
7090 PyObject
* _obj2
= 0;
7091 char *_kwnames
[] = { "self","id","label", NULL
};
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7104 #if PYTHON_API_VERSION >= 1009
7105 char* tmpPtr
; int tmpSize
;
7106 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7107 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7110 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7112 _arg2
= new wxString(tmpPtr
, tmpSize
);
7114 if (!PyString_Check(_obj2
)) {
7115 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7118 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7122 wxPy_BEGIN_ALLOW_THREADS
;
7123 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7125 wxPy_END_ALLOW_THREADS
;
7126 } Py_INCREF(Py_None
);
7127 _resultobj
= Py_None
;
7135 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7136 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
* _resultobj
;
7141 PyObject
* _argo0
= 0;
7142 char *_kwnames
[] = { "self","id", NULL
};
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7155 wxPy_BEGIN_ALLOW_THREADS
;
7156 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7158 wxPy_END_ALLOW_THREADS
;
7160 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7168 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7169 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
* _resultobj
;
7174 PyObject
* _argo0
= 0;
7175 PyObject
* _obj2
= 0;
7176 char *_kwnames
[] = { "self","id","helpString", NULL
};
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7189 #if PYTHON_API_VERSION >= 1009
7190 char* tmpPtr
; int tmpSize
;
7191 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7192 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7195 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7197 _arg2
= new wxString(tmpPtr
, tmpSize
);
7199 if (!PyString_Check(_obj2
)) {
7200 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7203 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7207 wxPy_BEGIN_ALLOW_THREADS
;
7208 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7210 wxPy_END_ALLOW_THREADS
;
7211 } Py_INCREF(Py_None
);
7212 _resultobj
= Py_None
;
7220 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7221 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
* _resultobj
;
7224 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7225 PyObject
* _argo0
= 0;
7226 PyObject
* _argo1
= 0;
7227 char *_kwnames
[] = { "self","source", NULL
};
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7247 wxPy_BEGIN_ALLOW_THREADS
;
7248 wxMenu_UpdateUI(_arg0
,_arg1
);
7250 wxPy_END_ALLOW_THREADS
;
7251 } Py_INCREF(Py_None
);
7252 _resultobj
= Py_None
;
7256 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7257 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7262 PyObject
* _argo0
= 0;
7263 char *_kwnames
[] = { "self","id", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7276 wxPy_BEGIN_ALLOW_THREADS
;
7277 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7279 wxPy_END_ALLOW_THREADS
;
7280 } _resultobj
= Py_BuildValue("i",_result
);
7284 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7285 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7290 PyObject
* _argo0
= 0;
7291 PyObject
* _argo1
= 0;
7292 char *_kwnames
[] = { "self","item", NULL
};
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7312 wxPy_BEGIN_ALLOW_THREADS
;
7313 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7315 wxPy_END_ALLOW_THREADS
;
7316 } _resultobj
= Py_BuildValue("i",_result
);
7320 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7321 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7327 PyObject
* _argo0
= 0;
7328 PyObject
* _argo2
= 0;
7329 char *_kwnames
[] = { "self","pos","item", NULL
};
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7342 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7343 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7349 wxPy_BEGIN_ALLOW_THREADS
;
7350 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7352 wxPy_END_ALLOW_THREADS
;
7353 } _resultobj
= Py_BuildValue("i",_result
);
7357 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7358 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
* _resultobj
;
7360 wxMenuItem
* _result
;
7363 PyObject
* _argo0
= 0;
7364 char *_kwnames
[] = { "self","id", NULL
};
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7378 wxPy_BEGIN_ALLOW_THREADS
;
7379 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7381 wxPy_END_ALLOW_THREADS
;
7383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7384 _resultobj
= Py_BuildValue("s",_ptemp
);
7387 _resultobj
= Py_None
;
7392 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7393 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
* _resultobj
;
7395 wxMenuItem
* _result
;
7398 PyObject
* _argo0
= 0;
7399 PyObject
* _argo1
= 0;
7400 char *_kwnames
[] = { "self","item", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7421 wxPy_BEGIN_ALLOW_THREADS
;
7422 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7424 wxPy_END_ALLOW_THREADS
;
7426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7427 _resultobj
= Py_BuildValue("s",_ptemp
);
7430 _resultobj
= Py_None
;
7435 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7436 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
* _resultobj
;
7439 PyObject
* _argo0
= 0;
7440 char *_kwnames
[] = { "self", NULL
};
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7453 wxPy_BEGIN_ALLOW_THREADS
;
7454 wxMenu_Destroy(_arg0
);
7456 wxPy_END_ALLOW_THREADS
;
7457 } Py_INCREF(Py_None
);
7458 _resultobj
= Py_None
;
7462 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7463 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
* _resultobj
;
7468 PyObject
* _argo0
= 0;
7469 char *_kwnames
[] = { "self","id", NULL
};
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7482 wxPy_BEGIN_ALLOW_THREADS
;
7483 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7485 wxPy_END_ALLOW_THREADS
;
7486 } _resultobj
= Py_BuildValue("i",_result
);
7490 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7491 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
* _resultobj
;
7496 PyObject
* _argo0
= 0;
7497 PyObject
* _argo1
= 0;
7498 char *_kwnames
[] = { "self","item", NULL
};
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7511 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7512 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7518 wxPy_BEGIN_ALLOW_THREADS
;
7519 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7521 wxPy_END_ALLOW_THREADS
;
7522 } _resultobj
= Py_BuildValue("i",_result
);
7526 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7527 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
* _resultobj
;
7531 PyObject
* _argo0
= 0;
7532 char *_kwnames
[] = { "self", NULL
};
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7545 wxPy_BEGIN_ALLOW_THREADS
;
7546 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7548 wxPy_END_ALLOW_THREADS
;
7549 } _resultobj
= Py_BuildValue("i",_result
);
7553 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7554 wxMenuItemList
& list
= self
->GetMenuItems();
7555 return wxPy_ConvertList(&list
, "wxMenuItem");
7557 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7561 PyObject
* _argo0
= 0;
7562 char *_kwnames
[] = { "self", NULL
};
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7575 wxPy_BEGIN_ALLOW_THREADS
;
7576 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7578 wxPy_END_ALLOW_THREADS
;
7580 _resultobj
= _result
;
7585 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7586 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
* _resultobj
;
7589 wxEvtHandler
* _arg1
;
7590 PyObject
* _argo0
= 0;
7591 PyObject
* _argo1
= 0;
7592 char *_kwnames
[] = { "self","handler", NULL
};
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7612 wxPy_BEGIN_ALLOW_THREADS
;
7613 wxMenu_SetEventHandler(_arg0
,_arg1
);
7615 wxPy_END_ALLOW_THREADS
;
7616 } Py_INCREF(Py_None
);
7617 _resultobj
= Py_None
;
7621 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7622 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
* _resultobj
;
7624 wxEvtHandler
* _result
;
7626 PyObject
* _argo0
= 0;
7627 char *_kwnames
[] = { "self", NULL
};
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7641 wxPy_BEGIN_ALLOW_THREADS
;
7642 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7644 wxPy_END_ALLOW_THREADS
;
7646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7647 _resultobj
= Py_BuildValue("s",_ptemp
);
7650 _resultobj
= Py_None
;
7655 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7656 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
* _resultobj
;
7660 PyObject
* _argo0
= 0;
7661 PyObject
* _argo1
= 0;
7662 char *_kwnames
[] = { "self","win", NULL
};
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7682 wxPy_BEGIN_ALLOW_THREADS
;
7683 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7685 wxPy_END_ALLOW_THREADS
;
7686 } Py_INCREF(Py_None
);
7687 _resultobj
= Py_None
;
7691 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7692 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
* _resultobj
;
7696 PyObject
* _argo0
= 0;
7697 char *_kwnames
[] = { "self", NULL
};
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7711 wxPy_BEGIN_ALLOW_THREADS
;
7712 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7714 wxPy_END_ALLOW_THREADS
;
7716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7717 _resultobj
= Py_BuildValue("s",_ptemp
);
7720 _resultobj
= Py_None
;
7725 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7726 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
* _resultobj
;
7730 PyObject
* _argo0
= 0;
7731 char *_kwnames
[] = { "self", NULL
};
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7744 wxPy_BEGIN_ALLOW_THREADS
;
7745 _result
= (long )wxMenu_GetStyle(_arg0
);
7747 wxPy_END_ALLOW_THREADS
;
7748 } _resultobj
= Py_BuildValue("l",_result
);
7752 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7753 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
* _resultobj
;
7757 PyObject
* _argo0
= 0;
7758 char *_kwnames
[] = { "self", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7771 wxPy_BEGIN_ALLOW_THREADS
;
7772 _result
= (bool )wxMenu_IsAttached(_arg0
);
7774 wxPy_END_ALLOW_THREADS
;
7775 } _resultobj
= Py_BuildValue("i",_result
);
7779 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7780 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7784 PyObject
* _argo0
= 0;
7785 PyObject
* _argo1
= 0;
7786 char *_kwnames
[] = { "self","parent", NULL
};
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7806 wxPy_BEGIN_ALLOW_THREADS
;
7807 wxMenu_SetParent(_arg0
,_arg1
);
7809 wxPy_END_ALLOW_THREADS
;
7810 } Py_INCREF(Py_None
);
7811 _resultobj
= Py_None
;
7815 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7816 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7820 PyObject
* _argo0
= 0;
7821 char *_kwnames
[] = { "self", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7835 wxPy_BEGIN_ALLOW_THREADS
;
7836 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7838 wxPy_END_ALLOW_THREADS
;
7840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7841 _resultobj
= Py_BuildValue("s",_ptemp
);
7844 _resultobj
= Py_None
;
7849 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7852 src
= (wxMenuBar
*) ptr
;
7853 dest
= (wxWindow
*) src
;
7854 return (void *) dest
;
7857 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7860 src
= (wxMenuBar
*) ptr
;
7861 dest
= (wxEvtHandler
*) src
;
7862 return (void *) dest
;
7865 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
7866 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
* _resultobj
;
7868 wxMenuBar
* _result
;
7869 long _arg0
= (long ) 0;
7870 char *_kwnames
[] = { "style", NULL
};
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
7877 wxPy_BEGIN_ALLOW_THREADS
;
7878 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
7880 wxPy_END_ALLOW_THREADS
;
7882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7883 _resultobj
= Py_BuildValue("s",_ptemp
);
7886 _resultobj
= Py_None
;
7891 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7892 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
* _resultobj
;
7898 PyObject
* _argo0
= 0;
7899 PyObject
* _argo1
= 0;
7900 PyObject
* _obj2
= 0;
7901 char *_kwnames
[] = { "self","menu","title", NULL
};
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7921 #if PYTHON_API_VERSION >= 1009
7922 char* tmpPtr
; int tmpSize
;
7923 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7924 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7927 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7929 _arg2
= new wxString(tmpPtr
, tmpSize
);
7931 if (!PyString_Check(_obj2
)) {
7932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7935 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7939 wxPy_BEGIN_ALLOW_THREADS
;
7940 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7942 wxPy_END_ALLOW_THREADS
;
7943 } _resultobj
= Py_BuildValue("i",_result
);
7951 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7952 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
* _resultobj
;
7959 PyObject
* _argo0
= 0;
7960 PyObject
* _argo2
= 0;
7961 PyObject
* _obj3
= 0;
7962 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7975 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7976 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7982 #if PYTHON_API_VERSION >= 1009
7983 char* tmpPtr
; int tmpSize
;
7984 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7985 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7988 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7990 _arg3
= new wxString(tmpPtr
, tmpSize
);
7992 if (!PyString_Check(_obj3
)) {
7993 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7996 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8000 wxPy_BEGIN_ALLOW_THREADS
;
8001 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
8003 wxPy_END_ALLOW_THREADS
;
8004 } _resultobj
= Py_BuildValue("i",_result
);
8012 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
8013 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
* _resultobj
;
8017 PyObject
* _argo0
= 0;
8018 char *_kwnames
[] = { "self", NULL
};
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
8024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8031 wxPy_BEGIN_ALLOW_THREADS
;
8032 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8034 wxPy_END_ALLOW_THREADS
;
8035 } _resultobj
= Py_BuildValue("i",_result
);
8039 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8040 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8045 PyObject
* _argo0
= 0;
8046 char *_kwnames
[] = { "self","pos", NULL
};
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8060 wxPy_BEGIN_ALLOW_THREADS
;
8061 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8063 wxPy_END_ALLOW_THREADS
;
8065 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8066 _resultobj
= Py_BuildValue("s",_ptemp
);
8069 _resultobj
= Py_None
;
8074 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8075 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
* _resultobj
;
8082 PyObject
* _argo0
= 0;
8083 PyObject
* _argo2
= 0;
8084 PyObject
* _obj3
= 0;
8085 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8099 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8106 #if PYTHON_API_VERSION >= 1009
8107 char* tmpPtr
; int tmpSize
;
8108 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8109 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8112 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8114 _arg3
= new wxString(tmpPtr
, tmpSize
);
8116 if (!PyString_Check(_obj3
)) {
8117 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8120 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8124 wxPy_BEGIN_ALLOW_THREADS
;
8125 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8127 wxPy_END_ALLOW_THREADS
;
8129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8130 _resultobj
= Py_BuildValue("s",_ptemp
);
8133 _resultobj
= Py_None
;
8142 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8143 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
* _resultobj
;
8148 PyObject
* _argo0
= 0;
8149 char *_kwnames
[] = { "self","pos", NULL
};
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8163 wxPy_BEGIN_ALLOW_THREADS
;
8164 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8166 wxPy_END_ALLOW_THREADS
;
8168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8169 _resultobj
= Py_BuildValue("s",_ptemp
);
8172 _resultobj
= Py_None
;
8177 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8178 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
* _resultobj
;
8183 PyObject
* _argo0
= 0;
8185 char *_kwnames
[] = { "self","pos","enable", NULL
};
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8197 _arg2
= (bool ) tempbool2
;
8199 wxPy_BEGIN_ALLOW_THREADS
;
8200 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8202 wxPy_END_ALLOW_THREADS
;
8203 } Py_INCREF(Py_None
);
8204 _resultobj
= Py_None
;
8208 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8209 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
* _resultobj
;
8214 PyObject
* _argo0
= 0;
8215 PyObject
* _obj2
= 0;
8216 char *_kwnames
[] = { "self","pos","label", NULL
};
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8229 #if PYTHON_API_VERSION >= 1009
8230 char* tmpPtr
; int tmpSize
;
8231 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8232 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8235 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8237 _arg2
= new wxString(tmpPtr
, tmpSize
);
8239 if (!PyString_Check(_obj2
)) {
8240 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8243 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8247 wxPy_BEGIN_ALLOW_THREADS
;
8248 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8250 wxPy_END_ALLOW_THREADS
;
8251 } Py_INCREF(Py_None
);
8252 _resultobj
= Py_None
;
8260 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8261 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8266 PyObject
* _argo0
= 0;
8267 char *_kwnames
[] = { "self","pos", NULL
};
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8280 wxPy_BEGIN_ALLOW_THREADS
;
8281 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8283 wxPy_END_ALLOW_THREADS
;
8285 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8293 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8294 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
* _resultobj
;
8300 PyObject
* _argo0
= 0;
8301 PyObject
* _obj1
= 0;
8302 PyObject
* _obj2
= 0;
8303 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8316 #if PYTHON_API_VERSION >= 1009
8317 char* tmpPtr
; int tmpSize
;
8318 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8319 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8322 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8324 _arg1
= new wxString(tmpPtr
, tmpSize
);
8326 if (!PyString_Check(_obj1
)) {
8327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8330 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8334 #if PYTHON_API_VERSION >= 1009
8335 char* tmpPtr
; int tmpSize
;
8336 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8337 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8340 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8342 _arg2
= new wxString(tmpPtr
, tmpSize
);
8344 if (!PyString_Check(_obj2
)) {
8345 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8348 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8352 wxPy_BEGIN_ALLOW_THREADS
;
8353 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8355 wxPy_END_ALLOW_THREADS
;
8356 } _resultobj
= Py_BuildValue("i",_result
);
8368 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8369 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
* _resultobj
;
8371 wxMenuItem
* _result
;
8374 PyObject
* _argo0
= 0;
8375 char *_kwnames
[] = { "self","id", NULL
};
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8389 wxPy_BEGIN_ALLOW_THREADS
;
8390 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8392 wxPy_END_ALLOW_THREADS
;
8394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8395 _resultobj
= Py_BuildValue("s",_ptemp
);
8398 _resultobj
= Py_None
;
8403 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8404 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
* _resultobj
;
8409 PyObject
* _argo0
= 0;
8411 char *_kwnames
[] = { "self","id","enable", NULL
};
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8423 _arg2
= (bool ) tempbool2
;
8425 wxPy_BEGIN_ALLOW_THREADS
;
8426 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8428 wxPy_END_ALLOW_THREADS
;
8429 } Py_INCREF(Py_None
);
8430 _resultobj
= Py_None
;
8434 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8435 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
* _resultobj
;
8440 PyObject
* _argo0
= 0;
8442 char *_kwnames
[] = { "self","id","check", NULL
};
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8454 _arg2
= (bool ) tempbool2
;
8456 wxPy_BEGIN_ALLOW_THREADS
;
8457 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8459 wxPy_END_ALLOW_THREADS
;
8460 } Py_INCREF(Py_None
);
8461 _resultobj
= Py_None
;
8465 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8466 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
* _resultobj
;
8471 PyObject
* _argo0
= 0;
8472 char *_kwnames
[] = { "self","id", NULL
};
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8485 wxPy_BEGIN_ALLOW_THREADS
;
8486 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8488 wxPy_END_ALLOW_THREADS
;
8489 } _resultobj
= Py_BuildValue("i",_result
);
8493 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8494 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
* _resultobj
;
8499 PyObject
* _argo0
= 0;
8500 char *_kwnames
[] = { "self","id", NULL
};
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8513 wxPy_BEGIN_ALLOW_THREADS
;
8514 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8516 wxPy_END_ALLOW_THREADS
;
8517 } _resultobj
= Py_BuildValue("i",_result
);
8521 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8522 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8527 PyObject
* _argo0
= 0;
8528 PyObject
* _obj2
= 0;
8529 char *_kwnames
[] = { "self","id","label", NULL
};
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8542 #if PYTHON_API_VERSION >= 1009
8543 char* tmpPtr
; int tmpSize
;
8544 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8545 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8548 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8550 _arg2
= new wxString(tmpPtr
, tmpSize
);
8552 if (!PyString_Check(_obj2
)) {
8553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8556 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8560 wxPy_BEGIN_ALLOW_THREADS
;
8561 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8563 wxPy_END_ALLOW_THREADS
;
8564 } Py_INCREF(Py_None
);
8565 _resultobj
= Py_None
;
8573 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8574 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
* _resultobj
;
8579 PyObject
* _argo0
= 0;
8580 char *_kwnames
[] = { "self","id", NULL
};
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8593 wxPy_BEGIN_ALLOW_THREADS
;
8594 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8596 wxPy_END_ALLOW_THREADS
;
8598 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8606 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8607 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
* _resultobj
;
8612 PyObject
* _argo0
= 0;
8613 PyObject
* _obj2
= 0;
8614 char *_kwnames
[] = { "self","id","helpString", NULL
};
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8627 #if PYTHON_API_VERSION >= 1009
8628 char* tmpPtr
; int tmpSize
;
8629 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8630 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8633 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8635 _arg2
= new wxString(tmpPtr
, tmpSize
);
8637 if (!PyString_Check(_obj2
)) {
8638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8641 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8645 wxPy_BEGIN_ALLOW_THREADS
;
8646 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8648 wxPy_END_ALLOW_THREADS
;
8649 } Py_INCREF(Py_None
);
8650 _resultobj
= Py_None
;
8658 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8659 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
* _resultobj
;
8664 PyObject
* _argo0
= 0;
8665 char *_kwnames
[] = { "self","id", NULL
};
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8678 wxPy_BEGIN_ALLOW_THREADS
;
8679 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8681 wxPy_END_ALLOW_THREADS
;
8683 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8691 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8692 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
* _resultobj
;
8694 wxMenuItem
* _result
;
8695 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8696 int _arg1
= (int ) wxID_SEPARATOR
;
8697 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8698 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8699 bool _arg4
= (bool ) FALSE
;
8700 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8701 PyObject
* _argo0
= 0;
8702 PyObject
* _obj2
= 0;
8703 PyObject
* _obj3
= 0;
8704 int tempbool4
= (int) FALSE
;
8705 PyObject
* _argo5
= 0;
8706 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8721 #if PYTHON_API_VERSION >= 1009
8722 char* tmpPtr
; int tmpSize
;
8723 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8724 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8727 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8729 _arg2
= new wxString(tmpPtr
, tmpSize
);
8731 if (!PyString_Check(_obj2
)) {
8732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8735 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8740 #if PYTHON_API_VERSION >= 1009
8741 char* tmpPtr
; int tmpSize
;
8742 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8743 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8746 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8748 _arg3
= new wxString(tmpPtr
, tmpSize
);
8750 if (!PyString_Check(_obj3
)) {
8751 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8754 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8757 _arg4
= (bool ) tempbool4
;
8759 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8760 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8766 wxPy_BEGIN_ALLOW_THREADS
;
8767 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8769 wxPy_END_ALLOW_THREADS
;
8771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8772 _resultobj
= Py_BuildValue("s",_ptemp
);
8775 _resultobj
= Py_None
;
8788 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8789 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
* _resultobj
;
8793 PyObject
* _argo0
= 0;
8794 char *_kwnames
[] = { "self", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8808 wxPy_BEGIN_ALLOW_THREADS
;
8809 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8811 wxPy_END_ALLOW_THREADS
;
8813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8814 _resultobj
= Py_BuildValue("s",_ptemp
);
8817 _resultobj
= Py_None
;
8822 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8823 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
* _resultobj
;
8827 PyObject
* _argo0
= 0;
8828 char *_kwnames
[] = { "self","id", NULL
};
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8841 wxPy_BEGIN_ALLOW_THREADS
;
8842 wxMenuItem_SetId(_arg0
,_arg1
);
8844 wxPy_END_ALLOW_THREADS
;
8845 } Py_INCREF(Py_None
);
8846 _resultobj
= Py_None
;
8850 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8851 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
* _resultobj
;
8855 PyObject
* _argo0
= 0;
8856 char *_kwnames
[] = { "self", NULL
};
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8869 wxPy_BEGIN_ALLOW_THREADS
;
8870 _result
= (int )wxMenuItem_GetId(_arg0
);
8872 wxPy_END_ALLOW_THREADS
;
8873 } _resultobj
= Py_BuildValue("i",_result
);
8877 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8878 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
* _resultobj
;
8882 PyObject
* _argo0
= 0;
8883 char *_kwnames
[] = { "self", NULL
};
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8896 wxPy_BEGIN_ALLOW_THREADS
;
8897 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8899 wxPy_END_ALLOW_THREADS
;
8900 } _resultobj
= Py_BuildValue("i",_result
);
8904 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8905 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
* _resultobj
;
8909 PyObject
* _argo0
= 0;
8910 PyObject
* _obj1
= 0;
8911 char *_kwnames
[] = { "self","str", NULL
};
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8924 #if PYTHON_API_VERSION >= 1009
8925 char* tmpPtr
; int tmpSize
;
8926 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8927 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8930 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8932 _arg1
= new wxString(tmpPtr
, tmpSize
);
8934 if (!PyString_Check(_obj1
)) {
8935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8938 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8942 wxPy_BEGIN_ALLOW_THREADS
;
8943 wxMenuItem_SetText(_arg0
,*_arg1
);
8945 wxPy_END_ALLOW_THREADS
;
8946 } Py_INCREF(Py_None
);
8947 _resultobj
= Py_None
;
8955 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8956 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
* _resultobj
;
8960 PyObject
* _argo0
= 0;
8961 char *_kwnames
[] = { "self", NULL
};
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8974 wxPy_BEGIN_ALLOW_THREADS
;
8975 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8977 wxPy_END_ALLOW_THREADS
;
8979 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8987 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8988 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
* _resultobj
;
8992 PyObject
* _argo0
= 0;
8993 char *_kwnames
[] = { "self", NULL
};
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
9006 wxPy_BEGIN_ALLOW_THREADS
;
9007 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
9008 _result
= (wxString
*) &_result_ref
;
9010 wxPy_END_ALLOW_THREADS
;
9012 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9017 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
9018 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
* _resultobj
;
9022 PyObject
* _argo0
= 0;
9024 char *_kwnames
[] = { "self","checkable", NULL
};
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
9030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
9036 _arg1
= (bool ) tempbool1
;
9038 wxPy_BEGIN_ALLOW_THREADS
;
9039 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9041 wxPy_END_ALLOW_THREADS
;
9042 } Py_INCREF(Py_None
);
9043 _resultobj
= Py_None
;
9047 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9048 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
* _resultobj
;
9052 PyObject
* _argo0
= 0;
9053 char *_kwnames
[] = { "self", NULL
};
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
9059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9066 wxPy_BEGIN_ALLOW_THREADS
;
9067 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9069 wxPy_END_ALLOW_THREADS
;
9070 } _resultobj
= Py_BuildValue("i",_result
);
9074 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9075 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
* _resultobj
;
9079 PyObject
* _argo0
= 0;
9080 char *_kwnames
[] = { "self", NULL
};
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9093 wxPy_BEGIN_ALLOW_THREADS
;
9094 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9096 wxPy_END_ALLOW_THREADS
;
9097 } _resultobj
= Py_BuildValue("i",_result
);
9101 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9102 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
* _resultobj
;
9106 PyObject
* _argo0
= 0;
9107 PyObject
* _argo1
= 0;
9108 char *_kwnames
[] = { "self","menu", NULL
};
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9128 wxPy_BEGIN_ALLOW_THREADS
;
9129 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9131 wxPy_END_ALLOW_THREADS
;
9132 } Py_INCREF(Py_None
);
9133 _resultobj
= Py_None
;
9137 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9138 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
* _resultobj
;
9142 PyObject
* _argo0
= 0;
9143 char *_kwnames
[] = { "self", NULL
};
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9157 wxPy_BEGIN_ALLOW_THREADS
;
9158 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9160 wxPy_END_ALLOW_THREADS
;
9162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
9163 _resultobj
= Py_BuildValue("s",_ptemp
);
9166 _resultobj
= Py_None
;
9171 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9172 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
* _resultobj
;
9175 bool _arg1
= (bool ) TRUE
;
9176 PyObject
* _argo0
= 0;
9177 int tempbool1
= (int) TRUE
;
9178 char *_kwnames
[] = { "self","enable", NULL
};
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9190 _arg1
= (bool ) tempbool1
;
9192 wxPy_BEGIN_ALLOW_THREADS
;
9193 wxMenuItem_Enable(_arg0
,_arg1
);
9195 wxPy_END_ALLOW_THREADS
;
9196 } Py_INCREF(Py_None
);
9197 _resultobj
= Py_None
;
9201 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9202 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
* _resultobj
;
9206 PyObject
* _argo0
= 0;
9207 char *_kwnames
[] = { "self", NULL
};
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9220 wxPy_BEGIN_ALLOW_THREADS
;
9221 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9223 wxPy_END_ALLOW_THREADS
;
9224 } _resultobj
= Py_BuildValue("i",_result
);
9228 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9229 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
* _resultobj
;
9232 bool _arg1
= (bool ) TRUE
;
9233 PyObject
* _argo0
= 0;
9234 int tempbool1
= (int) TRUE
;
9235 char *_kwnames
[] = { "self","check", NULL
};
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9247 _arg1
= (bool ) tempbool1
;
9249 wxPy_BEGIN_ALLOW_THREADS
;
9250 wxMenuItem_Check(_arg0
,_arg1
);
9252 wxPy_END_ALLOW_THREADS
;
9253 } Py_INCREF(Py_None
);
9254 _resultobj
= Py_None
;
9258 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9259 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
* _resultobj
;
9263 PyObject
* _argo0
= 0;
9264 char *_kwnames
[] = { "self", NULL
};
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9277 wxPy_BEGIN_ALLOW_THREADS
;
9278 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9280 wxPy_END_ALLOW_THREADS
;
9281 } _resultobj
= Py_BuildValue("i",_result
);
9285 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9286 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
* _resultobj
;
9289 PyObject
* _argo0
= 0;
9290 char *_kwnames
[] = { "self", NULL
};
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9303 wxPy_BEGIN_ALLOW_THREADS
;
9304 wxMenuItem_Toggle(_arg0
);
9306 wxPy_END_ALLOW_THREADS
;
9307 } Py_INCREF(Py_None
);
9308 _resultobj
= Py_None
;
9312 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9313 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
* _resultobj
;
9317 PyObject
* _argo0
= 0;
9318 PyObject
* _obj1
= 0;
9319 char *_kwnames
[] = { "self","str", NULL
};
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9332 #if PYTHON_API_VERSION >= 1009
9333 char* tmpPtr
; int tmpSize
;
9334 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9335 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9338 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9340 _arg1
= new wxString(tmpPtr
, tmpSize
);
9342 if (!PyString_Check(_obj1
)) {
9343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9346 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9350 wxPy_BEGIN_ALLOW_THREADS
;
9351 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9353 wxPy_END_ALLOW_THREADS
;
9354 } Py_INCREF(Py_None
);
9355 _resultobj
= Py_None
;
9363 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9364 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
* _resultobj
;
9368 PyObject
* _argo0
= 0;
9369 char *_kwnames
[] = { "self", NULL
};
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9382 wxPy_BEGIN_ALLOW_THREADS
;
9383 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9384 _result
= (wxString
*) &_result_ref
;
9386 wxPy_END_ALLOW_THREADS
;
9388 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9393 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9394 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
* _resultobj
;
9396 wxAcceleratorEntry
* _result
;
9398 PyObject
* _argo0
= 0;
9399 char *_kwnames
[] = { "self", NULL
};
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9413 wxPy_BEGIN_ALLOW_THREADS
;
9414 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9416 wxPy_END_ALLOW_THREADS
;
9418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9419 _resultobj
= Py_BuildValue("s",_ptemp
);
9422 _resultobj
= Py_None
;
9427 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9428 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
* _resultobj
;
9431 wxAcceleratorEntry
* _arg1
;
9432 PyObject
* _argo0
= 0;
9433 PyObject
* _argo1
= 0;
9434 char *_kwnames
[] = { "self","accel", NULL
};
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9447 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9448 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9454 wxPy_BEGIN_ALLOW_THREADS
;
9455 wxMenuItem_SetAccel(_arg0
,_arg1
);
9457 wxPy_END_ALLOW_THREADS
;
9458 } Py_INCREF(Py_None
);
9459 _resultobj
= Py_None
;
9463 static PyMethodDef windowscMethods
[] = {
9464 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9465 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9466 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9467 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9468 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9469 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9470 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9471 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9472 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9473 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9474 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9475 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9476 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9477 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9478 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9479 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9480 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9481 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9482 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9483 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9484 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9485 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9486 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9487 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9488 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9489 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9490 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9491 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9492 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9493 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9494 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9495 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9496 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9497 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9498 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9499 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9500 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9501 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9502 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9503 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9504 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9505 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9506 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9507 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9508 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9509 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9510 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9511 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9512 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9513 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9514 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9515 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9516 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9517 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9518 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9519 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9520 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9521 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9522 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9523 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9524 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9525 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9526 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9527 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9528 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9529 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9530 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9531 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9532 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9533 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9534 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9535 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9536 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9537 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9538 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9539 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9540 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9541 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9542 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9543 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9544 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9545 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9546 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9547 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9548 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9549 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9550 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9551 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9552 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9553 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9554 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9555 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9556 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9557 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9558 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9559 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9560 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9561 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9562 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9563 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9564 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9565 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9566 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9567 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9568 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9569 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9570 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9571 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9572 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9573 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9574 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9575 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9576 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9577 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9578 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9579 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9580 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9581 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9582 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9583 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9584 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9585 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9586 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9587 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9588 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9589 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9590 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9591 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9592 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9593 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9594 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9595 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9596 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9597 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9598 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9599 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9600 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9708 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9709 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9710 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9731 * This table is used by the pointer type-checker
9733 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9734 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9735 { "_signed_long","_long",0},
9736 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9737 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9738 { "_wxPrintQuality","_wxCoord",0},
9739 { "_wxPrintQuality","_int",0},
9740 { "_wxPrintQuality","_signed_int",0},
9741 { "_wxPrintQuality","_unsigned_int",0},
9742 { "_wxPrintQuality","_wxWindowID",0},
9743 { "_wxPrintQuality","_uint",0},
9744 { "_wxPrintQuality","_EBool",0},
9745 { "_wxPrintQuality","_size_t",0},
9746 { "_wxPrintQuality","_time_t",0},
9747 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9748 { "_class_wxRegionIterator","_wxRegionIterator",0},
9749 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9750 { "_class_wxMenuBar","_wxMenuBar",0},
9751 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9752 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9753 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9754 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9755 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9756 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9757 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9758 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9759 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9760 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9761 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9762 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9763 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9764 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9765 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9766 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9767 { "_class_wxEvtHandler","_wxEvtHandler",0},
9768 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9769 { "_wxCursor","_class_wxCursor",0},
9770 { "_wxMask","_class_wxMask",0},
9771 { "_wxPen","_class_wxPen",0},
9772 { "_byte","_unsigned_char",0},
9773 { "_wxDataObject","_class_wxDataObject",0},
9774 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9775 { "_wxPyDropSource","_class_wxPyDropSource",0},
9776 { "_long","_unsigned_long",0},
9777 { "_long","_signed_long",0},
9778 { "_wxImageList","_class_wxImageList",0},
9779 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9780 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9781 { "_class_wxClipboard","_wxClipboard",0},
9782 { "_wxDC","_class_wxDC",0},
9783 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9784 { "_size_t","_wxCoord",0},
9785 { "_size_t","_wxPrintQuality",0},
9786 { "_size_t","_time_t",0},
9787 { "_size_t","_unsigned_int",0},
9788 { "_size_t","_int",0},
9789 { "_size_t","_wxWindowID",0},
9790 { "_size_t","_uint",0},
9791 { "_class_wxRealPoint","_wxRealPoint",0},
9792 { "_wxPrinterDC","_class_wxPrinterDC",0},
9793 { "_class_wxMenuItem","_wxMenuItem",0},
9794 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9795 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9796 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9797 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9798 { "_wxPanel","_class_wxPanel",0},
9799 { "_class_wxMask","_wxMask",0},
9800 { "_wxTextDataObject","_class_wxTextDataObject",0},
9801 { "_wxColour","_class_wxColour",0},
9802 { "_class_wxDialog","_wxDialog",0},
9803 { "_class_wxFileDataObject","_wxFileDataObject",0},
9804 { "_class_wxDataObject","_wxDataObject",0},
9805 { "_wxBrush","_class_wxBrush",0},
9806 { "_wxDataFormat","_class_wxDataFormat",0},
9807 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9808 { "_uint","_wxCoord",0},
9809 { "_uint","_wxPrintQuality",0},
9810 { "_uint","_time_t",0},
9811 { "_uint","_size_t",0},
9812 { "_uint","_unsigned_int",0},
9813 { "_uint","_int",0},
9814 { "_uint","_wxWindowID",0},
9815 { "_wxChar","_char",0},
9816 { "_wxPyValidator","_class_wxPyValidator",0},
9817 { "_wxRect","_class_wxRect",0},
9818 { "_wxPoint","_class_wxPoint",0},
9819 { "_char","_wxChar",0},
9820 { "_wxBitmap","_class_wxBitmap",0},
9821 { "_wxWindowDC","_class_wxWindowDC",0},
9822 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9823 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9824 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9825 { "_class_wxValidator","_wxValidator",0},
9826 { "_wxDropTarget","_class_wxDropTarget",0},
9827 { "_EBool","_wxCoord",0},
9828 { "_EBool","_wxPrintQuality",0},
9829 { "_EBool","_signed_int",0},
9830 { "_EBool","_int",0},
9831 { "_EBool","_wxWindowID",0},
9832 { "_class_wxRegion","_wxRegion",0},
9833 { "_class_wxDataFormat","_wxDataFormat",0},
9834 { "_wxFont","_class_wxFont",0},
9835 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9836 { "_unsigned_long","_long",0},
9837 { "_class_wxRect","_wxRect",0},
9838 { "_class_wxDC","_wxDC",0},
9839 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9840 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9841 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9842 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9843 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9844 { "_class_wxPanel","_wxPanel",0},
9845 { "_signed_int","_wxCoord",0},
9846 { "_signed_int","_wxPrintQuality",0},
9847 { "_signed_int","_EBool",0},
9848 { "_signed_int","_wxWindowID",0},
9849 { "_signed_int","_int",0},
9850 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9851 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
9852 { "_class_wxTextDataObject","_wxTextDataObject",0},
9853 { "_wxMenu","_class_wxMenu",0},
9854 { "_wxScreenDC","_class_wxScreenDC",0},
9855 { "_WXTYPE","_short",0},
9856 { "_WXTYPE","_signed_short",0},
9857 { "_WXTYPE","_unsigned_short",0},
9858 { "_class_wxDropTarget","_wxDropTarget",0},
9859 { "_class_wxBrush","_wxBrush",0},
9860 { "_unsigned_short","_WXTYPE",0},
9861 { "_unsigned_short","_short",0},
9862 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9863 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9864 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9865 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9866 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9867 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9868 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9869 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9870 { "_class_wxWindow","_wxWindow",0},
9871 { "_class_wxFont","_wxFont",0},
9872 { "_wxClipboard","_class_wxClipboard",0},
9873 { "_class_wxPyValidator","_wxPyValidator",0},
9874 { "_wxBusyInfo","_class_wxBusyInfo",0},
9875 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9876 { "_wxClientDC","_class_wxClientDC",0},
9877 { "_class_wxPoint","_wxPoint",0},
9878 { "_wxRealPoint","_class_wxRealPoint",0},
9879 { "_signed_short","_WXTYPE",0},
9880 { "_signed_short","_short",0},
9881 { "_wxMemoryDC","_class_wxMemoryDC",0},
9882 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9883 { "_wxPaintDC","_class_wxPaintDC",0},
9884 { "_class_wxWindowDC","_wxWindowDC",0},
9885 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9886 { "_class_wxCursor","_wxCursor",0},
9887 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9888 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9889 { "_unsigned_char","_byte",0},
9890 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
9891 { "_class_wxMenu","_wxMenu",0},
9892 { "_unsigned_int","_wxCoord",0},
9893 { "_unsigned_int","_wxPrintQuality",0},
9894 { "_unsigned_int","_time_t",0},
9895 { "_unsigned_int","_size_t",0},
9896 { "_unsigned_int","_uint",0},
9897 { "_unsigned_int","_wxWindowID",0},
9898 { "_unsigned_int","_int",0},
9899 { "_wxIcon","_class_wxIcon",0},
9900 { "_wxDialog","_class_wxDialog",0},
9901 { "_class_wxPen","_wxPen",0},
9902 { "_short","_WXTYPE",0},
9903 { "_short","_unsigned_short",0},
9904 { "_short","_signed_short",0},
9905 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9906 { "_class_wxPyDropSource","_wxPyDropSource",0},
9907 { "_class_wxImageList","_wxImageList",0},
9908 { "_wxWindowID","_wxCoord",0},
9909 { "_wxWindowID","_wxPrintQuality",0},
9910 { "_wxWindowID","_time_t",0},
9911 { "_wxWindowID","_size_t",0},
9912 { "_wxWindowID","_EBool",0},
9913 { "_wxWindowID","_uint",0},
9914 { "_wxWindowID","_int",0},
9915 { "_wxWindowID","_signed_int",0},
9916 { "_wxWindowID","_unsigned_int",0},
9917 { "_int","_wxCoord",0},
9918 { "_int","_wxPrintQuality",0},
9919 { "_int","_time_t",0},
9920 { "_int","_size_t",0},
9921 { "_int","_EBool",0},
9922 { "_int","_uint",0},
9923 { "_int","_wxWindowID",0},
9924 { "_int","_unsigned_int",0},
9925 { "_int","_signed_int",0},
9926 { "_time_t","_wxCoord",0},
9927 { "_time_t","_wxPrintQuality",0},
9928 { "_time_t","_unsigned_int",0},
9929 { "_time_t","_int",0},
9930 { "_time_t","_wxWindowID",0},
9931 { "_time_t","_uint",0},
9932 { "_time_t","_size_t",0},
9933 { "_wxSize","_class_wxSize",0},
9934 { "_wxRegionIterator","_class_wxRegionIterator",0},
9935 { "_class_wxPrinterDC","_wxPrinterDC",0},
9936 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9937 { "_class_wxPaintDC","_wxPaintDC",0},
9938 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9939 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9940 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9941 { "_wxValidator","_class_wxValidator",0},
9942 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9943 { "_class_wxIcon","_wxIcon",0},
9944 { "_class_wxColour","_wxColour",0},
9945 { "_class_wxScreenDC","_wxScreenDC",0},
9946 { "_wxPalette","_class_wxPalette",0},
9947 { "_wxCoord","_int",0},
9948 { "_wxCoord","_signed_int",0},
9949 { "_wxCoord","_unsigned_int",0},
9950 { "_wxCoord","_wxWindowID",0},
9951 { "_wxCoord","_uint",0},
9952 { "_wxCoord","_EBool",0},
9953 { "_wxCoord","_size_t",0},
9954 { "_wxCoord","_time_t",0},
9955 { "_wxCoord","_wxPrintQuality",0},
9956 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9957 { "_wxRegion","_class_wxRegion",0},
9958 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9959 { "_class_wxBusyInfo","_wxBusyInfo",0},
9960 { "_class_wxClientDC","_wxClientDC",0},
9961 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9962 { "_class_wxSize","_wxSize",0},
9963 { "_class_wxBitmap","_wxBitmap",0},
9964 { "_class_wxMemoryDC","_wxMemoryDC",0},
9965 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9966 { "_wxMenuBar","_class_wxMenuBar",0},
9967 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9968 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9969 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9970 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9971 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9972 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9973 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9974 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9975 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9976 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9977 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9978 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9979 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9980 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9981 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9982 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9983 { "_wxEvtHandler","_class_wxEvtHandler",0},
9984 { "_wxMenuItem","_class_wxMenuItem",0},
9985 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9986 { "_class_wxPalette","_wxPalette",0},
9987 { "_wxFileDataObject","_class_wxFileDataObject",0},
9988 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9989 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9990 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9991 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9992 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9993 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9994 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9995 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9996 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9997 { "_wxWindow","_class_wxWindow",0},
10000 static PyObject
*SWIG_globals
;
10004 SWIGEXPORT(void) initwindowsc() {
10006 SWIG_globals
= SWIG_newvarlink();
10007 m
= Py_InitModule("windowsc", windowscMethods
);
10008 d
= PyModule_GetDict(m
);
10011 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10012 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);