2 * FILE : src/gtk/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>
60 #include <wx/tooltip.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 #if PYTHON_API_VERSION >= 1009
109 static char* wxStringErrorMsg
= "String or Unicode type required";
111 static char* wxStringErrorMsg
= "string type is required for parameter";
114 static wxString
wxPyEmptyStr("");
116 class wxPyValidator
: public wxValidator
{
117 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
125 wxObject
* wxPyValidator::Clone() const {
126 wxPyValidator
* ptr
= NULL
;
127 wxPyValidator
* self
= (wxPyValidator
*)this;
129 bool doSave
= wxPyRestoreThread();
130 if (self
->m_myInst
.findCallback("Clone")) {
132 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
134 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
138 // This is very dangerous!!! But is the only way I could find
139 // to squash a memory leak. Currently it is okay, but if the
140 // validator architecture in wxWindows ever changes, problems
144 wxPySaveThread(doSave
);
149 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
150 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
151 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
156 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
157 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
158 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
160 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
163 wxWindow
* wxWindow_FindFocus() {
164 return wxWindow::FindFocus();
167 int wxWindow_NewControlId() {
168 return wxWindow::NewControlId();
170 int wxWindow_NextControlId(int id
) {
171 return wxWindow::NextControlId(id
);
173 int wxWindow_PrevControlId(int id
) {
174 return wxWindow::PrevControlId(id
);
179 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
180 PyObject
* _resultobj
;
182 char *_kwnames
[] = { NULL
};
185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
188 wxPy_BEGIN_ALLOW_THREADS
;
189 _result
= (wxWindow
*)wxWindow_FindFocus();
191 wxPy_END_ALLOW_THREADS
;
192 }{ _resultobj
= wxPyMake_wxObject(_result
); }
196 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
199 char *_kwnames
[] = { NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
205 wxPy_BEGIN_ALLOW_THREADS
;
206 _result
= (int )wxWindow_NewControlId();
208 wxPy_END_ALLOW_THREADS
;
209 } _resultobj
= Py_BuildValue("i",_result
);
213 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
214 PyObject
* _resultobj
;
217 char *_kwnames
[] = { "id", NULL
};
220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
223 wxPy_BEGIN_ALLOW_THREADS
;
224 _result
= (int )wxWindow_NextControlId(_arg0
);
226 wxPy_END_ALLOW_THREADS
;
227 } _resultobj
= Py_BuildValue("i",_result
);
231 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
232 PyObject
* _resultobj
;
235 char *_kwnames
[] = { "id", NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
241 wxPy_BEGIN_ALLOW_THREADS
;
242 _result
= (int )wxWindow_PrevControlId(_arg0
);
244 wxPy_END_ALLOW_THREADS
;
245 } _resultobj
= Py_BuildValue("i",_result
);
249 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
252 src
= (wxEvtHandler
*) ptr
;
253 dest
= (wxObject
*) src
;
254 return (void *) dest
;
257 #define new_wxEvtHandler() (new wxEvtHandler())
258 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
260 wxEvtHandler
* _result
;
261 char *_kwnames
[] = { NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
268 wxPy_BEGIN_ALLOW_THREADS
;
269 _result
= (wxEvtHandler
*)new_wxEvtHandler();
271 wxPy_END_ALLOW_THREADS
;
273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
274 _resultobj
= Py_BuildValue("s",_ptemp
);
277 _resultobj
= Py_None
;
282 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
283 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
286 wxEvtHandler
* _arg0
;
288 PyObject
* _argo0
= 0;
289 PyObject
* _argo1
= 0;
290 char *_kwnames
[] = { "self","event", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
310 wxPy_BEGIN_ALLOW_THREADS
;
311 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
313 wxPy_END_ALLOW_THREADS
;
314 } _resultobj
= Py_BuildValue("i",_result
);
318 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
319 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
321 wxEvtHandler
* _arg0
;
323 PyObject
* _argo0
= 0;
324 PyObject
* _argo1
= 0;
325 char *_kwnames
[] = { "self","event", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
348 wxPy_END_ALLOW_THREADS
;
349 } Py_INCREF(Py_None
);
350 _resultobj
= Py_None
;
354 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
355 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
358 wxEvtHandler
* _arg0
;
359 PyObject
* _argo0
= 0;
360 char *_kwnames
[] = { "self", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
373 wxPy_BEGIN_ALLOW_THREADS
;
374 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
376 wxPy_END_ALLOW_THREADS
;
377 } _resultobj
= Py_BuildValue("i",_result
);
381 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
382 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 PyObject
* _resultobj
;
384 wxEvtHandler
* _arg0
;
386 PyObject
* _argo0
= 0;
388 char *_kwnames
[] = { "self","enabled", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
400 _arg1
= (bool ) tempbool1
;
402 wxPy_BEGIN_ALLOW_THREADS
;
403 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
405 wxPy_END_ALLOW_THREADS
;
406 } Py_INCREF(Py_None
);
407 _resultobj
= Py_None
;
411 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
412 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
413 PyObject
* _resultobj
;
414 wxEvtHandler
* _result
;
415 wxEvtHandler
* _arg0
;
416 PyObject
* _argo0
= 0;
417 char *_kwnames
[] = { "self", NULL
};
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
430 wxPy_BEGIN_ALLOW_THREADS
;
431 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
433 wxPy_END_ALLOW_THREADS
;
434 }{ _resultobj
= wxPyMake_wxObject(_result
); }
438 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
439 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
441 wxEvtHandler
* _result
;
442 wxEvtHandler
* _arg0
;
443 PyObject
* _argo0
= 0;
444 char *_kwnames
[] = { "self", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
457 wxPy_BEGIN_ALLOW_THREADS
;
458 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
460 wxPy_END_ALLOW_THREADS
;
461 }{ _resultobj
= wxPyMake_wxObject(_result
); }
465 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
466 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
467 PyObject
* _resultobj
;
468 wxEvtHandler
* _arg0
;
469 wxEvtHandler
* _arg1
;
470 PyObject
* _argo0
= 0;
471 PyObject
* _argo1
= 0;
472 char *_kwnames
[] = { "self","handler", NULL
};
475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
495 wxPy_END_ALLOW_THREADS
;
496 } Py_INCREF(Py_None
);
497 _resultobj
= Py_None
;
501 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
502 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
504 wxEvtHandler
* _arg0
;
505 wxEvtHandler
* _arg1
;
506 PyObject
* _argo0
= 0;
507 PyObject
* _argo1
= 0;
508 char *_kwnames
[] = { "self","handler", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
528 wxPy_BEGIN_ALLOW_THREADS
;
529 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
531 wxPy_END_ALLOW_THREADS
;
532 } Py_INCREF(Py_None
);
533 _resultobj
= Py_None
;
537 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
538 if (PyCallable_Check(func
)) {
539 self
->Connect(id
, lastId
, eventType
,
540 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
541 new wxPyCallback(func
));
544 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
546 wxEvtHandler
* _arg0
;
551 PyObject
* _argo0
= 0;
552 PyObject
* _obj4
= 0;
553 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
569 wxPy_BEGIN_ALLOW_THREADS
;
570 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
572 wxPy_END_ALLOW_THREADS
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
578 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
579 return self
->Disconnect(id
, lastId
, eventType
,
580 (wxObjectEventFunction
)
581 &wxPyCallback::EventThunker
);
583 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
586 wxEvtHandler
* _arg0
;
588 int _arg2
= (int ) -1;
589 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
590 PyObject
* _argo0
= 0;
591 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
604 wxPy_BEGIN_ALLOW_THREADS
;
605 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
607 wxPy_END_ALLOW_THREADS
;
608 } _resultobj
= Py_BuildValue("i",_result
);
612 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
615 src
= (wxValidator
*) ptr
;
616 dest
= (wxEvtHandler
*) src
;
617 return (void *) dest
;
620 static void *SwigwxValidatorTowxObject(void *ptr
) {
623 src
= (wxValidator
*) ptr
;
624 dest
= (wxObject
*) src
;
625 return (void *) dest
;
628 #define new_wxValidator() (new wxValidator())
629 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
631 wxValidator
* _result
;
632 char *_kwnames
[] = { NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= (wxValidator
*)new_wxValidator();
642 wxPy_END_ALLOW_THREADS
;
644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
645 _resultobj
= Py_BuildValue("s",_ptemp
);
648 _resultobj
= Py_None
;
653 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
654 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
656 wxValidator
* _result
;
658 PyObject
* _argo0
= 0;
659 char *_kwnames
[] = { "self", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
672 wxPy_BEGIN_ALLOW_THREADS
;
673 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
675 wxPy_END_ALLOW_THREADS
;
676 }{ _resultobj
= wxPyMake_wxObject(_result
); }
680 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
681 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 PyObject
* _resultobj
;
685 PyObject
* _argo0
= 0;
686 char *_kwnames
[] = { "self", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
699 wxPy_BEGIN_ALLOW_THREADS
;
700 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
702 wxPy_END_ALLOW_THREADS
;
703 }{ _resultobj
= wxPyMake_wxObject(_result
); }
707 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
708 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
712 PyObject
* _argo0
= 0;
713 PyObject
* _argo1
= 0;
714 char *_kwnames
[] = { "self","window", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
734 wxPy_BEGIN_ALLOW_THREADS
;
735 wxValidator_SetWindow(_arg0
,_arg1
);
737 wxPy_END_ALLOW_THREADS
;
738 } Py_INCREF(Py_None
);
739 _resultobj
= Py_None
;
743 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
746 char *_kwnames
[] = { NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= (bool )wxValidator::IsSilent();
755 wxPy_END_ALLOW_THREADS
;
756 } _resultobj
= Py_BuildValue("i",_result
);
760 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
761 PyObject
* _resultobj
;
762 int _arg0
= (int ) TRUE
;
763 char *_kwnames
[] = { "doIt", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
769 wxPy_BEGIN_ALLOW_THREADS
;
770 wxValidator::SetBellOnError(_arg0
);
772 wxPy_END_ALLOW_THREADS
;
773 } Py_INCREF(Py_None
);
774 _resultobj
= Py_None
;
778 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
781 src
= (wxPyValidator
*) ptr
;
782 dest
= (wxValidator
*) src
;
783 return (void *) dest
;
786 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
789 src
= (wxPyValidator
*) ptr
;
790 dest
= (wxEvtHandler
*) src
;
791 return (void *) dest
;
794 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
797 src
= (wxPyValidator
*) ptr
;
798 dest
= (wxObject
*) src
;
799 return (void *) dest
;
802 #define new_wxPyValidator() (new wxPyValidator())
803 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 PyObject
* _resultobj
;
805 wxPyValidator
* _result
;
806 char *_kwnames
[] = { NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
813 wxPy_BEGIN_ALLOW_THREADS
;
814 _result
= (wxPyValidator
*)new_wxPyValidator();
816 wxPy_END_ALLOW_THREADS
;
818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
819 _resultobj
= Py_BuildValue("s",_ptemp
);
822 _resultobj
= Py_None
;
827 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
828 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
830 wxPyValidator
* _arg0
;
833 int _arg3
= (int ) TRUE
;
834 PyObject
* _argo0
= 0;
835 PyObject
* _obj1
= 0;
836 PyObject
* _obj2
= 0;
837 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
856 wxPy_BEGIN_ALLOW_THREADS
;
857 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
859 wxPy_END_ALLOW_THREADS
;
860 } Py_INCREF(Py_None
);
861 _resultobj
= Py_None
;
865 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
868 src
= (wxWindow
*) ptr
;
869 dest
= (wxEvtHandler
*) src
;
870 return (void *) dest
;
873 static void *SwigwxWindowTowxObject(void *ptr
) {
876 src
= (wxWindow
*) ptr
;
877 dest
= (wxObject
*) src
;
878 return (void *) dest
;
881 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
882 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
887 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
888 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
889 long _arg4
= (long ) 0;
890 char * _arg5
= (char *) "panel";
891 PyObject
* _argo0
= 0;
893 PyObject
* _obj2
= 0;
895 PyObject
* _obj3
= 0;
896 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
912 if (! wxPoint_helper(_obj2
, &_arg2
))
918 if (! wxSize_helper(_obj3
, &_arg3
))
922 wxPy_BEGIN_ALLOW_THREADS
;
923 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
925 wxPy_END_ALLOW_THREADS
;
927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
928 _resultobj
= Py_BuildValue("s",_ptemp
);
931 _resultobj
= Py_None
;
936 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
937 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
954 wxPy_BEGIN_ALLOW_THREADS
;
955 wxWindow_CaptureMouse(_arg0
);
957 wxPy_END_ALLOW_THREADS
;
958 } Py_INCREF(Py_None
);
959 _resultobj
= Py_None
;
963 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
964 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
967 int _arg1
= (int ) wxBOTH
;
968 PyObject
* _argo0
= 0;
969 char *_kwnames
[] = { "self","direction", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
982 wxPy_BEGIN_ALLOW_THREADS
;
983 wxWindow_Center(_arg0
,_arg1
);
985 wxPy_END_ALLOW_THREADS
;
986 } Py_INCREF(Py_None
);
987 _resultobj
= Py_None
;
991 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
992 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
995 int _arg1
= (int ) wxBOTH
;
996 PyObject
* _argo0
= 0;
997 char *_kwnames
[] = { "self","direction", NULL
};
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 wxWindow_Centre(_arg0
,_arg1
);
1013 wxPy_END_ALLOW_THREADS
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1020 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1023 int _arg1
= (int ) wxBOTH
;
1024 PyObject
* _argo0
= 0;
1025 char *_kwnames
[] = { "self","direction", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 wxWindow_CentreOnParent(_arg0
,_arg1
);
1041 wxPy_END_ALLOW_THREADS
;
1042 } Py_INCREF(Py_None
);
1043 _resultobj
= Py_None
;
1047 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1048 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 int _arg1
= (int ) wxBOTH
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self","direction", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 wxWindow_CenterOnParent(_arg0
,_arg1
);
1069 wxPy_END_ALLOW_THREADS
;
1070 } Py_INCREF(Py_None
);
1071 _resultobj
= Py_None
;
1075 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1076 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1079 int _arg1
= (int ) wxBOTH
;
1080 PyObject
* _argo0
= 0;
1081 char *_kwnames
[] = { "self","direction", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1097 wxPy_END_ALLOW_THREADS
;
1098 } Py_INCREF(Py_None
);
1099 _resultobj
= Py_None
;
1103 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1104 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1105 PyObject
* _resultobj
;
1107 int _arg1
= (int ) wxBOTH
;
1108 PyObject
* _argo0
= 0;
1109 char *_kwnames
[] = { "self","direction", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1122 wxPy_BEGIN_ALLOW_THREADS
;
1123 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1125 wxPy_END_ALLOW_THREADS
;
1126 } Py_INCREF(Py_None
);
1127 _resultobj
= Py_None
;
1131 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1132 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1137 PyObject
* _argo0
= 0;
1139 PyObject
* _obj1
= 0;
1141 PyObject
* _obj2
= 0;
1142 char *_kwnames
[] = { "self","x","y", NULL
};
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1155 temp
= (int) PyInt_AsLong(_obj1
);
1159 temp0
= (int) PyInt_AsLong(_obj2
);
1163 wxPy_BEGIN_ALLOW_THREADS
;
1164 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1166 wxPy_END_ALLOW_THREADS
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1171 o
= PyInt_FromLong((long) (*_arg1
));
1172 _resultobj
= t_output_helper(_resultobj
, o
);
1176 o
= PyInt_FromLong((long) (*_arg2
));
1177 _resultobj
= t_output_helper(_resultobj
, o
);
1182 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1183 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1188 PyObject
* _argo0
= 0;
1190 PyObject
* _obj1
= 0;
1191 char *_kwnames
[] = { "self","pt", NULL
};
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1206 if (! wxPoint_helper(_obj1
, &_arg1
))
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1213 wxPy_END_ALLOW_THREADS
;
1214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1215 _resultobj
= Py_BuildValue("s",_ptemp
);
1219 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1220 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
* _resultobj
;
1224 int _arg1
= (int ) FALSE
;
1225 PyObject
* _argo0
= 0;
1226 char *_kwnames
[] = { "self","force", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1239 wxPy_BEGIN_ALLOW_THREADS
;
1240 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1242 wxPy_END_ALLOW_THREADS
;
1243 } _resultobj
= Py_BuildValue("i",_result
);
1247 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1248 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
* _resultobj
;
1252 PyObject
* _argo0
= 0;
1253 char *_kwnames
[] = { "self", NULL
};
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1266 wxPy_BEGIN_ALLOW_THREADS
;
1267 _result
= (bool )wxWindow_Destroy(_arg0
);
1269 wxPy_END_ALLOW_THREADS
;
1270 } _resultobj
= Py_BuildValue("i",_result
);
1274 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1275 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1278 PyObject
* _argo0
= 0;
1279 char *_kwnames
[] = { "self", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1292 wxPy_BEGIN_ALLOW_THREADS
;
1293 wxWindow_DestroyChildren(_arg0
);
1295 wxPy_END_ALLOW_THREADS
;
1296 } Py_INCREF(Py_None
);
1297 _resultobj
= Py_None
;
1301 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1302 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1306 PyObject
* _argo0
= 0;
1308 char *_kwnames
[] = { "self","enable", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1320 _arg1
= (bool ) tempbool1
;
1322 wxPy_BEGIN_ALLOW_THREADS
;
1323 wxWindow_Enable(_arg0
,_arg1
);
1325 wxPy_END_ALLOW_THREADS
;
1326 } Py_INCREF(Py_None
);
1327 _resultobj
= Py_None
;
1331 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1332 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1337 PyObject
* _argo0
= 0;
1338 char *_kwnames
[] = { "self","id", NULL
};
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1354 wxPy_END_ALLOW_THREADS
;
1355 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1359 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1360 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1365 PyObject
* _argo0
= 0;
1366 PyObject
* _obj1
= 0;
1367 char *_kwnames
[] = { "self","name", NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1380 #if PYTHON_API_VERSION >= 1009
1381 char* tmpPtr
; int tmpSize
;
1382 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1386 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1388 _arg1
= new wxString(tmpPtr
, tmpSize
);
1390 if (!PyString_Check(_obj1
)) {
1391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1394 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1398 wxPy_BEGIN_ALLOW_THREADS
;
1399 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1401 wxPy_END_ALLOW_THREADS
;
1402 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1410 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1411 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1414 PyObject
* _argo0
= 0;
1415 char *_kwnames
[] = { "self", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 wxWindow_Fit(_arg0
);
1431 wxPy_END_ALLOW_THREADS
;
1432 } Py_INCREF(Py_None
);
1433 _resultobj
= Py_None
;
1437 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1438 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1460 wxPy_END_ALLOW_THREADS
;
1461 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1462 _resultobj
= Py_BuildValue("s",_ptemp
);
1466 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1467 wxWindowList
& list
= self
->GetChildren();
1468 return wxPy_ConvertList(&list
, "wxWindow");
1470 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1491 wxPy_END_ALLOW_THREADS
;
1493 _resultobj
= _result
;
1498 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1499 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
* _resultobj
;
1503 PyObject
* _argo0
= 0;
1504 char *_kwnames
[] = { "self", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
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_GetCharHeight. Expected _wxWindow_p.");
1517 wxPy_BEGIN_ALLOW_THREADS
;
1518 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1520 wxPy_END_ALLOW_THREADS
;
1521 } _resultobj
= Py_BuildValue("i",_result
);
1525 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1526 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1544 wxPy_BEGIN_ALLOW_THREADS
;
1545 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1547 wxPy_END_ALLOW_THREADS
;
1548 } _resultobj
= Py_BuildValue("i",_result
);
1552 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1553 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
* _resultobj
;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self", NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1583 wxPy_END_ALLOW_THREADS
;
1584 } Py_INCREF(Py_None
);
1585 _resultobj
= Py_None
;
1588 o
= PyInt_FromLong((long) (*_arg1
));
1589 _resultobj
= t_output_helper(_resultobj
, o
);
1593 o
= PyInt_FromLong((long) (*_arg2
));
1594 _resultobj
= t_output_helper(_resultobj
, o
);
1599 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1600 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1604 PyObject
* _argo0
= 0;
1605 char *_kwnames
[] = { "self", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1619 wxPy_BEGIN_ALLOW_THREADS
;
1620 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1622 wxPy_END_ALLOW_THREADS
;
1623 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1624 _resultobj
= Py_BuildValue("s",_ptemp
);
1628 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1629 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxLayoutConstraints
* _result
;
1633 PyObject
* _argo0
= 0;
1634 char *_kwnames
[] = { "self", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1648 wxPy_BEGIN_ALLOW_THREADS
;
1649 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1651 wxPy_END_ALLOW_THREADS
;
1653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1654 _resultobj
= Py_BuildValue("s",_ptemp
);
1657 _resultobj
= Py_None
;
1662 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1663 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1665 wxEvtHandler
* _result
;
1667 PyObject
* _argo0
= 0;
1668 char *_kwnames
[] = { "self", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1684 wxPy_END_ALLOW_THREADS
;
1685 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1689 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1690 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1694 PyObject
* _argo0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1711 _result
= (wxFont
*) &_result_ref
;
1713 wxPy_END_ALLOW_THREADS
;
1715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1716 _resultobj
= Py_BuildValue("s",_ptemp
);
1719 _resultobj
= Py_None
;
1724 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1725 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1729 PyObject
* _argo0
= 0;
1730 char *_kwnames
[] = { "self", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1744 wxPy_BEGIN_ALLOW_THREADS
;
1745 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1747 wxPy_END_ALLOW_THREADS
;
1748 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1749 _resultobj
= Py_BuildValue("s",_ptemp
);
1753 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1754 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1758 PyObject
* _argo0
= 0;
1759 char *_kwnames
[] = { "self", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1775 wxPy_END_ALLOW_THREADS
;
1776 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1780 static long wxWindow_GetHandle(wxWindow
*self
) {
1781 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1783 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1801 wxPy_BEGIN_ALLOW_THREADS
;
1802 _result
= (long )wxWindow_GetHandle(_arg0
);
1804 wxPy_END_ALLOW_THREADS
;
1805 } _resultobj
= Py_BuildValue("l",_result
);
1809 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1810 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1814 PyObject
* _argo0
= 0;
1815 char *_kwnames
[] = { "self", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1828 wxPy_BEGIN_ALLOW_THREADS
;
1829 _result
= (int )wxWindow_GetId(_arg0
);
1831 wxPy_END_ALLOW_THREADS
;
1832 } _resultobj
= Py_BuildValue("i",_result
);
1836 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1837 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1841 PyObject
* _argo0
= 0;
1842 char *_kwnames
[] = { "self", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1858 wxPy_END_ALLOW_THREADS
;
1860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1868 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1869 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 PyObject
* _obj1
= 0;
1875 char *_kwnames
[] = { "self","label", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1888 #if PYTHON_API_VERSION >= 1009
1889 char* tmpPtr
; int tmpSize
;
1890 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1894 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1896 _arg1
= new wxString(tmpPtr
, tmpSize
);
1898 if (!PyString_Check(_obj1
)) {
1899 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1902 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 wxWindow_SetLabel(_arg0
,*_arg1
);
1909 wxPy_END_ALLOW_THREADS
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1919 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1920 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
* _resultobj
;
1924 PyObject
* _argo0
= 0;
1925 char *_kwnames
[] = { "self", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= new wxString (wxWindow_GetName(_arg0
));
1941 wxPy_END_ALLOW_THREADS
;
1943 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1951 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1952 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
* _resultobj
;
1956 PyObject
* _argo0
= 0;
1957 char *_kwnames
[] = { "self", NULL
};
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1970 wxPy_BEGIN_ALLOW_THREADS
;
1971 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1973 wxPy_END_ALLOW_THREADS
;
1974 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1978 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1979 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1986 PyObject
* _argo0
= 0;
1987 char *_kwnames
[] = { "self", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2006 wxPy_BEGIN_ALLOW_THREADS
;
2007 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2009 wxPy_END_ALLOW_THREADS
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2014 o
= PyInt_FromLong((long) (*_arg1
));
2015 _resultobj
= t_output_helper(_resultobj
, o
);
2019 o
= PyInt_FromLong((long) (*_arg2
));
2020 _resultobj
= t_output_helper(_resultobj
, o
);
2025 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2026 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
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_GetPosition. Expected _wxWindow_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2048 wxPy_END_ALLOW_THREADS
;
2049 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2050 _resultobj
= Py_BuildValue("s",_ptemp
);
2054 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2055 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2059 PyObject
* _argo0
= 0;
2060 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2074 wxPy_BEGIN_ALLOW_THREADS
;
2075 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2077 wxPy_END_ALLOW_THREADS
;
2078 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2079 _resultobj
= Py_BuildValue("s",_ptemp
);
2083 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2084 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2089 PyObject
* _argo0
= 0;
2090 char *_kwnames
[] = { "self","orientation", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2106 wxPy_END_ALLOW_THREADS
;
2107 } _resultobj
= Py_BuildValue("i",_result
);
2111 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2112 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2117 PyObject
* _argo0
= 0;
2118 char *_kwnames
[] = { "self","orientation", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } _resultobj
= Py_BuildValue("i",_result
);
2139 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2140 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "self","orientation", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2159 wxPy_BEGIN_ALLOW_THREADS
;
2160 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2162 wxPy_END_ALLOW_THREADS
;
2163 } _resultobj
= Py_BuildValue("i",_result
);
2167 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2168 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2175 PyObject
* _argo0
= 0;
2176 char *_kwnames
[] = { "self", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2195 wxPy_BEGIN_ALLOW_THREADS
;
2196 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2198 wxPy_END_ALLOW_THREADS
;
2199 } Py_INCREF(Py_None
);
2200 _resultobj
= Py_None
;
2203 o
= PyInt_FromLong((long) (*_arg1
));
2204 _resultobj
= t_output_helper(_resultobj
, o
);
2208 o
= PyInt_FromLong((long) (*_arg2
));
2209 _resultobj
= t_output_helper(_resultobj
, o
);
2214 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2215 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2219 PyObject
* _argo0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2237 wxPy_END_ALLOW_THREADS
;
2238 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2239 _resultobj
= Py_BuildValue("s",_ptemp
);
2243 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2244 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2252 PyObject
* _argo0
= 0;
2253 PyObject
* _obj1
= 0;
2254 char *_kwnames
[] = { "self","string", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2273 #if PYTHON_API_VERSION >= 1009
2274 char* tmpPtr
; int tmpSize
;
2275 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2279 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2281 _arg1
= new wxString(tmpPtr
, tmpSize
);
2283 if (!PyString_Check(_obj1
)) {
2284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2287 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2294 wxPy_END_ALLOW_THREADS
;
2295 } Py_INCREF(Py_None
);
2296 _resultobj
= Py_None
;
2299 o
= PyInt_FromLong((long) (*_arg2
));
2300 _resultobj
= t_output_helper(_resultobj
, o
);
2304 o
= PyInt_FromLong((long) (*_arg3
));
2305 _resultobj
= t_output_helper(_resultobj
, o
);
2314 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2315 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2327 wxFont
* _arg6
= (wxFont
*) NULL
;
2328 PyObject
* _argo0
= 0;
2329 PyObject
* _obj1
= 0;
2330 PyObject
* _argo6
= 0;
2331 char *_kwnames
[] = { "self","string","font", NULL
};
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2356 #if PYTHON_API_VERSION >= 1009
2357 char* tmpPtr
; int tmpSize
;
2358 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2359 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2362 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2364 _arg1
= new wxString(tmpPtr
, tmpSize
);
2366 if (!PyString_Check(_obj1
)) {
2367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2370 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2374 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2389 o
= PyInt_FromLong((long) (*_arg2
));
2390 _resultobj
= t_output_helper(_resultobj
, o
);
2394 o
= PyInt_FromLong((long) (*_arg3
));
2395 _resultobj
= t_output_helper(_resultobj
, o
);
2399 o
= PyInt_FromLong((long) (*_arg4
));
2400 _resultobj
= t_output_helper(_resultobj
, o
);
2404 o
= PyInt_FromLong((long) (*_arg5
));
2405 _resultobj
= t_output_helper(_resultobj
, o
);
2414 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2415 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2419 PyObject
* _argo0
= 0;
2420 char *_kwnames
[] = { "self", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2433 wxPy_BEGIN_ALLOW_THREADS
;
2434 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2436 wxPy_END_ALLOW_THREADS
;
2438 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2446 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2447 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2451 PyObject
* _argo0
= 0;
2452 char *_kwnames
[] = { "self", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2466 wxPy_BEGIN_ALLOW_THREADS
;
2467 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2469 wxPy_END_ALLOW_THREADS
;
2470 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2471 _resultobj
= Py_BuildValue("s",_ptemp
);
2475 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2476 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2480 PyObject
* _argo0
= 0;
2481 char *_kwnames
[] = { "self", NULL
};
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2494 wxPy_BEGIN_ALLOW_THREADS
;
2495 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2497 wxPy_END_ALLOW_THREADS
;
2498 } _resultobj
= Py_BuildValue("l",_result
);
2502 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2503 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self","style", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2524 wxPy_END_ALLOW_THREADS
;
2525 } Py_INCREF(Py_None
);
2526 _resultobj
= Py_None
;
2530 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2531 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self","style", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2549 wxPy_BEGIN_ALLOW_THREADS
;
2550 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2552 wxPy_END_ALLOW_THREADS
;
2553 } Py_INCREF(Py_None
);
2554 _resultobj
= Py_None
;
2558 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2559 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2563 PyObject
* _argo0
= 0;
2564 char *_kwnames
[] = { "self", NULL
};
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2577 wxPy_BEGIN_ALLOW_THREADS
;
2578 _result
= (bool )wxWindow_Hide(_arg0
);
2580 wxPy_END_ALLOW_THREADS
;
2581 } _resultobj
= Py_BuildValue("i",_result
);
2585 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2586 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 wxWindow_InitDialog(_arg0
);
2606 wxPy_END_ALLOW_THREADS
;
2607 } Py_INCREF(Py_None
);
2608 _resultobj
= Py_None
;
2612 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2613 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2617 PyObject
* _argo0
= 0;
2618 char *_kwnames
[] = { "self", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2631 wxPy_BEGIN_ALLOW_THREADS
;
2632 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2634 wxPy_END_ALLOW_THREADS
;
2635 } _resultobj
= Py_BuildValue("i",_result
);
2639 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2640 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2646 int _arg3
= (int ) 0;
2647 int _arg4
= (int ) 0;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } _resultobj
= Py_BuildValue("i",_result
);
2670 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2671 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2676 PyObject
* _argo0
= 0;
2678 PyObject
* _obj1
= 0;
2679 char *_kwnames
[] = { "self","pt", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2693 if (! wxPoint_helper(_obj1
, &_arg1
))
2697 wxPy_BEGIN_ALLOW_THREADS
;
2698 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2700 wxPy_END_ALLOW_THREADS
;
2701 } _resultobj
= Py_BuildValue("i",_result
);
2705 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2706 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2711 PyObject
* _argo0
= 0;
2713 PyObject
* _obj1
= 0;
2714 char *_kwnames
[] = { "self","rect", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2728 if (! wxRect_helper(_obj1
, &_arg1
))
2732 wxPy_BEGIN_ALLOW_THREADS
;
2733 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2735 wxPy_END_ALLOW_THREADS
;
2736 } _resultobj
= Py_BuildValue("i",_result
);
2740 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2741 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2745 PyObject
* _argo0
= 0;
2746 char *_kwnames
[] = { "self", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 _result
= (bool )wxWindow_IsRetained(_arg0
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } _resultobj
= Py_BuildValue("i",_result
);
2767 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2768 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2772 PyObject
* _argo0
= 0;
2773 char *_kwnames
[] = { "self", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2786 wxPy_BEGIN_ALLOW_THREADS
;
2787 _result
= (bool )wxWindow_IsShown(_arg0
);
2789 wxPy_END_ALLOW_THREADS
;
2790 } _resultobj
= Py_BuildValue("i",_result
);
2794 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2795 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2799 PyObject
* _argo0
= 0;
2800 char *_kwnames
[] = { "self", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2813 wxPy_BEGIN_ALLOW_THREADS
;
2814 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2816 wxPy_END_ALLOW_THREADS
;
2817 } _resultobj
= Py_BuildValue("i",_result
);
2821 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2822 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2825 PyObject
* _argo0
= 0;
2826 char *_kwnames
[] = { "self", NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2839 wxPy_BEGIN_ALLOW_THREADS
;
2840 wxWindow_Layout(_arg0
);
2842 wxPy_END_ALLOW_THREADS
;
2843 } Py_INCREF(Py_None
);
2844 _resultobj
= Py_None
;
2848 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2849 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2855 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2856 PyObject
* _argo0
= 0;
2857 PyObject
* _argo1
= 0;
2858 PyObject
* _obj2
= 0;
2859 PyObject
* _argo3
= 0;
2860 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2880 #if PYTHON_API_VERSION >= 1009
2881 char* tmpPtr
; int tmpSize
;
2882 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2883 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2886 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2888 _arg2
= new wxString(tmpPtr
, tmpSize
);
2890 if (!PyString_Check(_obj2
)) {
2891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2894 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2898 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2908 wxPy_END_ALLOW_THREADS
;
2909 } _resultobj
= Py_BuildValue("i",_result
);
2917 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2918 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 wxWindow_Lower(_arg0
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } Py_INCREF(Py_None
);
2940 _resultobj
= Py_None
;
2944 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2945 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2949 PyObject
* _argo0
= 0;
2951 char *_kwnames
[] = { "self","flag", NULL
};
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2963 _arg1
= (bool ) tempbool1
;
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 wxWindow_MakeModal(_arg0
,_arg1
);
2968 wxPy_END_ALLOW_THREADS
;
2969 } Py_INCREF(Py_None
);
2970 _resultobj
= Py_None
;
2974 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2975 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2980 PyObject
* _argo0
= 0;
2981 char *_kwnames
[] = { "self","x","y", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2994 wxPy_BEGIN_ALLOW_THREADS
;
2995 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2997 wxPy_END_ALLOW_THREADS
;
2998 } Py_INCREF(Py_None
);
2999 _resultobj
= Py_None
;
3003 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3004 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
* _resultobj
;
3008 PyObject
* _argo0
= 0;
3010 PyObject
* _obj1
= 0;
3011 char *_kwnames
[] = { "self","point", NULL
};
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3025 if (! wxPoint_helper(_obj1
, &_arg1
))
3029 wxPy_BEGIN_ALLOW_THREADS
;
3030 wxWindow_Move(_arg0
,*_arg1
);
3032 wxPy_END_ALLOW_THREADS
;
3033 } Py_INCREF(Py_None
);
3034 _resultobj
= Py_None
;
3038 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3039 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3041 wxEvtHandler
* _result
;
3043 bool _arg1
= (bool ) FALSE
;
3044 PyObject
* _argo0
= 0;
3045 int tempbool1
= (int) FALSE
;
3046 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3058 _arg1
= (bool ) tempbool1
;
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3063 wxPy_END_ALLOW_THREADS
;
3064 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3068 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3069 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3072 wxEvtHandler
* _arg1
;
3073 PyObject
* _argo0
= 0;
3074 PyObject
* _argo1
= 0;
3075 char *_kwnames
[] = { "self","handler", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3088 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 wxWindow_PushEventHandler(_arg0
,_arg1
);
3098 wxPy_END_ALLOW_THREADS
;
3099 } Py_INCREF(Py_None
);
3100 _resultobj
= Py_None
;
3104 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3105 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3112 PyObject
* _argo0
= 0;
3113 PyObject
* _argo1
= 0;
3114 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3134 wxPy_BEGIN_ALLOW_THREADS
;
3135 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3137 wxPy_END_ALLOW_THREADS
;
3138 } _resultobj
= Py_BuildValue("i",_result
);
3142 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3143 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3149 PyObject
* _argo0
= 0;
3150 PyObject
* _argo1
= 0;
3152 PyObject
* _obj2
= 0;
3153 char *_kwnames
[] = { "self","menu","pos", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3174 if (! wxPoint_helper(_obj2
, &_arg2
))
3178 wxPy_BEGIN_ALLOW_THREADS
;
3179 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3181 wxPy_END_ALLOW_THREADS
;
3182 } _resultobj
= Py_BuildValue("i",_result
);
3186 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3187 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3190 PyObject
* _argo0
= 0;
3191 char *_kwnames
[] = { "self", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3204 wxPy_BEGIN_ALLOW_THREADS
;
3205 wxWindow_Raise(_arg0
);
3207 wxPy_END_ALLOW_THREADS
;
3208 } Py_INCREF(Py_None
);
3209 _resultobj
= Py_None
;
3213 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3214 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3217 bool _arg1
= (bool ) TRUE
;
3218 wxRect
* _arg2
= (wxRect
*) NULL
;
3219 PyObject
* _argo0
= 0;
3220 int tempbool1
= (int) TRUE
;
3222 PyObject
* _obj2
= 0;
3223 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3235 _arg1
= (bool ) tempbool1
;
3239 if (! wxRect_helper(_obj2
, &_arg2
))
3243 wxPy_BEGIN_ALLOW_THREADS
;
3244 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3246 wxPy_END_ALLOW_THREADS
;
3247 } Py_INCREF(Py_None
);
3248 _resultobj
= Py_None
;
3252 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3253 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3256 PyObject
* _argo0
= 0;
3257 char *_kwnames
[] = { "self", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 wxWindow_ReleaseMouse(_arg0
);
3273 wxPy_END_ALLOW_THREADS
;
3274 } Py_INCREF(Py_None
);
3275 _resultobj
= Py_None
;
3279 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3280 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3284 PyObject
* _argo0
= 0;
3285 PyObject
* _argo1
= 0;
3286 char *_kwnames
[] = { "self","child", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 wxWindow_RemoveChild(_arg0
,_arg1
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3316 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3321 PyObject
* _argo0
= 0;
3322 PyObject
* _argo1
= 0;
3323 char *_kwnames
[] = { "self","newParent", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3336 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } _resultobj
= Py_BuildValue("i",_result
);
3351 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3352 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3357 PyObject
* _argo0
= 0;
3359 PyObject
* _obj1
= 0;
3361 PyObject
* _obj2
= 0;
3362 char *_kwnames
[] = { "self","x","y", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
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_ScreenToClientXY. Expected _wxWindow_p.");
3375 temp
= (int) PyInt_AsLong(_obj1
);
3379 temp0
= (int) PyInt_AsLong(_obj2
);
3383 wxPy_BEGIN_ALLOW_THREADS
;
3384 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3386 wxPy_END_ALLOW_THREADS
;
3387 } Py_INCREF(Py_None
);
3388 _resultobj
= Py_None
;
3391 o
= PyInt_FromLong((long) (*_arg1
));
3392 _resultobj
= t_output_helper(_resultobj
, o
);
3396 o
= PyInt_FromLong((long) (*_arg2
));
3397 _resultobj
= t_output_helper(_resultobj
, o
);
3402 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3403 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3408 PyObject
* _argo0
= 0;
3410 PyObject
* _obj1
= 0;
3411 char *_kwnames
[] = { "self","pt", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3426 if (! wxPoint_helper(_obj1
, &_arg1
))
3430 wxPy_BEGIN_ALLOW_THREADS
;
3431 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3433 wxPy_END_ALLOW_THREADS
;
3434 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3435 _resultobj
= Py_BuildValue("s",_ptemp
);
3439 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3440 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3445 wxRect
* _arg3
= (wxRect
*) NULL
;
3446 PyObject
* _argo0
= 0;
3448 PyObject
* _obj3
= 0;
3449 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3464 if (! wxRect_helper(_obj3
, &_arg3
))
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3471 wxPy_END_ALLOW_THREADS
;
3472 } Py_INCREF(Py_None
);
3473 _resultobj
= Py_None
;
3477 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3478 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
* _resultobj
;
3481 wxAcceleratorTable
* _arg1
;
3482 PyObject
* _argo0
= 0;
3483 PyObject
* _argo1
= 0;
3484 char *_kwnames
[] = { "self","accel", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3504 wxPy_BEGIN_ALLOW_THREADS
;
3505 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3507 wxPy_END_ALLOW_THREADS
;
3508 } Py_INCREF(Py_None
);
3509 _resultobj
= Py_None
;
3513 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3514 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3518 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self","autoLayout", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3532 _arg1
= (bool ) tempbool1
;
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3537 wxPy_END_ALLOW_THREADS
;
3538 } Py_INCREF(Py_None
);
3539 _resultobj
= Py_None
;
3543 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3544 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3565 wxPy_END_ALLOW_THREADS
;
3566 } _resultobj
= Py_BuildValue("i",_result
);
3570 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3571 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3575 PyObject
* _argo0
= 0;
3577 PyObject
* _obj1
= 0;
3578 char *_kwnames
[] = { "self","colour", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3592 if (! wxColour_helper(_obj1
, &_arg1
))
3596 wxPy_BEGIN_ALLOW_THREADS
;
3597 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3599 wxPy_END_ALLOW_THREADS
;
3600 } Py_INCREF(Py_None
);
3601 _resultobj
= Py_None
;
3605 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3606 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
* _resultobj
;
3609 wxLayoutConstraints
* _arg1
;
3610 PyObject
* _argo0
= 0;
3611 PyObject
* _argo1
= 0;
3612 char *_kwnames
[] = { "self","constraints", NULL
};
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3625 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 wxWindow_SetConstraints(_arg0
,_arg1
);
3635 wxPy_END_ALLOW_THREADS
;
3636 } Py_INCREF(Py_None
);
3637 _resultobj
= Py_None
;
3641 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3642 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3645 wxLayoutConstraints
* _arg1
;
3646 PyObject
* _argo0
= 0;
3647 PyObject
* _argo1
= 0;
3648 char *_kwnames
[] = { "self","constraints", NULL
};
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3668 wxPy_BEGIN_ALLOW_THREADS
;
3669 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3671 wxPy_END_ALLOW_THREADS
;
3672 } Py_INCREF(Py_None
);
3673 _resultobj
= Py_None
;
3677 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3678 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
* _resultobj
;
3681 PyObject
* _argo0
= 0;
3682 char *_kwnames
[] = { "self", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 wxWindow_SetFocus(_arg0
);
3698 wxPy_END_ALLOW_THREADS
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3705 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3709 PyObject
* _argo0
= 0;
3710 char *_kwnames
[] = { "self", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3726 wxPy_END_ALLOW_THREADS
;
3727 } _resultobj
= Py_BuildValue("i",_result
);
3731 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3732 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3736 PyObject
* _argo0
= 0;
3737 PyObject
* _argo1
= 0;
3738 char *_kwnames
[] = { "self","font", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 wxWindow_SetFont(_arg0
,*_arg1
);
3761 wxPy_END_ALLOW_THREADS
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3767 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3768 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3772 PyObject
* _argo0
= 0;
3774 PyObject
* _obj1
= 0;
3775 char *_kwnames
[] = { "self","colour", NULL
};
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3789 if (! wxColour_helper(_obj1
, &_arg1
))
3793 wxPy_BEGIN_ALLOW_THREADS
;
3794 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3796 wxPy_END_ALLOW_THREADS
;
3797 } Py_INCREF(Py_None
);
3798 _resultobj
= Py_None
;
3802 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3803 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3807 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self","id", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3821 wxPy_BEGIN_ALLOW_THREADS
;
3822 wxWindow_SetId(_arg0
,_arg1
);
3824 wxPy_END_ALLOW_THREADS
;
3825 } Py_INCREF(Py_None
);
3826 _resultobj
= Py_None
;
3830 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3831 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3836 PyObject
* _obj1
= 0;
3837 char *_kwnames
[] = { "self","name", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3850 #if PYTHON_API_VERSION >= 1009
3851 char* tmpPtr
; int tmpSize
;
3852 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3856 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3858 _arg1
= new wxString(tmpPtr
, tmpSize
);
3860 if (!PyString_Check(_obj1
)) {
3861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3864 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3868 wxPy_BEGIN_ALLOW_THREADS
;
3869 wxWindow_SetName(_arg0
,*_arg1
);
3871 wxPy_END_ALLOW_THREADS
;
3872 } Py_INCREF(Py_None
);
3873 _resultobj
= Py_None
;
3881 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3882 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3889 int _arg5
= (int ) TRUE
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3904 wxPy_BEGIN_ALLOW_THREADS
;
3905 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3907 wxPy_END_ALLOW_THREADS
;
3908 } Py_INCREF(Py_None
);
3909 _resultobj
= Py_None
;
3913 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3914 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3919 bool _arg3
= (bool ) TRUE
;
3920 PyObject
* _argo0
= 0;
3921 int tempbool3
= (int) TRUE
;
3922 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3934 _arg3
= (bool ) tempbool3
;
3936 wxPy_BEGIN_ALLOW_THREADS
;
3937 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3939 wxPy_END_ALLOW_THREADS
;
3940 } Py_INCREF(Py_None
);
3941 _resultobj
= Py_None
;
3945 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3946 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3953 int _arg5
= (int ) wxSIZE_AUTO
;
3954 PyObject
* _argo0
= 0;
3955 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3971 wxPy_END_ALLOW_THREADS
;
3972 } Py_INCREF(Py_None
);
3973 _resultobj
= Py_None
;
3977 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3978 self
->SetSize(size
);
3980 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3984 PyObject
* _argo0
= 0;
3986 PyObject
* _obj1
= 0;
3987 char *_kwnames
[] = { "self","size", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4001 if (! wxSize_helper(_obj1
, &_arg1
))
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 wxWindow_SetSize(_arg0
,*_arg1
);
4008 wxPy_END_ALLOW_THREADS
;
4009 } Py_INCREF(Py_None
);
4010 _resultobj
= Py_None
;
4014 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4017 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4021 PyObject
* _argo0
= 0;
4023 PyObject
* _obj1
= 0;
4024 char *_kwnames
[] = { "self","pos", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4038 if (! wxPoint_helper(_obj1
, &_arg1
))
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 wxWindow_SetPosition(_arg0
,*_arg1
);
4045 wxPy_END_ALLOW_THREADS
;
4046 } Py_INCREF(Py_None
);
4047 _resultobj
= Py_None
;
4051 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4052 self
->SetSize(rect
, sizeFlags
);
4054 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4058 int _arg2
= (int ) wxSIZE_AUTO
;
4059 PyObject
* _argo0
= 0;
4061 PyObject
* _obj1
= 0;
4062 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
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_SetRect. Expected _wxWindow_p.");
4076 if (! wxRect_helper(_obj1
, &_arg1
))
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4083 wxPy_END_ALLOW_THREADS
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4089 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4090 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4093 int _arg1
= (int ) -1;
4094 int _arg2
= (int ) -1;
4095 int _arg3
= (int ) -1;
4096 int _arg4
= (int ) -1;
4097 int _arg5
= (int ) -1;
4098 int _arg6
= (int ) -1;
4099 PyObject
* _argo0
= 0;
4100 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4113 wxPy_BEGIN_ALLOW_THREADS
;
4114 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4116 wxPy_END_ALLOW_THREADS
;
4117 } Py_INCREF(Py_None
);
4118 _resultobj
= Py_None
;
4122 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4123 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4128 PyObject
* _argo0
= 0;
4129 char *_kwnames
[] = { "self","width","height", NULL
};
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4142 wxPy_BEGIN_ALLOW_THREADS
;
4143 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4145 wxPy_END_ALLOW_THREADS
;
4146 } Py_INCREF(Py_None
);
4147 _resultobj
= Py_None
;
4151 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4152 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4158 PyObject
* _obj1
= 0;
4159 char *_kwnames
[] = { "self","size", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4173 if (! wxSize_helper(_obj1
, &_arg1
))
4177 wxPy_BEGIN_ALLOW_THREADS
;
4178 wxWindow_SetClientSize(_arg0
,*_arg1
);
4180 wxPy_END_ALLOW_THREADS
;
4181 } Py_INCREF(Py_None
);
4182 _resultobj
= Py_None
;
4186 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4187 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4191 PyObject
* _argo0
= 0;
4192 PyObject
* _argo1
= 0;
4193 char *_kwnames
[] = { "self","cursor", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4213 wxPy_BEGIN_ALLOW_THREADS
;
4214 wxWindow_SetCursor(_arg0
,*_arg1
);
4216 wxPy_END_ALLOW_THREADS
;
4217 } Py_INCREF(Py_None
);
4218 _resultobj
= Py_None
;
4222 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4223 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4226 wxEvtHandler
* _arg1
;
4227 PyObject
* _argo0
= 0;
4228 PyObject
* _argo1
= 0;
4229 char *_kwnames
[] = { "self","handler", NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4249 wxPy_BEGIN_ALLOW_THREADS
;
4250 wxWindow_SetEventHandler(_arg0
,_arg1
);
4252 wxPy_END_ALLOW_THREADS
;
4253 } Py_INCREF(Py_None
);
4254 _resultobj
= Py_None
;
4258 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4259 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
* _resultobj
;
4263 PyObject
* _argo0
= 0;
4264 char *_kwnames
[] = { "self","exStyle", NULL
};
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4280 wxPy_END_ALLOW_THREADS
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4286 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4287 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4291 PyObject
* _argo0
= 0;
4292 PyObject
* _obj1
= 0;
4293 char *_kwnames
[] = { "self","title", NULL
};
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4306 #if PYTHON_API_VERSION >= 1009
4307 char* tmpPtr
; int tmpSize
;
4308 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4312 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4314 _arg1
= new wxString(tmpPtr
, tmpSize
);
4316 if (!PyString_Check(_obj1
)) {
4317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4320 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4324 wxPy_BEGIN_ALLOW_THREADS
;
4325 wxWindow_SetTitle(_arg0
,*_arg1
);
4327 wxPy_END_ALLOW_THREADS
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4337 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4338 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4343 PyObject
* _argo0
= 0;
4345 char *_kwnames
[] = { "self","show", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4357 _arg1
= (bool ) tempbool1
;
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4362 wxPy_END_ALLOW_THREADS
;
4363 } _resultobj
= Py_BuildValue("i",_result
);
4367 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4368 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
* _resultobj
;
4372 PyObject
* _argo0
= 0;
4373 char *_kwnames
[] = { "self", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4389 wxPy_END_ALLOW_THREADS
;
4390 } _resultobj
= Py_BuildValue("i",_result
);
4394 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4395 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4399 PyObject
* _argo0
= 0;
4400 char *_kwnames
[] = { "self", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
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_TransferDataToWindow. Expected _wxWindow_p.");
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4416 wxPy_END_ALLOW_THREADS
;
4417 } _resultobj
= Py_BuildValue("i",_result
);
4421 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4422 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4426 PyObject
* _argo0
= 0;
4427 char *_kwnames
[] = { "self", NULL
};
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4440 wxPy_BEGIN_ALLOW_THREADS
;
4441 _result
= (bool )wxWindow_Validate(_arg0
);
4443 wxPy_END_ALLOW_THREADS
;
4444 } _resultobj
= Py_BuildValue("i",_result
);
4448 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4449 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4454 PyObject
* _argo0
= 0;
4455 char *_kwnames
[] = { "self","x","y", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4468 wxPy_BEGIN_ALLOW_THREADS
;
4469 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4471 wxPy_END_ALLOW_THREADS
;
4472 } Py_INCREF(Py_None
);
4473 _resultobj
= Py_None
;
4477 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4478 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4483 PyObject
* _argo0
= 0;
4485 PyObject
* _obj1
= 0;
4486 char *_kwnames
[] = { "self","pt", NULL
};
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4501 if (! wxPoint_helper(_obj1
, &_arg1
))
4505 wxPy_BEGIN_ALLOW_THREADS
;
4506 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4508 wxPy_END_ALLOW_THREADS
;
4509 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4510 _resultobj
= Py_BuildValue("s",_ptemp
);
4514 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4515 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4520 PyObject
* _argo0
= 0;
4522 PyObject
* _obj1
= 0;
4523 char *_kwnames
[] = { "self","sz", NULL
};
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4538 if (! wxSize_helper(_obj1
, &_arg1
))
4542 wxPy_BEGIN_ALLOW_THREADS
;
4543 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4545 wxPy_END_ALLOW_THREADS
;
4546 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4547 _resultobj
= Py_BuildValue("s",_ptemp
);
4551 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4552 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4557 PyObject
* _argo0
= 0;
4559 PyObject
* _obj1
= 0;
4560 char *_kwnames
[] = { "self","pt", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4575 if (! wxPoint_helper(_obj1
, &_arg1
))
4579 wxPy_BEGIN_ALLOW_THREADS
;
4580 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4582 wxPy_END_ALLOW_THREADS
;
4583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4584 _resultobj
= Py_BuildValue("s",_ptemp
);
4588 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4589 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4594 PyObject
* _argo0
= 0;
4596 PyObject
* _obj1
= 0;
4597 char *_kwnames
[] = { "self","sz", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
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_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4612 if (! wxSize_helper(_obj1
, &_arg1
))
4616 wxPy_BEGIN_ALLOW_THREADS
;
4617 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4619 wxPy_END_ALLOW_THREADS
;
4620 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4621 _resultobj
= Py_BuildValue("s",_ptemp
);
4625 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4626 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4630 PyObject
* _argo0
= 0;
4631 PyObject
* _obj1
= 0;
4632 char *_kwnames
[] = { "self","tip", NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4645 #if PYTHON_API_VERSION >= 1009
4646 char* tmpPtr
; int tmpSize
;
4647 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4651 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4653 _arg1
= new wxString(tmpPtr
, tmpSize
);
4655 if (!PyString_Check(_obj1
)) {
4656 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4659 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4663 wxPy_BEGIN_ALLOW_THREADS
;
4664 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4666 wxPy_END_ALLOW_THREADS
;
4667 } Py_INCREF(Py_None
);
4668 _resultobj
= Py_None
;
4676 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4677 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4681 PyObject
* _argo0
= 0;
4682 PyObject
* _argo1
= 0;
4683 char *_kwnames
[] = { "self","tooltip", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4703 wxPy_BEGIN_ALLOW_THREADS
;
4704 wxWindow_SetToolTip(_arg0
,_arg1
);
4706 wxPy_END_ALLOW_THREADS
;
4707 } Py_INCREF(Py_None
);
4708 _resultobj
= Py_None
;
4712 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4713 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
* _resultobj
;
4715 wxToolTip
* _result
;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "self", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4734 wxPy_END_ALLOW_THREADS
;
4735 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4739 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4740 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4744 PyObject
* _argo0
= 0;
4745 PyObject
* _argo1
= 0;
4746 char *_kwnames
[] = { "self","sizer", NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4766 wxPy_BEGIN_ALLOW_THREADS
;
4767 wxWindow_SetSizer(_arg0
,_arg1
);
4769 wxPy_END_ALLOW_THREADS
;
4770 } Py_INCREF(Py_None
);
4771 _resultobj
= Py_None
;
4775 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4776 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
* _resultobj
;
4780 PyObject
* _argo0
= 0;
4781 char *_kwnames
[] = { "self", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4794 wxPy_BEGIN_ALLOW_THREADS
;
4795 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4797 wxPy_END_ALLOW_THREADS
;
4798 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4802 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4803 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4805 wxValidator
* _result
;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4821 wxPy_BEGIN_ALLOW_THREADS
;
4822 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4824 wxPy_END_ALLOW_THREADS
;
4825 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4829 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4830 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4833 wxValidator
* _arg1
;
4834 PyObject
* _argo0
= 0;
4835 PyObject
* _argo1
= 0;
4836 char *_kwnames
[] = { "self","validator", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4849 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 wxWindow_SetValidator(_arg0
,*_arg1
);
4859 wxPy_END_ALLOW_THREADS
;
4860 } Py_INCREF(Py_None
);
4861 _resultobj
= Py_None
;
4865 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4866 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4869 wxDropTarget
* _arg1
;
4870 PyObject
* _argo0
= 0;
4871 PyObject
* _argo1
= 0;
4872 char *_kwnames
[] = { "self","target", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4885 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4892 wxPy_BEGIN_ALLOW_THREADS
;
4893 wxWindow_SetDropTarget(_arg0
,_arg1
);
4895 wxPy_END_ALLOW_THREADS
;
4896 } Py_INCREF(Py_None
);
4897 _resultobj
= Py_None
;
4901 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4902 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4904 wxDropTarget
* _result
;
4906 PyObject
* _argo0
= 0;
4907 char *_kwnames
[] = { "self", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4921 wxPy_BEGIN_ALLOW_THREADS
;
4922 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4924 wxPy_END_ALLOW_THREADS
;
4926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4927 _resultobj
= Py_BuildValue("s",_ptemp
);
4930 _resultobj
= Py_None
;
4935 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4936 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
* _resultobj
;
4940 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4955 wxPy_BEGIN_ALLOW_THREADS
;
4956 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4958 wxPy_END_ALLOW_THREADS
;
4959 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4960 _resultobj
= Py_BuildValue("s",_ptemp
);
4964 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4965 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4969 PyObject
* _argo0
= 0;
4970 PyObject
* _argo1
= 0;
4971 char *_kwnames
[] = { "self","caret", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
4984 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4991 wxPy_BEGIN_ALLOW_THREADS
;
4992 wxWindow_SetCaret(_arg0
,_arg1
);
4994 wxPy_END_ALLOW_THREADS
;
4995 } Py_INCREF(Py_None
);
4996 _resultobj
= Py_None
;
5000 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5001 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
* _resultobj
;
5005 PyObject
* _argo0
= 0;
5006 char *_kwnames
[] = { "self", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5020 wxPy_BEGIN_ALLOW_THREADS
;
5021 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5023 wxPy_END_ALLOW_THREADS
;
5025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5026 _resultobj
= Py_BuildValue("s",_ptemp
);
5029 _resultobj
= Py_None
;
5034 static void *SwigwxPanelTowxWindow(void *ptr
) {
5037 src
= (wxPanel
*) ptr
;
5038 dest
= (wxWindow
*) src
;
5039 return (void *) dest
;
5042 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5045 src
= (wxPanel
*) ptr
;
5046 dest
= (wxEvtHandler
*) src
;
5047 return (void *) dest
;
5050 static void *SwigwxPanelTowxObject(void *ptr
) {
5053 src
= (wxPanel
*) ptr
;
5054 dest
= (wxObject
*) src
;
5055 return (void *) dest
;
5058 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5059 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5064 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5065 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5066 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5067 char * _arg5
= (char *) "panel";
5068 PyObject
* _argo0
= 0;
5070 PyObject
* _obj2
= 0;
5072 PyObject
* _obj3
= 0;
5073 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5089 if (! wxPoint_helper(_obj2
, &_arg2
))
5095 if (! wxSize_helper(_obj3
, &_arg3
))
5099 wxPy_BEGIN_ALLOW_THREADS
;
5100 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5102 wxPy_END_ALLOW_THREADS
;
5104 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5105 _resultobj
= Py_BuildValue("s",_ptemp
);
5108 _resultobj
= Py_None
;
5113 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5114 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5117 PyObject
* _argo0
= 0;
5118 char *_kwnames
[] = { "self", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5131 wxPy_BEGIN_ALLOW_THREADS
;
5132 wxPanel_InitDialog(_arg0
);
5134 wxPy_END_ALLOW_THREADS
;
5135 } Py_INCREF(Py_None
);
5136 _resultobj
= Py_None
;
5140 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5141 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5145 PyObject
* _argo0
= 0;
5146 char *_kwnames
[] = { "self", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5159 wxPy_BEGIN_ALLOW_THREADS
;
5160 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5162 wxPy_END_ALLOW_THREADS
;
5163 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5167 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5168 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5172 PyObject
* _argo0
= 0;
5173 PyObject
* _argo1
= 0;
5174 char *_kwnames
[] = { "self","btn", NULL
};
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5187 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5188 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5194 wxPy_BEGIN_ALLOW_THREADS
;
5195 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5197 wxPy_END_ALLOW_THREADS
;
5198 } Py_INCREF(Py_None
);
5199 _resultobj
= Py_None
;
5203 static void *SwigwxDialogTowxPanel(void *ptr
) {
5206 src
= (wxDialog
*) ptr
;
5207 dest
= (wxPanel
*) src
;
5208 return (void *) dest
;
5211 static void *SwigwxDialogTowxWindow(void *ptr
) {
5214 src
= (wxDialog
*) ptr
;
5215 dest
= (wxWindow
*) src
;
5216 return (void *) dest
;
5219 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5222 src
= (wxDialog
*) ptr
;
5223 dest
= (wxEvtHandler
*) src
;
5224 return (void *) dest
;
5227 static void *SwigwxDialogTowxObject(void *ptr
) {
5230 src
= (wxDialog
*) ptr
;
5231 dest
= (wxObject
*) src
;
5232 return (void *) dest
;
5235 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5236 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
* _resultobj
;
5242 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5243 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5244 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5245 char * _arg6
= (char *) "dialogBox";
5246 PyObject
* _argo0
= 0;
5247 PyObject
* _obj2
= 0;
5249 PyObject
* _obj3
= 0;
5251 PyObject
* _obj4
= 0;
5252 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5266 #if PYTHON_API_VERSION >= 1009
5267 char* tmpPtr
; int tmpSize
;
5268 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5272 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5274 _arg2
= new wxString(tmpPtr
, tmpSize
);
5276 if (!PyString_Check(_obj2
)) {
5277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5280 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5286 if (! wxPoint_helper(_obj3
, &_arg3
))
5292 if (! wxSize_helper(_obj4
, &_arg4
))
5296 wxPy_BEGIN_ALLOW_THREADS
;
5297 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5299 wxPy_END_ALLOW_THREADS
;
5301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5302 _resultobj
= Py_BuildValue("s",_ptemp
);
5305 _resultobj
= Py_None
;
5314 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5315 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5318 int _arg1
= (int ) wxBOTH
;
5319 PyObject
* _argo0
= 0;
5320 char *_kwnames
[] = { "self","direction", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5333 wxPy_BEGIN_ALLOW_THREADS
;
5334 wxDialog_Centre(_arg0
,_arg1
);
5336 wxPy_END_ALLOW_THREADS
;
5337 } Py_INCREF(Py_None
);
5338 _resultobj
= Py_None
;
5342 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5343 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
* _resultobj
;
5347 PyObject
* _argo0
= 0;
5348 char *_kwnames
[] = { "self","retCode", NULL
};
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5361 wxPy_BEGIN_ALLOW_THREADS
;
5362 wxDialog_EndModal(_arg0
,_arg1
);
5364 wxPy_END_ALLOW_THREADS
;
5365 } Py_INCREF(Py_None
);
5366 _resultobj
= Py_None
;
5370 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5371 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
* _resultobj
;
5375 PyObject
* _argo0
= 0;
5376 char *_kwnames
[] = { "self", NULL
};
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5389 wxPy_BEGIN_ALLOW_THREADS
;
5390 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5392 wxPy_END_ALLOW_THREADS
;
5394 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5402 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5403 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5407 PyObject
* _argo0
= 0;
5409 char *_kwnames
[] = { "self","iconize", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5421 _arg1
= (bool ) tempbool1
;
5423 wxPy_BEGIN_ALLOW_THREADS
;
5424 wxDialog_Iconize(_arg0
,_arg1
);
5426 wxPy_END_ALLOW_THREADS
;
5427 } Py_INCREF(Py_None
);
5428 _resultobj
= Py_None
;
5432 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5433 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
* _resultobj
;
5437 PyObject
* _argo0
= 0;
5438 char *_kwnames
[] = { "self", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5451 wxPy_BEGIN_ALLOW_THREADS
;
5452 _result
= (bool )wxDialog_IsIconized(_arg0
);
5454 wxPy_END_ALLOW_THREADS
;
5455 } _resultobj
= Py_BuildValue("i",_result
);
5459 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5460 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5464 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self","flag", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5478 _arg1
= (bool ) tempbool1
;
5480 wxPy_BEGIN_ALLOW_THREADS
;
5481 wxDialog_SetModal(_arg0
,_arg1
);
5483 wxPy_END_ALLOW_THREADS
;
5484 } Py_INCREF(Py_None
);
5485 _resultobj
= Py_None
;
5489 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5490 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5494 PyObject
* _argo0
= 0;
5495 char *_kwnames
[] = { "self", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5508 wxPy_BEGIN_ALLOW_THREADS
;
5509 _result
= (bool )wxDialog_IsModal(_arg0
);
5511 wxPy_END_ALLOW_THREADS
;
5512 } _resultobj
= Py_BuildValue("i",_result
);
5516 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5517 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
* _resultobj
;
5521 PyObject
* _argo0
= 0;
5522 PyObject
* _obj1
= 0;
5523 char *_kwnames
[] = { "self","title", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5536 #if PYTHON_API_VERSION >= 1009
5537 char* tmpPtr
; int tmpSize
;
5538 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5539 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5542 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5544 _arg1
= new wxString(tmpPtr
, tmpSize
);
5546 if (!PyString_Check(_obj1
)) {
5547 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5550 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5554 wxPy_BEGIN_ALLOW_THREADS
;
5555 wxDialog_SetTitle(_arg0
,*_arg1
);
5557 wxPy_END_ALLOW_THREADS
;
5558 } Py_INCREF(Py_None
);
5559 _resultobj
= Py_None
;
5567 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5568 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5573 PyObject
* _argo0
= 0;
5575 char *_kwnames
[] = { "self","show", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5587 _arg1
= (bool ) tempbool1
;
5589 wxPy_BEGIN_ALLOW_THREADS
;
5590 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5592 wxPy_END_ALLOW_THREADS
;
5593 } _resultobj
= Py_BuildValue("i",_result
);
5597 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5598 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5616 wxPy_BEGIN_ALLOW_THREADS
;
5617 _result
= (int )wxDialog_ShowModal(_arg0
);
5619 wxPy_END_ALLOW_THREADS
;
5620 } _resultobj
= Py_BuildValue("i",_result
);
5624 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5625 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5629 PyObject
* _argo0
= 0;
5630 char *_kwnames
[] = { "self", NULL
};
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5643 wxPy_BEGIN_ALLOW_THREADS
;
5644 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5646 wxPy_END_ALLOW_THREADS
;
5647 } _resultobj
= Py_BuildValue("i",_result
);
5651 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5652 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
* _resultobj
;
5656 PyObject
* _argo0
= 0;
5657 char *_kwnames
[] = { "self","retCode", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5670 wxPy_BEGIN_ALLOW_THREADS
;
5671 wxDialog_SetReturnCode(_arg0
,_arg1
);
5673 wxPy_END_ALLOW_THREADS
;
5674 } Py_INCREF(Py_None
);
5675 _resultobj
= Py_None
;
5679 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
5680 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5685 PyObject
* _argo0
= 0;
5686 PyObject
* _obj1
= 0;
5687 char *_kwnames
[] = { "self","message", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
5700 #if PYTHON_API_VERSION >= 1009
5701 char* tmpPtr
; int tmpSize
;
5702 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5706 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5708 _arg1
= new wxString(tmpPtr
, tmpSize
);
5710 if (!PyString_Check(_obj1
)) {
5711 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5714 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5718 wxPy_BEGIN_ALLOW_THREADS
;
5719 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
5721 wxPy_END_ALLOW_THREADS
;
5722 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5730 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
5731 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5736 PyObject
* _argo0
= 0;
5737 char *_kwnames
[] = { "self","flags", NULL
};
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
5743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
5750 wxPy_BEGIN_ALLOW_THREADS
;
5751 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
5753 wxPy_END_ALLOW_THREADS
;
5754 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5758 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5759 wxScrolledWindow
*src
;
5761 src
= (wxScrolledWindow
*) ptr
;
5762 dest
= (wxPanel
*) src
;
5763 return (void *) dest
;
5766 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5767 wxScrolledWindow
*src
;
5769 src
= (wxScrolledWindow
*) ptr
;
5770 dest
= (wxWindow
*) src
;
5771 return (void *) dest
;
5774 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5775 wxScrolledWindow
*src
;
5777 src
= (wxScrolledWindow
*) ptr
;
5778 dest
= (wxEvtHandler
*) src
;
5779 return (void *) dest
;
5782 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
5783 wxScrolledWindow
*src
;
5785 src
= (wxScrolledWindow
*) ptr
;
5786 dest
= (wxObject
*) src
;
5787 return (void *) dest
;
5790 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5791 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5793 wxScrolledWindow
* _result
;
5795 wxWindowID _arg1
= (wxWindowID
) -1;
5796 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5797 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5798 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5799 char * _arg5
= (char *) "scrolledWindow";
5800 PyObject
* _argo0
= 0;
5802 PyObject
* _obj2
= 0;
5804 PyObject
* _obj3
= 0;
5805 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5821 if (! wxPoint_helper(_obj2
, &_arg2
))
5827 if (! wxSize_helper(_obj3
, &_arg3
))
5831 wxPy_BEGIN_ALLOW_THREADS
;
5832 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5834 wxPy_END_ALLOW_THREADS
;
5836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5837 _resultobj
= Py_BuildValue("s",_ptemp
);
5840 _resultobj
= Py_None
;
5845 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5846 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5848 wxScrolledWindow
* _arg0
;
5851 PyObject
* _argo0
= 0;
5854 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5866 _arg1
= (bool ) tempbool1
;
5867 _arg2
= (bool ) tempbool2
;
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } Py_INCREF(Py_None
);
5874 _resultobj
= Py_None
;
5878 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5879 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5882 wxScrolledWindow
* _arg0
;
5884 PyObject
* _argo0
= 0;
5885 char *_kwnames
[] = { "self","orient", NULL
};
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5898 wxPy_BEGIN_ALLOW_THREADS
;
5899 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5901 wxPy_END_ALLOW_THREADS
;
5902 } _resultobj
= Py_BuildValue("i",_result
);
5906 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5907 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5909 wxScrolledWindow
* _arg0
;
5914 PyObject
* _argo0
= 0;
5915 char *_kwnames
[] = { "self", NULL
};
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5934 wxPy_BEGIN_ALLOW_THREADS
;
5935 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5937 wxPy_END_ALLOW_THREADS
;
5938 } Py_INCREF(Py_None
);
5939 _resultobj
= Py_None
;
5942 o
= PyInt_FromLong((long) (*_arg1
));
5943 _resultobj
= t_output_helper(_resultobj
, o
);
5947 o
= PyInt_FromLong((long) (*_arg2
));
5948 _resultobj
= t_output_helper(_resultobj
, o
);
5953 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5954 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5957 wxScrolledWindow
* _arg0
;
5958 PyObject
* _argo0
= 0;
5959 char *_kwnames
[] = { "self", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5972 wxPy_BEGIN_ALLOW_THREADS
;
5973 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5975 wxPy_END_ALLOW_THREADS
;
5976 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5980 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5981 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5983 wxScrolledWindow
* _arg0
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6008 wxPy_BEGIN_ALLOW_THREADS
;
6009 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6011 wxPy_END_ALLOW_THREADS
;
6012 } Py_INCREF(Py_None
);
6013 _resultobj
= Py_None
;
6016 o
= PyInt_FromLong((long) (*_arg1
));
6017 _resultobj
= t_output_helper(_resultobj
, o
);
6021 o
= PyInt_FromLong((long) (*_arg2
));
6022 _resultobj
= t_output_helper(_resultobj
, o
);
6027 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6028 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6031 wxScrolledWindow
* _arg0
;
6032 PyObject
* _argo0
= 0;
6033 char *_kwnames
[] = { "self", NULL
};
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6046 wxPy_BEGIN_ALLOW_THREADS
;
6047 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6049 wxPy_END_ALLOW_THREADS
;
6050 } _resultobj
= Py_BuildValue("i",_result
);
6054 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6055 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6057 wxScrolledWindow
* _arg0
;
6059 PyObject
* _argo0
= 0;
6060 PyObject
* _argo1
= 0;
6061 char *_kwnames
[] = { "self","dc", NULL
};
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6074 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6081 wxPy_BEGIN_ALLOW_THREADS
;
6082 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6084 wxPy_END_ALLOW_THREADS
;
6085 } Py_INCREF(Py_None
);
6086 _resultobj
= Py_None
;
6090 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6091 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6093 wxScrolledWindow
* _arg0
;
6096 PyObject
* _argo0
= 0;
6097 char *_kwnames
[] = { "self","x","y", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6110 wxPy_BEGIN_ALLOW_THREADS
;
6111 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6113 wxPy_END_ALLOW_THREADS
;
6114 } Py_INCREF(Py_None
);
6115 _resultobj
= Py_None
;
6119 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6120 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
* _resultobj
;
6122 wxScrolledWindow
* _arg0
;
6127 int _arg5
= (int ) 0;
6128 int _arg6
= (int ) 0;
6129 int _arg7
= (int ) FALSE
;
6130 PyObject
* _argo0
= 0;
6131 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6144 wxPy_BEGIN_ALLOW_THREADS
;
6145 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6147 wxPy_END_ALLOW_THREADS
;
6148 } Py_INCREF(Py_None
);
6149 _resultobj
= Py_None
;
6153 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6154 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6156 wxScrolledWindow
* _arg0
;
6159 PyObject
* _argo0
= 0;
6160 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6173 wxPy_BEGIN_ALLOW_THREADS
;
6174 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6176 wxPy_END_ALLOW_THREADS
;
6177 } Py_INCREF(Py_None
);
6178 _resultobj
= Py_None
;
6182 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6183 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6185 wxScrolledWindow
* _arg0
;
6187 PyObject
* _argo0
= 0;
6188 PyObject
* _argo1
= 0;
6189 char *_kwnames
[] = { "self","window", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6209 wxPy_BEGIN_ALLOW_THREADS
;
6210 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6212 wxPy_END_ALLOW_THREADS
;
6213 } Py_INCREF(Py_None
);
6214 _resultobj
= Py_None
;
6218 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6219 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
* _resultobj
;
6221 wxScrolledWindow
* _arg0
;
6226 PyObject
* _argo0
= 0;
6227 char *_kwnames
[] = { "self", NULL
};
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6246 wxPy_BEGIN_ALLOW_THREADS
;
6247 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6249 wxPy_END_ALLOW_THREADS
;
6250 } Py_INCREF(Py_None
);
6251 _resultobj
= Py_None
;
6254 o
= PyInt_FromLong((long) (*_arg1
));
6255 _resultobj
= t_output_helper(_resultobj
, o
);
6259 o
= PyInt_FromLong((long) (*_arg2
));
6260 _resultobj
= t_output_helper(_resultobj
, o
);
6265 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6266 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
* _resultobj
;
6268 wxScrolledWindow
* _arg0
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6293 wxPy_BEGIN_ALLOW_THREADS
;
6294 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6296 wxPy_END_ALLOW_THREADS
;
6297 } Py_INCREF(Py_None
);
6298 _resultobj
= Py_None
;
6301 o
= PyInt_FromLong((long) (*_arg1
));
6302 _resultobj
= t_output_helper(_resultobj
, o
);
6306 o
= PyInt_FromLong((long) (*_arg2
));
6307 _resultobj
= t_output_helper(_resultobj
, o
);
6312 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6313 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxScrolledWindow
* _arg0
;
6322 PyObject
* _argo0
= 0;
6323 char *_kwnames
[] = { "self","x","y", NULL
};
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6342 wxPy_BEGIN_ALLOW_THREADS
;
6343 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6345 wxPy_END_ALLOW_THREADS
;
6346 } Py_INCREF(Py_None
);
6347 _resultobj
= Py_None
;
6350 o
= PyInt_FromLong((long) (*_arg3
));
6351 _resultobj
= t_output_helper(_resultobj
, o
);
6355 o
= PyInt_FromLong((long) (*_arg4
));
6356 _resultobj
= t_output_helper(_resultobj
, o
);
6361 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6362 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6364 wxScrolledWindow
* _arg0
;
6371 PyObject
* _argo0
= 0;
6372 char *_kwnames
[] = { "self","x","y", NULL
};
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6391 wxPy_BEGIN_ALLOW_THREADS
;
6392 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6394 wxPy_END_ALLOW_THREADS
;
6395 } Py_INCREF(Py_None
);
6396 _resultobj
= Py_None
;
6399 o
= PyInt_FromLong((long) (*_arg3
));
6400 _resultobj
= t_output_helper(_resultobj
, o
);
6404 o
= PyInt_FromLong((long) (*_arg4
));
6405 _resultobj
= t_output_helper(_resultobj
, o
);
6410 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
6411 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6413 wxScrolledWindow
* _arg0
;
6416 PyObject
* _argo0
= 0;
6417 char *_kwnames
[] = { "self","xs","ys", NULL
};
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
6430 wxPy_BEGIN_ALLOW_THREADS
;
6431 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
6433 wxPy_END_ALLOW_THREADS
;
6434 } Py_INCREF(Py_None
);
6435 _resultobj
= Py_None
;
6439 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
6440 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
* _resultobj
;
6443 wxScrolledWindow
* _arg0
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
6458 wxPy_BEGIN_ALLOW_THREADS
;
6459 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
6461 wxPy_END_ALLOW_THREADS
;
6462 } _resultobj
= Py_BuildValue("d",_result
);
6466 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
6467 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
* _resultobj
;
6470 wxScrolledWindow
* _arg0
;
6471 PyObject
* _argo0
= 0;
6472 char *_kwnames
[] = { "self", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
6485 wxPy_BEGIN_ALLOW_THREADS
;
6486 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
6488 wxPy_END_ALLOW_THREADS
;
6489 } _resultobj
= Py_BuildValue("d",_result
);
6493 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
6494 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
* _resultobj
;
6496 wxScrolledWindow
* _arg0
;
6497 PyObject
* _argo0
= 0;
6498 char *_kwnames
[] = { "self", NULL
};
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
6504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
6511 wxPy_BEGIN_ALLOW_THREADS
;
6512 wxScrolledWindow_AdjustScrollbars(_arg0
);
6514 wxPy_END_ALLOW_THREADS
;
6515 } Py_INCREF(Py_None
);
6516 _resultobj
= Py_None
;
6520 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6523 src
= (wxMenu
*) ptr
;
6524 dest
= (wxEvtHandler
*) src
;
6525 return (void *) dest
;
6528 static void *SwigwxMenuTowxObject(void *ptr
) {
6531 src
= (wxMenu
*) ptr
;
6532 dest
= (wxObject
*) src
;
6533 return (void *) dest
;
6536 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6537 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
* _resultobj
;
6540 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6541 long _arg1
= (long ) 0;
6542 PyObject
* _obj0
= 0;
6543 char *_kwnames
[] = { "title","style", NULL
};
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6551 #if PYTHON_API_VERSION >= 1009
6552 char* tmpPtr
; int tmpSize
;
6553 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6554 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6557 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6559 _arg0
= new wxString(tmpPtr
, tmpSize
);
6561 if (!PyString_Check(_obj0
)) {
6562 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6565 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6569 wxPy_BEGIN_ALLOW_THREADS
;
6570 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6572 wxPy_END_ALLOW_THREADS
;
6574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6575 _resultobj
= Py_BuildValue("s",_ptemp
);
6578 _resultobj
= Py_None
;
6587 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6588 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6593 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6594 int _arg4
= (int ) FALSE
;
6595 PyObject
* _argo0
= 0;
6596 PyObject
* _obj2
= 0;
6597 PyObject
* _obj3
= 0;
6598 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6611 #if PYTHON_API_VERSION >= 1009
6612 char* tmpPtr
; int tmpSize
;
6613 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6614 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6617 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6619 _arg2
= new wxString(tmpPtr
, tmpSize
);
6621 if (!PyString_Check(_obj2
)) {
6622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6625 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6630 #if PYTHON_API_VERSION >= 1009
6631 char* tmpPtr
; int tmpSize
;
6632 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6636 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6638 _arg3
= new wxString(tmpPtr
, tmpSize
);
6640 if (!PyString_Check(_obj3
)) {
6641 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6644 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6651 wxPy_END_ALLOW_THREADS
;
6652 } Py_INCREF(Py_None
);
6653 _resultobj
= Py_None
;
6665 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6666 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
* _resultobj
;
6672 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6673 PyObject
* _argo0
= 0;
6674 PyObject
* _obj2
= 0;
6675 PyObject
* _argo3
= 0;
6676 PyObject
* _obj4
= 0;
6677 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6690 #if PYTHON_API_VERSION >= 1009
6691 char* tmpPtr
; int tmpSize
;
6692 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6693 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6696 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6698 _arg2
= new wxString(tmpPtr
, tmpSize
);
6700 if (!PyString_Check(_obj2
)) {
6701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6704 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6708 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6716 #if PYTHON_API_VERSION >= 1009
6717 char* tmpPtr
; int tmpSize
;
6718 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6722 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6724 _arg4
= new wxString(tmpPtr
, tmpSize
);
6726 if (!PyString_Check(_obj4
)) {
6727 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6730 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6734 wxPy_BEGIN_ALLOW_THREADS
;
6735 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6737 wxPy_END_ALLOW_THREADS
;
6738 } Py_INCREF(Py_None
);
6739 _resultobj
= Py_None
;
6751 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6752 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6756 PyObject
* _argo0
= 0;
6757 PyObject
* _argo1
= 0;
6758 char *_kwnames
[] = { "self","item", NULL
};
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6778 wxPy_BEGIN_ALLOW_THREADS
;
6779 wxMenu_AppendItem(_arg0
,_arg1
);
6781 wxPy_END_ALLOW_THREADS
;
6782 } Py_INCREF(Py_None
);
6783 _resultobj
= Py_None
;
6787 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6788 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6791 PyObject
* _argo0
= 0;
6792 char *_kwnames
[] = { "self", NULL
};
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6805 wxPy_BEGIN_ALLOW_THREADS
;
6806 wxMenu_AppendSeparator(_arg0
);
6808 wxPy_END_ALLOW_THREADS
;
6809 } Py_INCREF(Py_None
);
6810 _resultobj
= Py_None
;
6814 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6815 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
* _resultobj
;
6818 PyObject
* _argo0
= 0;
6819 char *_kwnames
[] = { "self", NULL
};
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6832 wxPy_BEGIN_ALLOW_THREADS
;
6833 wxMenu_Break(_arg0
);
6835 wxPy_END_ALLOW_THREADS
;
6836 } Py_INCREF(Py_None
);
6837 _resultobj
= Py_None
;
6841 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6842 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6847 PyObject
* _argo0
= 0;
6849 char *_kwnames
[] = { "self","id","flag", NULL
};
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6861 _arg2
= (bool ) tempbool2
;
6863 wxPy_BEGIN_ALLOW_THREADS
;
6864 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6866 wxPy_END_ALLOW_THREADS
;
6867 } Py_INCREF(Py_None
);
6868 _resultobj
= Py_None
;
6872 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6873 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
* _resultobj
;
6878 PyObject
* _argo0
= 0;
6879 char *_kwnames
[] = { "self","id", NULL
};
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6892 wxPy_BEGIN_ALLOW_THREADS
;
6893 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6895 wxPy_END_ALLOW_THREADS
;
6896 } _resultobj
= Py_BuildValue("i",_result
);
6900 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6901 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6906 PyObject
* _argo0
= 0;
6908 char *_kwnames
[] = { "self","id","enable", NULL
};
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6920 _arg2
= (bool ) tempbool2
;
6922 wxPy_BEGIN_ALLOW_THREADS
;
6923 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6925 wxPy_END_ALLOW_THREADS
;
6926 } Py_INCREF(Py_None
);
6927 _resultobj
= Py_None
;
6931 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6932 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6937 PyObject
* _argo0
= 0;
6938 char *_kwnames
[] = { "self","id", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6951 wxPy_BEGIN_ALLOW_THREADS
;
6952 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6954 wxPy_END_ALLOW_THREADS
;
6955 } _resultobj
= Py_BuildValue("i",_result
);
6959 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6960 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
* _resultobj
;
6965 PyObject
* _argo0
= 0;
6966 PyObject
* _obj1
= 0;
6967 char *_kwnames
[] = { "self","itemString", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6980 #if PYTHON_API_VERSION >= 1009
6981 char* tmpPtr
; int tmpSize
;
6982 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6986 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6988 _arg1
= new wxString(tmpPtr
, tmpSize
);
6990 if (!PyString_Check(_obj1
)) {
6991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6994 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6998 wxPy_BEGIN_ALLOW_THREADS
;
6999 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
7001 wxPy_END_ALLOW_THREADS
;
7002 } _resultobj
= Py_BuildValue("i",_result
);
7010 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7011 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
* _resultobj
;
7013 wxMenuItem
* _result
;
7016 PyObject
* _argo0
= 0;
7017 char *_kwnames
[] = { "self","id", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
7030 wxPy_BEGIN_ALLOW_THREADS
;
7031 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
7033 wxPy_END_ALLOW_THREADS
;
7034 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7038 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
7039 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
* _resultobj
;
7043 PyObject
* _argo0
= 0;
7044 char *_kwnames
[] = { "self", NULL
};
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
7050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
7057 wxPy_BEGIN_ALLOW_THREADS
;
7058 _result
= new wxString (wxMenu_GetTitle(_arg0
));
7060 wxPy_END_ALLOW_THREADS
;
7062 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7070 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
7071 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
* _resultobj
;
7075 PyObject
* _argo0
= 0;
7076 PyObject
* _obj1
= 0;
7077 char *_kwnames
[] = { "self","title", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
7090 #if PYTHON_API_VERSION >= 1009
7091 char* tmpPtr
; int tmpSize
;
7092 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7093 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7096 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7098 _arg1
= new wxString(tmpPtr
, tmpSize
);
7100 if (!PyString_Check(_obj1
)) {
7101 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7104 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7108 wxPy_BEGIN_ALLOW_THREADS
;
7109 wxMenu_SetTitle(_arg0
,*_arg1
);
7111 wxPy_END_ALLOW_THREADS
;
7112 } Py_INCREF(Py_None
);
7113 _resultobj
= Py_None
;
7121 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7122 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7127 PyObject
* _argo0
= 0;
7128 char *_kwnames
[] = { "self","id", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7141 wxPy_BEGIN_ALLOW_THREADS
;
7142 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7144 wxPy_END_ALLOW_THREADS
;
7146 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7154 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7155 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7160 PyObject
* _argo0
= 0;
7161 PyObject
* _obj2
= 0;
7162 char *_kwnames
[] = { "self","id","label", NULL
};
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7175 #if PYTHON_API_VERSION >= 1009
7176 char* tmpPtr
; int tmpSize
;
7177 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7181 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7183 _arg2
= new wxString(tmpPtr
, tmpSize
);
7185 if (!PyString_Check(_obj2
)) {
7186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7189 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7193 wxPy_BEGIN_ALLOW_THREADS
;
7194 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7196 wxPy_END_ALLOW_THREADS
;
7197 } Py_INCREF(Py_None
);
7198 _resultobj
= Py_None
;
7206 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7207 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7212 PyObject
* _argo0
= 0;
7213 char *_kwnames
[] = { "self","id", NULL
};
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7226 wxPy_BEGIN_ALLOW_THREADS
;
7227 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7229 wxPy_END_ALLOW_THREADS
;
7231 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7239 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7240 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
* _resultobj
;
7245 PyObject
* _argo0
= 0;
7246 PyObject
* _obj2
= 0;
7247 char *_kwnames
[] = { "self","id","helpString", NULL
};
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7260 #if PYTHON_API_VERSION >= 1009
7261 char* tmpPtr
; int tmpSize
;
7262 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7266 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7268 _arg2
= new wxString(tmpPtr
, tmpSize
);
7270 if (!PyString_Check(_obj2
)) {
7271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7274 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7278 wxPy_BEGIN_ALLOW_THREADS
;
7279 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7281 wxPy_END_ALLOW_THREADS
;
7282 } Py_INCREF(Py_None
);
7283 _resultobj
= Py_None
;
7291 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7292 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7295 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7296 PyObject
* _argo0
= 0;
7297 PyObject
* _argo1
= 0;
7298 char *_kwnames
[] = { "self","source", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7311 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7318 wxPy_BEGIN_ALLOW_THREADS
;
7319 wxMenu_UpdateUI(_arg0
,_arg1
);
7321 wxPy_END_ALLOW_THREADS
;
7322 } Py_INCREF(Py_None
);
7323 _resultobj
= Py_None
;
7327 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7328 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
* _resultobj
;
7333 PyObject
* _argo0
= 0;
7334 char *_kwnames
[] = { "self","id", NULL
};
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7347 wxPy_BEGIN_ALLOW_THREADS
;
7348 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7350 wxPy_END_ALLOW_THREADS
;
7351 } _resultobj
= Py_BuildValue("i",_result
);
7355 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7356 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
* _resultobj
;
7361 PyObject
* _argo0
= 0;
7362 PyObject
* _argo1
= 0;
7363 char *_kwnames
[] = { "self","item", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7383 wxPy_BEGIN_ALLOW_THREADS
;
7384 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7386 wxPy_END_ALLOW_THREADS
;
7387 } _resultobj
= Py_BuildValue("i",_result
);
7391 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7392 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
* _resultobj
;
7398 PyObject
* _argo0
= 0;
7399 PyObject
* _argo2
= 0;
7400 char *_kwnames
[] = { "self","pos","item", NULL
};
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7413 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7420 wxPy_BEGIN_ALLOW_THREADS
;
7421 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7423 wxPy_END_ALLOW_THREADS
;
7424 } _resultobj
= Py_BuildValue("i",_result
);
7428 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7429 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
* _resultobj
;
7431 wxMenuItem
* _result
;
7434 PyObject
* _argo0
= 0;
7435 char *_kwnames
[] = { "self","id", NULL
};
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7448 wxPy_BEGIN_ALLOW_THREADS
;
7449 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7451 wxPy_END_ALLOW_THREADS
;
7452 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7456 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7457 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
* _resultobj
;
7459 wxMenuItem
* _result
;
7462 PyObject
* _argo0
= 0;
7463 PyObject
* _argo1
= 0;
7464 char *_kwnames
[] = { "self","item", NULL
};
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7484 wxPy_BEGIN_ALLOW_THREADS
;
7485 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7487 wxPy_END_ALLOW_THREADS
;
7488 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7492 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7493 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
* _resultobj
;
7496 PyObject
* _argo0
= 0;
7497 char *_kwnames
[] = { "self", NULL
};
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7510 wxPy_BEGIN_ALLOW_THREADS
;
7511 wxMenu_Destroy(_arg0
);
7513 wxPy_END_ALLOW_THREADS
;
7514 } Py_INCREF(Py_None
);
7515 _resultobj
= Py_None
;
7519 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7520 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
* _resultobj
;
7525 PyObject
* _argo0
= 0;
7526 char *_kwnames
[] = { "self","id", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7539 wxPy_BEGIN_ALLOW_THREADS
;
7540 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7542 wxPy_END_ALLOW_THREADS
;
7543 } _resultobj
= Py_BuildValue("i",_result
);
7547 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7548 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
* _resultobj
;
7553 PyObject
* _argo0
= 0;
7554 PyObject
* _argo1
= 0;
7555 char *_kwnames
[] = { "self","item", NULL
};
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7575 wxPy_BEGIN_ALLOW_THREADS
;
7576 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7578 wxPy_END_ALLOW_THREADS
;
7579 } _resultobj
= Py_BuildValue("i",_result
);
7583 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7584 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7588 PyObject
* _argo0
= 0;
7589 char *_kwnames
[] = { "self", NULL
};
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7602 wxPy_BEGIN_ALLOW_THREADS
;
7603 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7605 wxPy_END_ALLOW_THREADS
;
7606 } _resultobj
= Py_BuildValue("i",_result
);
7610 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7611 wxMenuItemList
& list
= self
->GetMenuItems();
7612 return wxPy_ConvertList(&list
, "wxMenuItem");
7614 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
* _resultobj
;
7618 PyObject
* _argo0
= 0;
7619 char *_kwnames
[] = { "self", NULL
};
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7632 wxPy_BEGIN_ALLOW_THREADS
;
7633 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7635 wxPy_END_ALLOW_THREADS
;
7637 _resultobj
= _result
;
7642 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7643 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
* _resultobj
;
7646 wxEvtHandler
* _arg1
;
7647 PyObject
* _argo0
= 0;
7648 PyObject
* _argo1
= 0;
7649 char *_kwnames
[] = { "self","handler", NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7669 wxPy_BEGIN_ALLOW_THREADS
;
7670 wxMenu_SetEventHandler(_arg0
,_arg1
);
7672 wxPy_END_ALLOW_THREADS
;
7673 } Py_INCREF(Py_None
);
7674 _resultobj
= Py_None
;
7678 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7679 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
* _resultobj
;
7681 wxEvtHandler
* _result
;
7683 PyObject
* _argo0
= 0;
7684 char *_kwnames
[] = { "self", NULL
};
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7697 wxPy_BEGIN_ALLOW_THREADS
;
7698 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7700 wxPy_END_ALLOW_THREADS
;
7701 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7705 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7706 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
* _resultobj
;
7710 PyObject
* _argo0
= 0;
7711 PyObject
* _argo1
= 0;
7712 char *_kwnames
[] = { "self","win", NULL
};
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7732 wxPy_BEGIN_ALLOW_THREADS
;
7733 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7735 wxPy_END_ALLOW_THREADS
;
7736 } Py_INCREF(Py_None
);
7737 _resultobj
= Py_None
;
7741 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7742 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
* _resultobj
;
7746 PyObject
* _argo0
= 0;
7747 char *_kwnames
[] = { "self", NULL
};
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7760 wxPy_BEGIN_ALLOW_THREADS
;
7761 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7763 wxPy_END_ALLOW_THREADS
;
7764 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7768 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7769 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
* _resultobj
;
7773 PyObject
* _argo0
= 0;
7774 char *_kwnames
[] = { "self", NULL
};
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7787 wxPy_BEGIN_ALLOW_THREADS
;
7788 _result
= (long )wxMenu_GetStyle(_arg0
);
7790 wxPy_END_ALLOW_THREADS
;
7791 } _resultobj
= Py_BuildValue("l",_result
);
7795 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7796 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
* _resultobj
;
7800 PyObject
* _argo0
= 0;
7801 char *_kwnames
[] = { "self", NULL
};
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7814 wxPy_BEGIN_ALLOW_THREADS
;
7815 _result
= (bool )wxMenu_IsAttached(_arg0
);
7817 wxPy_END_ALLOW_THREADS
;
7818 } _resultobj
= Py_BuildValue("i",_result
);
7822 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7823 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
* _resultobj
;
7827 PyObject
* _argo0
= 0;
7828 PyObject
* _argo1
= 0;
7829 char *_kwnames
[] = { "self","parent", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7849 wxPy_BEGIN_ALLOW_THREADS
;
7850 wxMenu_SetParent(_arg0
,_arg1
);
7852 wxPy_END_ALLOW_THREADS
;
7853 } Py_INCREF(Py_None
);
7854 _resultobj
= Py_None
;
7858 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7859 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
* _resultobj
;
7863 PyObject
* _argo0
= 0;
7864 char *_kwnames
[] = { "self", NULL
};
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7877 wxPy_BEGIN_ALLOW_THREADS
;
7878 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7880 wxPy_END_ALLOW_THREADS
;
7881 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7885 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7888 src
= (wxMenuBar
*) ptr
;
7889 dest
= (wxWindow
*) src
;
7890 return (void *) dest
;
7893 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7896 src
= (wxMenuBar
*) ptr
;
7897 dest
= (wxEvtHandler
*) src
;
7898 return (void *) dest
;
7901 static void *SwigwxMenuBarTowxObject(void *ptr
) {
7904 src
= (wxMenuBar
*) ptr
;
7905 dest
= (wxObject
*) src
;
7906 return (void *) dest
;
7909 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
7910 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
* _resultobj
;
7912 wxMenuBar
* _result
;
7913 long _arg0
= (long ) 0;
7914 char *_kwnames
[] = { "style", NULL
};
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
7921 wxPy_BEGIN_ALLOW_THREADS
;
7922 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
7924 wxPy_END_ALLOW_THREADS
;
7926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7927 _resultobj
= Py_BuildValue("s",_ptemp
);
7930 _resultobj
= Py_None
;
7935 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7936 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
* _resultobj
;
7942 PyObject
* _argo0
= 0;
7943 PyObject
* _argo1
= 0;
7944 PyObject
* _obj2
= 0;
7945 char *_kwnames
[] = { "self","menu","title", NULL
};
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7965 #if PYTHON_API_VERSION >= 1009
7966 char* tmpPtr
; int tmpSize
;
7967 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7968 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7971 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7973 _arg2
= new wxString(tmpPtr
, tmpSize
);
7975 if (!PyString_Check(_obj2
)) {
7976 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7979 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7983 wxPy_BEGIN_ALLOW_THREADS
;
7984 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7986 wxPy_END_ALLOW_THREADS
;
7987 } _resultobj
= Py_BuildValue("i",_result
);
7995 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7996 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
* _resultobj
;
8003 PyObject
* _argo0
= 0;
8004 PyObject
* _argo2
= 0;
8005 PyObject
* _obj3
= 0;
8006 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
8019 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8020 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8026 #if PYTHON_API_VERSION >= 1009
8027 char* tmpPtr
; int tmpSize
;
8028 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8029 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8032 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8034 _arg3
= new wxString(tmpPtr
, tmpSize
);
8036 if (!PyString_Check(_obj3
)) {
8037 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8040 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8044 wxPy_BEGIN_ALLOW_THREADS
;
8045 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
8047 wxPy_END_ALLOW_THREADS
;
8048 } _resultobj
= Py_BuildValue("i",_result
);
8056 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
8057 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
* _resultobj
;
8061 PyObject
* _argo0
= 0;
8062 char *_kwnames
[] = { "self", NULL
};
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
8068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8075 wxPy_BEGIN_ALLOW_THREADS
;
8076 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8078 wxPy_END_ALLOW_THREADS
;
8079 } _resultobj
= Py_BuildValue("i",_result
);
8083 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8084 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
* _resultobj
;
8089 PyObject
* _argo0
= 0;
8090 char *_kwnames
[] = { "self","pos", NULL
};
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8103 wxPy_BEGIN_ALLOW_THREADS
;
8104 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8106 wxPy_END_ALLOW_THREADS
;
8107 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8111 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8112 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
* _resultobj
;
8119 PyObject
* _argo0
= 0;
8120 PyObject
* _argo2
= 0;
8121 PyObject
* _obj3
= 0;
8122 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8135 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8136 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8142 #if PYTHON_API_VERSION >= 1009
8143 char* tmpPtr
; int tmpSize
;
8144 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8148 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8150 _arg3
= new wxString(tmpPtr
, tmpSize
);
8152 if (!PyString_Check(_obj3
)) {
8153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8156 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8160 wxPy_BEGIN_ALLOW_THREADS
;
8161 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8163 wxPy_END_ALLOW_THREADS
;
8164 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8172 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8173 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
* _resultobj
;
8178 PyObject
* _argo0
= 0;
8179 char *_kwnames
[] = { "self","pos", NULL
};
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8192 wxPy_BEGIN_ALLOW_THREADS
;
8193 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8195 wxPy_END_ALLOW_THREADS
;
8196 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8200 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8201 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
* _resultobj
;
8206 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self","pos","enable", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8220 _arg2
= (bool ) tempbool2
;
8222 wxPy_BEGIN_ALLOW_THREADS
;
8223 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8225 wxPy_END_ALLOW_THREADS
;
8226 } Py_INCREF(Py_None
);
8227 _resultobj
= Py_None
;
8231 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8232 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
* _resultobj
;
8237 PyObject
* _argo0
= 0;
8238 PyObject
* _obj2
= 0;
8239 char *_kwnames
[] = { "self","pos","label", NULL
};
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8252 #if PYTHON_API_VERSION >= 1009
8253 char* tmpPtr
; int tmpSize
;
8254 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8255 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8258 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8260 _arg2
= new wxString(tmpPtr
, tmpSize
);
8262 if (!PyString_Check(_obj2
)) {
8263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8266 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8270 wxPy_BEGIN_ALLOW_THREADS
;
8271 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8273 wxPy_END_ALLOW_THREADS
;
8274 } Py_INCREF(Py_None
);
8275 _resultobj
= Py_None
;
8283 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8284 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
* _resultobj
;
8289 PyObject
* _argo0
= 0;
8290 char *_kwnames
[] = { "self","pos", NULL
};
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8303 wxPy_BEGIN_ALLOW_THREADS
;
8304 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8306 wxPy_END_ALLOW_THREADS
;
8308 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8316 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8317 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
* _resultobj
;
8323 PyObject
* _argo0
= 0;
8324 PyObject
* _obj1
= 0;
8325 PyObject
* _obj2
= 0;
8326 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8339 #if PYTHON_API_VERSION >= 1009
8340 char* tmpPtr
; int tmpSize
;
8341 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8345 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8347 _arg1
= new wxString(tmpPtr
, tmpSize
);
8349 if (!PyString_Check(_obj1
)) {
8350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8353 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8357 #if PYTHON_API_VERSION >= 1009
8358 char* tmpPtr
; int tmpSize
;
8359 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8360 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8363 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8365 _arg2
= new wxString(tmpPtr
, tmpSize
);
8367 if (!PyString_Check(_obj2
)) {
8368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8371 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8375 wxPy_BEGIN_ALLOW_THREADS
;
8376 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8378 wxPy_END_ALLOW_THREADS
;
8379 } _resultobj
= Py_BuildValue("i",_result
);
8391 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8392 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
* _resultobj
;
8394 wxMenuItem
* _result
;
8397 PyObject
* _argo0
= 0;
8398 char *_kwnames
[] = { "self","id", NULL
};
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8411 wxPy_BEGIN_ALLOW_THREADS
;
8412 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8414 wxPy_END_ALLOW_THREADS
;
8415 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8419 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8420 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
* _resultobj
;
8425 PyObject
* _argo0
= 0;
8427 char *_kwnames
[] = { "self","id","enable", NULL
};
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8439 _arg2
= (bool ) tempbool2
;
8441 wxPy_BEGIN_ALLOW_THREADS
;
8442 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8444 wxPy_END_ALLOW_THREADS
;
8445 } Py_INCREF(Py_None
);
8446 _resultobj
= Py_None
;
8450 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8451 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
* _resultobj
;
8456 PyObject
* _argo0
= 0;
8458 char *_kwnames
[] = { "self","id","check", NULL
};
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8470 _arg2
= (bool ) tempbool2
;
8472 wxPy_BEGIN_ALLOW_THREADS
;
8473 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8475 wxPy_END_ALLOW_THREADS
;
8476 } Py_INCREF(Py_None
);
8477 _resultobj
= Py_None
;
8481 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8482 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
* _resultobj
;
8487 PyObject
* _argo0
= 0;
8488 char *_kwnames
[] = { "self","id", NULL
};
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8501 wxPy_BEGIN_ALLOW_THREADS
;
8502 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8504 wxPy_END_ALLOW_THREADS
;
8505 } _resultobj
= Py_BuildValue("i",_result
);
8509 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8510 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
* _resultobj
;
8515 PyObject
* _argo0
= 0;
8516 char *_kwnames
[] = { "self","id", NULL
};
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8529 wxPy_BEGIN_ALLOW_THREADS
;
8530 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8532 wxPy_END_ALLOW_THREADS
;
8533 } _resultobj
= Py_BuildValue("i",_result
);
8537 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8538 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
* _resultobj
;
8543 PyObject
* _argo0
= 0;
8544 PyObject
* _obj2
= 0;
8545 char *_kwnames
[] = { "self","id","label", NULL
};
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8558 #if PYTHON_API_VERSION >= 1009
8559 char* tmpPtr
; int tmpSize
;
8560 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8564 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8566 _arg2
= new wxString(tmpPtr
, tmpSize
);
8568 if (!PyString_Check(_obj2
)) {
8569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8572 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8576 wxPy_BEGIN_ALLOW_THREADS
;
8577 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8579 wxPy_END_ALLOW_THREADS
;
8580 } Py_INCREF(Py_None
);
8581 _resultobj
= Py_None
;
8589 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8590 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
* _resultobj
;
8595 PyObject
* _argo0
= 0;
8596 char *_kwnames
[] = { "self","id", NULL
};
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8609 wxPy_BEGIN_ALLOW_THREADS
;
8610 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8612 wxPy_END_ALLOW_THREADS
;
8614 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8622 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8623 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
* _resultobj
;
8628 PyObject
* _argo0
= 0;
8629 PyObject
* _obj2
= 0;
8630 char *_kwnames
[] = { "self","id","helpString", NULL
};
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8643 #if PYTHON_API_VERSION >= 1009
8644 char* tmpPtr
; int tmpSize
;
8645 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8649 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8651 _arg2
= new wxString(tmpPtr
, tmpSize
);
8653 if (!PyString_Check(_obj2
)) {
8654 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8657 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8661 wxPy_BEGIN_ALLOW_THREADS
;
8662 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8664 wxPy_END_ALLOW_THREADS
;
8665 } Py_INCREF(Py_None
);
8666 _resultobj
= Py_None
;
8674 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8675 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
* _resultobj
;
8680 PyObject
* _argo0
= 0;
8681 char *_kwnames
[] = { "self","id", NULL
};
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8694 wxPy_BEGIN_ALLOW_THREADS
;
8695 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8697 wxPy_END_ALLOW_THREADS
;
8699 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8707 static void *SwigwxMenuItemTowxObject(void *ptr
) {
8710 src
= (wxMenuItem
*) ptr
;
8711 dest
= (wxObject
*) src
;
8712 return (void *) dest
;
8715 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8716 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
* _resultobj
;
8718 wxMenuItem
* _result
;
8719 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8720 int _arg1
= (int ) wxID_SEPARATOR
;
8721 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8722 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8723 bool _arg4
= (bool ) FALSE
;
8724 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8725 PyObject
* _argo0
= 0;
8726 PyObject
* _obj2
= 0;
8727 PyObject
* _obj3
= 0;
8728 int tempbool4
= (int) FALSE
;
8729 PyObject
* _argo5
= 0;
8730 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8745 #if PYTHON_API_VERSION >= 1009
8746 char* tmpPtr
; int tmpSize
;
8747 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8751 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8753 _arg2
= new wxString(tmpPtr
, tmpSize
);
8755 if (!PyString_Check(_obj2
)) {
8756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8759 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8764 #if PYTHON_API_VERSION >= 1009
8765 char* tmpPtr
; int tmpSize
;
8766 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8767 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8770 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8772 _arg3
= new wxString(tmpPtr
, tmpSize
);
8774 if (!PyString_Check(_obj3
)) {
8775 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8778 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8781 _arg4
= (bool ) tempbool4
;
8783 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8784 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8790 wxPy_BEGIN_ALLOW_THREADS
;
8791 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8793 wxPy_END_ALLOW_THREADS
;
8795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8796 _resultobj
= Py_BuildValue("s",_ptemp
);
8799 _resultobj
= Py_None
;
8812 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8813 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
* _resultobj
;
8817 PyObject
* _argo0
= 0;
8818 char *_kwnames
[] = { "self", NULL
};
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8831 wxPy_BEGIN_ALLOW_THREADS
;
8832 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8834 wxPy_END_ALLOW_THREADS
;
8835 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8839 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8840 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
* _resultobj
;
8844 PyObject
* _argo0
= 0;
8845 char *_kwnames
[] = { "self","id", NULL
};
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8858 wxPy_BEGIN_ALLOW_THREADS
;
8859 wxMenuItem_SetId(_arg0
,_arg1
);
8861 wxPy_END_ALLOW_THREADS
;
8862 } Py_INCREF(Py_None
);
8863 _resultobj
= Py_None
;
8867 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8868 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
* _resultobj
;
8872 PyObject
* _argo0
= 0;
8873 char *_kwnames
[] = { "self", NULL
};
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8886 wxPy_BEGIN_ALLOW_THREADS
;
8887 _result
= (int )wxMenuItem_GetId(_arg0
);
8889 wxPy_END_ALLOW_THREADS
;
8890 } _resultobj
= Py_BuildValue("i",_result
);
8894 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8895 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
* _resultobj
;
8899 PyObject
* _argo0
= 0;
8900 char *_kwnames
[] = { "self", NULL
};
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8913 wxPy_BEGIN_ALLOW_THREADS
;
8914 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8916 wxPy_END_ALLOW_THREADS
;
8917 } _resultobj
= Py_BuildValue("i",_result
);
8921 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8922 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
* _resultobj
;
8926 PyObject
* _argo0
= 0;
8927 PyObject
* _obj1
= 0;
8928 char *_kwnames
[] = { "self","str", NULL
};
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8941 #if PYTHON_API_VERSION >= 1009
8942 char* tmpPtr
; int tmpSize
;
8943 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8944 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8947 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8949 _arg1
= new wxString(tmpPtr
, tmpSize
);
8951 if (!PyString_Check(_obj1
)) {
8952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8955 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8959 wxPy_BEGIN_ALLOW_THREADS
;
8960 wxMenuItem_SetText(_arg0
,*_arg1
);
8962 wxPy_END_ALLOW_THREADS
;
8963 } Py_INCREF(Py_None
);
8964 _resultobj
= Py_None
;
8972 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8973 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
* _resultobj
;
8977 PyObject
* _argo0
= 0;
8978 char *_kwnames
[] = { "self", NULL
};
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8991 wxPy_BEGIN_ALLOW_THREADS
;
8992 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8994 wxPy_END_ALLOW_THREADS
;
8996 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9004 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
9005 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
* _resultobj
;
9009 PyObject
* _argo0
= 0;
9010 char *_kwnames
[] = { "self", NULL
};
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
9016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
9023 wxPy_BEGIN_ALLOW_THREADS
;
9024 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
9025 _result
= (wxString
*) &_result_ref
;
9027 wxPy_END_ALLOW_THREADS
;
9029 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9034 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
9035 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
* _resultobj
;
9039 PyObject
* _argo0
= 0;
9041 char *_kwnames
[] = { "self","checkable", NULL
};
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
9047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
9053 _arg1
= (bool ) tempbool1
;
9055 wxPy_BEGIN_ALLOW_THREADS
;
9056 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9058 wxPy_END_ALLOW_THREADS
;
9059 } Py_INCREF(Py_None
);
9060 _resultobj
= Py_None
;
9064 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9065 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
* _resultobj
;
9069 PyObject
* _argo0
= 0;
9070 char *_kwnames
[] = { "self", NULL
};
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
9076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9083 wxPy_BEGIN_ALLOW_THREADS
;
9084 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9086 wxPy_END_ALLOW_THREADS
;
9087 } _resultobj
= Py_BuildValue("i",_result
);
9091 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9092 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
* _resultobj
;
9096 PyObject
* _argo0
= 0;
9097 char *_kwnames
[] = { "self", NULL
};
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9110 wxPy_BEGIN_ALLOW_THREADS
;
9111 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9113 wxPy_END_ALLOW_THREADS
;
9114 } _resultobj
= Py_BuildValue("i",_result
);
9118 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9119 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
* _resultobj
;
9123 PyObject
* _argo0
= 0;
9124 PyObject
* _argo1
= 0;
9125 char *_kwnames
[] = { "self","menu", NULL
};
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9145 wxPy_BEGIN_ALLOW_THREADS
;
9146 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9148 wxPy_END_ALLOW_THREADS
;
9149 } Py_INCREF(Py_None
);
9150 _resultobj
= Py_None
;
9154 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9155 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
* _resultobj
;
9159 PyObject
* _argo0
= 0;
9160 char *_kwnames
[] = { "self", NULL
};
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9173 wxPy_BEGIN_ALLOW_THREADS
;
9174 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9176 wxPy_END_ALLOW_THREADS
;
9177 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9181 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9182 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
* _resultobj
;
9185 bool _arg1
= (bool ) TRUE
;
9186 PyObject
* _argo0
= 0;
9187 int tempbool1
= (int) TRUE
;
9188 char *_kwnames
[] = { "self","enable", NULL
};
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9200 _arg1
= (bool ) tempbool1
;
9202 wxPy_BEGIN_ALLOW_THREADS
;
9203 wxMenuItem_Enable(_arg0
,_arg1
);
9205 wxPy_END_ALLOW_THREADS
;
9206 } Py_INCREF(Py_None
);
9207 _resultobj
= Py_None
;
9211 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9212 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
* _resultobj
;
9216 PyObject
* _argo0
= 0;
9217 char *_kwnames
[] = { "self", NULL
};
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9230 wxPy_BEGIN_ALLOW_THREADS
;
9231 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9233 wxPy_END_ALLOW_THREADS
;
9234 } _resultobj
= Py_BuildValue("i",_result
);
9238 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9239 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
* _resultobj
;
9242 bool _arg1
= (bool ) TRUE
;
9243 PyObject
* _argo0
= 0;
9244 int tempbool1
= (int) TRUE
;
9245 char *_kwnames
[] = { "self","check", NULL
};
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9257 _arg1
= (bool ) tempbool1
;
9259 wxPy_BEGIN_ALLOW_THREADS
;
9260 wxMenuItem_Check(_arg0
,_arg1
);
9262 wxPy_END_ALLOW_THREADS
;
9263 } Py_INCREF(Py_None
);
9264 _resultobj
= Py_None
;
9268 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9269 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
* _resultobj
;
9273 PyObject
* _argo0
= 0;
9274 char *_kwnames
[] = { "self", NULL
};
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9287 wxPy_BEGIN_ALLOW_THREADS
;
9288 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9290 wxPy_END_ALLOW_THREADS
;
9291 } _resultobj
= Py_BuildValue("i",_result
);
9295 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9296 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
* _resultobj
;
9299 PyObject
* _argo0
= 0;
9300 char *_kwnames
[] = { "self", NULL
};
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9313 wxPy_BEGIN_ALLOW_THREADS
;
9314 wxMenuItem_Toggle(_arg0
);
9316 wxPy_END_ALLOW_THREADS
;
9317 } Py_INCREF(Py_None
);
9318 _resultobj
= Py_None
;
9322 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9323 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
* _resultobj
;
9327 PyObject
* _argo0
= 0;
9328 PyObject
* _obj1
= 0;
9329 char *_kwnames
[] = { "self","str", NULL
};
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9342 #if PYTHON_API_VERSION >= 1009
9343 char* tmpPtr
; int tmpSize
;
9344 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9345 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9348 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9350 _arg1
= new wxString(tmpPtr
, tmpSize
);
9352 if (!PyString_Check(_obj1
)) {
9353 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9356 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9360 wxPy_BEGIN_ALLOW_THREADS
;
9361 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9363 wxPy_END_ALLOW_THREADS
;
9364 } Py_INCREF(Py_None
);
9365 _resultobj
= Py_None
;
9373 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9374 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
* _resultobj
;
9378 PyObject
* _argo0
= 0;
9379 char *_kwnames
[] = { "self", NULL
};
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9392 wxPy_BEGIN_ALLOW_THREADS
;
9393 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9394 _result
= (wxString
*) &_result_ref
;
9396 wxPy_END_ALLOW_THREADS
;
9398 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9403 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9404 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
* _resultobj
;
9406 wxAcceleratorEntry
* _result
;
9408 PyObject
* _argo0
= 0;
9409 char *_kwnames
[] = { "self", NULL
};
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_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_GetAccel. Expected _wxMenuItem_p.");
9423 wxPy_BEGIN_ALLOW_THREADS
;
9424 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9426 wxPy_END_ALLOW_THREADS
;
9428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9429 _resultobj
= Py_BuildValue("s",_ptemp
);
9432 _resultobj
= Py_None
;
9437 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9438 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
* _resultobj
;
9441 wxAcceleratorEntry
* _arg1
;
9442 PyObject
* _argo0
= 0;
9443 PyObject
* _argo1
= 0;
9444 char *_kwnames
[] = { "self","accel", NULL
};
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
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_SetAccel. Expected _wxMenuItem_p.");
9457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9464 wxPy_BEGIN_ALLOW_THREADS
;
9465 wxMenuItem_SetAccel(_arg0
,_arg1
);
9467 wxPy_END_ALLOW_THREADS
;
9468 } Py_INCREF(Py_None
);
9469 _resultobj
= Py_None
;
9473 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
* _resultobj
;
9477 PyObject
* _obj0
= 0;
9478 char *_kwnames
[] = { "text", NULL
};
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
9484 #if PYTHON_API_VERSION >= 1009
9485 char* tmpPtr
; int tmpSize
;
9486 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9490 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9492 _arg0
= new wxString(tmpPtr
, tmpSize
);
9494 if (!PyString_Check(_obj0
)) {
9495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9498 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9502 wxPy_BEGIN_ALLOW_THREADS
;
9503 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
9505 wxPy_END_ALLOW_THREADS
;
9507 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9519 static PyMethodDef windowscMethods
[] = {
9520 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
9521 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9522 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9523 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9524 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9525 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9526 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9527 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9528 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9529 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9530 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9531 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9532 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9533 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9534 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9535 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9536 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9537 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9538 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9539 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9540 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9541 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9542 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9543 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9544 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9545 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9546 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9547 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9548 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9549 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9550 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9551 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9552 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9553 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9554 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9555 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9556 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9557 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9558 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9559 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9560 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9561 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9562 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9563 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9564 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9565 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9566 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9567 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9568 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9569 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9570 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9571 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9572 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9573 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9574 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9575 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9576 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9577 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9578 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9579 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9580 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9581 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9582 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9583 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9584 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9585 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9586 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9587 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9588 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9589 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9590 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9591 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9592 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9593 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9594 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9595 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9596 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9597 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9598 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9599 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9600 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9708 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9709 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9710 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9725 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9726 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9727 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9728 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9729 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9730 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9731 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9732 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9733 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9734 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9735 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9736 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9737 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9738 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9739 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9740 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9741 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9742 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9743 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9744 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9745 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9746 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9747 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9748 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9749 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9750 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9751 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9752 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9753 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9754 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9755 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9756 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9757 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9758 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9759 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9760 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9761 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9762 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9763 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9764 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9765 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9766 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9767 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9768 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9769 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9770 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9771 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9772 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9773 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9792 * This table is used by the pointer type-checker
9794 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9795 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9796 { "_signed_long","_long",0},
9797 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9798 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9799 { "_wxPrintQuality","_wxCoord",0},
9800 { "_wxPrintQuality","_int",0},
9801 { "_wxPrintQuality","_signed_int",0},
9802 { "_wxPrintQuality","_unsigned_int",0},
9803 { "_wxPrintQuality","_wxWindowID",0},
9804 { "_wxPrintQuality","_uint",0},
9805 { "_wxPrintQuality","_EBool",0},
9806 { "_wxPrintQuality","_size_t",0},
9807 { "_wxPrintQuality","_time_t",0},
9808 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9809 { "_class_wxRegionIterator","_wxRegionIterator",0},
9810 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9811 { "_class_wxMenuBar","_wxMenuBar",0},
9812 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9813 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9814 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9815 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9816 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9817 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9818 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9819 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9820 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9821 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9822 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9823 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9824 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9825 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9826 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9827 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9828 { "_class_wxEvtHandler","_wxEvtHandler",0},
9829 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9830 { "_wxCursor","_class_wxCursor",0},
9831 { "_wxMask","_class_wxMask",0},
9832 { "_wxPen","_class_wxPen",0},
9833 { "_byte","_unsigned_char",0},
9834 { "_wxDataObject","_class_wxDataObject",0},
9835 { "_wxColourDatabase","_class_wxColourDatabase",0},
9836 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9837 { "_wxPyDropSource","_class_wxPyDropSource",0},
9838 { "_long","_unsigned_long",0},
9839 { "_long","_signed_long",0},
9840 { "_wxImageList","_class_wxImageList",0},
9841 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9842 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9843 { "_class_wxClipboard","_wxClipboard",0},
9844 { "_wxGDIObject","_class_wxGDIObject",0},
9845 { "_wxDC","_class_wxDC",0},
9846 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9847 { "_class_wxObject","_class_wxMenuItem",SwigwxMenuItemTowxObject
},
9848 { "_class_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
9849 { "_class_wxObject","_class_wxMenuBar",SwigwxMenuBarTowxObject
},
9850 { "_class_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
9851 { "_class_wxObject","_class_wxMenu",SwigwxMenuTowxObject
},
9852 { "_class_wxObject","_wxMenu",SwigwxMenuTowxObject
},
9853 { "_class_wxObject","_class_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
9854 { "_class_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
9855 { "_class_wxObject","_class_wxDialog",SwigwxDialogTowxObject
},
9856 { "_class_wxObject","_wxDialog",SwigwxDialogTowxObject
},
9857 { "_class_wxObject","_class_wxPanel",SwigwxPanelTowxObject
},
9858 { "_class_wxObject","_wxPanel",SwigwxPanelTowxObject
},
9859 { "_class_wxObject","_class_wxWindow",SwigwxWindowTowxObject
},
9860 { "_class_wxObject","_wxWindow",SwigwxWindowTowxObject
},
9861 { "_class_wxObject","_class_wxPyValidator",SwigwxPyValidatorTowxObject
},
9862 { "_class_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
9863 { "_class_wxObject","_class_wxValidator",SwigwxValidatorTowxObject
},
9864 { "_class_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
9865 { "_class_wxObject","_class_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
9866 { "_class_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
9867 { "_class_wxObject","_wxObject",0},
9868 { "_size_t","_wxCoord",0},
9869 { "_size_t","_wxPrintQuality",0},
9870 { "_size_t","_time_t",0},
9871 { "_size_t","_unsigned_int",0},
9872 { "_size_t","_int",0},
9873 { "_size_t","_wxWindowID",0},
9874 { "_size_t","_uint",0},
9875 { "_class_wxRealPoint","_wxRealPoint",0},
9876 { "_class_wxMenuItem","_wxMenuItem",0},
9877 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9878 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9879 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9880 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9881 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9882 { "_wxPanel","_class_wxPanel",0},
9883 { "_class_wxMask","_wxMask",0},
9884 { "_wxTextDataObject","_class_wxTextDataObject",0},
9885 { "_wxColour","_class_wxColour",0},
9886 { "_class_wxDialog","_wxDialog",0},
9887 { "_class_wxFileDataObject","_wxFileDataObject",0},
9888 { "_class_wxDataObject","_wxDataObject",0},
9889 { "_wxBrush","_class_wxBrush",0},
9890 { "_wxDataFormat","_class_wxDataFormat",0},
9891 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9892 { "_uint","_wxCoord",0},
9893 { "_uint","_wxPrintQuality",0},
9894 { "_uint","_time_t",0},
9895 { "_uint","_size_t",0},
9896 { "_uint","_unsigned_int",0},
9897 { "_uint","_int",0},
9898 { "_uint","_wxWindowID",0},
9899 { "_wxChar","_char",0},
9900 { "_wxPyValidator","_class_wxPyValidator",0},
9901 { "_wxRect","_class_wxRect",0},
9902 { "_wxPoint","_class_wxPoint",0},
9903 { "_char","_wxChar",0},
9904 { "_wxBitmap","_class_wxBitmap",0},
9905 { "_wxPenList","_class_wxPenList",0},
9906 { "_wxWindowDC","_class_wxWindowDC",0},
9907 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9908 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9909 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9910 { "_class_wxValidator","_wxValidator",0},
9911 { "_wxDropTarget","_class_wxDropTarget",0},
9912 { "_class_wxColourDatabase","_wxColourDatabase",0},
9913 { "_EBool","_wxCoord",0},
9914 { "_EBool","_wxPrintQuality",0},
9915 { "_EBool","_signed_int",0},
9916 { "_EBool","_int",0},
9917 { "_EBool","_wxWindowID",0},
9918 { "_class_wxRegion","_wxRegion",0},
9919 { "_class_wxDataFormat","_wxDataFormat",0},
9920 { "_wxFont","_class_wxFont",0},
9921 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9922 { "_unsigned_long","_long",0},
9923 { "_class_wxRect","_wxRect",0},
9924 { "_class_wxDC","_wxDC",0},
9925 { "_class_wxBrushList","_wxBrushList",0},
9926 { "_class_wxPenList","_wxPenList",0},
9927 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9928 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9929 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9930 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9931 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9932 { "_class_wxPanel","_wxPanel",0},
9933 { "_signed_int","_wxCoord",0},
9934 { "_signed_int","_wxPrintQuality",0},
9935 { "_signed_int","_EBool",0},
9936 { "_signed_int","_wxWindowID",0},
9937 { "_signed_int","_int",0},
9938 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9939 { "_class_wxTextDataObject","_wxTextDataObject",0},
9940 { "_wxMenu","_class_wxMenu",0},
9941 { "_wxScreenDC","_class_wxScreenDC",0},
9942 { "_WXTYPE","_short",0},
9943 { "_WXTYPE","_signed_short",0},
9944 { "_WXTYPE","_unsigned_short",0},
9945 { "_class_wxDropTarget","_wxDropTarget",0},
9946 { "_class_wxBrush","_wxBrush",0},
9947 { "_unsigned_short","_WXTYPE",0},
9948 { "_unsigned_short","_short",0},
9949 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9950 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9951 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9952 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9953 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9954 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9955 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9956 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9957 { "_class_wxWindow","_wxWindow",0},
9958 { "_class_wxFont","_wxFont",0},
9959 { "_wxClipboard","_class_wxClipboard",0},
9960 { "_class_wxPyValidator","_wxPyValidator",0},
9961 { "_wxBusyInfo","_class_wxBusyInfo",0},
9962 { "_wxFontList","_class_wxFontList",0},
9963 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9964 { "_wxClientDC","_class_wxClientDC",0},
9965 { "_wxObject","_class_wxMenuItem",SwigwxMenuItemTowxObject
},
9966 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
9967 { "_wxObject","_class_wxMenuBar",SwigwxMenuBarTowxObject
},
9968 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
9969 { "_wxObject","_class_wxMenu",SwigwxMenuTowxObject
},
9970 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
9971 { "_wxObject","_class_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
9972 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
9973 { "_wxObject","_class_wxDialog",SwigwxDialogTowxObject
},
9974 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
9975 { "_wxObject","_class_wxPanel",SwigwxPanelTowxObject
},
9976 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
9977 { "_wxObject","_class_wxWindow",SwigwxWindowTowxObject
},
9978 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
9979 { "_wxObject","_class_wxPyValidator",SwigwxPyValidatorTowxObject
},
9980 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
9981 { "_wxObject","_class_wxValidator",SwigwxValidatorTowxObject
},
9982 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
9983 { "_wxObject","_class_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
9984 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
9985 { "_wxObject","_class_wxObject",0},
9986 { "_class_wxPoint","_wxPoint",0},
9987 { "_wxRealPoint","_class_wxRealPoint",0},
9988 { "_signed_short","_WXTYPE",0},
9989 { "_signed_short","_short",0},
9990 { "_wxMemoryDC","_class_wxMemoryDC",0},
9991 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9992 { "_wxPaintDC","_class_wxPaintDC",0},
9993 { "_class_wxWindowDC","_wxWindowDC",0},
9994 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9995 { "_class_wxCursor","_wxCursor",0},
9996 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9997 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9998 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9999 { "_unsigned_char","_byte",0},
10000 { "_class_wxMenu","_wxMenu",0},
10001 { "_unsigned_int","_wxCoord",0},
10002 { "_unsigned_int","_wxPrintQuality",0},
10003 { "_unsigned_int","_time_t",0},
10004 { "_unsigned_int","_size_t",0},
10005 { "_unsigned_int","_uint",0},
10006 { "_unsigned_int","_wxWindowID",0},
10007 { "_unsigned_int","_int",0},
10008 { "_wxIcon","_class_wxIcon",0},
10009 { "_wxDialog","_class_wxDialog",0},
10010 { "_class_wxPen","_wxPen",0},
10011 { "_short","_WXTYPE",0},
10012 { "_short","_unsigned_short",0},
10013 { "_short","_signed_short",0},
10014 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
10015 { "_class_wxPyDropSource","_wxPyDropSource",0},
10016 { "_class_wxImageList","_wxImageList",0},
10017 { "_wxWindowID","_wxCoord",0},
10018 { "_wxWindowID","_wxPrintQuality",0},
10019 { "_wxWindowID","_time_t",0},
10020 { "_wxWindowID","_size_t",0},
10021 { "_wxWindowID","_EBool",0},
10022 { "_wxWindowID","_uint",0},
10023 { "_wxWindowID","_int",0},
10024 { "_wxWindowID","_signed_int",0},
10025 { "_wxWindowID","_unsigned_int",0},
10026 { "_class_wxGDIObject","_wxGDIObject",0},
10027 { "_int","_wxCoord",0},
10028 { "_int","_wxPrintQuality",0},
10029 { "_int","_time_t",0},
10030 { "_int","_size_t",0},
10031 { "_int","_EBool",0},
10032 { "_int","_uint",0},
10033 { "_int","_wxWindowID",0},
10034 { "_int","_unsigned_int",0},
10035 { "_int","_signed_int",0},
10036 { "_time_t","_wxCoord",0},
10037 { "_time_t","_wxPrintQuality",0},
10038 { "_time_t","_unsigned_int",0},
10039 { "_time_t","_int",0},
10040 { "_time_t","_wxWindowID",0},
10041 { "_time_t","_uint",0},
10042 { "_time_t","_size_t",0},
10043 { "_wxSize","_class_wxSize",0},
10044 { "_wxRegionIterator","_class_wxRegionIterator",0},
10045 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
10046 { "_class_wxPaintDC","_wxPaintDC",0},
10047 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
10048 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10049 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10050 { "_wxValidator","_class_wxValidator",0},
10051 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
10052 { "_class_wxIcon","_wxIcon",0},
10053 { "_class_wxColour","_wxColour",0},
10054 { "_class_wxScreenDC","_wxScreenDC",0},
10055 { "_wxPalette","_class_wxPalette",0},
10056 { "_wxCoord","_int",0},
10057 { "_wxCoord","_signed_int",0},
10058 { "_wxCoord","_unsigned_int",0},
10059 { "_wxCoord","_wxWindowID",0},
10060 { "_wxCoord","_uint",0},
10061 { "_wxCoord","_EBool",0},
10062 { "_wxCoord","_size_t",0},
10063 { "_wxCoord","_time_t",0},
10064 { "_wxCoord","_wxPrintQuality",0},
10065 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
10066 { "_wxRegion","_class_wxRegion",0},
10067 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
10068 { "_class_wxBusyInfo","_wxBusyInfo",0},
10069 { "_class_wxFontList","_wxFontList",0},
10070 { "_class_wxClientDC","_wxClientDC",0},
10071 { "_wxBrushList","_class_wxBrushList",0},
10072 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
10073 { "_class_wxSize","_wxSize",0},
10074 { "_class_wxBitmap","_wxBitmap",0},
10075 { "_class_wxMemoryDC","_wxMemoryDC",0},
10076 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
10077 { "_wxMenuBar","_class_wxMenuBar",0},
10078 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10079 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10080 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10081 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10082 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10083 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10084 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
10085 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
10086 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10087 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10088 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10089 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10090 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10091 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10092 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10093 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10094 { "_wxEvtHandler","_class_wxEvtHandler",0},
10095 { "_wxMenuItem","_class_wxMenuItem",0},
10096 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
10097 { "_class_wxPalette","_wxPalette",0},
10098 { "_wxFileDataObject","_class_wxFileDataObject",0},
10099 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
10100 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10101 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10102 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10103 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10104 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10105 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10106 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10107 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10108 { "_wxWindow","_class_wxWindow",0},
10111 static PyObject
*SWIG_globals
;
10115 SWIGEXPORT(void) initwindowsc() {
10117 SWIG_globals
= SWIG_newvarlink();
10118 m
= Py_InitModule("windowsc", windowscMethods
);
10119 d
= PyModule_GetDict(m
);
10122 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10123 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);