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 #if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg
= "String or Unicode type required";
110 static char* wxStringErrorMsg
= "string type is required for parameter";
113 static wxString
wxPyEmptyStr("");
115 bool wxValidator_IsSilent() {
116 return wxValidator::IsSilent();
119 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
120 wxValidator::SetBellOnError(doIt
);
123 class wxPyValidator
: public wxValidator
{
124 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
128 // wxPyValidator(const wxPyValidator& other);
133 wxObject
* wxPyValidator::Clone() const {
134 wxPyValidator
* ptr
= NULL
;
135 wxPyValidator
* self
= (wxPyValidator
*)this;
137 bool doSave
= wxPyRestoreThread();
138 if (self
->m_myInst
.findCallback("Clone")) {
140 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
142 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
146 // This is very dangerous!!! But is the only way I could find
147 // to squash a memory leak. Currently it is okay, but if the
148 // validator architecture in wxWindows ever changes, problems
152 wxPySaveThread(doSave
);
156 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
157 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
158 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
164 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
165 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
166 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
168 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
171 wxWindow
* wxWindow_FindFocus() {
172 return wxWindow::FindFocus();
175 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
176 wxWindow
* win
= new wxWindow
;
178 win
->SubclassWin(hWnd
);
182 int wxWindow_NewControlId() {
183 return wxWindow::NewControlId();
185 int wxWindow_NextControlId(int id
) {
186 return wxWindow::NextControlId(id
);
188 int wxWindow_PrevControlId(int id
) {
189 return wxWindow::PrevControlId(id
);
194 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
197 char *_kwnames
[] = { NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
203 wxPy_BEGIN_ALLOW_THREADS
;
204 _result
= (bool )wxValidator_IsSilent();
206 wxPy_END_ALLOW_THREADS
;
207 } _resultobj
= Py_BuildValue("i",_result
);
211 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
212 PyObject
* _resultobj
;
213 int _arg0
= (int ) TRUE
;
214 char *_kwnames
[] = { "doIt", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
220 wxPy_BEGIN_ALLOW_THREADS
;
221 wxValidator_SetBellOnError(_arg0
);
223 wxPy_END_ALLOW_THREADS
;
224 } Py_INCREF(Py_None
);
225 _resultobj
= Py_None
;
229 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
232 char *_kwnames
[] = { NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
239 wxPy_BEGIN_ALLOW_THREADS
;
240 _result
= (wxWindow
*)wxWindow_FindFocus();
242 wxPy_END_ALLOW_THREADS
;
244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
245 _resultobj
= Py_BuildValue("s",_ptemp
);
248 _resultobj
= Py_None
;
253 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
254 PyObject
* _resultobj
;
257 char *_kwnames
[] = { "hWnd", NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
264 wxPy_BEGIN_ALLOW_THREADS
;
265 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
267 wxPy_END_ALLOW_THREADS
;
269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
270 _resultobj
= Py_BuildValue("s",_ptemp
);
273 _resultobj
= Py_None
;
278 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
281 char *_kwnames
[] = { NULL
};
284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
287 wxPy_BEGIN_ALLOW_THREADS
;
288 _result
= (int )wxWindow_NewControlId();
290 wxPy_END_ALLOW_THREADS
;
291 } _resultobj
= Py_BuildValue("i",_result
);
295 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
299 char *_kwnames
[] = { "id", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
305 wxPy_BEGIN_ALLOW_THREADS
;
306 _result
= (int )wxWindow_NextControlId(_arg0
);
308 wxPy_END_ALLOW_THREADS
;
309 } _resultobj
= Py_BuildValue("i",_result
);
313 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
314 PyObject
* _resultobj
;
317 char *_kwnames
[] = { "id", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
323 wxPy_BEGIN_ALLOW_THREADS
;
324 _result
= (int )wxWindow_PrevControlId(_arg0
);
326 wxPy_END_ALLOW_THREADS
;
327 } _resultobj
= Py_BuildValue("i",_result
);
331 #define new_wxEvtHandler() (new wxEvtHandler())
332 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
334 wxEvtHandler
* _result
;
335 char *_kwnames
[] = { NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
342 wxPy_BEGIN_ALLOW_THREADS
;
343 _result
= (wxEvtHandler
*)new_wxEvtHandler();
345 wxPy_END_ALLOW_THREADS
;
347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
348 _resultobj
= Py_BuildValue("s",_ptemp
);
351 _resultobj
= Py_None
;
356 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
357 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
360 wxEvtHandler
* _arg0
;
362 PyObject
* _argo0
= 0;
363 PyObject
* _argo1
= 0;
364 char *_kwnames
[] = { "self","event", NULL
};
367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
384 wxPy_BEGIN_ALLOW_THREADS
;
385 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
387 wxPy_END_ALLOW_THREADS
;
388 } _resultobj
= Py_BuildValue("i",_result
);
392 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
393 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
394 PyObject
* _resultobj
;
395 wxEvtHandler
* _arg0
;
397 PyObject
* _argo0
= 0;
398 PyObject
* _argo1
= 0;
399 char *_kwnames
[] = { "self","event", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
419 wxPy_BEGIN_ALLOW_THREADS
;
420 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
422 wxPy_END_ALLOW_THREADS
;
423 } Py_INCREF(Py_None
);
424 _resultobj
= Py_None
;
428 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
429 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
432 wxEvtHandler
* _arg0
;
433 PyObject
* _argo0
= 0;
434 char *_kwnames
[] = { "self", NULL
};
437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
447 wxPy_BEGIN_ALLOW_THREADS
;
448 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
450 wxPy_END_ALLOW_THREADS
;
451 } _resultobj
= Py_BuildValue("i",_result
);
455 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
456 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxEvtHandler
* _arg0
;
460 PyObject
* _argo0
= 0;
462 char *_kwnames
[] = { "self","enabled", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
474 _arg1
= (bool ) tempbool1
;
476 wxPy_BEGIN_ALLOW_THREADS
;
477 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
479 wxPy_END_ALLOW_THREADS
;
480 } Py_INCREF(Py_None
);
481 _resultobj
= Py_None
;
485 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
486 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
488 wxEvtHandler
* _result
;
489 wxEvtHandler
* _arg0
;
490 PyObject
* _argo0
= 0;
491 char *_kwnames
[] = { "self", NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
505 wxPy_BEGIN_ALLOW_THREADS
;
506 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
508 wxPy_END_ALLOW_THREADS
;
510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
511 _resultobj
= Py_BuildValue("s",_ptemp
);
514 _resultobj
= Py_None
;
519 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
520 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
522 wxEvtHandler
* _result
;
523 wxEvtHandler
* _arg0
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
539 wxPy_BEGIN_ALLOW_THREADS
;
540 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
542 wxPy_END_ALLOW_THREADS
;
544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
545 _resultobj
= Py_BuildValue("s",_ptemp
);
548 _resultobj
= Py_None
;
553 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
554 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxEvtHandler
* _arg0
;
557 wxEvtHandler
* _arg1
;
558 PyObject
* _argo0
= 0;
559 PyObject
* _argo1
= 0;
560 char *_kwnames
[] = { "self","handler", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
580 wxPy_BEGIN_ALLOW_THREADS
;
581 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
583 wxPy_END_ALLOW_THREADS
;
584 } Py_INCREF(Py_None
);
585 _resultobj
= Py_None
;
589 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
590 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxEvtHandler
* _arg0
;
593 wxEvtHandler
* _arg1
;
594 PyObject
* _argo0
= 0;
595 PyObject
* _argo1
= 0;
596 char *_kwnames
[] = { "self","handler", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
616 wxPy_BEGIN_ALLOW_THREADS
;
617 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
619 wxPy_END_ALLOW_THREADS
;
620 } Py_INCREF(Py_None
);
621 _resultobj
= Py_None
;
625 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
626 if (PyCallable_Check(func
)) {
627 self
->Connect(id
, lastId
, eventType
,
628 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
629 new wxPyCallback(func
));
632 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
634 wxEvtHandler
* _arg0
;
639 PyObject
* _argo0
= 0;
640 PyObject
* _obj4
= 0;
641 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
657 wxPy_BEGIN_ALLOW_THREADS
;
658 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
660 wxPy_END_ALLOW_THREADS
;
661 } Py_INCREF(Py_None
);
662 _resultobj
= Py_None
;
666 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
667 return self
->Disconnect(id
, lastId
, eventType
,
668 (wxObjectEventFunction
)
669 &wxPyCallback::EventThunker
);
671 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
674 wxEvtHandler
* _arg0
;
676 int _arg2
= (int ) -1;
677 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
695 wxPy_END_ALLOW_THREADS
;
696 } _resultobj
= Py_BuildValue("i",_result
);
700 static const char * wxEvtHandler_GetClassName(wxEvtHandler
*self
) {
701 return self
->GetClassInfo()->GetClassName();
703 static PyObject
*_wrap_wxEvtHandler_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
706 wxEvtHandler
* _arg0
;
707 PyObject
* _argo0
= 0;
708 char *_kwnames
[] = { "self", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetClassName",_kwnames
,&_argo0
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetClassName. Expected _wxEvtHandler_p.");
721 wxPy_BEGIN_ALLOW_THREADS
;
722 _result
= (char *)wxEvtHandler_GetClassName(_arg0
);
724 wxPy_END_ALLOW_THREADS
;
725 } _resultobj
= Py_BuildValue("s", _result
);
729 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
732 src
= (wxValidator
*) ptr
;
733 dest
= (wxEvtHandler
*) src
;
734 return (void *) dest
;
737 #define new_wxValidator() (new wxValidator())
738 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 PyObject
* _resultobj
;
740 wxValidator
* _result
;
741 char *_kwnames
[] = { NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
748 wxPy_BEGIN_ALLOW_THREADS
;
749 _result
= (wxValidator
*)new_wxValidator();
751 wxPy_END_ALLOW_THREADS
;
753 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
754 _resultobj
= Py_BuildValue("s",_ptemp
);
757 _resultobj
= Py_None
;
762 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
763 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
765 wxValidator
* _result
;
767 PyObject
* _argo0
= 0;
768 char *_kwnames
[] = { "self", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
782 wxPy_BEGIN_ALLOW_THREADS
;
783 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
785 wxPy_END_ALLOW_THREADS
;
787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
788 _resultobj
= Py_BuildValue("s",_ptemp
);
791 _resultobj
= Py_None
;
796 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
797 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
798 PyObject
* _resultobj
;
801 PyObject
* _argo0
= 0;
802 char *_kwnames
[] = { "self", NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
816 wxPy_BEGIN_ALLOW_THREADS
;
817 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
819 wxPy_END_ALLOW_THREADS
;
821 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
822 _resultobj
= Py_BuildValue("s",_ptemp
);
825 _resultobj
= Py_None
;
830 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
831 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
835 PyObject
* _argo0
= 0;
836 PyObject
* _argo1
= 0;
837 char *_kwnames
[] = { "self","window", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
857 wxPy_BEGIN_ALLOW_THREADS
;
858 wxValidator_SetWindow(_arg0
,_arg1
);
860 wxPy_END_ALLOW_THREADS
;
861 } Py_INCREF(Py_None
);
862 _resultobj
= Py_None
;
866 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
869 src
= (wxPyValidator
*) ptr
;
870 dest
= (wxValidator
*) src
;
871 return (void *) dest
;
874 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
877 src
= (wxPyValidator
*) ptr
;
878 dest
= (wxEvtHandler
*) src
;
879 return (void *) dest
;
882 #define new_wxPyValidator() (new wxPyValidator())
883 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
885 wxPyValidator
* _result
;
886 char *_kwnames
[] = { NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
893 wxPy_BEGIN_ALLOW_THREADS
;
894 _result
= (wxPyValidator
*)new_wxPyValidator();
896 wxPy_END_ALLOW_THREADS
;
898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
899 _resultobj
= Py_BuildValue("s",_ptemp
);
902 _resultobj
= Py_None
;
907 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
908 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
910 wxPyValidator
* _arg0
;
911 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
925 wxPy_BEGIN_ALLOW_THREADS
;
926 wxPyValidator_Destroy(_arg0
);
928 wxPy_END_ALLOW_THREADS
;
929 } Py_INCREF(Py_None
);
930 _resultobj
= Py_None
;
934 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
935 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
937 wxPyValidator
* _arg0
;
940 int _arg3
= (int ) TRUE
;
941 PyObject
* _argo0
= 0;
942 PyObject
* _obj1
= 0;
943 PyObject
* _obj2
= 0;
944 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
963 wxPy_BEGIN_ALLOW_THREADS
;
964 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
966 wxPy_END_ALLOW_THREADS
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
972 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
975 src
= (wxWindow
*) ptr
;
976 dest
= (wxEvtHandler
*) src
;
977 return (void *) dest
;
980 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
981 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
986 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
987 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
988 long _arg4
= (long ) 0;
989 char * _arg5
= (char *) "panel";
990 PyObject
* _argo0
= 0;
992 PyObject
* _obj2
= 0;
994 PyObject
* _obj3
= 0;
995 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
1011 if (! wxPoint_helper(_obj2
, &_arg2
))
1017 if (! wxSize_helper(_obj3
, &_arg3
))
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1024 wxPy_END_ALLOW_THREADS
;
1026 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1027 _resultobj
= Py_BuildValue("s",_ptemp
);
1030 _resultobj
= Py_None
;
1035 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
1036 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1039 PyObject
* _argo0
= 0;
1040 char *_kwnames
[] = { "self", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1053 wxPy_BEGIN_ALLOW_THREADS
;
1054 wxWindow_CaptureMouse(_arg0
);
1056 wxPy_END_ALLOW_THREADS
;
1057 } Py_INCREF(Py_None
);
1058 _resultobj
= Py_None
;
1062 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1063 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1066 int _arg1
= (int ) wxBOTH
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self","direction", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 wxWindow_Center(_arg0
,_arg1
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } Py_INCREF(Py_None
);
1086 _resultobj
= Py_None
;
1090 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1091 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1094 int _arg1
= (int ) wxBOTH
;
1095 PyObject
* _argo0
= 0;
1096 char *_kwnames
[] = { "self","direction", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1109 wxPy_BEGIN_ALLOW_THREADS
;
1110 wxWindow_Centre(_arg0
,_arg1
);
1112 wxPy_END_ALLOW_THREADS
;
1113 } Py_INCREF(Py_None
);
1114 _resultobj
= Py_None
;
1118 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1119 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1122 int _arg1
= (int ) wxBOTH
;
1123 PyObject
* _argo0
= 0;
1124 char *_kwnames
[] = { "self","direction", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 wxWindow_CentreOnParent(_arg0
,_arg1
);
1140 wxPy_END_ALLOW_THREADS
;
1141 } Py_INCREF(Py_None
);
1142 _resultobj
= Py_None
;
1146 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1147 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
* _resultobj
;
1150 int _arg1
= (int ) wxBOTH
;
1151 PyObject
* _argo0
= 0;
1152 char *_kwnames
[] = { "self","direction", NULL
};
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1165 wxPy_BEGIN_ALLOW_THREADS
;
1166 wxWindow_CenterOnParent(_arg0
,_arg1
);
1168 wxPy_END_ALLOW_THREADS
;
1169 } Py_INCREF(Py_None
);
1170 _resultobj
= Py_None
;
1174 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1175 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1178 int _arg1
= (int ) wxBOTH
;
1179 PyObject
* _argo0
= 0;
1180 char *_kwnames
[] = { "self","direction", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1196 wxPy_END_ALLOW_THREADS
;
1197 } Py_INCREF(Py_None
);
1198 _resultobj
= Py_None
;
1202 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1203 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1206 int _arg1
= (int ) wxBOTH
;
1207 PyObject
* _argo0
= 0;
1208 char *_kwnames
[] = { "self","direction", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1224 wxPy_END_ALLOW_THREADS
;
1225 } Py_INCREF(Py_None
);
1226 _resultobj
= Py_None
;
1230 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1231 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1236 PyObject
* _argo0
= 0;
1238 PyObject
* _obj1
= 0;
1240 PyObject
* _obj2
= 0;
1241 char *_kwnames
[] = { "self","x","y", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1254 temp
= (int) PyInt_AsLong(_obj1
);
1258 temp0
= (int) PyInt_AsLong(_obj2
);
1262 wxPy_BEGIN_ALLOW_THREADS
;
1263 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1265 wxPy_END_ALLOW_THREADS
;
1266 } Py_INCREF(Py_None
);
1267 _resultobj
= Py_None
;
1270 o
= PyInt_FromLong((long) (*_arg1
));
1271 _resultobj
= t_output_helper(_resultobj
, o
);
1275 o
= PyInt_FromLong((long) (*_arg2
));
1276 _resultobj
= t_output_helper(_resultobj
, o
);
1281 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1282 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1287 PyObject
* _argo0
= 0;
1289 PyObject
* _obj1
= 0;
1290 char *_kwnames
[] = { "self","pt", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1305 if (! wxPoint_helper(_obj1
, &_arg1
))
1309 wxPy_BEGIN_ALLOW_THREADS
;
1310 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1312 wxPy_END_ALLOW_THREADS
;
1313 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1318 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1319 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1323 int _arg1
= (int ) FALSE
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self","force", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1338 wxPy_BEGIN_ALLOW_THREADS
;
1339 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1341 wxPy_END_ALLOW_THREADS
;
1342 } _resultobj
= Py_BuildValue("i",_result
);
1346 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1347 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 _result
= (bool )wxWindow_Destroy(_arg0
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1374 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 wxWindow_DestroyChildren(_arg0
);
1394 wxPy_END_ALLOW_THREADS
;
1395 } Py_INCREF(Py_None
);
1396 _resultobj
= Py_None
;
1400 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1401 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self","accept", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1419 _arg1
= (bool ) tempbool1
;
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1424 wxPy_END_ALLOW_THREADS
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1430 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1431 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1435 PyObject
* _argo0
= 0;
1437 char *_kwnames
[] = { "self","enable", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1449 _arg1
= (bool ) tempbool1
;
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 wxWindow_Enable(_arg0
,_arg1
);
1454 wxPy_END_ALLOW_THREADS
;
1455 } Py_INCREF(Py_None
);
1456 _resultobj
= Py_None
;
1460 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1461 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1466 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "self","id", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1481 wxPy_BEGIN_ALLOW_THREADS
;
1482 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1484 wxPy_END_ALLOW_THREADS
;
1486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1487 _resultobj
= Py_BuildValue("s",_ptemp
);
1490 _resultobj
= Py_None
;
1495 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1496 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1501 PyObject
* _argo0
= 0;
1502 PyObject
* _obj1
= 0;
1503 char *_kwnames
[] = { "self","name", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1517 #if PYTHON_API_VERSION >= 1009
1518 char* tmpPtr
; int tmpSize
;
1519 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1520 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1523 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1525 _arg1
= new wxString(tmpPtr
, tmpSize
);
1527 if (!PyString_Check(_obj1
)) {
1528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1531 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1535 wxPy_BEGIN_ALLOW_THREADS
;
1536 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1538 wxPy_END_ALLOW_THREADS
;
1540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1541 _resultobj
= Py_BuildValue("s",_ptemp
);
1544 _resultobj
= Py_None
;
1553 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1554 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1557 PyObject
* _argo0
= 0;
1558 char *_kwnames
[] = { "self", NULL
};
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1571 wxPy_BEGIN_ALLOW_THREADS
;
1572 wxWindow_Fit(_arg0
);
1574 wxPy_END_ALLOW_THREADS
;
1575 } Py_INCREF(Py_None
);
1576 _resultobj
= Py_None
;
1580 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1581 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1603 wxPy_END_ALLOW_THREADS
;
1604 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1605 _resultobj
= Py_BuildValue("s",_ptemp
);
1609 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1610 wxWindowList
& list
= self
->GetChildren();
1611 return wxPy_ConvertList(&list
, "wxWindow");
1613 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 PyObject
* _argo0
= 0;
1618 char *_kwnames
[] = { "self", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1634 wxPy_END_ALLOW_THREADS
;
1636 _resultobj
= _result
;
1641 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1642 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1646 PyObject
* _argo0
= 0;
1647 char *_kwnames
[] = { "self", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } _resultobj
= Py_BuildValue("i",_result
);
1668 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1669 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1673 PyObject
* _argo0
= 0;
1674 char *_kwnames
[] = { "self", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1690 wxPy_END_ALLOW_THREADS
;
1691 } _resultobj
= Py_BuildValue("i",_result
);
1695 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1696 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1703 PyObject
* _argo0
= 0;
1704 char *_kwnames
[] = { "self", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1726 wxPy_END_ALLOW_THREADS
;
1727 } Py_INCREF(Py_None
);
1728 _resultobj
= Py_None
;
1731 o
= PyInt_FromLong((long) (*_arg1
));
1732 _resultobj
= t_output_helper(_resultobj
, o
);
1736 o
= PyInt_FromLong((long) (*_arg2
));
1737 _resultobj
= t_output_helper(_resultobj
, o
);
1742 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1743 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1747 PyObject
* _argo0
= 0;
1748 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1765 wxPy_END_ALLOW_THREADS
;
1766 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1767 _resultobj
= Py_BuildValue("s",_ptemp
);
1771 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1772 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
* _resultobj
;
1774 wxLayoutConstraints
* _result
;
1776 PyObject
* _argo0
= 0;
1777 char *_kwnames
[] = { "self", NULL
};
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1794 wxPy_END_ALLOW_THREADS
;
1796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1797 _resultobj
= Py_BuildValue("s",_ptemp
);
1800 _resultobj
= Py_None
;
1805 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1806 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1808 wxEvtHandler
* _result
;
1810 PyObject
* _argo0
= 0;
1811 char *_kwnames
[] = { "self", NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1825 wxPy_BEGIN_ALLOW_THREADS
;
1826 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1828 wxPy_END_ALLOW_THREADS
;
1830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1831 _resultobj
= Py_BuildValue("s",_ptemp
);
1834 _resultobj
= Py_None
;
1839 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1840 static PyObject
*_wrap_wxWindow_GetFont(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_GetFont",_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_GetFont. Expected _wxWindow_p.");
1859 wxPy_BEGIN_ALLOW_THREADS
;
1860 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1861 _result
= (wxFont
*) &_result_ref
;
1863 wxPy_END_ALLOW_THREADS
;
1865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1866 _resultobj
= Py_BuildValue("s",_ptemp
);
1869 _resultobj
= Py_None
;
1874 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1875 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1879 PyObject
* _argo0
= 0;
1880 char *_kwnames
[] = { "self", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1894 wxPy_BEGIN_ALLOW_THREADS
;
1895 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1897 wxPy_END_ALLOW_THREADS
;
1898 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1899 _resultobj
= Py_BuildValue("s",_ptemp
);
1903 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1904 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1908 PyObject
* _argo0
= 0;
1909 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_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_GetGrandParent. Expected _wxWindow_p.");
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1926 wxPy_END_ALLOW_THREADS
;
1928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1929 _resultobj
= Py_BuildValue("s",_ptemp
);
1932 _resultobj
= Py_None
;
1937 static long wxWindow_GetHandle(wxWindow
*self
) {
1938 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1940 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1944 PyObject
* _argo0
= 0;
1945 char *_kwnames
[] = { "self", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1958 wxPy_BEGIN_ALLOW_THREADS
;
1959 _result
= (long )wxWindow_GetHandle(_arg0
);
1961 wxPy_END_ALLOW_THREADS
;
1962 } _resultobj
= Py_BuildValue("l",_result
);
1966 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1967 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1971 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 _result
= (int )wxWindow_GetId(_arg0
);
1988 wxPy_END_ALLOW_THREADS
;
1989 } _resultobj
= Py_BuildValue("i",_result
);
1993 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1994 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1998 PyObject
* _argo0
= 0;
1999 char *_kwnames
[] = { "self", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2012 wxPy_BEGIN_ALLOW_THREADS
;
2013 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2015 wxPy_END_ALLOW_THREADS
;
2017 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2025 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2026 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2030 PyObject
* _argo0
= 0;
2031 PyObject
* _obj1
= 0;
2032 char *_kwnames
[] = { "self","label", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2045 #if PYTHON_API_VERSION >= 1009
2046 char* tmpPtr
; int tmpSize
;
2047 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2048 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2051 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2053 _arg1
= new wxString(tmpPtr
, tmpSize
);
2055 if (!PyString_Check(_obj1
)) {
2056 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2059 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 wxWindow_SetLabel(_arg0
,*_arg1
);
2066 wxPy_END_ALLOW_THREADS
;
2067 } Py_INCREF(Py_None
);
2068 _resultobj
= Py_None
;
2076 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2077 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
* _resultobj
;
2081 PyObject
* _argo0
= 0;
2082 char *_kwnames
[] = { "self", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 _result
= new wxString (wxWindow_GetName(_arg0
));
2098 wxPy_END_ALLOW_THREADS
;
2100 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2108 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2109 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2113 PyObject
* _argo0
= 0;
2114 char *_kwnames
[] = { "self", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2131 wxPy_END_ALLOW_THREADS
;
2133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2134 _resultobj
= Py_BuildValue("s",_ptemp
);
2137 _resultobj
= Py_None
;
2142 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2143 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2150 PyObject
* _argo0
= 0;
2151 char *_kwnames
[] = { "self", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2173 wxPy_END_ALLOW_THREADS
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2178 o
= PyInt_FromLong((long) (*_arg1
));
2179 _resultobj
= t_output_helper(_resultobj
, o
);
2183 o
= PyInt_FromLong((long) (*_arg2
));
2184 _resultobj
= t_output_helper(_resultobj
, o
);
2189 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2190 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
* _resultobj
;
2194 PyObject
* _argo0
= 0;
2195 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2209 wxPy_BEGIN_ALLOW_THREADS
;
2210 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2212 wxPy_END_ALLOW_THREADS
;
2213 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2214 _resultobj
= Py_BuildValue("s",_ptemp
);
2218 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2219 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2223 PyObject
* _argo0
= 0;
2224 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2241 wxPy_END_ALLOW_THREADS
;
2242 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2243 _resultobj
= Py_BuildValue("s",_ptemp
);
2247 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2248 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2253 PyObject
* _argo0
= 0;
2254 char *_kwnames
[] = { "self","orientation", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2270 wxPy_END_ALLOW_THREADS
;
2271 } _resultobj
= Py_BuildValue("i",_result
);
2275 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2276 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2281 PyObject
* _argo0
= 0;
2282 char *_kwnames
[] = { "self","orientation", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2295 wxPy_BEGIN_ALLOW_THREADS
;
2296 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2298 wxPy_END_ALLOW_THREADS
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2304 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2309 PyObject
* _argo0
= 0;
2310 char *_kwnames
[] = { "self","orientation", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2323 wxPy_BEGIN_ALLOW_THREADS
;
2324 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2326 wxPy_END_ALLOW_THREADS
;
2327 } _resultobj
= Py_BuildValue("i",_result
);
2331 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2332 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2359 wxPy_BEGIN_ALLOW_THREADS
;
2360 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2362 wxPy_END_ALLOW_THREADS
;
2363 } Py_INCREF(Py_None
);
2364 _resultobj
= Py_None
;
2367 o
= PyInt_FromLong((long) (*_arg1
));
2368 _resultobj
= t_output_helper(_resultobj
, o
);
2372 o
= PyInt_FromLong((long) (*_arg2
));
2373 _resultobj
= t_output_helper(_resultobj
, o
);
2378 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2379 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2384 char *_kwnames
[] = { "self", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2401 wxPy_END_ALLOW_THREADS
;
2402 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2403 _resultobj
= Py_BuildValue("s",_ptemp
);
2407 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2408 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2416 PyObject
* _argo0
= 0;
2417 PyObject
* _obj1
= 0;
2418 char *_kwnames
[] = { "self","string", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2437 #if PYTHON_API_VERSION >= 1009
2438 char* tmpPtr
; int tmpSize
;
2439 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2443 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2445 _arg1
= new wxString(tmpPtr
, tmpSize
);
2447 if (!PyString_Check(_obj1
)) {
2448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2451 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2458 wxPy_END_ALLOW_THREADS
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2463 o
= PyInt_FromLong((long) (*_arg2
));
2464 _resultobj
= t_output_helper(_resultobj
, o
);
2468 o
= PyInt_FromLong((long) (*_arg3
));
2469 _resultobj
= t_output_helper(_resultobj
, o
);
2478 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2479 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2491 wxFont
* _arg6
= (wxFont
*) NULL
;
2492 PyObject
* _argo0
= 0;
2493 PyObject
* _obj1
= 0;
2494 PyObject
* _argo6
= 0;
2495 char *_kwnames
[] = { "self","string","font", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2520 #if PYTHON_API_VERSION >= 1009
2521 char* tmpPtr
; int tmpSize
;
2522 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2526 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2528 _arg1
= new wxString(tmpPtr
, tmpSize
);
2530 if (!PyString_Check(_obj1
)) {
2531 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2534 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2538 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2548 wxPy_END_ALLOW_THREADS
;
2549 } Py_INCREF(Py_None
);
2550 _resultobj
= Py_None
;
2553 o
= PyInt_FromLong((long) (*_arg2
));
2554 _resultobj
= t_output_helper(_resultobj
, o
);
2558 o
= PyInt_FromLong((long) (*_arg3
));
2559 _resultobj
= t_output_helper(_resultobj
, o
);
2563 o
= PyInt_FromLong((long) (*_arg4
));
2564 _resultobj
= t_output_helper(_resultobj
, o
);
2568 o
= PyInt_FromLong((long) (*_arg5
));
2569 _resultobj
= t_output_helper(_resultobj
, o
);
2578 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2579 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2583 PyObject
* _argo0
= 0;
2584 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2600 wxPy_END_ALLOW_THREADS
;
2602 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2610 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2611 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2633 wxPy_END_ALLOW_THREADS
;
2634 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2635 _resultobj
= Py_BuildValue("s",_ptemp
);
2639 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2640 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2661 wxPy_END_ALLOW_THREADS
;
2662 } _resultobj
= Py_BuildValue("l",_result
);
2666 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2667 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
* _resultobj
;
2671 PyObject
* _argo0
= 0;
2672 char *_kwnames
[] = { "self","style", NULL
};
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2688 wxPy_END_ALLOW_THREADS
;
2689 } Py_INCREF(Py_None
);
2690 _resultobj
= Py_None
;
2694 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2695 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
* _resultobj
;
2699 PyObject
* _argo0
= 0;
2700 char *_kwnames
[] = { "self","style", NULL
};
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2713 wxPy_BEGIN_ALLOW_THREADS
;
2714 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2716 wxPy_END_ALLOW_THREADS
;
2717 } Py_INCREF(Py_None
);
2718 _resultobj
= Py_None
;
2722 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2723 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2727 PyObject
* _argo0
= 0;
2728 char *_kwnames
[] = { "self", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 _result
= (bool )wxWindow_Hide(_arg0
);
2744 wxPy_END_ALLOW_THREADS
;
2745 } _resultobj
= Py_BuildValue("i",_result
);
2749 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2750 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2753 PyObject
* _argo0
= 0;
2754 char *_kwnames
[] = { "self", NULL
};
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 wxWindow_InitDialog(_arg0
);
2770 wxPy_END_ALLOW_THREADS
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2777 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2781 PyObject
* _argo0
= 0;
2782 char *_kwnames
[] = { "self", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2798 wxPy_END_ALLOW_THREADS
;
2799 } _resultobj
= Py_BuildValue("i",_result
);
2803 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2804 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2810 int _arg3
= (int ) 0;
2811 int _arg4
= (int ) 0;
2812 PyObject
* _argo0
= 0;
2813 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2829 wxPy_END_ALLOW_THREADS
;
2830 } _resultobj
= Py_BuildValue("i",_result
);
2834 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2835 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2840 PyObject
* _argo0
= 0;
2842 PyObject
* _obj1
= 0;
2843 char *_kwnames
[] = { "self","pt", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_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_IsExposedPoint. Expected _wxWindow_p.");
2857 if (! wxPoint_helper(_obj1
, &_arg1
))
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } _resultobj
= Py_BuildValue("i",_result
);
2869 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2870 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2875 PyObject
* _argo0
= 0;
2877 PyObject
* _obj1
= 0;
2878 char *_kwnames
[] = { "self","rect", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2892 if (! wxRect_helper(_obj1
, &_arg1
))
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2899 wxPy_END_ALLOW_THREADS
;
2900 } _resultobj
= Py_BuildValue("i",_result
);
2904 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2905 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (bool )wxWindow_IsRetained(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 } _resultobj
= Py_BuildValue("i",_result
);
2931 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2932 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2950 wxPy_BEGIN_ALLOW_THREADS
;
2951 _result
= (bool )wxWindow_IsShown(_arg0
);
2953 wxPy_END_ALLOW_THREADS
;
2954 } _resultobj
= Py_BuildValue("i",_result
);
2958 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2959 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2963 PyObject
* _argo0
= 0;
2964 char *_kwnames
[] = { "self", NULL
};
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2977 wxPy_BEGIN_ALLOW_THREADS
;
2978 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2980 wxPy_END_ALLOW_THREADS
;
2981 } _resultobj
= Py_BuildValue("i",_result
);
2985 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2986 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2990 char *_kwnames
[] = { "self", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3003 wxPy_BEGIN_ALLOW_THREADS
;
3004 wxWindow_Layout(_arg0
);
3006 wxPy_END_ALLOW_THREADS
;
3007 } Py_INCREF(Py_None
);
3008 _resultobj
= Py_None
;
3012 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3013 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3019 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3020 PyObject
* _argo0
= 0;
3021 PyObject
* _argo1
= 0;
3022 PyObject
* _obj2
= 0;
3023 PyObject
* _argo3
= 0;
3024 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3044 #if PYTHON_API_VERSION >= 1009
3045 char* tmpPtr
; int tmpSize
;
3046 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3050 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3052 _arg2
= new wxString(tmpPtr
, tmpSize
);
3054 if (!PyString_Check(_obj2
)) {
3055 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3058 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3062 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3069 wxPy_BEGIN_ALLOW_THREADS
;
3070 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3072 wxPy_END_ALLOW_THREADS
;
3073 } _resultobj
= Py_BuildValue("i",_result
);
3081 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3082 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 wxWindow_Lower(_arg0
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3108 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3109 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3113 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self","flag", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3127 _arg1
= (bool ) tempbool1
;
3129 wxPy_BEGIN_ALLOW_THREADS
;
3130 wxWindow_MakeModal(_arg0
,_arg1
);
3132 wxPy_END_ALLOW_THREADS
;
3133 } Py_INCREF(Py_None
);
3134 _resultobj
= Py_None
;
3138 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3139 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self","x","y", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3158 wxPy_BEGIN_ALLOW_THREADS
;
3159 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3161 wxPy_END_ALLOW_THREADS
;
3162 } Py_INCREF(Py_None
);
3163 _resultobj
= Py_None
;
3167 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3168 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3172 PyObject
* _argo0
= 0;
3174 PyObject
* _obj1
= 0;
3175 char *_kwnames
[] = { "self","point", NULL
};
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3189 if (! wxPoint_helper(_obj1
, &_arg1
))
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 wxWindow_Move(_arg0
,*_arg1
);
3196 wxPy_END_ALLOW_THREADS
;
3197 } Py_INCREF(Py_None
);
3198 _resultobj
= Py_None
;
3202 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3203 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxEvtHandler
* _result
;
3207 bool _arg1
= (bool ) FALSE
;
3208 PyObject
* _argo0
= 0;
3209 int tempbool1
= (int) FALSE
;
3210 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
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_PopEventHandler. Expected _wxWindow_p.");
3223 _arg1
= (bool ) tempbool1
;
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3228 wxPy_END_ALLOW_THREADS
;
3230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3231 _resultobj
= Py_BuildValue("s",_ptemp
);
3234 _resultobj
= Py_None
;
3239 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3240 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3243 wxEvtHandler
* _arg1
;
3244 PyObject
* _argo0
= 0;
3245 PyObject
* _argo1
= 0;
3246 char *_kwnames
[] = { "self","handler", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3266 wxPy_BEGIN_ALLOW_THREADS
;
3267 wxWindow_PushEventHandler(_arg0
,_arg1
);
3269 wxPy_END_ALLOW_THREADS
;
3270 } Py_INCREF(Py_None
);
3271 _resultobj
= Py_None
;
3275 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3276 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3283 PyObject
* _argo0
= 0;
3284 PyObject
* _argo1
= 0;
3285 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } _resultobj
= Py_BuildValue("i",_result
);
3313 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3314 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 PyObject
* _argo1
= 0;
3323 PyObject
* _obj2
= 0;
3324 char *_kwnames
[] = { "self","menu","pos", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3345 if (! wxPoint_helper(_obj2
, &_arg2
))
3349 wxPy_BEGIN_ALLOW_THREADS
;
3350 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3352 wxPy_END_ALLOW_THREADS
;
3353 } _resultobj
= Py_BuildValue("i",_result
);
3357 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3358 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
* _resultobj
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 wxWindow_Raise(_arg0
);
3378 wxPy_END_ALLOW_THREADS
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3385 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3388 bool _arg1
= (bool ) TRUE
;
3389 wxRect
* _arg2
= (wxRect
*) NULL
;
3390 PyObject
* _argo0
= 0;
3391 int tempbool1
= (int) TRUE
;
3393 PyObject
* _obj2
= 0;
3394 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3406 _arg1
= (bool ) tempbool1
;
3410 if (! wxRect_helper(_obj2
, &_arg2
))
3414 wxPy_BEGIN_ALLOW_THREADS
;
3415 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3417 wxPy_END_ALLOW_THREADS
;
3418 } Py_INCREF(Py_None
);
3419 _resultobj
= Py_None
;
3423 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3424 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 wxWindow_ReleaseMouse(_arg0
);
3444 wxPy_END_ALLOW_THREADS
;
3445 } Py_INCREF(Py_None
);
3446 _resultobj
= Py_None
;
3450 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3451 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3455 PyObject
* _argo0
= 0;
3456 PyObject
* _argo1
= 0;
3457 char *_kwnames
[] = { "self","child", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3477 wxPy_BEGIN_ALLOW_THREADS
;
3478 wxWindow_RemoveChild(_arg0
,_arg1
);
3480 wxPy_END_ALLOW_THREADS
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3487 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3492 PyObject
* _argo0
= 0;
3493 PyObject
* _argo1
= 0;
3494 char *_kwnames
[] = { "self","newParent", NULL
};
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3507 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3514 wxPy_BEGIN_ALLOW_THREADS
;
3515 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3517 wxPy_END_ALLOW_THREADS
;
3518 } _resultobj
= Py_BuildValue("i",_result
);
3522 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3523 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3528 PyObject
* _argo0
= 0;
3530 PyObject
* _obj1
= 0;
3532 PyObject
* _obj2
= 0;
3533 char *_kwnames
[] = { "self","x","y", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3546 temp
= (int) PyInt_AsLong(_obj1
);
3550 temp0
= (int) PyInt_AsLong(_obj2
);
3554 wxPy_BEGIN_ALLOW_THREADS
;
3555 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3557 wxPy_END_ALLOW_THREADS
;
3558 } Py_INCREF(Py_None
);
3559 _resultobj
= Py_None
;
3562 o
= PyInt_FromLong((long) (*_arg1
));
3563 _resultobj
= t_output_helper(_resultobj
, o
);
3567 o
= PyInt_FromLong((long) (*_arg2
));
3568 _resultobj
= t_output_helper(_resultobj
, o
);
3573 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3574 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3579 PyObject
* _argo0
= 0;
3581 PyObject
* _obj1
= 0;
3582 char *_kwnames
[] = { "self","pt", NULL
};
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3597 if (! wxPoint_helper(_obj1
, &_arg1
))
3601 wxPy_BEGIN_ALLOW_THREADS
;
3602 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3604 wxPy_END_ALLOW_THREADS
;
3605 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3606 _resultobj
= Py_BuildValue("s",_ptemp
);
3610 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3611 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
* _resultobj
;
3616 wxRect
* _arg3
= (wxRect
*) NULL
;
3617 PyObject
* _argo0
= 0;
3619 PyObject
* _obj3
= 0;
3620 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
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_ScrollWindow. Expected _wxWindow_p.");
3635 if (! wxRect_helper(_obj3
, &_arg3
))
3639 wxPy_BEGIN_ALLOW_THREADS
;
3640 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3642 wxPy_END_ALLOW_THREADS
;
3643 } Py_INCREF(Py_None
);
3644 _resultobj
= Py_None
;
3648 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3649 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3652 wxAcceleratorTable
* _arg1
;
3653 PyObject
* _argo0
= 0;
3654 PyObject
* _argo1
= 0;
3655 char *_kwnames
[] = { "self","accel", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } Py_INCREF(Py_None
);
3680 _resultobj
= Py_None
;
3684 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3685 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3689 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","autoLayout", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3703 _arg1
= (bool ) tempbool1
;
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } Py_INCREF(Py_None
);
3710 _resultobj
= Py_None
;
3714 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3715 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3719 PyObject
* _argo0
= 0;
3720 char *_kwnames
[] = { "self", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3733 wxPy_BEGIN_ALLOW_THREADS
;
3734 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3736 wxPy_END_ALLOW_THREADS
;
3737 } _resultobj
= Py_BuildValue("i",_result
);
3741 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3742 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3746 PyObject
* _argo0
= 0;
3748 PyObject
* _obj1
= 0;
3749 char *_kwnames
[] = { "self","colour", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3763 if (! wxColour_helper(_obj1
, &_arg1
))
3767 wxPy_BEGIN_ALLOW_THREADS
;
3768 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3770 wxPy_END_ALLOW_THREADS
;
3771 } Py_INCREF(Py_None
);
3772 _resultobj
= Py_None
;
3776 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3777 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3780 wxLayoutConstraints
* _arg1
;
3781 PyObject
* _argo0
= 0;
3782 PyObject
* _argo1
= 0;
3783 char *_kwnames
[] = { "self","constraints", NULL
};
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3796 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3803 wxPy_BEGIN_ALLOW_THREADS
;
3804 wxWindow_SetConstraints(_arg0
,_arg1
);
3806 wxPy_END_ALLOW_THREADS
;
3807 } Py_INCREF(Py_None
);
3808 _resultobj
= Py_None
;
3812 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3813 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
* _resultobj
;
3816 wxLayoutConstraints
* _arg1
;
3817 PyObject
* _argo0
= 0;
3818 PyObject
* _argo1
= 0;
3819 char *_kwnames
[] = { "self","constraints", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3848 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3849 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 wxWindow_SetFocus(_arg0
);
3869 wxPy_END_ALLOW_THREADS
;
3870 } Py_INCREF(Py_None
);
3871 _resultobj
= Py_None
;
3875 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3876 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3880 PyObject
* _argo0
= 0;
3881 char *_kwnames
[] = { "self", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3897 wxPy_END_ALLOW_THREADS
;
3898 } _resultobj
= Py_BuildValue("i",_result
);
3902 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3903 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3907 PyObject
* _argo0
= 0;
3908 PyObject
* _argo1
= 0;
3909 char *_kwnames
[] = { "self","font", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3929 wxPy_BEGIN_ALLOW_THREADS
;
3930 wxWindow_SetFont(_arg0
,*_arg1
);
3932 wxPy_END_ALLOW_THREADS
;
3933 } Py_INCREF(Py_None
);
3934 _resultobj
= Py_None
;
3938 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3939 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3943 PyObject
* _argo0
= 0;
3945 PyObject
* _obj1
= 0;
3946 char *_kwnames
[] = { "self","colour", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3960 if (! wxColour_helper(_obj1
, &_arg1
))
3964 wxPy_BEGIN_ALLOW_THREADS
;
3965 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3967 wxPy_END_ALLOW_THREADS
;
3968 } Py_INCREF(Py_None
);
3969 _resultobj
= Py_None
;
3973 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3974 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3978 PyObject
* _argo0
= 0;
3979 char *_kwnames
[] = { "self","id", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3992 wxPy_BEGIN_ALLOW_THREADS
;
3993 wxWindow_SetId(_arg0
,_arg1
);
3995 wxPy_END_ALLOW_THREADS
;
3996 } Py_INCREF(Py_None
);
3997 _resultobj
= Py_None
;
4001 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4002 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4006 PyObject
* _argo0
= 0;
4007 PyObject
* _obj1
= 0;
4008 char *_kwnames
[] = { "self","name", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4021 #if PYTHON_API_VERSION >= 1009
4022 char* tmpPtr
; int tmpSize
;
4023 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4024 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4027 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4029 _arg1
= new wxString(tmpPtr
, tmpSize
);
4031 if (!PyString_Check(_obj1
)) {
4032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4035 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4039 wxPy_BEGIN_ALLOW_THREADS
;
4040 wxWindow_SetName(_arg0
,*_arg1
);
4042 wxPy_END_ALLOW_THREADS
;
4043 } Py_INCREF(Py_None
);
4044 _resultobj
= Py_None
;
4052 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4053 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4060 int _arg5
= (int ) TRUE
;
4061 PyObject
* _argo0
= 0;
4062 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4075 wxPy_BEGIN_ALLOW_THREADS
;
4076 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4078 wxPy_END_ALLOW_THREADS
;
4079 } Py_INCREF(Py_None
);
4080 _resultobj
= Py_None
;
4084 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4085 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
* _resultobj
;
4090 bool _arg3
= (bool ) TRUE
;
4091 PyObject
* _argo0
= 0;
4092 int tempbool3
= (int) TRUE
;
4093 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4105 _arg3
= (bool ) tempbool3
;
4107 wxPy_BEGIN_ALLOW_THREADS
;
4108 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4110 wxPy_END_ALLOW_THREADS
;
4111 } Py_INCREF(Py_None
);
4112 _resultobj
= Py_None
;
4116 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4117 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
* _resultobj
;
4124 int _arg5
= (int ) wxSIZE_AUTO
;
4125 PyObject
* _argo0
= 0;
4126 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4139 wxPy_BEGIN_ALLOW_THREADS
;
4140 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4142 wxPy_END_ALLOW_THREADS
;
4143 } Py_INCREF(Py_None
);
4144 _resultobj
= Py_None
;
4148 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4149 self
->SetSize(size
);
4151 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4155 PyObject
* _argo0
= 0;
4157 PyObject
* _obj1
= 0;
4158 char *_kwnames
[] = { "self","size", NULL
};
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4172 if (! wxSize_helper(_obj1
, &_arg1
))
4176 wxPy_BEGIN_ALLOW_THREADS
;
4177 wxWindow_SetSize(_arg0
,*_arg1
);
4179 wxPy_END_ALLOW_THREADS
;
4180 } Py_INCREF(Py_None
);
4181 _resultobj
= Py_None
;
4185 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4188 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4192 PyObject
* _argo0
= 0;
4194 PyObject
* _obj1
= 0;
4195 char *_kwnames
[] = { "self","pos", NULL
};
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4209 if (! wxPoint_helper(_obj1
, &_arg1
))
4213 wxPy_BEGIN_ALLOW_THREADS
;
4214 wxWindow_SetPosition(_arg0
,*_arg1
);
4216 wxPy_END_ALLOW_THREADS
;
4217 } Py_INCREF(Py_None
);
4218 _resultobj
= Py_None
;
4222 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4223 self
->SetSize(rect
, sizeFlags
);
4225 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4229 int _arg2
= (int ) wxSIZE_AUTO
;
4230 PyObject
* _argo0
= 0;
4232 PyObject
* _obj1
= 0;
4233 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4247 if (! wxRect_helper(_obj1
, &_arg1
))
4251 wxPy_BEGIN_ALLOW_THREADS
;
4252 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4254 wxPy_END_ALLOW_THREADS
;
4255 } Py_INCREF(Py_None
);
4256 _resultobj
= Py_None
;
4260 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4261 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
* _resultobj
;
4264 int _arg1
= (int ) -1;
4265 int _arg2
= (int ) -1;
4266 int _arg3
= (int ) -1;
4267 int _arg4
= (int ) -1;
4268 int _arg5
= (int ) -1;
4269 int _arg6
= (int ) -1;
4270 PyObject
* _argo0
= 0;
4271 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4284 wxPy_BEGIN_ALLOW_THREADS
;
4285 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4287 wxPy_END_ALLOW_THREADS
;
4288 } Py_INCREF(Py_None
);
4289 _resultobj
= Py_None
;
4293 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4294 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4299 PyObject
* _argo0
= 0;
4300 char *_kwnames
[] = { "self","width","height", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4316 wxPy_END_ALLOW_THREADS
;
4317 } Py_INCREF(Py_None
);
4318 _resultobj
= Py_None
;
4322 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4323 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4327 PyObject
* _argo0
= 0;
4329 PyObject
* _obj1
= 0;
4330 char *_kwnames
[] = { "self","size", NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4344 if (! wxSize_helper(_obj1
, &_arg1
))
4348 wxPy_BEGIN_ALLOW_THREADS
;
4349 wxWindow_SetClientSize(_arg0
,*_arg1
);
4351 wxPy_END_ALLOW_THREADS
;
4352 } Py_INCREF(Py_None
);
4353 _resultobj
= Py_None
;
4357 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4358 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
* _resultobj
;
4362 PyObject
* _argo0
= 0;
4363 PyObject
* _argo1
= 0;
4364 char *_kwnames
[] = { "self","cursor", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4384 wxPy_BEGIN_ALLOW_THREADS
;
4385 wxWindow_SetCursor(_arg0
,*_arg1
);
4387 wxPy_END_ALLOW_THREADS
;
4388 } Py_INCREF(Py_None
);
4389 _resultobj
= Py_None
;
4393 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4394 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4397 wxEvtHandler
* _arg1
;
4398 PyObject
* _argo0
= 0;
4399 PyObject
* _argo1
= 0;
4400 char *_kwnames
[] = { "self","handler", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4413 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4420 wxPy_BEGIN_ALLOW_THREADS
;
4421 wxWindow_SetEventHandler(_arg0
,_arg1
);
4423 wxPy_END_ALLOW_THREADS
;
4424 } Py_INCREF(Py_None
);
4425 _resultobj
= Py_None
;
4429 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4430 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4434 PyObject
* _argo0
= 0;
4435 char *_kwnames
[] = { "self","exStyle", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4448 wxPy_BEGIN_ALLOW_THREADS
;
4449 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4451 wxPy_END_ALLOW_THREADS
;
4452 } Py_INCREF(Py_None
);
4453 _resultobj
= Py_None
;
4457 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4458 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4462 PyObject
* _argo0
= 0;
4463 PyObject
* _obj1
= 0;
4464 char *_kwnames
[] = { "self","title", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4477 #if PYTHON_API_VERSION >= 1009
4478 char* tmpPtr
; int tmpSize
;
4479 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4483 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4485 _arg1
= new wxString(tmpPtr
, tmpSize
);
4487 if (!PyString_Check(_obj1
)) {
4488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4491 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4495 wxPy_BEGIN_ALLOW_THREADS
;
4496 wxWindow_SetTitle(_arg0
,*_arg1
);
4498 wxPy_END_ALLOW_THREADS
;
4499 } Py_INCREF(Py_None
);
4500 _resultobj
= Py_None
;
4508 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4509 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4514 PyObject
* _argo0
= 0;
4516 char *_kwnames
[] = { "self","show", NULL
};
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4528 _arg1
= (bool ) tempbool1
;
4530 wxPy_BEGIN_ALLOW_THREADS
;
4531 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4533 wxPy_END_ALLOW_THREADS
;
4534 } _resultobj
= Py_BuildValue("i",_result
);
4538 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4539 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4543 PyObject
* _argo0
= 0;
4544 char *_kwnames
[] = { "self", NULL
};
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4557 wxPy_BEGIN_ALLOW_THREADS
;
4558 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4560 wxPy_END_ALLOW_THREADS
;
4561 } _resultobj
= Py_BuildValue("i",_result
);
4565 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4566 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
* _resultobj
;
4570 PyObject
* _argo0
= 0;
4571 char *_kwnames
[] = { "self", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4584 wxPy_BEGIN_ALLOW_THREADS
;
4585 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4587 wxPy_END_ALLOW_THREADS
;
4588 } _resultobj
= Py_BuildValue("i",_result
);
4592 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4593 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 char *_kwnames
[] = { "self", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 _result
= (bool )wxWindow_Validate(_arg0
);
4614 wxPy_END_ALLOW_THREADS
;
4615 } _resultobj
= Py_BuildValue("i",_result
);
4619 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4620 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self","x","y", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4642 wxPy_END_ALLOW_THREADS
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4648 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4649 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4654 PyObject
* _argo0
= 0;
4656 PyObject
* _obj1
= 0;
4657 char *_kwnames
[] = { "self","pt", NULL
};
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4672 if (! wxPoint_helper(_obj1
, &_arg1
))
4676 wxPy_BEGIN_ALLOW_THREADS
;
4677 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4679 wxPy_END_ALLOW_THREADS
;
4680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4681 _resultobj
= Py_BuildValue("s",_ptemp
);
4685 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4686 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4691 PyObject
* _argo0
= 0;
4693 PyObject
* _obj1
= 0;
4694 char *_kwnames
[] = { "self","sz", NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4709 if (! wxSize_helper(_obj1
, &_arg1
))
4713 wxPy_BEGIN_ALLOW_THREADS
;
4714 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4716 wxPy_END_ALLOW_THREADS
;
4717 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4718 _resultobj
= Py_BuildValue("s",_ptemp
);
4722 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4723 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4728 PyObject
* _argo0
= 0;
4730 PyObject
* _obj1
= 0;
4731 char *_kwnames
[] = { "self","pt", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4746 if (! wxPoint_helper(_obj1
, &_arg1
))
4750 wxPy_BEGIN_ALLOW_THREADS
;
4751 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4753 wxPy_END_ALLOW_THREADS
;
4754 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4755 _resultobj
= Py_BuildValue("s",_ptemp
);
4759 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4760 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
* _resultobj
;
4765 PyObject
* _argo0
= 0;
4767 PyObject
* _obj1
= 0;
4768 char *_kwnames
[] = { "self","sz", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4783 if (! wxSize_helper(_obj1
, &_arg1
))
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4790 wxPy_END_ALLOW_THREADS
;
4791 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4792 _resultobj
= Py_BuildValue("s",_ptemp
);
4796 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4797 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4801 PyObject
* _argo0
= 0;
4802 PyObject
* _obj1
= 0;
4803 char *_kwnames
[] = { "self","tip", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4816 #if PYTHON_API_VERSION >= 1009
4817 char* tmpPtr
; int tmpSize
;
4818 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4822 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4824 _arg1
= new wxString(tmpPtr
, tmpSize
);
4826 if (!PyString_Check(_obj1
)) {
4827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4830 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4837 wxPy_END_ALLOW_THREADS
;
4838 } Py_INCREF(Py_None
);
4839 _resultobj
= Py_None
;
4847 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4848 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
* _resultobj
;
4852 PyObject
* _argo0
= 0;
4853 PyObject
* _argo1
= 0;
4854 char *_kwnames
[] = { "self","tooltip", NULL
};
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 wxWindow_SetToolTip(_arg0
,_arg1
);
4877 wxPy_END_ALLOW_THREADS
;
4878 } Py_INCREF(Py_None
);
4879 _resultobj
= Py_None
;
4883 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4884 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
* _resultobj
;
4886 wxToolTip
* _result
;
4888 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self", NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4906 wxPy_END_ALLOW_THREADS
;
4908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4909 _resultobj
= Py_BuildValue("s",_ptemp
);
4912 _resultobj
= Py_None
;
4917 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4918 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4922 PyObject
* _argo0
= 0;
4923 PyObject
* _argo1
= 0;
4924 char *_kwnames
[] = { "self","sizer", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4937 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4938 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4944 wxPy_BEGIN_ALLOW_THREADS
;
4945 wxWindow_SetSizer(_arg0
,_arg1
);
4947 wxPy_END_ALLOW_THREADS
;
4948 } Py_INCREF(Py_None
);
4949 _resultobj
= Py_None
;
4953 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4954 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4976 wxPy_END_ALLOW_THREADS
;
4978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4979 _resultobj
= Py_BuildValue("s",_ptemp
);
4982 _resultobj
= Py_None
;
4987 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4988 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4990 wxValidator
* _result
;
4992 PyObject
* _argo0
= 0;
4993 char *_kwnames
[] = { "self", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5007 wxPy_BEGIN_ALLOW_THREADS
;
5008 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5010 wxPy_END_ALLOW_THREADS
;
5012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
5013 _resultobj
= Py_BuildValue("s",_ptemp
);
5016 _resultobj
= Py_None
;
5021 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5022 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5025 wxValidator
* _arg1
;
5026 PyObject
* _argo0
= 0;
5027 PyObject
* _argo1
= 0;
5028 char *_kwnames
[] = { "self","validator", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 wxWindow_SetValidator(_arg0
,*_arg1
);
5051 wxPy_END_ALLOW_THREADS
;
5052 } Py_INCREF(Py_None
);
5053 _resultobj
= Py_None
;
5057 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5058 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5061 wxDropTarget
* _arg1
;
5062 PyObject
* _argo0
= 0;
5063 PyObject
* _argo1
= 0;
5064 char *_kwnames
[] = { "self","target", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5084 wxPy_BEGIN_ALLOW_THREADS
;
5085 wxWindow_SetDropTarget(_arg0
,_arg1
);
5087 wxPy_END_ALLOW_THREADS
;
5088 } Py_INCREF(Py_None
);
5089 _resultobj
= Py_None
;
5093 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5094 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5096 wxDropTarget
* _result
;
5098 PyObject
* _argo0
= 0;
5099 char *_kwnames
[] = { "self", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
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_GetDropTarget. Expected _wxWindow_p.");
5113 wxPy_BEGIN_ALLOW_THREADS
;
5114 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5116 wxPy_END_ALLOW_THREADS
;
5118 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5119 _resultobj
= Py_BuildValue("s",_ptemp
);
5122 _resultobj
= Py_None
;
5127 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5128 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
* _resultobj
;
5132 PyObject
* _argo0
= 0;
5133 char *_kwnames
[] = { "self", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5147 wxPy_BEGIN_ALLOW_THREADS
;
5148 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5150 wxPy_END_ALLOW_THREADS
;
5151 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5152 _resultobj
= Py_BuildValue("s",_ptemp
);
5156 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5157 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5161 PyObject
* _argo0
= 0;
5162 PyObject
* _argo1
= 0;
5163 char *_kwnames
[] = { "self","caret", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5183 wxPy_BEGIN_ALLOW_THREADS
;
5184 wxWindow_SetCaret(_arg0
,_arg1
);
5186 wxPy_END_ALLOW_THREADS
;
5187 } Py_INCREF(Py_None
);
5188 _resultobj
= Py_None
;
5192 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5193 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5197 PyObject
* _argo0
= 0;
5198 char *_kwnames
[] = { "self", NULL
};
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5212 wxPy_BEGIN_ALLOW_THREADS
;
5213 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5215 wxPy_END_ALLOW_THREADS
;
5217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5218 _resultobj
= Py_BuildValue("s",_ptemp
);
5221 _resultobj
= Py_None
;
5226 static void *SwigwxPanelTowxWindow(void *ptr
) {
5229 src
= (wxPanel
*) ptr
;
5230 dest
= (wxWindow
*) src
;
5231 return (void *) dest
;
5234 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5237 src
= (wxPanel
*) ptr
;
5238 dest
= (wxEvtHandler
*) src
;
5239 return (void *) dest
;
5242 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5243 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
* _resultobj
;
5248 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5249 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5250 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5251 char * _arg5
= (char *) "panel";
5252 PyObject
* _argo0
= 0;
5254 PyObject
* _obj2
= 0;
5256 PyObject
* _obj3
= 0;
5257 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5273 if (! wxPoint_helper(_obj2
, &_arg2
))
5279 if (! wxSize_helper(_obj3
, &_arg3
))
5283 wxPy_BEGIN_ALLOW_THREADS
;
5284 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5286 wxPy_END_ALLOW_THREADS
;
5288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5289 _resultobj
= Py_BuildValue("s",_ptemp
);
5292 _resultobj
= Py_None
;
5297 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5298 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
* _resultobj
;
5301 PyObject
* _argo0
= 0;
5302 char *_kwnames
[] = { "self", NULL
};
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
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_InitDialog. Expected _wxPanel_p.");
5315 wxPy_BEGIN_ALLOW_THREADS
;
5316 wxPanel_InitDialog(_arg0
);
5318 wxPy_END_ALLOW_THREADS
;
5319 } Py_INCREF(Py_None
);
5320 _resultobj
= Py_None
;
5324 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5325 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
* _resultobj
;
5329 PyObject
* _argo0
= 0;
5330 char *_kwnames
[] = { "self", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5344 wxPy_BEGIN_ALLOW_THREADS
;
5345 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5347 wxPy_END_ALLOW_THREADS
;
5349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5350 _resultobj
= Py_BuildValue("s",_ptemp
);
5353 _resultobj
= Py_None
;
5358 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5359 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
* _resultobj
;
5363 PyObject
* _argo0
= 0;
5364 PyObject
* _argo1
= 0;
5365 char *_kwnames
[] = { "self","btn", NULL
};
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5385 wxPy_BEGIN_ALLOW_THREADS
;
5386 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5388 wxPy_END_ALLOW_THREADS
;
5389 } Py_INCREF(Py_None
);
5390 _resultobj
= Py_None
;
5394 static void *SwigwxDialogTowxPanel(void *ptr
) {
5397 src
= (wxDialog
*) ptr
;
5398 dest
= (wxPanel
*) src
;
5399 return (void *) dest
;
5402 static void *SwigwxDialogTowxWindow(void *ptr
) {
5405 src
= (wxDialog
*) ptr
;
5406 dest
= (wxWindow
*) src
;
5407 return (void *) dest
;
5410 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5413 src
= (wxDialog
*) ptr
;
5414 dest
= (wxEvtHandler
*) src
;
5415 return (void *) dest
;
5418 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5419 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
* _resultobj
;
5425 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5426 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5427 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5428 char * _arg6
= (char *) "dialogBox";
5429 PyObject
* _argo0
= 0;
5430 PyObject
* _obj2
= 0;
5432 PyObject
* _obj3
= 0;
5434 PyObject
* _obj4
= 0;
5435 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5449 #if PYTHON_API_VERSION >= 1009
5450 char* tmpPtr
; int tmpSize
;
5451 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5455 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5457 _arg2
= new wxString(tmpPtr
, tmpSize
);
5459 if (!PyString_Check(_obj2
)) {
5460 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5463 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5469 if (! wxPoint_helper(_obj3
, &_arg3
))
5475 if (! wxSize_helper(_obj4
, &_arg4
))
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5482 wxPy_END_ALLOW_THREADS
;
5484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5485 _resultobj
= Py_BuildValue("s",_ptemp
);
5488 _resultobj
= Py_None
;
5497 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5498 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
* _resultobj
;
5501 int _arg1
= (int ) wxBOTH
;
5502 PyObject
* _argo0
= 0;
5503 char *_kwnames
[] = { "self","direction", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5516 wxPy_BEGIN_ALLOW_THREADS
;
5517 wxDialog_Centre(_arg0
,_arg1
);
5519 wxPy_END_ALLOW_THREADS
;
5520 } Py_INCREF(Py_None
);
5521 _resultobj
= Py_None
;
5525 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5526 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5530 PyObject
* _argo0
= 0;
5531 char *_kwnames
[] = { "self","retCode", NULL
};
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5544 wxPy_BEGIN_ALLOW_THREADS
;
5545 wxDialog_EndModal(_arg0
,_arg1
);
5547 wxPy_END_ALLOW_THREADS
;
5548 } Py_INCREF(Py_None
);
5549 _resultobj
= Py_None
;
5553 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5554 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
* _resultobj
;
5558 PyObject
* _argo0
= 0;
5559 char *_kwnames
[] = { "self", NULL
};
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5572 wxPy_BEGIN_ALLOW_THREADS
;
5573 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5575 wxPy_END_ALLOW_THREADS
;
5577 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5585 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5586 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
* _resultobj
;
5590 PyObject
* _argo0
= 0;
5592 char *_kwnames
[] = { "self","iconize", NULL
};
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5604 _arg1
= (bool ) tempbool1
;
5606 wxPy_BEGIN_ALLOW_THREADS
;
5607 wxDialog_Iconize(_arg0
,_arg1
);
5609 wxPy_END_ALLOW_THREADS
;
5610 } Py_INCREF(Py_None
);
5611 _resultobj
= Py_None
;
5615 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5616 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5634 wxPy_BEGIN_ALLOW_THREADS
;
5635 _result
= (bool )wxDialog_IsIconized(_arg0
);
5637 wxPy_END_ALLOW_THREADS
;
5638 } _resultobj
= Py_BuildValue("i",_result
);
5642 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5643 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5647 PyObject
* _argo0
= 0;
5649 char *_kwnames
[] = { "self","flag", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5661 _arg1
= (bool ) tempbool1
;
5663 wxPy_BEGIN_ALLOW_THREADS
;
5664 wxDialog_SetModal(_arg0
,_arg1
);
5666 wxPy_END_ALLOW_THREADS
;
5667 } Py_INCREF(Py_None
);
5668 _resultobj
= Py_None
;
5672 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5673 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5677 PyObject
* _argo0
= 0;
5678 char *_kwnames
[] = { "self", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5691 wxPy_BEGIN_ALLOW_THREADS
;
5692 _result
= (bool )wxDialog_IsModal(_arg0
);
5694 wxPy_END_ALLOW_THREADS
;
5695 } _resultobj
= Py_BuildValue("i",_result
);
5699 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5700 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5704 PyObject
* _argo0
= 0;
5705 PyObject
* _obj1
= 0;
5706 char *_kwnames
[] = { "self","title", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5719 #if PYTHON_API_VERSION >= 1009
5720 char* tmpPtr
; int tmpSize
;
5721 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5725 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5727 _arg1
= new wxString(tmpPtr
, tmpSize
);
5729 if (!PyString_Check(_obj1
)) {
5730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5733 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 wxDialog_SetTitle(_arg0
,*_arg1
);
5740 wxPy_END_ALLOW_THREADS
;
5741 } Py_INCREF(Py_None
);
5742 _resultobj
= Py_None
;
5750 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5751 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
* _resultobj
;
5756 PyObject
* _argo0
= 0;
5758 char *_kwnames
[] = { "self","show", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5770 _arg1
= (bool ) tempbool1
;
5772 wxPy_BEGIN_ALLOW_THREADS
;
5773 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5775 wxPy_END_ALLOW_THREADS
;
5776 } _resultobj
= Py_BuildValue("i",_result
);
5780 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5781 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
* _resultobj
;
5785 PyObject
* _argo0
= 0;
5786 char *_kwnames
[] = { "self", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5799 wxPy_BEGIN_ALLOW_THREADS
;
5800 _result
= (int )wxDialog_ShowModal(_arg0
);
5802 wxPy_END_ALLOW_THREADS
;
5803 } _resultobj
= Py_BuildValue("i",_result
);
5807 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5808 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
* _resultobj
;
5812 PyObject
* _argo0
= 0;
5813 char *_kwnames
[] = { "self", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5826 wxPy_BEGIN_ALLOW_THREADS
;
5827 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5829 wxPy_END_ALLOW_THREADS
;
5830 } _resultobj
= Py_BuildValue("i",_result
);
5834 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5835 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
* _resultobj
;
5839 PyObject
* _argo0
= 0;
5840 char *_kwnames
[] = { "self","retCode", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5853 wxPy_BEGIN_ALLOW_THREADS
;
5854 wxDialog_SetReturnCode(_arg0
,_arg1
);
5856 wxPy_END_ALLOW_THREADS
;
5857 } Py_INCREF(Py_None
);
5858 _resultobj
= Py_None
;
5862 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
5863 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
* _resultobj
;
5868 PyObject
* _argo0
= 0;
5869 PyObject
* _obj1
= 0;
5870 char *_kwnames
[] = { "self","message", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
5884 #if PYTHON_API_VERSION >= 1009
5885 char* tmpPtr
; int tmpSize
;
5886 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5890 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5892 _arg1
= new wxString(tmpPtr
, tmpSize
);
5894 if (!PyString_Check(_obj1
)) {
5895 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5898 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5902 wxPy_BEGIN_ALLOW_THREADS
;
5903 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
5905 wxPy_END_ALLOW_THREADS
;
5907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
5908 _resultobj
= Py_BuildValue("s",_ptemp
);
5911 _resultobj
= Py_None
;
5920 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
5921 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5926 PyObject
* _argo0
= 0;
5927 char *_kwnames
[] = { "self","flags", NULL
};
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
5934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
5941 wxPy_BEGIN_ALLOW_THREADS
;
5942 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
5944 wxPy_END_ALLOW_THREADS
;
5946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
5947 _resultobj
= Py_BuildValue("s",_ptemp
);
5950 _resultobj
= Py_None
;
5955 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5956 wxScrolledWindow
*src
;
5958 src
= (wxScrolledWindow
*) ptr
;
5959 dest
= (wxPanel
*) src
;
5960 return (void *) dest
;
5963 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5964 wxScrolledWindow
*src
;
5966 src
= (wxScrolledWindow
*) ptr
;
5967 dest
= (wxWindow
*) src
;
5968 return (void *) dest
;
5971 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5972 wxScrolledWindow
*src
;
5974 src
= (wxScrolledWindow
*) ptr
;
5975 dest
= (wxEvtHandler
*) src
;
5976 return (void *) dest
;
5979 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5980 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5982 wxScrolledWindow
* _result
;
5984 wxWindowID _arg1
= (wxWindowID
) -1;
5985 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5986 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5987 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5988 char * _arg5
= (char *) "scrolledWindow";
5989 PyObject
* _argo0
= 0;
5991 PyObject
* _obj2
= 0;
5993 PyObject
* _obj3
= 0;
5994 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6010 if (! wxPoint_helper(_obj2
, &_arg2
))
6016 if (! wxSize_helper(_obj3
, &_arg3
))
6020 wxPy_BEGIN_ALLOW_THREADS
;
6021 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6023 wxPy_END_ALLOW_THREADS
;
6025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6026 _resultobj
= Py_BuildValue("s",_ptemp
);
6029 _resultobj
= Py_None
;
6034 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6035 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6037 wxScrolledWindow
* _arg0
;
6040 PyObject
* _argo0
= 0;
6043 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6055 _arg1
= (bool ) tempbool1
;
6056 _arg2
= (bool ) tempbool2
;
6058 wxPy_BEGIN_ALLOW_THREADS
;
6059 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6061 wxPy_END_ALLOW_THREADS
;
6062 } Py_INCREF(Py_None
);
6063 _resultobj
= Py_None
;
6067 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6068 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6071 wxScrolledWindow
* _arg0
;
6073 PyObject
* _argo0
= 0;
6074 char *_kwnames
[] = { "self","orient", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6087 wxPy_BEGIN_ALLOW_THREADS
;
6088 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6090 wxPy_END_ALLOW_THREADS
;
6091 } _resultobj
= Py_BuildValue("i",_result
);
6095 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6096 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
* _resultobj
;
6098 wxScrolledWindow
* _arg0
;
6103 PyObject
* _argo0
= 0;
6104 char *_kwnames
[] = { "self", NULL
};
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6123 wxPy_BEGIN_ALLOW_THREADS
;
6124 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6126 wxPy_END_ALLOW_THREADS
;
6127 } Py_INCREF(Py_None
);
6128 _resultobj
= Py_None
;
6131 o
= PyInt_FromLong((long) (*_arg1
));
6132 _resultobj
= t_output_helper(_resultobj
, o
);
6136 o
= PyInt_FromLong((long) (*_arg2
));
6137 _resultobj
= t_output_helper(_resultobj
, o
);
6142 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6143 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
* _resultobj
;
6146 wxScrolledWindow
* _arg0
;
6147 PyObject
* _argo0
= 0;
6148 char *_kwnames
[] = { "self", NULL
};
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6162 wxPy_BEGIN_ALLOW_THREADS
;
6163 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6165 wxPy_END_ALLOW_THREADS
;
6167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6168 _resultobj
= Py_BuildValue("s",_ptemp
);
6171 _resultobj
= Py_None
;
6176 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6177 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6179 wxScrolledWindow
* _arg0
;
6184 PyObject
* _argo0
= 0;
6185 char *_kwnames
[] = { "self", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6204 wxPy_BEGIN_ALLOW_THREADS
;
6205 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6207 wxPy_END_ALLOW_THREADS
;
6208 } Py_INCREF(Py_None
);
6209 _resultobj
= Py_None
;
6212 o
= PyInt_FromLong((long) (*_arg1
));
6213 _resultobj
= t_output_helper(_resultobj
, o
);
6217 o
= PyInt_FromLong((long) (*_arg2
));
6218 _resultobj
= t_output_helper(_resultobj
, o
);
6223 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6224 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6227 wxScrolledWindow
* _arg0
;
6228 PyObject
* _argo0
= 0;
6229 char *_kwnames
[] = { "self", NULL
};
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
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_IsRetained. Expected _wxScrolledWindow_p.");
6242 wxPy_BEGIN_ALLOW_THREADS
;
6243 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6245 wxPy_END_ALLOW_THREADS
;
6246 } _resultobj
= Py_BuildValue("i",_result
);
6250 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6251 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
* _resultobj
;
6253 wxScrolledWindow
* _arg0
;
6255 PyObject
* _argo0
= 0;
6256 PyObject
* _argo1
= 0;
6257 char *_kwnames
[] = { "self","dc", NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6277 wxPy_BEGIN_ALLOW_THREADS
;
6278 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6280 wxPy_END_ALLOW_THREADS
;
6281 } Py_INCREF(Py_None
);
6282 _resultobj
= Py_None
;
6286 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6287 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6289 wxScrolledWindow
* _arg0
;
6292 PyObject
* _argo0
= 0;
6293 char *_kwnames
[] = { "self","x","y", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6306 wxPy_BEGIN_ALLOW_THREADS
;
6307 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6309 wxPy_END_ALLOW_THREADS
;
6310 } Py_INCREF(Py_None
);
6311 _resultobj
= Py_None
;
6315 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6316 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
* _resultobj
;
6318 wxScrolledWindow
* _arg0
;
6323 int _arg5
= (int ) 0;
6324 int _arg6
= (int ) 0;
6325 int _arg7
= (int ) FALSE
;
6326 PyObject
* _argo0
= 0;
6327 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6340 wxPy_BEGIN_ALLOW_THREADS
;
6341 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6343 wxPy_END_ALLOW_THREADS
;
6344 } Py_INCREF(Py_None
);
6345 _resultobj
= Py_None
;
6349 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6350 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6352 wxScrolledWindow
* _arg0
;
6355 PyObject
* _argo0
= 0;
6356 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6369 wxPy_BEGIN_ALLOW_THREADS
;
6370 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6372 wxPy_END_ALLOW_THREADS
;
6373 } Py_INCREF(Py_None
);
6374 _resultobj
= Py_None
;
6378 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6379 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
* _resultobj
;
6381 wxScrolledWindow
* _arg0
;
6383 PyObject
* _argo0
= 0;
6384 PyObject
* _argo1
= 0;
6385 char *_kwnames
[] = { "self","window", NULL
};
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6405 wxPy_BEGIN_ALLOW_THREADS
;
6406 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6408 wxPy_END_ALLOW_THREADS
;
6409 } Py_INCREF(Py_None
);
6410 _resultobj
= Py_None
;
6414 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6415 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6417 wxScrolledWindow
* _arg0
;
6422 PyObject
* _argo0
= 0;
6423 char *_kwnames
[] = { "self", NULL
};
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6442 wxPy_BEGIN_ALLOW_THREADS
;
6443 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6445 wxPy_END_ALLOW_THREADS
;
6446 } Py_INCREF(Py_None
);
6447 _resultobj
= Py_None
;
6450 o
= PyInt_FromLong((long) (*_arg1
));
6451 _resultobj
= t_output_helper(_resultobj
, o
);
6455 o
= PyInt_FromLong((long) (*_arg2
));
6456 _resultobj
= t_output_helper(_resultobj
, o
);
6461 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6462 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6464 wxScrolledWindow
* _arg0
;
6469 PyObject
* _argo0
= 0;
6470 char *_kwnames
[] = { "self", NULL
};
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6489 wxPy_BEGIN_ALLOW_THREADS
;
6490 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6492 wxPy_END_ALLOW_THREADS
;
6493 } Py_INCREF(Py_None
);
6494 _resultobj
= Py_None
;
6497 o
= PyInt_FromLong((long) (*_arg1
));
6498 _resultobj
= t_output_helper(_resultobj
, o
);
6502 o
= PyInt_FromLong((long) (*_arg2
));
6503 _resultobj
= t_output_helper(_resultobj
, o
);
6508 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6509 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
* _resultobj
;
6511 wxScrolledWindow
* _arg0
;
6518 PyObject
* _argo0
= 0;
6519 char *_kwnames
[] = { "self","x","y", NULL
};
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6538 wxPy_BEGIN_ALLOW_THREADS
;
6539 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6541 wxPy_END_ALLOW_THREADS
;
6542 } Py_INCREF(Py_None
);
6543 _resultobj
= Py_None
;
6546 o
= PyInt_FromLong((long) (*_arg3
));
6547 _resultobj
= t_output_helper(_resultobj
, o
);
6551 o
= PyInt_FromLong((long) (*_arg4
));
6552 _resultobj
= t_output_helper(_resultobj
, o
);
6557 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6558 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
* _resultobj
;
6560 wxScrolledWindow
* _arg0
;
6567 PyObject
* _argo0
= 0;
6568 char *_kwnames
[] = { "self","x","y", NULL
};
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6587 wxPy_BEGIN_ALLOW_THREADS
;
6588 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6590 wxPy_END_ALLOW_THREADS
;
6591 } Py_INCREF(Py_None
);
6592 _resultobj
= Py_None
;
6595 o
= PyInt_FromLong((long) (*_arg3
));
6596 _resultobj
= t_output_helper(_resultobj
, o
);
6600 o
= PyInt_FromLong((long) (*_arg4
));
6601 _resultobj
= t_output_helper(_resultobj
, o
);
6606 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
6607 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
* _resultobj
;
6609 wxScrolledWindow
* _arg0
;
6612 PyObject
* _argo0
= 0;
6613 char *_kwnames
[] = { "self","xs","ys", NULL
};
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
6626 wxPy_BEGIN_ALLOW_THREADS
;
6627 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
6629 wxPy_END_ALLOW_THREADS
;
6630 } Py_INCREF(Py_None
);
6631 _resultobj
= Py_None
;
6635 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
6636 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
* _resultobj
;
6639 wxScrolledWindow
* _arg0
;
6640 PyObject
* _argo0
= 0;
6641 char *_kwnames
[] = { "self", NULL
};
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
6647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
6654 wxPy_BEGIN_ALLOW_THREADS
;
6655 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
6657 wxPy_END_ALLOW_THREADS
;
6658 } _resultobj
= Py_BuildValue("d",_result
);
6662 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
6663 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6666 wxScrolledWindow
* _arg0
;
6667 PyObject
* _argo0
= 0;
6668 char *_kwnames
[] = { "self", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
6674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
6681 wxPy_BEGIN_ALLOW_THREADS
;
6682 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
6684 wxPy_END_ALLOW_THREADS
;
6685 } _resultobj
= Py_BuildValue("d",_result
);
6689 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
6690 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
* _resultobj
;
6692 wxScrolledWindow
* _arg0
;
6693 PyObject
* _argo0
= 0;
6694 char *_kwnames
[] = { "self", NULL
};
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
6700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
6707 wxPy_BEGIN_ALLOW_THREADS
;
6708 wxScrolledWindow_AdjustScrollbars(_arg0
);
6710 wxPy_END_ALLOW_THREADS
;
6711 } Py_INCREF(Py_None
);
6712 _resultobj
= Py_None
;
6716 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6719 src
= (wxMenu
*) ptr
;
6720 dest
= (wxEvtHandler
*) src
;
6721 return (void *) dest
;
6724 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6725 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
* _resultobj
;
6728 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6729 long _arg1
= (long ) 0;
6730 PyObject
* _obj0
= 0;
6731 char *_kwnames
[] = { "title","style", NULL
};
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6739 #if PYTHON_API_VERSION >= 1009
6740 char* tmpPtr
; int tmpSize
;
6741 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6745 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6747 _arg0
= new wxString(tmpPtr
, tmpSize
);
6749 if (!PyString_Check(_obj0
)) {
6750 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6753 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6757 wxPy_BEGIN_ALLOW_THREADS
;
6758 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6760 wxPy_END_ALLOW_THREADS
;
6762 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6763 _resultobj
= Py_BuildValue("s",_ptemp
);
6766 _resultobj
= Py_None
;
6775 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6776 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
* _resultobj
;
6781 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6782 int _arg4
= (int ) FALSE
;
6783 PyObject
* _argo0
= 0;
6784 PyObject
* _obj2
= 0;
6785 PyObject
* _obj3
= 0;
6786 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6799 #if PYTHON_API_VERSION >= 1009
6800 char* tmpPtr
; int tmpSize
;
6801 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6802 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6805 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6807 _arg2
= new wxString(tmpPtr
, tmpSize
);
6809 if (!PyString_Check(_obj2
)) {
6810 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6813 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6818 #if PYTHON_API_VERSION >= 1009
6819 char* tmpPtr
; int tmpSize
;
6820 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6824 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6826 _arg3
= new wxString(tmpPtr
, tmpSize
);
6828 if (!PyString_Check(_obj3
)) {
6829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6832 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6836 wxPy_BEGIN_ALLOW_THREADS
;
6837 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6839 wxPy_END_ALLOW_THREADS
;
6840 } Py_INCREF(Py_None
);
6841 _resultobj
= Py_None
;
6853 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6854 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6860 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6861 PyObject
* _argo0
= 0;
6862 PyObject
* _obj2
= 0;
6863 PyObject
* _argo3
= 0;
6864 PyObject
* _obj4
= 0;
6865 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6878 #if PYTHON_API_VERSION >= 1009
6879 char* tmpPtr
; int tmpSize
;
6880 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6884 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6886 _arg2
= new wxString(tmpPtr
, tmpSize
);
6888 if (!PyString_Check(_obj2
)) {
6889 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6892 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6896 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6904 #if PYTHON_API_VERSION >= 1009
6905 char* tmpPtr
; int tmpSize
;
6906 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6907 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6910 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6912 _arg4
= new wxString(tmpPtr
, tmpSize
);
6914 if (!PyString_Check(_obj4
)) {
6915 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6918 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6922 wxPy_BEGIN_ALLOW_THREADS
;
6923 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6925 wxPy_END_ALLOW_THREADS
;
6926 } Py_INCREF(Py_None
);
6927 _resultobj
= Py_None
;
6939 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6940 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
* _resultobj
;
6944 PyObject
* _argo0
= 0;
6945 PyObject
* _argo1
= 0;
6946 char *_kwnames
[] = { "self","item", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6966 wxPy_BEGIN_ALLOW_THREADS
;
6967 wxMenu_AppendItem(_arg0
,_arg1
);
6969 wxPy_END_ALLOW_THREADS
;
6970 } Py_INCREF(Py_None
);
6971 _resultobj
= Py_None
;
6975 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6976 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
* _resultobj
;
6979 PyObject
* _argo0
= 0;
6980 char *_kwnames
[] = { "self", NULL
};
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6993 wxPy_BEGIN_ALLOW_THREADS
;
6994 wxMenu_AppendSeparator(_arg0
);
6996 wxPy_END_ALLOW_THREADS
;
6997 } Py_INCREF(Py_None
);
6998 _resultobj
= Py_None
;
7002 #define wxMenu_Break(_swigobj) (_swigobj->Break())
7003 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
* _resultobj
;
7006 PyObject
* _argo0
= 0;
7007 char *_kwnames
[] = { "self", NULL
};
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
7013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
7020 wxPy_BEGIN_ALLOW_THREADS
;
7021 wxMenu_Break(_arg0
);
7023 wxPy_END_ALLOW_THREADS
;
7024 } Py_INCREF(Py_None
);
7025 _resultobj
= Py_None
;
7029 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7030 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
* _resultobj
;
7035 PyObject
* _argo0
= 0;
7037 char *_kwnames
[] = { "self","id","flag", NULL
};
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
7049 _arg2
= (bool ) tempbool2
;
7051 wxPy_BEGIN_ALLOW_THREADS
;
7052 wxMenu_Check(_arg0
,_arg1
,_arg2
);
7054 wxPy_END_ALLOW_THREADS
;
7055 } Py_INCREF(Py_None
);
7056 _resultobj
= Py_None
;
7060 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7061 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
* _resultobj
;
7066 PyObject
* _argo0
= 0;
7067 char *_kwnames
[] = { "self","id", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
7080 wxPy_BEGIN_ALLOW_THREADS
;
7081 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
7083 wxPy_END_ALLOW_THREADS
;
7084 } _resultobj
= Py_BuildValue("i",_result
);
7088 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7089 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7094 PyObject
* _argo0
= 0;
7096 char *_kwnames
[] = { "self","id","enable", NULL
};
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
7108 _arg2
= (bool ) tempbool2
;
7110 wxPy_BEGIN_ALLOW_THREADS
;
7111 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
7113 wxPy_END_ALLOW_THREADS
;
7114 } Py_INCREF(Py_None
);
7115 _resultobj
= Py_None
;
7119 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7120 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7125 PyObject
* _argo0
= 0;
7126 char *_kwnames
[] = { "self","id", NULL
};
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
7139 wxPy_BEGIN_ALLOW_THREADS
;
7140 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
7142 wxPy_END_ALLOW_THREADS
;
7143 } _resultobj
= Py_BuildValue("i",_result
);
7147 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7148 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7153 PyObject
* _argo0
= 0;
7154 PyObject
* _obj1
= 0;
7155 char *_kwnames
[] = { "self","itemString", NULL
};
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
7161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
7168 #if PYTHON_API_VERSION >= 1009
7169 char* tmpPtr
; int tmpSize
;
7170 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7174 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7176 _arg1
= new wxString(tmpPtr
, tmpSize
);
7178 if (!PyString_Check(_obj1
)) {
7179 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7182 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7186 wxPy_BEGIN_ALLOW_THREADS
;
7187 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
7189 wxPy_END_ALLOW_THREADS
;
7190 } _resultobj
= Py_BuildValue("i",_result
);
7198 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7199 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7201 wxMenuItem
* _result
;
7204 PyObject
* _argo0
= 0;
7205 char *_kwnames
[] = { "self","id", NULL
};
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
7219 wxPy_BEGIN_ALLOW_THREADS
;
7220 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
7222 wxPy_END_ALLOW_THREADS
;
7224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7225 _resultobj
= Py_BuildValue("s",_ptemp
);
7228 _resultobj
= Py_None
;
7233 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
7234 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
* _resultobj
;
7238 PyObject
* _argo0
= 0;
7239 char *_kwnames
[] = { "self", NULL
};
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
7245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
7252 wxPy_BEGIN_ALLOW_THREADS
;
7253 _result
= new wxString (wxMenu_GetTitle(_arg0
));
7255 wxPy_END_ALLOW_THREADS
;
7257 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7265 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
7266 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
* _resultobj
;
7270 PyObject
* _argo0
= 0;
7271 PyObject
* _obj1
= 0;
7272 char *_kwnames
[] = { "self","title", NULL
};
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
7278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
7285 #if PYTHON_API_VERSION >= 1009
7286 char* tmpPtr
; int tmpSize
;
7287 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7291 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7293 _arg1
= new wxString(tmpPtr
, tmpSize
);
7295 if (!PyString_Check(_obj1
)) {
7296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7299 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7303 wxPy_BEGIN_ALLOW_THREADS
;
7304 wxMenu_SetTitle(_arg0
,*_arg1
);
7306 wxPy_END_ALLOW_THREADS
;
7307 } Py_INCREF(Py_None
);
7308 _resultobj
= Py_None
;
7316 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7317 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
* _resultobj
;
7322 PyObject
* _argo0
= 0;
7323 char *_kwnames
[] = { "self","id", NULL
};
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7336 wxPy_BEGIN_ALLOW_THREADS
;
7337 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7339 wxPy_END_ALLOW_THREADS
;
7341 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7349 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7350 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7355 PyObject
* _argo0
= 0;
7356 PyObject
* _obj2
= 0;
7357 char *_kwnames
[] = { "self","id","label", NULL
};
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7370 #if PYTHON_API_VERSION >= 1009
7371 char* tmpPtr
; int tmpSize
;
7372 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7373 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7376 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7378 _arg2
= new wxString(tmpPtr
, tmpSize
);
7380 if (!PyString_Check(_obj2
)) {
7381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7384 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7388 wxPy_BEGIN_ALLOW_THREADS
;
7389 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7391 wxPy_END_ALLOW_THREADS
;
7392 } Py_INCREF(Py_None
);
7393 _resultobj
= Py_None
;
7401 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7402 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
* _resultobj
;
7407 PyObject
* _argo0
= 0;
7408 char *_kwnames
[] = { "self","id", NULL
};
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7421 wxPy_BEGIN_ALLOW_THREADS
;
7422 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7424 wxPy_END_ALLOW_THREADS
;
7426 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7434 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7435 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7440 PyObject
* _argo0
= 0;
7441 PyObject
* _obj2
= 0;
7442 char *_kwnames
[] = { "self","id","helpString", NULL
};
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7455 #if PYTHON_API_VERSION >= 1009
7456 char* tmpPtr
; int tmpSize
;
7457 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7458 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7461 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7463 _arg2
= new wxString(tmpPtr
, tmpSize
);
7465 if (!PyString_Check(_obj2
)) {
7466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7469 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7473 wxPy_BEGIN_ALLOW_THREADS
;
7474 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7476 wxPy_END_ALLOW_THREADS
;
7477 } Py_INCREF(Py_None
);
7478 _resultobj
= Py_None
;
7486 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7487 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
* _resultobj
;
7490 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7491 PyObject
* _argo0
= 0;
7492 PyObject
* _argo1
= 0;
7493 char *_kwnames
[] = { "self","source", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7513 wxPy_BEGIN_ALLOW_THREADS
;
7514 wxMenu_UpdateUI(_arg0
,_arg1
);
7516 wxPy_END_ALLOW_THREADS
;
7517 } Py_INCREF(Py_None
);
7518 _resultobj
= Py_None
;
7522 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7523 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
* _resultobj
;
7528 PyObject
* _argo0
= 0;
7529 char *_kwnames
[] = { "self","id", NULL
};
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7542 wxPy_BEGIN_ALLOW_THREADS
;
7543 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7545 wxPy_END_ALLOW_THREADS
;
7546 } _resultobj
= Py_BuildValue("i",_result
);
7550 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7551 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
* _resultobj
;
7556 PyObject
* _argo0
= 0;
7557 PyObject
* _argo1
= 0;
7558 char *_kwnames
[] = { "self","item", NULL
};
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7578 wxPy_BEGIN_ALLOW_THREADS
;
7579 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7581 wxPy_END_ALLOW_THREADS
;
7582 } _resultobj
= Py_BuildValue("i",_result
);
7586 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7587 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
* _resultobj
;
7593 PyObject
* _argo0
= 0;
7594 PyObject
* _argo2
= 0;
7595 char *_kwnames
[] = { "self","pos","item", NULL
};
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7608 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7609 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7615 wxPy_BEGIN_ALLOW_THREADS
;
7616 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7618 wxPy_END_ALLOW_THREADS
;
7619 } _resultobj
= Py_BuildValue("i",_result
);
7623 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7624 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
* _resultobj
;
7626 wxMenuItem
* _result
;
7629 PyObject
* _argo0
= 0;
7630 char *_kwnames
[] = { "self","id", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7644 wxPy_BEGIN_ALLOW_THREADS
;
7645 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7647 wxPy_END_ALLOW_THREADS
;
7649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7650 _resultobj
= Py_BuildValue("s",_ptemp
);
7653 _resultobj
= Py_None
;
7658 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7659 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
* _resultobj
;
7661 wxMenuItem
* _result
;
7664 PyObject
* _argo0
= 0;
7665 PyObject
* _argo1
= 0;
7666 char *_kwnames
[] = { "self","item", NULL
};
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7687 wxPy_BEGIN_ALLOW_THREADS
;
7688 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7690 wxPy_END_ALLOW_THREADS
;
7692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7693 _resultobj
= Py_BuildValue("s",_ptemp
);
7696 _resultobj
= Py_None
;
7701 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7702 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7705 PyObject
* _argo0
= 0;
7706 char *_kwnames
[] = { "self", NULL
};
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7719 wxPy_BEGIN_ALLOW_THREADS
;
7720 wxMenu_Destroy(_arg0
);
7722 wxPy_END_ALLOW_THREADS
;
7723 } Py_INCREF(Py_None
);
7724 _resultobj
= Py_None
;
7728 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7729 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
* _resultobj
;
7734 PyObject
* _argo0
= 0;
7735 char *_kwnames
[] = { "self","id", NULL
};
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7748 wxPy_BEGIN_ALLOW_THREADS
;
7749 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7751 wxPy_END_ALLOW_THREADS
;
7752 } _resultobj
= Py_BuildValue("i",_result
);
7756 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7757 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
* _resultobj
;
7762 PyObject
* _argo0
= 0;
7763 PyObject
* _argo1
= 0;
7764 char *_kwnames
[] = { "self","item", NULL
};
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7784 wxPy_BEGIN_ALLOW_THREADS
;
7785 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7787 wxPy_END_ALLOW_THREADS
;
7788 } _resultobj
= Py_BuildValue("i",_result
);
7792 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7793 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
* _resultobj
;
7797 PyObject
* _argo0
= 0;
7798 char *_kwnames
[] = { "self", NULL
};
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7811 wxPy_BEGIN_ALLOW_THREADS
;
7812 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7814 wxPy_END_ALLOW_THREADS
;
7815 } _resultobj
= Py_BuildValue("i",_result
);
7819 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7820 wxMenuItemList
& list
= self
->GetMenuItems();
7821 return wxPy_ConvertList(&list
, "wxMenuItem");
7823 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
* _resultobj
;
7827 PyObject
* _argo0
= 0;
7828 char *_kwnames
[] = { "self", NULL
};
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7841 wxPy_BEGIN_ALLOW_THREADS
;
7842 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7844 wxPy_END_ALLOW_THREADS
;
7846 _resultobj
= _result
;
7851 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7852 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
* _resultobj
;
7855 wxEvtHandler
* _arg1
;
7856 PyObject
* _argo0
= 0;
7857 PyObject
* _argo1
= 0;
7858 char *_kwnames
[] = { "self","handler", NULL
};
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7871 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7872 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7878 wxPy_BEGIN_ALLOW_THREADS
;
7879 wxMenu_SetEventHandler(_arg0
,_arg1
);
7881 wxPy_END_ALLOW_THREADS
;
7882 } Py_INCREF(Py_None
);
7883 _resultobj
= Py_None
;
7887 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7888 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
* _resultobj
;
7890 wxEvtHandler
* _result
;
7892 PyObject
* _argo0
= 0;
7893 char *_kwnames
[] = { "self", NULL
};
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7907 wxPy_BEGIN_ALLOW_THREADS
;
7908 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7910 wxPy_END_ALLOW_THREADS
;
7912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7913 _resultobj
= Py_BuildValue("s",_ptemp
);
7916 _resultobj
= Py_None
;
7921 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7922 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7926 PyObject
* _argo0
= 0;
7927 PyObject
* _argo1
= 0;
7928 char *_kwnames
[] = { "self","win", NULL
};
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7948 wxPy_BEGIN_ALLOW_THREADS
;
7949 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7951 wxPy_END_ALLOW_THREADS
;
7952 } Py_INCREF(Py_None
);
7953 _resultobj
= Py_None
;
7957 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7958 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
* _resultobj
;
7962 PyObject
* _argo0
= 0;
7963 char *_kwnames
[] = { "self", NULL
};
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7977 wxPy_BEGIN_ALLOW_THREADS
;
7978 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7980 wxPy_END_ALLOW_THREADS
;
7982 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7983 _resultobj
= Py_BuildValue("s",_ptemp
);
7986 _resultobj
= Py_None
;
7991 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7992 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
* _resultobj
;
7996 PyObject
* _argo0
= 0;
7997 char *_kwnames
[] = { "self", NULL
};
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
8003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8010 wxPy_BEGIN_ALLOW_THREADS
;
8011 _result
= (long )wxMenu_GetStyle(_arg0
);
8013 wxPy_END_ALLOW_THREADS
;
8014 } _resultobj
= Py_BuildValue("l",_result
);
8018 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
8019 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
* _resultobj
;
8023 PyObject
* _argo0
= 0;
8024 char *_kwnames
[] = { "self", NULL
};
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
8030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8037 wxPy_BEGIN_ALLOW_THREADS
;
8038 _result
= (bool )wxMenu_IsAttached(_arg0
);
8040 wxPy_END_ALLOW_THREADS
;
8041 } _resultobj
= Py_BuildValue("i",_result
);
8045 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
8046 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
* _resultobj
;
8050 PyObject
* _argo0
= 0;
8051 PyObject
* _argo1
= 0;
8052 char *_kwnames
[] = { "self","parent", NULL
};
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
8058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8072 wxPy_BEGIN_ALLOW_THREADS
;
8073 wxMenu_SetParent(_arg0
,_arg1
);
8075 wxPy_END_ALLOW_THREADS
;
8076 } Py_INCREF(Py_None
);
8077 _resultobj
= Py_None
;
8081 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
8082 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8086 PyObject
* _argo0
= 0;
8087 char *_kwnames
[] = { "self", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8101 wxPy_BEGIN_ALLOW_THREADS
;
8102 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
8104 wxPy_END_ALLOW_THREADS
;
8106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8107 _resultobj
= Py_BuildValue("s",_ptemp
);
8110 _resultobj
= Py_None
;
8115 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
8118 src
= (wxMenuBar
*) ptr
;
8119 dest
= (wxWindow
*) src
;
8120 return (void *) dest
;
8123 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
8126 src
= (wxMenuBar
*) ptr
;
8127 dest
= (wxEvtHandler
*) src
;
8128 return (void *) dest
;
8131 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
8132 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
* _resultobj
;
8134 wxMenuBar
* _result
;
8135 long _arg0
= (long ) 0;
8136 char *_kwnames
[] = { "style", NULL
};
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
8143 wxPy_BEGIN_ALLOW_THREADS
;
8144 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
8146 wxPy_END_ALLOW_THREADS
;
8148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
8149 _resultobj
= Py_BuildValue("s",_ptemp
);
8152 _resultobj
= Py_None
;
8157 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
8158 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
* _resultobj
;
8164 PyObject
* _argo0
= 0;
8165 PyObject
* _argo1
= 0;
8166 PyObject
* _obj2
= 0;
8167 char *_kwnames
[] = { "self","menu","title", NULL
};
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
8180 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8181 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8187 #if PYTHON_API_VERSION >= 1009
8188 char* tmpPtr
; int tmpSize
;
8189 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8193 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8195 _arg2
= new wxString(tmpPtr
, tmpSize
);
8197 if (!PyString_Check(_obj2
)) {
8198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8201 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8205 wxPy_BEGIN_ALLOW_THREADS
;
8206 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
8208 wxPy_END_ALLOW_THREADS
;
8209 } _resultobj
= Py_BuildValue("i",_result
);
8217 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
8218 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8225 PyObject
* _argo0
= 0;
8226 PyObject
* _argo2
= 0;
8227 PyObject
* _obj3
= 0;
8228 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
8241 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8242 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8248 #if PYTHON_API_VERSION >= 1009
8249 char* tmpPtr
; int tmpSize
;
8250 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8254 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8256 _arg3
= new wxString(tmpPtr
, tmpSize
);
8258 if (!PyString_Check(_obj3
)) {
8259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8262 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8266 wxPy_BEGIN_ALLOW_THREADS
;
8267 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
8269 wxPy_END_ALLOW_THREADS
;
8270 } _resultobj
= Py_BuildValue("i",_result
);
8278 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
8279 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
* _resultobj
;
8283 PyObject
* _argo0
= 0;
8284 char *_kwnames
[] = { "self", NULL
};
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
8290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8297 wxPy_BEGIN_ALLOW_THREADS
;
8298 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8300 wxPy_END_ALLOW_THREADS
;
8301 } _resultobj
= Py_BuildValue("i",_result
);
8305 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8306 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
* _resultobj
;
8311 PyObject
* _argo0
= 0;
8312 char *_kwnames
[] = { "self","pos", NULL
};
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8326 wxPy_BEGIN_ALLOW_THREADS
;
8327 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8329 wxPy_END_ALLOW_THREADS
;
8331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8332 _resultobj
= Py_BuildValue("s",_ptemp
);
8335 _resultobj
= Py_None
;
8340 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8341 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
* _resultobj
;
8348 PyObject
* _argo0
= 0;
8349 PyObject
* _argo2
= 0;
8350 PyObject
* _obj3
= 0;
8351 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8365 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8366 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8372 #if PYTHON_API_VERSION >= 1009
8373 char* tmpPtr
; int tmpSize
;
8374 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8378 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8380 _arg3
= new wxString(tmpPtr
, tmpSize
);
8382 if (!PyString_Check(_obj3
)) {
8383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8386 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8390 wxPy_BEGIN_ALLOW_THREADS
;
8391 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8393 wxPy_END_ALLOW_THREADS
;
8395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8396 _resultobj
= Py_BuildValue("s",_ptemp
);
8399 _resultobj
= Py_None
;
8408 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8409 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8414 PyObject
* _argo0
= 0;
8415 char *_kwnames
[] = { "self","pos", NULL
};
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8429 wxPy_BEGIN_ALLOW_THREADS
;
8430 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8432 wxPy_END_ALLOW_THREADS
;
8434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8435 _resultobj
= Py_BuildValue("s",_ptemp
);
8438 _resultobj
= Py_None
;
8443 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8444 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
* _resultobj
;
8449 PyObject
* _argo0
= 0;
8451 char *_kwnames
[] = { "self","pos","enable", NULL
};
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8463 _arg2
= (bool ) tempbool2
;
8465 wxPy_BEGIN_ALLOW_THREADS
;
8466 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8468 wxPy_END_ALLOW_THREADS
;
8469 } Py_INCREF(Py_None
);
8470 _resultobj
= Py_None
;
8474 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8475 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
* _resultobj
;
8480 PyObject
* _argo0
= 0;
8481 PyObject
* _obj2
= 0;
8482 char *_kwnames
[] = { "self","pos","label", NULL
};
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8495 #if PYTHON_API_VERSION >= 1009
8496 char* tmpPtr
; int tmpSize
;
8497 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8501 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8503 _arg2
= new wxString(tmpPtr
, tmpSize
);
8505 if (!PyString_Check(_obj2
)) {
8506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8509 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8513 wxPy_BEGIN_ALLOW_THREADS
;
8514 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8516 wxPy_END_ALLOW_THREADS
;
8517 } Py_INCREF(Py_None
);
8518 _resultobj
= Py_None
;
8526 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8527 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
* _resultobj
;
8532 PyObject
* _argo0
= 0;
8533 char *_kwnames
[] = { "self","pos", NULL
};
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8546 wxPy_BEGIN_ALLOW_THREADS
;
8547 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8549 wxPy_END_ALLOW_THREADS
;
8551 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8559 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8560 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
* _resultobj
;
8566 PyObject
* _argo0
= 0;
8567 PyObject
* _obj1
= 0;
8568 PyObject
* _obj2
= 0;
8569 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8582 #if PYTHON_API_VERSION >= 1009
8583 char* tmpPtr
; int tmpSize
;
8584 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8588 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8590 _arg1
= new wxString(tmpPtr
, tmpSize
);
8592 if (!PyString_Check(_obj1
)) {
8593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8596 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8600 #if PYTHON_API_VERSION >= 1009
8601 char* tmpPtr
; int tmpSize
;
8602 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8606 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8608 _arg2
= new wxString(tmpPtr
, tmpSize
);
8610 if (!PyString_Check(_obj2
)) {
8611 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8614 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8618 wxPy_BEGIN_ALLOW_THREADS
;
8619 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8621 wxPy_END_ALLOW_THREADS
;
8622 } _resultobj
= Py_BuildValue("i",_result
);
8634 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8635 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
* _resultobj
;
8637 wxMenuItem
* _result
;
8640 PyObject
* _argo0
= 0;
8641 char *_kwnames
[] = { "self","id", NULL
};
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8655 wxPy_BEGIN_ALLOW_THREADS
;
8656 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8658 wxPy_END_ALLOW_THREADS
;
8660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8661 _resultobj
= Py_BuildValue("s",_ptemp
);
8664 _resultobj
= Py_None
;
8669 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8670 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
* _resultobj
;
8675 PyObject
* _argo0
= 0;
8677 char *_kwnames
[] = { "self","id","enable", NULL
};
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8689 _arg2
= (bool ) tempbool2
;
8691 wxPy_BEGIN_ALLOW_THREADS
;
8692 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8694 wxPy_END_ALLOW_THREADS
;
8695 } Py_INCREF(Py_None
);
8696 _resultobj
= Py_None
;
8700 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8701 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
* _resultobj
;
8706 PyObject
* _argo0
= 0;
8708 char *_kwnames
[] = { "self","id","check", NULL
};
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8720 _arg2
= (bool ) tempbool2
;
8722 wxPy_BEGIN_ALLOW_THREADS
;
8723 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8725 wxPy_END_ALLOW_THREADS
;
8726 } Py_INCREF(Py_None
);
8727 _resultobj
= Py_None
;
8731 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8732 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
* _resultobj
;
8737 PyObject
* _argo0
= 0;
8738 char *_kwnames
[] = { "self","id", NULL
};
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8751 wxPy_BEGIN_ALLOW_THREADS
;
8752 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8754 wxPy_END_ALLOW_THREADS
;
8755 } _resultobj
= Py_BuildValue("i",_result
);
8759 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8760 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
* _resultobj
;
8765 PyObject
* _argo0
= 0;
8766 char *_kwnames
[] = { "self","id", NULL
};
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8779 wxPy_BEGIN_ALLOW_THREADS
;
8780 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8782 wxPy_END_ALLOW_THREADS
;
8783 } _resultobj
= Py_BuildValue("i",_result
);
8787 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8788 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
* _resultobj
;
8793 PyObject
* _argo0
= 0;
8794 PyObject
* _obj2
= 0;
8795 char *_kwnames
[] = { "self","id","label", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8808 #if PYTHON_API_VERSION >= 1009
8809 char* tmpPtr
; int tmpSize
;
8810 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8814 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8816 _arg2
= new wxString(tmpPtr
, tmpSize
);
8818 if (!PyString_Check(_obj2
)) {
8819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8822 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8826 wxPy_BEGIN_ALLOW_THREADS
;
8827 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8829 wxPy_END_ALLOW_THREADS
;
8830 } Py_INCREF(Py_None
);
8831 _resultobj
= Py_None
;
8839 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8840 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
* _resultobj
;
8845 PyObject
* _argo0
= 0;
8846 char *_kwnames
[] = { "self","id", NULL
};
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8859 wxPy_BEGIN_ALLOW_THREADS
;
8860 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8862 wxPy_END_ALLOW_THREADS
;
8864 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8872 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8873 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
* _resultobj
;
8878 PyObject
* _argo0
= 0;
8879 PyObject
* _obj2
= 0;
8880 char *_kwnames
[] = { "self","id","helpString", NULL
};
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8893 #if PYTHON_API_VERSION >= 1009
8894 char* tmpPtr
; int tmpSize
;
8895 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8899 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8901 _arg2
= new wxString(tmpPtr
, tmpSize
);
8903 if (!PyString_Check(_obj2
)) {
8904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8907 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8911 wxPy_BEGIN_ALLOW_THREADS
;
8912 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8914 wxPy_END_ALLOW_THREADS
;
8915 } Py_INCREF(Py_None
);
8916 _resultobj
= Py_None
;
8924 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8925 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
* _resultobj
;
8930 PyObject
* _argo0
= 0;
8931 char *_kwnames
[] = { "self","id", NULL
};
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8944 wxPy_BEGIN_ALLOW_THREADS
;
8945 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8947 wxPy_END_ALLOW_THREADS
;
8949 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8957 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8958 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
* _resultobj
;
8960 wxMenuItem
* _result
;
8961 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8962 int _arg1
= (int ) wxID_SEPARATOR
;
8963 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8964 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8965 bool _arg4
= (bool ) FALSE
;
8966 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8967 PyObject
* _argo0
= 0;
8968 PyObject
* _obj2
= 0;
8969 PyObject
* _obj3
= 0;
8970 int tempbool4
= (int) FALSE
;
8971 PyObject
* _argo5
= 0;
8972 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8987 #if PYTHON_API_VERSION >= 1009
8988 char* tmpPtr
; int tmpSize
;
8989 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8990 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8993 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8995 _arg2
= new wxString(tmpPtr
, tmpSize
);
8997 if (!PyString_Check(_obj2
)) {
8998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9001 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9006 #if PYTHON_API_VERSION >= 1009
9007 char* tmpPtr
; int tmpSize
;
9008 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9012 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9014 _arg3
= new wxString(tmpPtr
, tmpSize
);
9016 if (!PyString_Check(_obj3
)) {
9017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9020 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9023 _arg4
= (bool ) tempbool4
;
9025 if (_argo5
== Py_None
) { _arg5
= NULL
; }
9026 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
9027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
9032 wxPy_BEGIN_ALLOW_THREADS
;
9033 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
9035 wxPy_END_ALLOW_THREADS
;
9037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
9038 _resultobj
= Py_BuildValue("s",_ptemp
);
9041 _resultobj
= Py_None
;
9054 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
9055 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
* _resultobj
;
9059 PyObject
* _argo0
= 0;
9060 char *_kwnames
[] = { "self", NULL
};
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
9067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
9074 wxPy_BEGIN_ALLOW_THREADS
;
9075 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
9077 wxPy_END_ALLOW_THREADS
;
9079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
9080 _resultobj
= Py_BuildValue("s",_ptemp
);
9083 _resultobj
= Py_None
;
9088 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
9089 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
* _resultobj
;
9093 PyObject
* _argo0
= 0;
9094 char *_kwnames
[] = { "self","id", NULL
};
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
9100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
9107 wxPy_BEGIN_ALLOW_THREADS
;
9108 wxMenuItem_SetId(_arg0
,_arg1
);
9110 wxPy_END_ALLOW_THREADS
;
9111 } Py_INCREF(Py_None
);
9112 _resultobj
= Py_None
;
9116 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
9117 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
* _resultobj
;
9121 PyObject
* _argo0
= 0;
9122 char *_kwnames
[] = { "self", NULL
};
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
9128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
9135 wxPy_BEGIN_ALLOW_THREADS
;
9136 _result
= (int )wxMenuItem_GetId(_arg0
);
9138 wxPy_END_ALLOW_THREADS
;
9139 } _resultobj
= Py_BuildValue("i",_result
);
9143 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
9144 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
* _resultobj
;
9148 PyObject
* _argo0
= 0;
9149 char *_kwnames
[] = { "self", NULL
};
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
9155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
9162 wxPy_BEGIN_ALLOW_THREADS
;
9163 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
9165 wxPy_END_ALLOW_THREADS
;
9166 } _resultobj
= Py_BuildValue("i",_result
);
9170 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
9171 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
* _resultobj
;
9175 PyObject
* _argo0
= 0;
9176 PyObject
* _obj1
= 0;
9177 char *_kwnames
[] = { "self","str", NULL
};
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
9183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
9190 #if PYTHON_API_VERSION >= 1009
9191 char* tmpPtr
; int tmpSize
;
9192 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9196 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9198 _arg1
= new wxString(tmpPtr
, tmpSize
);
9200 if (!PyString_Check(_obj1
)) {
9201 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9204 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9208 wxPy_BEGIN_ALLOW_THREADS
;
9209 wxMenuItem_SetText(_arg0
,*_arg1
);
9211 wxPy_END_ALLOW_THREADS
;
9212 } Py_INCREF(Py_None
);
9213 _resultobj
= Py_None
;
9221 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
9222 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
* _resultobj
;
9226 PyObject
* _argo0
= 0;
9227 char *_kwnames
[] = { "self", NULL
};
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
9233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
9240 wxPy_BEGIN_ALLOW_THREADS
;
9241 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
9243 wxPy_END_ALLOW_THREADS
;
9245 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9253 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
9254 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
* _resultobj
;
9258 PyObject
* _argo0
= 0;
9259 char *_kwnames
[] = { "self", NULL
};
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
9265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
9272 wxPy_BEGIN_ALLOW_THREADS
;
9273 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
9274 _result
= (wxString
*) &_result_ref
;
9276 wxPy_END_ALLOW_THREADS
;
9278 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9283 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
9284 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9288 PyObject
* _argo0
= 0;
9290 char *_kwnames
[] = { "self","checkable", NULL
};
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
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_SetCheckable. Expected _wxMenuItem_p.");
9302 _arg1
= (bool ) tempbool1
;
9304 wxPy_BEGIN_ALLOW_THREADS
;
9305 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9307 wxPy_END_ALLOW_THREADS
;
9308 } Py_INCREF(Py_None
);
9309 _resultobj
= Py_None
;
9313 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9314 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
* _resultobj
;
9318 PyObject
* _argo0
= 0;
9319 char *_kwnames
[] = { "self", NULL
};
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
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_IsCheckable. Expected _wxMenuItem_p.");
9332 wxPy_BEGIN_ALLOW_THREADS
;
9333 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9335 wxPy_END_ALLOW_THREADS
;
9336 } _resultobj
= Py_BuildValue("i",_result
);
9340 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9341 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
* _resultobj
;
9345 PyObject
* _argo0
= 0;
9346 char *_kwnames
[] = { "self", NULL
};
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9359 wxPy_BEGIN_ALLOW_THREADS
;
9360 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9362 wxPy_END_ALLOW_THREADS
;
9363 } _resultobj
= Py_BuildValue("i",_result
);
9367 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9368 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
* _resultobj
;
9372 PyObject
* _argo0
= 0;
9373 PyObject
* _argo1
= 0;
9374 char *_kwnames
[] = { "self","menu", NULL
};
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9394 wxPy_BEGIN_ALLOW_THREADS
;
9395 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9397 wxPy_END_ALLOW_THREADS
;
9398 } Py_INCREF(Py_None
);
9399 _resultobj
= Py_None
;
9403 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9404 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
* _resultobj
;
9408 PyObject
* _argo0
= 0;
9409 char *_kwnames
[] = { "self", NULL
};
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9423 wxPy_BEGIN_ALLOW_THREADS
;
9424 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9426 wxPy_END_ALLOW_THREADS
;
9428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
9429 _resultobj
= Py_BuildValue("s",_ptemp
);
9432 _resultobj
= Py_None
;
9437 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9438 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
* _resultobj
;
9441 bool _arg1
= (bool ) TRUE
;
9442 PyObject
* _argo0
= 0;
9443 int tempbool1
= (int) TRUE
;
9444 char *_kwnames
[] = { "self","enable", NULL
};
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9456 _arg1
= (bool ) tempbool1
;
9458 wxPy_BEGIN_ALLOW_THREADS
;
9459 wxMenuItem_Enable(_arg0
,_arg1
);
9461 wxPy_END_ALLOW_THREADS
;
9462 } Py_INCREF(Py_None
);
9463 _resultobj
= Py_None
;
9467 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9468 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
* _resultobj
;
9472 PyObject
* _argo0
= 0;
9473 char *_kwnames
[] = { "self", NULL
};
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9486 wxPy_BEGIN_ALLOW_THREADS
;
9487 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9489 wxPy_END_ALLOW_THREADS
;
9490 } _resultobj
= Py_BuildValue("i",_result
);
9494 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9495 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
* _resultobj
;
9498 bool _arg1
= (bool ) TRUE
;
9499 PyObject
* _argo0
= 0;
9500 int tempbool1
= (int) TRUE
;
9501 char *_kwnames
[] = { "self","check", NULL
};
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9513 _arg1
= (bool ) tempbool1
;
9515 wxPy_BEGIN_ALLOW_THREADS
;
9516 wxMenuItem_Check(_arg0
,_arg1
);
9518 wxPy_END_ALLOW_THREADS
;
9519 } Py_INCREF(Py_None
);
9520 _resultobj
= Py_None
;
9524 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9525 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
* _resultobj
;
9529 PyObject
* _argo0
= 0;
9530 char *_kwnames
[] = { "self", NULL
};
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9543 wxPy_BEGIN_ALLOW_THREADS
;
9544 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9546 wxPy_END_ALLOW_THREADS
;
9547 } _resultobj
= Py_BuildValue("i",_result
);
9551 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9552 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
* _resultobj
;
9555 PyObject
* _argo0
= 0;
9556 char *_kwnames
[] = { "self", NULL
};
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9569 wxPy_BEGIN_ALLOW_THREADS
;
9570 wxMenuItem_Toggle(_arg0
);
9572 wxPy_END_ALLOW_THREADS
;
9573 } Py_INCREF(Py_None
);
9574 _resultobj
= Py_None
;
9578 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9579 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
* _resultobj
;
9583 PyObject
* _argo0
= 0;
9584 PyObject
* _obj1
= 0;
9585 char *_kwnames
[] = { "self","str", NULL
};
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9598 #if PYTHON_API_VERSION >= 1009
9599 char* tmpPtr
; int tmpSize
;
9600 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9601 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9604 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9606 _arg1
= new wxString(tmpPtr
, tmpSize
);
9608 if (!PyString_Check(_obj1
)) {
9609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9612 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9616 wxPy_BEGIN_ALLOW_THREADS
;
9617 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9619 wxPy_END_ALLOW_THREADS
;
9620 } Py_INCREF(Py_None
);
9621 _resultobj
= Py_None
;
9629 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9630 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
* _resultobj
;
9634 PyObject
* _argo0
= 0;
9635 char *_kwnames
[] = { "self", NULL
};
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9648 wxPy_BEGIN_ALLOW_THREADS
;
9649 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9650 _result
= (wxString
*) &_result_ref
;
9652 wxPy_END_ALLOW_THREADS
;
9654 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9659 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9660 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
* _resultobj
;
9662 wxAcceleratorEntry
* _result
;
9664 PyObject
* _argo0
= 0;
9665 char *_kwnames
[] = { "self", NULL
};
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9679 wxPy_BEGIN_ALLOW_THREADS
;
9680 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9682 wxPy_END_ALLOW_THREADS
;
9684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9685 _resultobj
= Py_BuildValue("s",_ptemp
);
9688 _resultobj
= Py_None
;
9693 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9694 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
* _resultobj
;
9697 wxAcceleratorEntry
* _arg1
;
9698 PyObject
* _argo0
= 0;
9699 PyObject
* _argo1
= 0;
9700 char *_kwnames
[] = { "self","accel", NULL
};
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9720 wxPy_BEGIN_ALLOW_THREADS
;
9721 wxMenuItem_SetAccel(_arg0
,_arg1
);
9723 wxPy_END_ALLOW_THREADS
;
9724 } Py_INCREF(Py_None
);
9725 _resultobj
= Py_None
;
9729 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
* _resultobj
;
9733 PyObject
* _obj0
= 0;
9734 char *_kwnames
[] = { "text", NULL
};
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
9740 #if PYTHON_API_VERSION >= 1009
9741 char* tmpPtr
; int tmpSize
;
9742 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9746 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9748 _arg0
= new wxString(tmpPtr
, tmpSize
);
9750 if (!PyString_Check(_obj0
)) {
9751 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9754 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9758 wxPy_BEGIN_ALLOW_THREADS
;
9759 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
9761 wxPy_END_ALLOW_THREADS
;
9763 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9775 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
9776 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
* _resultobj
;
9780 PyObject
* _argo0
= 0;
9781 PyObject
* _argo1
= 0;
9782 char *_kwnames
[] = { "self","font", NULL
};
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
9788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
9795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
9802 wxPy_BEGIN_ALLOW_THREADS
;
9803 wxMenuItem_SetFont(_arg0
,*_arg1
);
9805 wxPy_END_ALLOW_THREADS
;
9806 } Py_INCREF(Py_None
);
9807 _resultobj
= Py_None
;
9811 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
9812 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
* _resultobj
;
9816 PyObject
* _argo0
= 0;
9817 char *_kwnames
[] = { "self", NULL
};
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
9824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
9831 wxPy_BEGIN_ALLOW_THREADS
;
9832 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
9833 _result
= (wxFont
*) &_result_ref
;
9835 wxPy_END_ALLOW_THREADS
;
9837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
9838 _resultobj
= Py_BuildValue("s",_ptemp
);
9841 _resultobj
= Py_None
;
9846 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
9847 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
* _resultobj
;
9851 PyObject
* _argo0
= 0;
9853 PyObject
* _obj1
= 0;
9854 char *_kwnames
[] = { "self","colText", NULL
};
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
9860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
9868 if (! wxColour_helper(_obj1
, &_arg1
))
9872 wxPy_BEGIN_ALLOW_THREADS
;
9873 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
9875 wxPy_END_ALLOW_THREADS
;
9876 } Py_INCREF(Py_None
);
9877 _resultobj
= Py_None
;
9881 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
9882 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
* _resultobj
;
9886 PyObject
* _argo0
= 0;
9887 char *_kwnames
[] = { "self", NULL
};
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
9894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
9901 wxPy_BEGIN_ALLOW_THREADS
;
9902 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
9903 _result
= (wxColour
*) &_result_ref
;
9905 wxPy_END_ALLOW_THREADS
;
9907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
9908 _resultobj
= Py_BuildValue("s",_ptemp
);
9911 _resultobj
= Py_None
;
9916 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
9917 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
* _resultobj
;
9921 PyObject
* _argo0
= 0;
9923 PyObject
* _obj1
= 0;
9924 char *_kwnames
[] = { "self","colBack", NULL
};
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
9938 if (! wxColour_helper(_obj1
, &_arg1
))
9942 wxPy_BEGIN_ALLOW_THREADS
;
9943 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
9945 wxPy_END_ALLOW_THREADS
;
9946 } Py_INCREF(Py_None
);
9947 _resultobj
= Py_None
;
9951 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
9952 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
* _resultobj
;
9956 PyObject
* _argo0
= 0;
9957 char *_kwnames
[] = { "self", NULL
};
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
9964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
9971 wxPy_BEGIN_ALLOW_THREADS
;
9972 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
9973 _result
= (wxColour
*) &_result_ref
;
9975 wxPy_END_ALLOW_THREADS
;
9977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
9978 _resultobj
= Py_BuildValue("s",_ptemp
);
9981 _resultobj
= Py_None
;
9986 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
9987 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
* _resultobj
;
9991 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
9992 PyObject
* _argo0
= 0;
9993 PyObject
* _argo1
= 0;
9994 PyObject
* _argo2
= 0;
9995 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
10008 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10009 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
10015 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10016 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
10022 wxPy_BEGIN_ALLOW_THREADS
;
10023 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
10025 wxPy_END_ALLOW_THREADS
;
10026 } Py_INCREF(Py_None
);
10027 _resultobj
= Py_None
;
10031 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
10032 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
* _resultobj
;
10034 wxMenuItem
* _arg0
;
10036 PyObject
* _argo0
= 0;
10037 PyObject
* _argo1
= 0;
10038 char *_kwnames
[] = { "self","bmpChecked", NULL
};
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
10044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
10051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
10058 wxPy_BEGIN_ALLOW_THREADS
;
10059 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
10061 wxPy_END_ALLOW_THREADS
;
10062 } Py_INCREF(Py_None
);
10063 _resultobj
= Py_None
;
10067 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
10068 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
* _resultobj
;
10070 wxBitmap
* _result
;
10071 wxMenuItem
* _arg0
;
10072 bool _arg1
= (bool ) TRUE
;
10073 PyObject
* _argo0
= 0;
10074 int tempbool1
= (int) TRUE
;
10075 char *_kwnames
[] = { "self","bChecked", NULL
};
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
10082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
10088 _arg1
= (bool ) tempbool1
;
10090 wxPy_BEGIN_ALLOW_THREADS
;
10091 const wxBitmap
& _result_ref
= wxMenuItem_GetBitmap(_arg0
,_arg1
);
10092 _result
= (wxBitmap
*) &_result_ref
;
10094 wxPy_END_ALLOW_THREADS
;
10096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
10097 _resultobj
= Py_BuildValue("s",_ptemp
);
10099 Py_INCREF(Py_None
);
10100 _resultobj
= Py_None
;
10105 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
10106 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
* _resultobj
;
10108 wxMenuItem
* _arg0
;
10110 PyObject
* _argo0
= 0;
10111 char *_kwnames
[] = { "self","nWidth", NULL
};
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
10117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
10124 wxPy_BEGIN_ALLOW_THREADS
;
10125 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
10127 wxPy_END_ALLOW_THREADS
;
10128 } Py_INCREF(Py_None
);
10129 _resultobj
= Py_None
;
10133 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
10134 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
* _resultobj
;
10137 wxMenuItem
* _arg0
;
10138 PyObject
* _argo0
= 0;
10139 char *_kwnames
[] = { "self", NULL
};
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
10145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
10152 wxPy_BEGIN_ALLOW_THREADS
;
10153 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
10155 wxPy_END_ALLOW_THREADS
;
10156 } _resultobj
= Py_BuildValue("i",_result
);
10160 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
* _resultobj
;
10163 char *_kwnames
[] = { NULL
};
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
10169 wxPy_BEGIN_ALLOW_THREADS
;
10170 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
10172 wxPy_END_ALLOW_THREADS
;
10173 } _resultobj
= Py_BuildValue("i",_result
);
10177 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
10178 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
* _resultobj
;
10181 wxMenuItem
* _arg0
;
10182 PyObject
* _argo0
= 0;
10183 char *_kwnames
[] = { "self", NULL
};
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
10189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
10196 wxPy_BEGIN_ALLOW_THREADS
;
10197 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
10199 wxPy_END_ALLOW_THREADS
;
10200 } _resultobj
= Py_BuildValue("i",_result
);
10204 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
10205 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
* _resultobj
;
10207 wxMenuItem
* _arg0
;
10208 PyObject
* _argo0
= 0;
10209 char *_kwnames
[] = { "self", NULL
};
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
10215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
10222 wxPy_BEGIN_ALLOW_THREADS
;
10223 wxMenuItem_ResetOwnerDrawn(_arg0
);
10225 wxPy_END_ALLOW_THREADS
;
10226 } Py_INCREF(Py_None
);
10227 _resultobj
= Py_None
;
10231 static PyMethodDef windowscMethods
[] = {
10232 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10445 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10446 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10447 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10448 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10449 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
10450 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10451 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
10452 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10453 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10454 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10455 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10456 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10457 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10458 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10459 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10460 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
10461 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
10462 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10463 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10464 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10465 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10466 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10467 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10468 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10469 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10470 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
10471 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10472 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
10473 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10474 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
10475 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10476 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
10477 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
10478 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10479 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
10480 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
10481 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
10482 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10483 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10484 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10485 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10486 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10487 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
10488 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
10489 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
10490 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
10491 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10492 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
10493 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10494 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10495 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
10496 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
10497 { "wxEvtHandler_GetClassName", (PyCFunction
) _wrap_wxEvtHandler_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
10498 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
10499 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
10500 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10501 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10502 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10503 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10504 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10505 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10506 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
10507 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10508 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
10509 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10510 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10511 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10512 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
10513 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10514 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
10515 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
10522 * This table is used by the pointer type-checker
10524 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10525 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
10526 { "_signed_long","_long",0},
10527 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
10528 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
10529 { "_wxPrintQuality","_wxCoord",0},
10530 { "_wxPrintQuality","_int",0},
10531 { "_wxPrintQuality","_signed_int",0},
10532 { "_wxPrintQuality","_unsigned_int",0},
10533 { "_wxPrintQuality","_wxWindowID",0},
10534 { "_wxPrintQuality","_uint",0},
10535 { "_wxPrintQuality","_EBool",0},
10536 { "_wxPrintQuality","_size_t",0},
10537 { "_wxPrintQuality","_time_t",0},
10538 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
10539 { "_class_wxRegionIterator","_wxRegionIterator",0},
10540 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
10541 { "_class_wxMenuBar","_wxMenuBar",0},
10542 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10543 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10544 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10545 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10546 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10547 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10548 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
10549 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
10550 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10551 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10552 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10553 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10554 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10555 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10556 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10557 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10558 { "_class_wxEvtHandler","_wxEvtHandler",0},
10559 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
10560 { "_wxCursor","_class_wxCursor",0},
10561 { "_wxMask","_class_wxMask",0},
10562 { "_wxPen","_class_wxPen",0},
10563 { "_byte","_unsigned_char",0},
10564 { "_wxDataObject","_class_wxDataObject",0},
10565 { "_wxColourDatabase","_class_wxColourDatabase",0},
10566 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
10567 { "_wxPyDropSource","_class_wxPyDropSource",0},
10568 { "_long","_unsigned_long",0},
10569 { "_long","_signed_long",0},
10570 { "_wxImageList","_class_wxImageList",0},
10571 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
10572 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
10573 { "_class_wxClipboard","_wxClipboard",0},
10574 { "_wxDC","_class_wxDC",0},
10575 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
10576 { "_size_t","_wxCoord",0},
10577 { "_size_t","_wxPrintQuality",0},
10578 { "_size_t","_time_t",0},
10579 { "_size_t","_unsigned_int",0},
10580 { "_size_t","_int",0},
10581 { "_size_t","_wxWindowID",0},
10582 { "_size_t","_uint",0},
10583 { "_class_wxRealPoint","_wxRealPoint",0},
10584 { "_class_wxMenuItem","_wxMenuItem",0},
10585 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10586 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10587 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
10588 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
10589 { "_wxPanel","_class_wxPanel",0},
10590 { "_class_wxMask","_wxMask",0},
10591 { "_wxTextDataObject","_class_wxTextDataObject",0},
10592 { "_wxColour","_class_wxColour",0},
10593 { "_class_wxDialog","_wxDialog",0},
10594 { "_class_wxFileDataObject","_wxFileDataObject",0},
10595 { "_class_wxDataObject","_wxDataObject",0},
10596 { "_wxBrush","_class_wxBrush",0},
10597 { "_wxDataFormat","_class_wxDataFormat",0},
10598 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
10599 { "_uint","_wxCoord",0},
10600 { "_uint","_wxPrintQuality",0},
10601 { "_uint","_time_t",0},
10602 { "_uint","_size_t",0},
10603 { "_uint","_unsigned_int",0},
10604 { "_uint","_int",0},
10605 { "_uint","_wxWindowID",0},
10606 { "_wxChar","_char",0},
10607 { "_wxPyValidator","_class_wxPyValidator",0},
10608 { "_wxRect","_class_wxRect",0},
10609 { "_wxPoint","_class_wxPoint",0},
10610 { "_char","_wxChar",0},
10611 { "_wxBitmap","_class_wxBitmap",0},
10612 { "_wxPenList","_class_wxPenList",0},
10613 { "_wxWindowDC","_class_wxWindowDC",0},
10614 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
10615 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10616 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10617 { "_class_wxValidator","_wxValidator",0},
10618 { "_wxDropTarget","_class_wxDropTarget",0},
10619 { "_class_wxColourDatabase","_wxColourDatabase",0},
10620 { "_EBool","_wxCoord",0},
10621 { "_EBool","_wxPrintQuality",0},
10622 { "_EBool","_signed_int",0},
10623 { "_EBool","_int",0},
10624 { "_EBool","_wxWindowID",0},
10625 { "_class_wxRegion","_wxRegion",0},
10626 { "_class_wxDataFormat","_wxDataFormat",0},
10627 { "_wxFont","_class_wxFont",0},
10628 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
10629 { "_unsigned_long","_long",0},
10630 { "_class_wxRect","_wxRect",0},
10631 { "_class_wxDC","_wxDC",0},
10632 { "_class_wxBrushList","_wxBrushList",0},
10633 { "_class_wxPenList","_wxPenList",0},
10634 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
10635 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10636 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10637 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
10638 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
10639 { "_class_wxPanel","_wxPanel",0},
10640 { "_signed_int","_wxCoord",0},
10641 { "_signed_int","_wxPrintQuality",0},
10642 { "_signed_int","_EBool",0},
10643 { "_signed_int","_wxWindowID",0},
10644 { "_signed_int","_int",0},
10645 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
10646 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
10647 { "_class_wxTextDataObject","_wxTextDataObject",0},
10648 { "_wxMenu","_class_wxMenu",0},
10649 { "_wxScreenDC","_class_wxScreenDC",0},
10650 { "_WXTYPE","_short",0},
10651 { "_WXTYPE","_signed_short",0},
10652 { "_WXTYPE","_unsigned_short",0},
10653 { "_class_wxDropTarget","_wxDropTarget",0},
10654 { "_class_wxBrush","_wxBrush",0},
10655 { "_unsigned_short","_WXTYPE",0},
10656 { "_unsigned_short","_short",0},
10657 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10658 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10659 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10660 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10661 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10662 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10663 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10664 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10665 { "_class_wxWindow","_wxWindow",0},
10666 { "_class_wxFont","_wxFont",0},
10667 { "_wxClipboard","_class_wxClipboard",0},
10668 { "_class_wxPyValidator","_wxPyValidator",0},
10669 { "_wxBusyInfo","_class_wxBusyInfo",0},
10670 { "_wxFontList","_class_wxFontList",0},
10671 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
10672 { "_wxClientDC","_class_wxClientDC",0},
10673 { "_class_wxPoint","_wxPoint",0},
10674 { "_wxRealPoint","_class_wxRealPoint",0},
10675 { "_signed_short","_WXTYPE",0},
10676 { "_signed_short","_short",0},
10677 { "_wxMemoryDC","_class_wxMemoryDC",0},
10678 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
10679 { "_wxPaintDC","_class_wxPaintDC",0},
10680 { "_class_wxWindowDC","_wxWindowDC",0},
10681 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
10682 { "_class_wxCursor","_wxCursor",0},
10683 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
10684 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
10685 { "_unsigned_char","_byte",0},
10686 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
10687 { "_class_wxMenu","_wxMenu",0},
10688 { "_unsigned_int","_wxCoord",0},
10689 { "_unsigned_int","_wxPrintQuality",0},
10690 { "_unsigned_int","_time_t",0},
10691 { "_unsigned_int","_size_t",0},
10692 { "_unsigned_int","_uint",0},
10693 { "_unsigned_int","_wxWindowID",0},
10694 { "_unsigned_int","_int",0},
10695 { "_wxIcon","_class_wxIcon",0},
10696 { "_wxDialog","_class_wxDialog",0},
10697 { "_class_wxPen","_wxPen",0},
10698 { "_short","_WXTYPE",0},
10699 { "_short","_unsigned_short",0},
10700 { "_short","_signed_short",0},
10701 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
10702 { "_class_wxPyDropSource","_wxPyDropSource",0},
10703 { "_class_wxImageList","_wxImageList",0},
10704 { "_wxWindowID","_wxCoord",0},
10705 { "_wxWindowID","_wxPrintQuality",0},
10706 { "_wxWindowID","_time_t",0},
10707 { "_wxWindowID","_size_t",0},
10708 { "_wxWindowID","_EBool",0},
10709 { "_wxWindowID","_uint",0},
10710 { "_wxWindowID","_int",0},
10711 { "_wxWindowID","_signed_int",0},
10712 { "_wxWindowID","_unsigned_int",0},
10713 { "_int","_wxCoord",0},
10714 { "_int","_wxPrintQuality",0},
10715 { "_int","_time_t",0},
10716 { "_int","_size_t",0},
10717 { "_int","_EBool",0},
10718 { "_int","_uint",0},
10719 { "_int","_wxWindowID",0},
10720 { "_int","_unsigned_int",0},
10721 { "_int","_signed_int",0},
10722 { "_time_t","_wxCoord",0},
10723 { "_time_t","_wxPrintQuality",0},
10724 { "_time_t","_unsigned_int",0},
10725 { "_time_t","_int",0},
10726 { "_time_t","_wxWindowID",0},
10727 { "_time_t","_uint",0},
10728 { "_time_t","_size_t",0},
10729 { "_wxSize","_class_wxSize",0},
10730 { "_wxRegionIterator","_class_wxRegionIterator",0},
10731 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
10732 { "_class_wxPaintDC","_wxPaintDC",0},
10733 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
10734 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10735 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10736 { "_wxValidator","_class_wxValidator",0},
10737 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
10738 { "_class_wxIcon","_wxIcon",0},
10739 { "_class_wxColour","_wxColour",0},
10740 { "_class_wxScreenDC","_wxScreenDC",0},
10741 { "_wxPalette","_class_wxPalette",0},
10742 { "_wxCoord","_int",0},
10743 { "_wxCoord","_signed_int",0},
10744 { "_wxCoord","_unsigned_int",0},
10745 { "_wxCoord","_wxWindowID",0},
10746 { "_wxCoord","_uint",0},
10747 { "_wxCoord","_EBool",0},
10748 { "_wxCoord","_size_t",0},
10749 { "_wxCoord","_time_t",0},
10750 { "_wxCoord","_wxPrintQuality",0},
10751 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
10752 { "_wxRegion","_class_wxRegion",0},
10753 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
10754 { "_class_wxBusyInfo","_wxBusyInfo",0},
10755 { "_class_wxFontList","_wxFontList",0},
10756 { "_class_wxClientDC","_wxClientDC",0},
10757 { "_wxBrushList","_class_wxBrushList",0},
10758 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
10759 { "_class_wxSize","_wxSize",0},
10760 { "_class_wxBitmap","_wxBitmap",0},
10761 { "_class_wxMemoryDC","_wxMemoryDC",0},
10762 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
10763 { "_wxMenuBar","_class_wxMenuBar",0},
10764 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10765 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10766 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10767 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10768 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10769 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10770 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
10771 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
10772 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10773 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10774 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10775 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10776 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10777 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10778 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10779 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10780 { "_wxEvtHandler","_class_wxEvtHandler",0},
10781 { "_wxMenuItem","_class_wxMenuItem",0},
10782 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
10783 { "_class_wxPalette","_wxPalette",0},
10784 { "_wxFileDataObject","_class_wxFileDataObject",0},
10785 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
10786 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10787 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10788 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10789 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10790 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10791 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10792 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10793 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10794 { "_wxWindow","_class_wxWindow",0},
10797 static PyObject
*SWIG_globals
;
10801 SWIGEXPORT(void) initwindowsc() {
10803 SWIG_globals
= SWIG_newvarlink();
10804 m
= Py_InitModule("windowsc", windowscMethods
);
10805 d
= PyModule_GetDict(m
);
10808 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10809 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);