2 * FILE : msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 wxWindow
* wxWindow_FindFocus() {
120 return wxWindow::FindFocus();
123 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
124 wxWindow
* win
= new wxWindow
;
126 win
->SubclassWin(hWnd
);
132 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
) {
133 PyObject
* _resultobj
;
138 if(!PyArg_ParseTuple(args
,":wxWindow_FindFocus"))
141 wxPy_BEGIN_ALLOW_THREADS
;
142 _result
= (wxWindow
*)wxWindow_FindFocus();
144 wxPy_END_ALLOW_THREADS
;
146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
150 _resultobj
= Py_None
;
155 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
) {
156 PyObject
* _resultobj
;
162 if(!PyArg_ParseTuple(args
,"l:wxWindow_FromHWND",&_arg0
))
165 wxPy_BEGIN_ALLOW_THREADS
;
166 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
168 wxPy_END_ALLOW_THREADS
;
170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
171 _resultobj
= Py_BuildValue("s",_ptemp
);
174 _resultobj
= Py_None
;
179 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
180 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
) {
181 PyObject
* _resultobj
;
183 wxEvtHandler
* _arg0
;
185 PyObject
* _argo0
= 0;
186 PyObject
* _argo1
= 0;
189 if(!PyArg_ParseTuple(args
,"OO:wxEvtHandler_ProcessEvent",&_argo0
,&_argo1
))
192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
206 wxPy_BEGIN_ALLOW_THREADS
;
207 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
209 wxPy_END_ALLOW_THREADS
;
210 } _resultobj
= Py_BuildValue("i",_result
);
214 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
215 if (PyCallable_Check(func
)) {
216 self
->Connect(id
, lastId
, eventType
,
217 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
218 new wxPyCallback(func
));
221 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
222 PyObject
* _resultobj
;
223 wxEvtHandler
* _arg0
;
228 PyObject
* _argo0
= 0;
229 PyObject
* _obj4
= 0;
232 if(!PyArg_ParseTuple(args
,"OiiiO:wxEvtHandler_Connect",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
245 wxPy_BEGIN_ALLOW_THREADS
;
246 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
248 wxPy_END_ALLOW_THREADS
;
249 } Py_INCREF(Py_None
);
250 _resultobj
= Py_None
;
254 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
257 src
= (wxWindow
*) ptr
;
258 dest
= (wxEvtHandler
*) src
;
259 return (void *) dest
;
262 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
263 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
264 PyObject
* _resultobj
;
268 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
269 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
270 long _arg4
= (long ) 0;
271 char * _arg5
= (char *) "panel";
272 PyObject
* _argo0
= 0;
273 PyObject
* _argo2
= 0;
274 PyObject
* _argo3
= 0;
278 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxWindow",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
288 if (_argo2
== Py_None
) { _arg2
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
295 if (_argo3
== Py_None
) { _arg3
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
302 wxPy_BEGIN_ALLOW_THREADS
;
303 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
305 wxPy_END_ALLOW_THREADS
;
307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
308 _resultobj
= Py_BuildValue("s",_ptemp
);
311 _resultobj
= Py_None
;
316 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
317 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
318 PyObject
* _resultobj
;
320 PyObject
* _argo0
= 0;
323 if(!PyArg_ParseTuple(args
,"O:wxWindow_CaptureMouse",&_argo0
))
326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
333 wxPy_BEGIN_ALLOW_THREADS
;
334 wxWindow_CaptureMouse(_arg0
);
336 wxPy_END_ALLOW_THREADS
;
337 } Py_INCREF(Py_None
);
338 _resultobj
= Py_None
;
342 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
343 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
344 PyObject
* _resultobj
;
346 int _arg1
= (int ) wxBOTH
;
347 PyObject
* _argo0
= 0;
350 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_Center",&_argo0
,&_arg1
))
353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
360 wxPy_BEGIN_ALLOW_THREADS
;
361 wxWindow_Center(_arg0
,_arg1
);
363 wxPy_END_ALLOW_THREADS
;
364 } Py_INCREF(Py_None
);
365 _resultobj
= Py_None
;
369 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
370 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
371 PyObject
* _resultobj
;
373 int _arg1
= (int ) wxBOTH
;
374 PyObject
* _argo0
= 0;
377 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_Centre",&_argo0
,&_arg1
))
380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
387 wxPy_BEGIN_ALLOW_THREADS
;
388 wxWindow_Centre(_arg0
,_arg1
);
390 wxPy_END_ALLOW_THREADS
;
391 } Py_INCREF(Py_None
);
392 _resultobj
= Py_None
;
396 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
397 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
) {
398 PyObject
* _resultobj
;
400 int _arg1
= (int ) wxBOTH
;
401 PyObject
* _argo0
= 0;
404 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_CentreOnParent",&_argo0
,&_arg1
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
414 wxPy_BEGIN_ALLOW_THREADS
;
415 wxWindow_CentreOnParent(_arg0
,_arg1
);
417 wxPy_END_ALLOW_THREADS
;
418 } Py_INCREF(Py_None
);
419 _resultobj
= Py_None
;
423 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
424 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
) {
425 PyObject
* _resultobj
;
427 int _arg1
= (int ) wxBOTH
;
428 PyObject
* _argo0
= 0;
431 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_CenterOnParent",&_argo0
,&_arg1
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
441 wxPy_BEGIN_ALLOW_THREADS
;
442 wxWindow_CenterOnParent(_arg0
,_arg1
);
444 wxPy_END_ALLOW_THREADS
;
445 } Py_INCREF(Py_None
);
446 _resultobj
= Py_None
;
450 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
451 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
) {
452 PyObject
* _resultobj
;
456 PyObject
* _argo0
= 0;
458 PyObject
* _obj1
= 0;
460 PyObject
* _obj2
= 0;
463 if(!PyArg_ParseTuple(args
,"OOO:wxWindow_ClientToScreenXY",&_argo0
,&_obj1
,&_obj2
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
473 temp
= (int) PyInt_AsLong(_obj1
);
477 temp0
= (int) PyInt_AsLong(_obj2
);
481 wxPy_BEGIN_ALLOW_THREADS
;
482 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
484 wxPy_END_ALLOW_THREADS
;
485 } Py_INCREF(Py_None
);
486 _resultobj
= Py_None
;
489 o
= PyInt_FromLong((long) (*_arg1
));
490 _resultobj
= t_output_helper(_resultobj
, o
);
494 o
= PyInt_FromLong((long) (*_arg2
));
495 _resultobj
= t_output_helper(_resultobj
, o
);
500 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
501 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
502 PyObject
* _resultobj
;
506 PyObject
* _argo0
= 0;
507 PyObject
* _argo1
= 0;
511 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ClientToScreen",&_argo0
,&_argo1
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
528 wxPy_BEGIN_ALLOW_THREADS
;
529 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
531 wxPy_END_ALLOW_THREADS
;
532 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
533 _resultobj
= Py_BuildValue("s",_ptemp
);
537 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
538 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
539 PyObject
* _resultobj
;
542 int _arg1
= (int ) FALSE
;
543 PyObject
* _argo0
= 0;
546 if(!PyArg_ParseTuple(args
,"O|i:wxWindow_Close",&_argo0
,&_arg1
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
556 wxPy_BEGIN_ALLOW_THREADS
;
557 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
559 wxPy_END_ALLOW_THREADS
;
560 } _resultobj
= Py_BuildValue("i",_result
);
564 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
565 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
566 PyObject
* _resultobj
;
569 PyObject
* _argo0
= 0;
572 if(!PyArg_ParseTuple(args
,"O:wxWindow_Destroy",&_argo0
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
582 wxPy_BEGIN_ALLOW_THREADS
;
583 _result
= (bool )wxWindow_Destroy(_arg0
);
585 wxPy_END_ALLOW_THREADS
;
586 } _resultobj
= Py_BuildValue("i",_result
);
590 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
591 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
592 PyObject
* _resultobj
;
594 PyObject
* _argo0
= 0;
597 if(!PyArg_ParseTuple(args
,"O:wxWindow_DestroyChildren",&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
607 wxPy_BEGIN_ALLOW_THREADS
;
608 wxWindow_DestroyChildren(_arg0
);
610 wxPy_END_ALLOW_THREADS
;
611 } Py_INCREF(Py_None
);
612 _resultobj
= Py_None
;
616 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
617 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
) {
618 PyObject
* _resultobj
;
621 PyObject
* _argo0
= 0;
625 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_DragAcceptFiles",&_argo0
,&tempbool1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
634 _arg1
= (bool ) tempbool1
;
636 wxPy_BEGIN_ALLOW_THREADS
;
637 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
639 wxPy_END_ALLOW_THREADS
;
640 } Py_INCREF(Py_None
);
641 _resultobj
= Py_None
;
645 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
646 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
647 PyObject
* _resultobj
;
650 PyObject
* _argo0
= 0;
654 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_Enable",&_argo0
,&tempbool1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
663 _arg1
= (bool ) tempbool1
;
665 wxPy_BEGIN_ALLOW_THREADS
;
666 wxWindow_Enable(_arg0
,_arg1
);
668 wxPy_END_ALLOW_THREADS
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
675 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
) {
676 PyObject
* _resultobj
;
680 PyObject
* _argo0
= 0;
684 if(!PyArg_ParseTuple(args
,"Ol:wxWindow_FindWindowById",&_argo0
,&_arg1
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
694 wxPy_BEGIN_ALLOW_THREADS
;
695 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
697 wxPy_END_ALLOW_THREADS
;
699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
700 _resultobj
= Py_BuildValue("s",_ptemp
);
703 _resultobj
= Py_None
;
708 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
709 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
710 PyObject
* _resultobj
;
714 PyObject
* _argo0
= 0;
715 PyObject
* _obj1
= 0;
719 if(!PyArg_ParseTuple(args
,"OO:wxWindow_FindWindowByName",&_argo0
,&_obj1
))
722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
729 if (!PyString_Check(_obj1
)) {
730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
733 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
736 wxPy_BEGIN_ALLOW_THREADS
;
737 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
739 wxPy_END_ALLOW_THREADS
;
741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
742 _resultobj
= Py_BuildValue("s",_ptemp
);
745 _resultobj
= Py_None
;
754 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
755 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
756 PyObject
* _resultobj
;
758 PyObject
* _argo0
= 0;
761 if(!PyArg_ParseTuple(args
,"O:wxWindow_Fit",&_argo0
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
771 wxPy_BEGIN_ALLOW_THREADS
;
774 wxPy_END_ALLOW_THREADS
;
775 } Py_INCREF(Py_None
);
776 _resultobj
= Py_None
;
780 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
781 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
782 PyObject
* _resultobj
;
785 PyObject
* _argo0
= 0;
789 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetBackgroundColour",&_argo0
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
799 wxPy_BEGIN_ALLOW_THREADS
;
800 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
802 wxPy_END_ALLOW_THREADS
;
803 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
804 _resultobj
= Py_BuildValue("s",_ptemp
);
808 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
809 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
810 PyObject
* _resultobj
;
813 PyObject
* _argo0
= 0;
816 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetCharHeight",&_argo0
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (int )wxWindow_GetCharHeight(_arg0
);
829 wxPy_END_ALLOW_THREADS
;
830 } _resultobj
= Py_BuildValue("i",_result
);
834 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
835 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
836 PyObject
* _resultobj
;
839 PyObject
* _argo0
= 0;
842 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetCharWidth",&_argo0
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
852 wxPy_BEGIN_ALLOW_THREADS
;
853 _result
= (int )wxWindow_GetCharWidth(_arg0
);
855 wxPy_END_ALLOW_THREADS
;
856 } _resultobj
= Py_BuildValue("i",_result
);
860 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
861 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
862 PyObject
* _resultobj
;
868 PyObject
* _argo0
= 0;
877 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetClientSizeTuple",&_argo0
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
887 wxPy_BEGIN_ALLOW_THREADS
;
888 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
890 wxPy_END_ALLOW_THREADS
;
891 } Py_INCREF(Py_None
);
892 _resultobj
= Py_None
;
895 o
= PyInt_FromLong((long) (*_arg1
));
896 _resultobj
= t_output_helper(_resultobj
, o
);
900 o
= PyInt_FromLong((long) (*_arg2
));
901 _resultobj
= t_output_helper(_resultobj
, o
);
906 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
907 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
908 PyObject
* _resultobj
;
911 PyObject
* _argo0
= 0;
915 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetClientSize",&_argo0
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
925 wxPy_BEGIN_ALLOW_THREADS
;
926 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
928 wxPy_END_ALLOW_THREADS
;
929 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
930 _resultobj
= Py_BuildValue("s",_ptemp
);
934 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
935 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
936 PyObject
* _resultobj
;
937 wxLayoutConstraints
* _result
;
939 PyObject
* _argo0
= 0;
943 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetConstraints",&_argo0
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
953 wxPy_BEGIN_ALLOW_THREADS
;
954 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
956 wxPy_END_ALLOW_THREADS
;
958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
959 _resultobj
= Py_BuildValue("s",_ptemp
);
962 _resultobj
= Py_None
;
967 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
968 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
969 PyObject
* _resultobj
;
972 PyObject
* _argo0
= 0;
976 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetFont",&_argo0
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
986 wxPy_BEGIN_ALLOW_THREADS
;
987 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
988 _result
= (wxFont
*) &_result_ref
;
990 wxPy_END_ALLOW_THREADS
;
992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
993 _resultobj
= Py_BuildValue("s",_ptemp
);
996 _resultobj
= Py_None
;
1001 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1002 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
1003 PyObject
* _resultobj
;
1006 PyObject
* _argo0
= 0;
1010 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetForegroundColour",&_argo0
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1023 wxPy_END_ALLOW_THREADS
;
1024 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1025 _resultobj
= Py_BuildValue("s",_ptemp
);
1029 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1030 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
1031 PyObject
* _resultobj
;
1034 PyObject
* _argo0
= 0;
1038 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetGrandParent",&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1054 _resultobj
= Py_BuildValue("s",_ptemp
);
1057 _resultobj
= Py_None
;
1062 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1063 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
1064 PyObject
* _resultobj
;
1067 PyObject
* _argo0
= 0;
1070 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetId",&_argo0
))
1073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 _result
= (int )wxWindow_GetId(_arg0
);
1083 wxPy_END_ALLOW_THREADS
;
1084 } _resultobj
= Py_BuildValue("i",_result
);
1088 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1089 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
1090 PyObject
* _resultobj
;
1093 PyObject
* _argo0
= 0;
1096 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetLabel",&_argo0
))
1099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1109 wxPy_END_ALLOW_THREADS
;
1111 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1119 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1120 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
) {
1121 PyObject
* _resultobj
;
1124 PyObject
* _argo0
= 0;
1125 PyObject
* _obj1
= 0;
1128 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetLabel",&_argo0
,&_obj1
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1138 if (!PyString_Check(_obj1
)) {
1139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1142 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1145 wxPy_BEGIN_ALLOW_THREADS
;
1146 wxWindow_SetLabel(_arg0
,*_arg1
);
1148 wxPy_END_ALLOW_THREADS
;
1149 } Py_INCREF(Py_None
);
1150 _resultobj
= Py_None
;
1158 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1159 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
1160 PyObject
* _resultobj
;
1163 PyObject
* _argo0
= 0;
1166 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetName",&_argo0
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 _result
= new wxString (wxWindow_GetName(_arg0
));
1179 wxPy_END_ALLOW_THREADS
;
1181 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1189 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1190 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
1191 PyObject
* _resultobj
;
1194 PyObject
* _argo0
= 0;
1198 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetParent",&_argo0
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1208 wxPy_BEGIN_ALLOW_THREADS
;
1209 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1211 wxPy_END_ALLOW_THREADS
;
1213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1214 _resultobj
= Py_BuildValue("s",_ptemp
);
1217 _resultobj
= Py_None
;
1222 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1223 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
1224 PyObject
* _resultobj
;
1230 PyObject
* _argo0
= 0;
1239 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetPositionTuple",&_argo0
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1252 wxPy_END_ALLOW_THREADS
;
1253 } Py_INCREF(Py_None
);
1254 _resultobj
= Py_None
;
1257 o
= PyInt_FromLong((long) (*_arg1
));
1258 _resultobj
= t_output_helper(_resultobj
, o
);
1262 o
= PyInt_FromLong((long) (*_arg2
));
1263 _resultobj
= t_output_helper(_resultobj
, o
);
1268 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1269 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
1270 PyObject
* _resultobj
;
1273 PyObject
* _argo0
= 0;
1277 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetPosition",&_argo0
))
1280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1287 wxPy_BEGIN_ALLOW_THREADS
;
1288 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1290 wxPy_END_ALLOW_THREADS
;
1291 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1292 _resultobj
= Py_BuildValue("s",_ptemp
);
1296 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1297 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
1298 PyObject
* _resultobj
;
1301 PyObject
* _argo0
= 0;
1305 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetRect",&_argo0
))
1308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1315 wxPy_BEGIN_ALLOW_THREADS
;
1316 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1318 wxPy_END_ALLOW_THREADS
;
1319 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1320 _resultobj
= Py_BuildValue("s",_ptemp
);
1324 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1325 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
1326 PyObject
* _resultobj
;
1330 PyObject
* _argo0
= 0;
1333 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_GetScrollThumb",&_argo0
,&_arg1
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1343 wxPy_BEGIN_ALLOW_THREADS
;
1344 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1346 wxPy_END_ALLOW_THREADS
;
1347 } _resultobj
= Py_BuildValue("i",_result
);
1351 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1352 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1353 PyObject
* _resultobj
;
1357 PyObject
* _argo0
= 0;
1360 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_GetScrollPos",&_argo0
,&_arg1
))
1363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1370 wxPy_BEGIN_ALLOW_THREADS
;
1371 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1373 wxPy_END_ALLOW_THREADS
;
1374 } _resultobj
= Py_BuildValue("i",_result
);
1378 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1379 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1380 PyObject
* _resultobj
;
1384 PyObject
* _argo0
= 0;
1387 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_GetScrollRange",&_argo0
,&_arg1
))
1390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1397 wxPy_BEGIN_ALLOW_THREADS
;
1398 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1400 wxPy_END_ALLOW_THREADS
;
1401 } _resultobj
= Py_BuildValue("i",_result
);
1405 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1406 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1407 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1422 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetSizeTuple",&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1432 wxPy_BEGIN_ALLOW_THREADS
;
1433 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1435 wxPy_END_ALLOW_THREADS
;
1436 } Py_INCREF(Py_None
);
1437 _resultobj
= Py_None
;
1440 o
= PyInt_FromLong((long) (*_arg1
));
1441 _resultobj
= t_output_helper(_resultobj
, o
);
1445 o
= PyInt_FromLong((long) (*_arg2
));
1446 _resultobj
= t_output_helper(_resultobj
, o
);
1451 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1452 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1453 PyObject
* _resultobj
;
1456 PyObject
* _argo0
= 0;
1460 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetSize",&_argo0
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1473 wxPy_END_ALLOW_THREADS
;
1474 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1475 _resultobj
= Py_BuildValue("s",_ptemp
);
1479 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1480 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1481 PyObject
* _resultobj
;
1488 PyObject
* _argo0
= 0;
1489 PyObject
* _obj1
= 0;
1498 if(!PyArg_ParseTuple(args
,"OO:wxWindow_GetTextExtent",&_argo0
,&_obj1
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1508 if (!PyString_Check(_obj1
)) {
1509 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1512 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } Py_INCREF(Py_None
);
1520 _resultobj
= Py_None
;
1523 o
= PyInt_FromLong((long) (*_arg2
));
1524 _resultobj
= t_output_helper(_resultobj
, o
);
1528 o
= PyInt_FromLong((long) (*_arg3
));
1529 _resultobj
= t_output_helper(_resultobj
, o
);
1538 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1539 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1540 PyObject
* _resultobj
;
1551 wxFont
* _arg6
= (wxFont
*) NULL
;
1552 PyObject
* _argo0
= 0;
1553 PyObject
* _obj1
= 0;
1554 PyObject
* _argo6
= 0;
1569 if(!PyArg_ParseTuple(args
,"OO|O:wxWindow_GetFullTextExtent",&_argo0
,&_obj1
,&_argo6
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1579 if (!PyString_Check(_obj1
)) {
1580 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1583 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1586 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1587 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
1588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1593 wxPy_BEGIN_ALLOW_THREADS
;
1594 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1596 wxPy_END_ALLOW_THREADS
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1601 o
= PyInt_FromLong((long) (*_arg2
));
1602 _resultobj
= t_output_helper(_resultobj
, o
);
1606 o
= PyInt_FromLong((long) (*_arg3
));
1607 _resultobj
= t_output_helper(_resultobj
, o
);
1611 o
= PyInt_FromLong((long) (*_arg4
));
1612 _resultobj
= t_output_helper(_resultobj
, o
);
1616 o
= PyInt_FromLong((long) (*_arg5
));
1617 _resultobj
= t_output_helper(_resultobj
, o
);
1626 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1627 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1628 PyObject
* _resultobj
;
1631 PyObject
* _argo0
= 0;
1634 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetTitle",&_argo0
))
1637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1644 wxPy_BEGIN_ALLOW_THREADS
;
1645 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1647 wxPy_END_ALLOW_THREADS
;
1649 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1657 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1658 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
) {
1659 PyObject
* _resultobj
;
1662 PyObject
* _argo0
= 0;
1666 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetUpdateRegion",&_argo0
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
1679 wxPy_END_ALLOW_THREADS
;
1680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
1681 _resultobj
= Py_BuildValue("s",_ptemp
);
1685 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1686 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1687 PyObject
* _resultobj
;
1690 PyObject
* _argo0
= 0;
1693 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetWindowStyleFlag",&_argo0
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1703 wxPy_BEGIN_ALLOW_THREADS
;
1704 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1706 wxPy_END_ALLOW_THREADS
;
1707 } _resultobj
= Py_BuildValue("l",_result
);
1711 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1712 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
) {
1713 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1719 if(!PyArg_ParseTuple(args
,"O:wxWindow_Hide",&_argo0
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 _result
= (bool )wxWindow_Hide(_arg0
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } _resultobj
= Py_BuildValue("i",_result
);
1737 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1738 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1739 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1744 if(!PyArg_ParseTuple(args
,"O:wxWindow_InitDialog",&_argo0
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 wxWindow_InitDialog(_arg0
);
1757 wxPy_END_ALLOW_THREADS
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1763 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1764 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1768 PyObject
* _argo0
= 0;
1771 if(!PyArg_ParseTuple(args
,"O:wxWindow_IsEnabled",&_argo0
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1781 wxPy_BEGIN_ALLOW_THREADS
;
1782 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1784 wxPy_END_ALLOW_THREADS
;
1785 } _resultobj
= Py_BuildValue("i",_result
);
1789 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1790 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1791 PyObject
* _resultobj
;
1794 PyObject
* _argo0
= 0;
1797 if(!PyArg_ParseTuple(args
,"O:wxWindow_IsRetained",&_argo0
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1807 wxPy_BEGIN_ALLOW_THREADS
;
1808 _result
= (bool )wxWindow_IsRetained(_arg0
);
1810 wxPy_END_ALLOW_THREADS
;
1811 } _resultobj
= Py_BuildValue("i",_result
);
1815 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1816 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1817 PyObject
* _resultobj
;
1820 PyObject
* _argo0
= 0;
1823 if(!PyArg_ParseTuple(args
,"O:wxWindow_IsShown",&_argo0
))
1826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (bool )wxWindow_IsShown(_arg0
);
1836 wxPy_END_ALLOW_THREADS
;
1837 } _resultobj
= Py_BuildValue("i",_result
);
1841 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1842 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
) {
1843 PyObject
* _resultobj
;
1846 PyObject
* _argo0
= 0;
1849 if(!PyArg_ParseTuple(args
,"O:wxWindow_IsTopLevel",&_argo0
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1859 wxPy_BEGIN_ALLOW_THREADS
;
1860 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1862 wxPy_END_ALLOW_THREADS
;
1863 } _resultobj
= Py_BuildValue("i",_result
);
1867 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1868 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1869 PyObject
* _resultobj
;
1871 PyObject
* _argo0
= 0;
1874 if(!PyArg_ParseTuple(args
,"O:wxWindow_Layout",&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1884 wxPy_BEGIN_ALLOW_THREADS
;
1885 wxWindow_Layout(_arg0
);
1887 wxPy_END_ALLOW_THREADS
;
1888 } Py_INCREF(Py_None
);
1889 _resultobj
= Py_None
;
1893 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1894 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1895 PyObject
* _resultobj
;
1900 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
1901 PyObject
* _argo0
= 0;
1902 PyObject
* _argo1
= 0;
1903 PyObject
* _obj2
= 0;
1904 PyObject
* _argo3
= 0;
1907 if(!PyArg_ParseTuple(args
,"OOO|O:wxWindow_LoadFromResource",&_argo0
,&_argo1
,&_obj2
,&_argo3
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1924 if (!PyString_Check(_obj2
)) {
1925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1928 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1931 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1941 wxPy_END_ALLOW_THREADS
;
1942 } _resultobj
= Py_BuildValue("i",_result
);
1950 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1951 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1952 PyObject
* _resultobj
;
1954 PyObject
* _argo0
= 0;
1957 if(!PyArg_ParseTuple(args
,"O:wxWindow_Lower",&_argo0
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 wxWindow_Lower(_arg0
);
1970 wxPy_END_ALLOW_THREADS
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1977 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1978 PyObject
* _resultobj
;
1981 PyObject
* _argo0
= 0;
1985 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_MakeModal",&_argo0
,&tempbool1
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1994 _arg1
= (bool ) tempbool1
;
1996 wxPy_BEGIN_ALLOW_THREADS
;
1997 wxWindow_MakeModal(_arg0
,_arg1
);
1999 wxPy_END_ALLOW_THREADS
;
2000 } Py_INCREF(Py_None
);
2001 _resultobj
= Py_None
;
2005 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2006 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
2007 PyObject
* _resultobj
;
2011 PyObject
* _argo0
= 0;
2014 if(!PyArg_ParseTuple(args
,"Oii:wxWindow_MoveXY",&_argo0
,&_arg1
,&_arg2
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2024 wxPy_BEGIN_ALLOW_THREADS
;
2025 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2027 wxPy_END_ALLOW_THREADS
;
2028 } Py_INCREF(Py_None
);
2029 _resultobj
= Py_None
;
2033 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2034 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
2035 PyObject
* _resultobj
;
2038 PyObject
* _argo0
= 0;
2039 PyObject
* _argo1
= 0;
2042 if(!PyArg_ParseTuple(args
,"OO:wxWindow_Move",&_argo0
,&_argo1
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 wxWindow_Move(_arg0
,*_arg1
);
2062 wxPy_END_ALLOW_THREADS
;
2063 } Py_INCREF(Py_None
);
2064 _resultobj
= Py_None
;
2068 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2069 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
) {
2070 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2077 PyObject
* _argo1
= 0;
2080 if(!PyArg_ParseTuple(args
,"OOii:wxWindow_PopupMenuXY",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2097 wxPy_BEGIN_ALLOW_THREADS
;
2098 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2100 wxPy_END_ALLOW_THREADS
;
2101 } _resultobj
= Py_BuildValue("i",_result
);
2105 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2106 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
2107 PyObject
* _resultobj
;
2112 PyObject
* _argo0
= 0;
2113 PyObject
* _argo1
= 0;
2114 PyObject
* _argo2
= 0;
2117 if(!PyArg_ParseTuple(args
,"OOO:wxWindow_PopupMenu",&_argo0
,&_argo1
,&_argo2
))
2120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2134 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2144 wxPy_END_ALLOW_THREADS
;
2145 } _resultobj
= Py_BuildValue("i",_result
);
2149 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2150 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
2151 PyObject
* _resultobj
;
2153 PyObject
* _argo0
= 0;
2156 if(!PyArg_ParseTuple(args
,"O:wxWindow_Raise",&_argo0
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 wxWindow_Raise(_arg0
);
2169 wxPy_END_ALLOW_THREADS
;
2170 } Py_INCREF(Py_None
);
2171 _resultobj
= Py_None
;
2175 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2176 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
2177 PyObject
* _resultobj
;
2179 bool _arg1
= (bool ) TRUE
;
2180 wxRect
* _arg2
= (wxRect
*) NULL
;
2181 PyObject
* _argo0
= 0;
2182 int tempbool1
= (int) TRUE
;
2183 PyObject
* _argo2
= 0;
2186 if(!PyArg_ParseTuple(args
,"O|iO:wxWindow_Refresh",&_argo0
,&tempbool1
,&_argo2
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2195 _arg1
= (bool ) tempbool1
;
2197 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRect_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } Py_INCREF(Py_None
);
2209 _resultobj
= Py_None
;
2213 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2214 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
2215 PyObject
* _resultobj
;
2217 PyObject
* _argo0
= 0;
2220 if(!PyArg_ParseTuple(args
,"O:wxWindow_ReleaseMouse",&_argo0
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2230 wxPy_BEGIN_ALLOW_THREADS
;
2231 wxWindow_ReleaseMouse(_arg0
);
2233 wxPy_END_ALLOW_THREADS
;
2234 } Py_INCREF(Py_None
);
2235 _resultobj
= Py_None
;
2239 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2240 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
) {
2241 PyObject
* _resultobj
;
2245 PyObject
* _argo0
= 0;
2246 PyObject
* _argo1
= 0;
2249 if(!PyArg_ParseTuple(args
,"OO:wxWindow_Reparent",&_argo0
,&_argo1
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2269 wxPy_END_ALLOW_THREADS
;
2270 } _resultobj
= Py_BuildValue("i",_result
);
2274 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2275 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
2276 PyObject
* _resultobj
;
2280 PyObject
* _argo0
= 0;
2282 PyObject
* _obj1
= 0;
2284 PyObject
* _obj2
= 0;
2287 if(!PyArg_ParseTuple(args
,"OOO:wxWindow_ScreenToClientXY",&_argo0
,&_obj1
,&_obj2
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2297 temp
= (int) PyInt_AsLong(_obj1
);
2301 temp0
= (int) PyInt_AsLong(_obj2
);
2305 wxPy_BEGIN_ALLOW_THREADS
;
2306 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2308 wxPy_END_ALLOW_THREADS
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2313 o
= PyInt_FromLong((long) (*_arg1
));
2314 _resultobj
= t_output_helper(_resultobj
, o
);
2318 o
= PyInt_FromLong((long) (*_arg2
));
2319 _resultobj
= t_output_helper(_resultobj
, o
);
2324 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2325 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
2326 PyObject
* _resultobj
;
2330 PyObject
* _argo0
= 0;
2331 PyObject
* _argo1
= 0;
2335 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ScreenToClient",&_argo0
,&_argo1
))
2338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2355 wxPy_END_ALLOW_THREADS
;
2356 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2357 _resultobj
= Py_BuildValue("s",_ptemp
);
2361 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2362 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
2363 PyObject
* _resultobj
;
2367 wxRect
* _arg3
= (wxRect
*) NULL
;
2368 PyObject
* _argo0
= 0;
2369 PyObject
* _argo3
= 0;
2372 if(!PyArg_ParseTuple(args
,"Oii|O:wxWindow_ScrollWindow",&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2382 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRect_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2392 wxPy_END_ALLOW_THREADS
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2398 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2399 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2400 PyObject
* _resultobj
;
2402 wxAcceleratorTable
* _arg1
;
2403 PyObject
* _argo0
= 0;
2404 PyObject
* _argo1
= 0;
2407 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetAcceleratorTable",&_argo0
,&_argo1
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2434 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
2435 PyObject
* _resultobj
;
2438 PyObject
* _argo0
= 0;
2442 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_SetAutoLayout",&_argo0
,&tempbool1
))
2445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2451 _arg1
= (bool ) tempbool1
;
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2456 wxPy_END_ALLOW_THREADS
;
2457 } Py_INCREF(Py_None
);
2458 _resultobj
= Py_None
;
2462 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2463 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2464 PyObject
* _resultobj
;
2467 PyObject
* _argo0
= 0;
2468 PyObject
* _argo1
= 0;
2471 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetBackgroundColour",&_argo0
,&_argo1
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2491 wxPy_END_ALLOW_THREADS
;
2492 } Py_INCREF(Py_None
);
2493 _resultobj
= Py_None
;
2497 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2498 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
2499 PyObject
* _resultobj
;
2501 wxLayoutConstraints
* _arg1
;
2502 PyObject
* _argo0
= 0;
2503 PyObject
* _argo1
= 0;
2506 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetConstraints",&_argo0
,&_argo1
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2523 wxPy_BEGIN_ALLOW_THREADS
;
2524 wxWindow_SetConstraints(_arg0
,_arg1
);
2526 wxPy_END_ALLOW_THREADS
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2533 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2534 PyObject
* _resultobj
;
2536 PyObject
* _argo0
= 0;
2539 if(!PyArg_ParseTuple(args
,"O:wxWindow_SetFocus",&_argo0
))
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_SetFocus. Expected _wxWindow_p.");
2549 wxPy_BEGIN_ALLOW_THREADS
;
2550 wxWindow_SetFocus(_arg0
);
2552 wxPy_END_ALLOW_THREADS
;
2553 } Py_INCREF(Py_None
);
2554 _resultobj
= Py_None
;
2558 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2559 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2560 PyObject
* _resultobj
;
2563 PyObject
* _argo0
= 0;
2564 PyObject
* _argo1
= 0;
2567 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetFont",&_argo0
,&_argo1
))
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_SetFont. Expected _wxWindow_p.");
2577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2584 wxPy_BEGIN_ALLOW_THREADS
;
2585 wxWindow_SetFont(_arg0
,*_arg1
);
2587 wxPy_END_ALLOW_THREADS
;
2588 } Py_INCREF(Py_None
);
2589 _resultobj
= Py_None
;
2593 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2594 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2595 PyObject
* _resultobj
;
2598 PyObject
* _argo0
= 0;
2599 PyObject
* _argo1
= 0;
2602 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetForegroundColour",&_argo0
,&_argo1
))
2605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2619 wxPy_BEGIN_ALLOW_THREADS
;
2620 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2622 wxPy_END_ALLOW_THREADS
;
2623 } Py_INCREF(Py_None
);
2624 _resultobj
= Py_None
;
2628 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2629 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2630 PyObject
* _resultobj
;
2633 PyObject
* _argo0
= 0;
2636 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_SetId",&_argo0
,&_arg1
))
2639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 wxWindow_SetId(_arg0
,_arg1
);
2649 wxPy_END_ALLOW_THREADS
;
2650 } Py_INCREF(Py_None
);
2651 _resultobj
= Py_None
;
2655 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2656 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2657 PyObject
* _resultobj
;
2660 PyObject
* _argo0
= 0;
2661 PyObject
* _obj1
= 0;
2664 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetName",&_argo0
,&_obj1
))
2667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2674 if (!PyString_Check(_obj1
)) {
2675 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2678 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2681 wxPy_BEGIN_ALLOW_THREADS
;
2682 wxWindow_SetName(_arg0
,*_arg1
);
2684 wxPy_END_ALLOW_THREADS
;
2685 } Py_INCREF(Py_None
);
2686 _resultobj
= Py_None
;
2694 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2695 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2696 PyObject
* _resultobj
;
2702 bool _arg5
= (bool ) TRUE
;
2703 PyObject
* _argo0
= 0;
2704 int tempbool5
= (int) TRUE
;
2707 if(!PyArg_ParseTuple(args
,"Oiiii|i:wxWindow_SetScrollbar",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2716 _arg5
= (bool ) tempbool5
;
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2721 wxPy_END_ALLOW_THREADS
;
2722 } Py_INCREF(Py_None
);
2723 _resultobj
= Py_None
;
2727 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2728 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2729 PyObject
* _resultobj
;
2733 bool _arg3
= (bool ) TRUE
;
2734 PyObject
* _argo0
= 0;
2735 int tempbool3
= (int) TRUE
;
2738 if(!PyArg_ParseTuple(args
,"Oii|i:wxWindow_SetScrollPos",&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2747 _arg3
= (bool ) tempbool3
;
2749 wxPy_BEGIN_ALLOW_THREADS
;
2750 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2752 wxPy_END_ALLOW_THREADS
;
2753 } Py_INCREF(Py_None
);
2754 _resultobj
= Py_None
;
2758 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2759 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2760 PyObject
* _resultobj
;
2766 int _arg5
= (int ) wxSIZE_AUTO
;
2767 PyObject
* _argo0
= 0;
2770 if(!PyArg_ParseTuple(args
,"Oiiii|i:wxWindow_SetDimensions",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2783 wxPy_END_ALLOW_THREADS
;
2784 } Py_INCREF(Py_None
);
2785 _resultobj
= Py_None
;
2789 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2790 self
->SetSize(size
.x
, size
.y
);
2792 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2793 PyObject
* _resultobj
;
2796 PyObject
* _argo0
= 0;
2797 PyObject
* _argo1
= 0;
2800 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetSize",&_argo0
,&_argo1
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2817 wxPy_BEGIN_ALLOW_THREADS
;
2818 wxWindow_SetSize(_arg0
,*_arg1
);
2820 wxPy_END_ALLOW_THREADS
;
2821 } Py_INCREF(Py_None
);
2822 _resultobj
= Py_None
;
2826 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2827 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2829 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2830 PyObject
* _resultobj
;
2833 PyObject
* _argo0
= 0;
2834 PyObject
* _argo1
= 0;
2837 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetPosition",&_argo0
,&_argo1
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2854 wxPy_BEGIN_ALLOW_THREADS
;
2855 wxWindow_SetPosition(_arg0
,*_arg1
);
2857 wxPy_END_ALLOW_THREADS
;
2858 } Py_INCREF(Py_None
);
2859 _resultobj
= Py_None
;
2863 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2864 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2865 PyObject
* _resultobj
;
2867 int _arg1
= (int ) -1;
2868 int _arg2
= (int ) -1;
2869 int _arg3
= (int ) -1;
2870 int _arg4
= (int ) -1;
2871 int _arg5
= (int ) -1;
2872 int _arg6
= (int ) -1;
2873 PyObject
* _argo0
= 0;
2876 if(!PyArg_ParseTuple(args
,"O|iiiiii:wxWindow_SetSizeHints",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2886 wxPy_BEGIN_ALLOW_THREADS
;
2887 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2889 wxPy_END_ALLOW_THREADS
;
2890 } Py_INCREF(Py_None
);
2891 _resultobj
= Py_None
;
2895 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2896 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2897 PyObject
* _resultobj
;
2901 PyObject
* _argo0
= 0;
2904 if(!PyArg_ParseTuple(args
,"Oii:wxWindow_SetClientSizeWH",&_argo0
,&_arg1
,&_arg2
))
2907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2914 wxPy_BEGIN_ALLOW_THREADS
;
2915 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2917 wxPy_END_ALLOW_THREADS
;
2918 } Py_INCREF(Py_None
);
2919 _resultobj
= Py_None
;
2923 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2924 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2925 PyObject
* _resultobj
;
2928 PyObject
* _argo0
= 0;
2929 PyObject
* _argo1
= 0;
2932 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetClientSize",&_argo0
,&_argo1
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 wxWindow_SetClientSize(_arg0
,*_arg1
);
2952 wxPy_END_ALLOW_THREADS
;
2953 } Py_INCREF(Py_None
);
2954 _resultobj
= Py_None
;
2958 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2959 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2960 PyObject
* _resultobj
;
2963 PyObject
* _argo0
= 0;
2964 PyObject
* _argo1
= 0;
2967 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetCursor",&_argo0
,&_argo1
))
2970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2977 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2984 wxPy_BEGIN_ALLOW_THREADS
;
2985 wxWindow_SetCursor(_arg0
,*_arg1
);
2987 wxPy_END_ALLOW_THREADS
;
2988 } Py_INCREF(Py_None
);
2989 _resultobj
= Py_None
;
2993 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2994 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2995 PyObject
* _resultobj
;
2998 PyObject
* _argo0
= 0;
2999 PyObject
* _obj1
= 0;
3002 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetTitle",&_argo0
,&_obj1
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3012 if (!PyString_Check(_obj1
)) {
3013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3016 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3019 wxPy_BEGIN_ALLOW_THREADS
;
3020 wxWindow_SetTitle(_arg0
,*_arg1
);
3022 wxPy_END_ALLOW_THREADS
;
3023 } Py_INCREF(Py_None
);
3024 _resultobj
= Py_None
;
3032 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3033 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
3034 PyObject
* _resultobj
;
3038 PyObject
* _argo0
= 0;
3042 if(!PyArg_ParseTuple(args
,"Oi:wxWindow_Show",&_argo0
,&tempbool1
))
3045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3051 _arg1
= (bool ) tempbool1
;
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3056 wxPy_END_ALLOW_THREADS
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3062 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
3063 PyObject
* _resultobj
;
3066 PyObject
* _argo0
= 0;
3069 if(!PyArg_ParseTuple(args
,"O:wxWindow_TransferDataFromWindow",&_argo0
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3082 wxPy_END_ALLOW_THREADS
;
3083 } _resultobj
= Py_BuildValue("i",_result
);
3087 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3088 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
3089 PyObject
* _resultobj
;
3092 PyObject
* _argo0
= 0;
3095 if(!PyArg_ParseTuple(args
,"O:wxWindow_TransferDataToWindow",&_argo0
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3105 wxPy_BEGIN_ALLOW_THREADS
;
3106 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3108 wxPy_END_ALLOW_THREADS
;
3109 } _resultobj
= Py_BuildValue("i",_result
);
3113 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3114 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
3115 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3121 if(!PyArg_ParseTuple(args
,"O:wxWindow_Validate",&_argo0
))
3124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3131 wxPy_BEGIN_ALLOW_THREADS
;
3132 _result
= (bool )wxWindow_Validate(_arg0
);
3134 wxPy_END_ALLOW_THREADS
;
3135 } _resultobj
= Py_BuildValue("i",_result
);
3139 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3140 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
3141 PyObject
* _resultobj
;
3145 PyObject
* _argo0
= 0;
3148 if(!PyArg_ParseTuple(args
,"Oii:wxWindow_WarpPointer",&_argo0
,&_arg1
,&_arg2
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3158 wxPy_BEGIN_ALLOW_THREADS
;
3159 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3161 wxPy_END_ALLOW_THREADS
;
3162 } Py_INCREF(Py_None
);
3163 _resultobj
= Py_None
;
3167 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3168 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
3169 PyObject
* _resultobj
;
3173 PyObject
* _argo0
= 0;
3174 PyObject
* _argo1
= 0;
3178 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ConvertDialogPointToPixels",&_argo0
,&_argo1
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3188 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3195 wxPy_BEGIN_ALLOW_THREADS
;
3196 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3198 wxPy_END_ALLOW_THREADS
;
3199 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3200 _resultobj
= Py_BuildValue("s",_ptemp
);
3204 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3205 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
3206 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3211 PyObject
* _argo1
= 0;
3215 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ConvertDialogSizeToPixels",&_argo0
,&_argo1
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3225 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3232 wxPy_BEGIN_ALLOW_THREADS
;
3233 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
3235 wxPy_END_ALLOW_THREADS
;
3236 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3237 _resultobj
= Py_BuildValue("s",_ptemp
);
3241 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3242 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
3243 PyObject
* _resultobj
;
3247 PyObject
* _argo0
= 0;
3248 PyObject
* _argo1
= 0;
3252 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ConvertPixelPointToDialog",&_argo0
,&_argo1
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3269 wxPy_BEGIN_ALLOW_THREADS
;
3270 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3272 wxPy_END_ALLOW_THREADS
;
3273 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3274 _resultobj
= Py_BuildValue("s",_ptemp
);
3278 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3279 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
3280 PyObject
* _resultobj
;
3284 PyObject
* _argo0
= 0;
3285 PyObject
* _argo1
= 0;
3289 if(!PyArg_ParseTuple(args
,"OO:wxWindow_ConvertPixelSizeToDialog",&_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_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3309 wxPy_END_ALLOW_THREADS
;
3310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3311 _resultobj
= Py_BuildValue("s",_ptemp
);
3315 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3316 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
3317 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 PyObject
* _obj1
= 0;
3324 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetToolTipString",&_argo0
,&_obj1
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3334 if (!PyString_Check(_obj1
)) {
3335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3338 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3341 wxPy_BEGIN_ALLOW_THREADS
;
3342 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3344 wxPy_END_ALLOW_THREADS
;
3345 } Py_INCREF(Py_None
);
3346 _resultobj
= Py_None
;
3354 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3355 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
3356 PyObject
* _resultobj
;
3359 PyObject
* _argo0
= 0;
3360 PyObject
* _argo1
= 0;
3363 if(!PyArg_ParseTuple(args
,"OO:wxWindow_SetToolTip",&_argo0
,&_argo1
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3380 wxPy_BEGIN_ALLOW_THREADS
;
3381 wxWindow_SetToolTip(_arg0
,_arg1
);
3383 wxPy_END_ALLOW_THREADS
;
3384 } Py_INCREF(Py_None
);
3385 _resultobj
= Py_None
;
3389 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3390 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
3391 PyObject
* _resultobj
;
3392 wxToolTip
* _result
;
3394 PyObject
* _argo0
= 0;
3398 if(!PyArg_ParseTuple(args
,"O:wxWindow_GetToolTip",&_argo0
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3411 wxPy_END_ALLOW_THREADS
;
3413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3414 _resultobj
= Py_BuildValue("s",_ptemp
);
3417 _resultobj
= Py_None
;
3422 static void *SwigwxPanelTowxWindow(void *ptr
) {
3425 src
= (wxPanel
*) ptr
;
3426 dest
= (wxWindow
*) src
;
3427 return (void *) dest
;
3430 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3433 src
= (wxPanel
*) ptr
;
3434 dest
= (wxEvtHandler
*) src
;
3435 return (void *) dest
;
3438 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3439 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
3440 PyObject
* _resultobj
;
3444 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3445 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3446 long _arg4
= (long ) wxTAB_TRAVERSAL
;
3447 char * _arg5
= (char *) "panel";
3448 PyObject
* _argo0
= 0;
3449 PyObject
* _argo2
= 0;
3450 PyObject
* _argo3
= 0;
3454 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxPanel",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3464 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3471 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3478 wxPy_BEGIN_ALLOW_THREADS
;
3479 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3481 wxPy_END_ALLOW_THREADS
;
3483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3484 _resultobj
= Py_BuildValue("s",_ptemp
);
3487 _resultobj
= Py_None
;
3492 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3493 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
3494 PyObject
* _resultobj
;
3496 PyObject
* _argo0
= 0;
3499 if(!PyArg_ParseTuple(args
,"O:wxPanel_InitDialog",&_argo0
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 wxPanel_InitDialog(_arg0
);
3512 wxPy_END_ALLOW_THREADS
;
3513 } Py_INCREF(Py_None
);
3514 _resultobj
= Py_None
;
3518 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3519 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
3520 PyObject
* _resultobj
;
3523 PyObject
* _argo0
= 0;
3527 if(!PyArg_ParseTuple(args
,"O:wxPanel_GetDefaultItem",&_argo0
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3537 wxPy_BEGIN_ALLOW_THREADS
;
3538 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3540 wxPy_END_ALLOW_THREADS
;
3542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3543 _resultobj
= Py_BuildValue("s",_ptemp
);
3546 _resultobj
= Py_None
;
3551 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3552 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
) {
3553 PyObject
* _resultobj
;
3556 PyObject
* _argo0
= 0;
3557 PyObject
* _argo1
= 0;
3560 if(!PyArg_ParseTuple(args
,"OO:wxPanel_SetDefaultItem",&_argo0
,&_argo1
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3580 wxPy_END_ALLOW_THREADS
;
3581 } Py_INCREF(Py_None
);
3582 _resultobj
= Py_None
;
3586 static void *SwigwxDialogTowxPanel(void *ptr
) {
3589 src
= (wxDialog
*) ptr
;
3590 dest
= (wxPanel
*) src
;
3591 return (void *) dest
;
3594 static void *SwigwxDialogTowxWindow(void *ptr
) {
3597 src
= (wxDialog
*) ptr
;
3598 dest
= (wxWindow
*) src
;
3599 return (void *) dest
;
3602 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3605 src
= (wxDialog
*) ptr
;
3606 dest
= (wxEvtHandler
*) src
;
3607 return (void *) dest
;
3610 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3611 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
3612 PyObject
* _resultobj
;
3617 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
3618 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
3619 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
3620 char * _arg6
= (char *) "dialogBox";
3621 PyObject
* _argo0
= 0;
3622 PyObject
* _obj2
= 0;
3623 PyObject
* _argo3
= 0;
3624 PyObject
* _argo4
= 0;
3628 if(!PyArg_ParseTuple(args
,"OiO|OOls:new_wxDialog",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3638 if (!PyString_Check(_obj2
)) {
3639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3642 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3645 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3652 if (_argo4
== Py_None
) { _arg4
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3662 wxPy_END_ALLOW_THREADS
;
3664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3665 _resultobj
= Py_BuildValue("s",_ptemp
);
3668 _resultobj
= Py_None
;
3677 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3678 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3679 PyObject
* _resultobj
;
3681 int _arg1
= (int ) wxBOTH
;
3682 PyObject
* _argo0
= 0;
3685 if(!PyArg_ParseTuple(args
,"O|i:wxDialog_Centre",&_argo0
,&_arg1
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 wxDialog_Centre(_arg0
,_arg1
);
3698 wxPy_END_ALLOW_THREADS
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3705 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3706 PyObject
* _resultobj
;
3709 PyObject
* _argo0
= 0;
3712 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_EndModal",&_argo0
,&_arg1
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 wxDialog_EndModal(_arg0
,_arg1
);
3725 wxPy_END_ALLOW_THREADS
;
3726 } Py_INCREF(Py_None
);
3727 _resultobj
= Py_None
;
3731 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3732 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3733 PyObject
* _resultobj
;
3736 PyObject
* _argo0
= 0;
3739 if(!PyArg_ParseTuple(args
,"O:wxDialog_GetTitle",&_argo0
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3752 wxPy_END_ALLOW_THREADS
;
3754 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3762 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3763 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3764 PyObject
* _resultobj
;
3767 PyObject
* _argo0
= 0;
3771 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_Iconize",&_argo0
,&tempbool1
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3780 _arg1
= (bool ) tempbool1
;
3782 wxPy_BEGIN_ALLOW_THREADS
;
3783 wxDialog_Iconize(_arg0
,_arg1
);
3785 wxPy_END_ALLOW_THREADS
;
3786 } Py_INCREF(Py_None
);
3787 _resultobj
= Py_None
;
3791 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3792 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3793 PyObject
* _resultobj
;
3796 PyObject
* _argo0
= 0;
3799 if(!PyArg_ParseTuple(args
,"O:wxDialog_IsIconized",&_argo0
))
3802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3809 wxPy_BEGIN_ALLOW_THREADS
;
3810 _result
= (bool )wxDialog_IsIconized(_arg0
);
3812 wxPy_END_ALLOW_THREADS
;
3813 } _resultobj
= Py_BuildValue("i",_result
);
3817 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3818 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3819 PyObject
* _resultobj
;
3822 PyObject
* _argo0
= 0;
3826 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_SetModal",&_argo0
,&tempbool1
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3835 _arg1
= (bool ) tempbool1
;
3837 wxPy_BEGIN_ALLOW_THREADS
;
3838 wxDialog_SetModal(_arg0
,_arg1
);
3840 wxPy_END_ALLOW_THREADS
;
3841 } Py_INCREF(Py_None
);
3842 _resultobj
= Py_None
;
3846 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3847 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3848 PyObject
* _resultobj
;
3851 PyObject
* _argo0
= 0;
3854 if(!PyArg_ParseTuple(args
,"O:wxDialog_IsModal",&_argo0
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3864 wxPy_BEGIN_ALLOW_THREADS
;
3865 _result
= (bool )wxDialog_IsModal(_arg0
);
3867 wxPy_END_ALLOW_THREADS
;
3868 } _resultobj
= Py_BuildValue("i",_result
);
3872 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3873 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3874 PyObject
* _resultobj
;
3877 PyObject
* _argo0
= 0;
3878 PyObject
* _obj1
= 0;
3881 if(!PyArg_ParseTuple(args
,"OO:wxDialog_SetTitle",&_argo0
,&_obj1
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3891 if (!PyString_Check(_obj1
)) {
3892 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3895 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3898 wxPy_BEGIN_ALLOW_THREADS
;
3899 wxDialog_SetTitle(_arg0
,*_arg1
);
3901 wxPy_END_ALLOW_THREADS
;
3902 } Py_INCREF(Py_None
);
3903 _resultobj
= Py_None
;
3911 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3912 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3913 PyObject
* _resultobj
;
3917 PyObject
* _argo0
= 0;
3921 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_Show",&_argo0
,&tempbool1
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3930 _arg1
= (bool ) tempbool1
;
3932 wxPy_BEGIN_ALLOW_THREADS
;
3933 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3935 wxPy_END_ALLOW_THREADS
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3940 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3941 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3942 PyObject
* _resultobj
;
3945 PyObject
* _argo0
= 0;
3948 if(!PyArg_ParseTuple(args
,"O:wxDialog_ShowModal",&_argo0
))
3951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3958 wxPy_BEGIN_ALLOW_THREADS
;
3959 _result
= (int )wxDialog_ShowModal(_arg0
);
3961 wxPy_END_ALLOW_THREADS
;
3962 } _resultobj
= Py_BuildValue("i",_result
);
3966 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3967 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
) {
3968 PyObject
* _resultobj
;
3971 PyObject
* _argo0
= 0;
3974 if(!PyArg_ParseTuple(args
,"O:wxDialog_GetReturnCode",&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 _result
= (int )wxDialog_GetReturnCode(_arg0
);
3987 wxPy_END_ALLOW_THREADS
;
3988 } _resultobj
= Py_BuildValue("i",_result
);
3992 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3993 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
) {
3994 PyObject
* _resultobj
;
3997 PyObject
* _argo0
= 0;
4000 if(!PyArg_ParseTuple(args
,"Oi:wxDialog_SetReturnCode",&_argo0
,&_arg1
))
4003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4010 wxPy_BEGIN_ALLOW_THREADS
;
4011 wxDialog_SetReturnCode(_arg0
,_arg1
);
4013 wxPy_END_ALLOW_THREADS
;
4014 } Py_INCREF(Py_None
);
4015 _resultobj
= Py_None
;
4019 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
4020 wxScrolledWindow
*src
;
4022 src
= (wxScrolledWindow
*) ptr
;
4023 dest
= (wxPanel
*) src
;
4024 return (void *) dest
;
4027 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
4028 wxScrolledWindow
*src
;
4030 src
= (wxScrolledWindow
*) ptr
;
4031 dest
= (wxWindow
*) src
;
4032 return (void *) dest
;
4035 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
4036 wxScrolledWindow
*src
;
4038 src
= (wxScrolledWindow
*) ptr
;
4039 dest
= (wxEvtHandler
*) src
;
4040 return (void *) dest
;
4043 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4044 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
4045 PyObject
* _resultobj
;
4046 wxScrolledWindow
* _result
;
4048 wxWindowID _arg1
= (wxWindowID
) -1;
4049 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4050 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4051 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
4052 char * _arg5
= (char *) "scrolledWindow";
4053 PyObject
* _argo0
= 0;
4054 PyObject
* _argo2
= 0;
4055 PyObject
* _argo3
= 0;
4059 if(!PyArg_ParseTuple(args
,"O|iOOls:new_wxScrolledWindow",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4069 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
4076 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
4083 wxPy_BEGIN_ALLOW_THREADS
;
4084 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4086 wxPy_END_ALLOW_THREADS
;
4088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
4089 _resultobj
= Py_BuildValue("s",_ptemp
);
4092 _resultobj
= Py_None
;
4097 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4098 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
4099 PyObject
* _resultobj
;
4100 wxScrolledWindow
* _arg0
;
4103 PyObject
* _argo0
= 0;
4108 if(!PyArg_ParseTuple(args
,"Oii:wxScrolledWindow_EnableScrolling",&_argo0
,&tempbool1
,&tempbool2
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
4117 _arg1
= (bool ) tempbool1
;
4118 _arg2
= (bool ) tempbool2
;
4120 wxPy_BEGIN_ALLOW_THREADS
;
4121 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
4123 wxPy_END_ALLOW_THREADS
;
4124 } Py_INCREF(Py_None
);
4125 _resultobj
= Py_None
;
4129 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
4130 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
4131 PyObject
* _resultobj
;
4132 wxScrolledWindow
* _arg0
;
4137 PyObject
* _argo0
= 0;
4146 if(!PyArg_ParseTuple(args
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",&_argo0
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
4156 wxPy_BEGIN_ALLOW_THREADS
;
4157 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
4159 wxPy_END_ALLOW_THREADS
;
4160 } Py_INCREF(Py_None
);
4161 _resultobj
= Py_None
;
4164 o
= PyInt_FromLong((long) (*_arg1
));
4165 _resultobj
= t_output_helper(_resultobj
, o
);
4169 o
= PyInt_FromLong((long) (*_arg2
));
4170 _resultobj
= t_output_helper(_resultobj
, o
);
4175 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4176 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
4177 PyObject
* _resultobj
;
4178 wxScrolledWindow
* _arg0
;
4183 PyObject
* _argo0
= 0;
4192 if(!PyArg_ParseTuple(args
,"O:wxScrolledWindow_GetVirtualSize",&_argo0
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
4202 wxPy_BEGIN_ALLOW_THREADS
;
4203 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
4205 wxPy_END_ALLOW_THREADS
;
4206 } Py_INCREF(Py_None
);
4207 _resultobj
= Py_None
;
4210 o
= PyInt_FromLong((long) (*_arg1
));
4211 _resultobj
= t_output_helper(_resultobj
, o
);
4215 o
= PyInt_FromLong((long) (*_arg2
));
4216 _resultobj
= t_output_helper(_resultobj
, o
);
4221 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
4222 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
4223 PyObject
* _resultobj
;
4225 wxScrolledWindow
* _arg0
;
4226 PyObject
* _argo0
= 0;
4229 if(!PyArg_ParseTuple(args
,"O:wxScrolledWindow_IsRetained",&_argo0
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4239 wxPy_BEGIN_ALLOW_THREADS
;
4240 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
4242 wxPy_END_ALLOW_THREADS
;
4243 } _resultobj
= Py_BuildValue("i",_result
);
4247 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4248 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
4249 PyObject
* _resultobj
;
4250 wxScrolledWindow
* _arg0
;
4252 PyObject
* _argo0
= 0;
4253 PyObject
* _argo1
= 0;
4256 if(!PyArg_ParseTuple(args
,"OO:wxScrolledWindow_PrepareDC",&_argo0
,&_argo1
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4273 wxPy_BEGIN_ALLOW_THREADS
;
4274 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
4276 wxPy_END_ALLOW_THREADS
;
4277 } Py_INCREF(Py_None
);
4278 _resultobj
= Py_None
;
4282 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4283 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
4284 PyObject
* _resultobj
;
4285 wxScrolledWindow
* _arg0
;
4288 PyObject
* _argo0
= 0;
4291 if(!PyArg_ParseTuple(args
,"Oii:wxScrolledWindow_Scroll",&_argo0
,&_arg1
,&_arg2
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
4304 wxPy_END_ALLOW_THREADS
;
4305 } Py_INCREF(Py_None
);
4306 _resultobj
= Py_None
;
4310 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4311 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
4312 PyObject
* _resultobj
;
4313 wxScrolledWindow
* _arg0
;
4318 int _arg5
= (int ) 0;
4319 int _arg6
= (int ) 0;
4320 PyObject
* _argo0
= 0;
4323 if(!PyArg_ParseTuple(args
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4333 wxPy_BEGIN_ALLOW_THREADS
;
4334 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4336 wxPy_END_ALLOW_THREADS
;
4337 } Py_INCREF(Py_None
);
4338 _resultobj
= Py_None
;
4342 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4343 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
4344 PyObject
* _resultobj
;
4345 wxScrolledWindow
* _arg0
;
4350 PyObject
* _argo0
= 0;
4359 if(!PyArg_ParseTuple(args
,"O:wxScrolledWindow_ViewStart",&_argo0
))
4362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4369 wxPy_BEGIN_ALLOW_THREADS
;
4370 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4372 wxPy_END_ALLOW_THREADS
;
4373 } Py_INCREF(Py_None
);
4374 _resultobj
= Py_None
;
4377 o
= PyInt_FromLong((long) (*_arg1
));
4378 _resultobj
= t_output_helper(_resultobj
, o
);
4382 o
= PyInt_FromLong((long) (*_arg2
));
4383 _resultobj
= t_output_helper(_resultobj
, o
);
4388 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4391 src
= (wxMenu
*) ptr
;
4392 dest
= (wxEvtHandler
*) src
;
4393 return (void *) dest
;
4396 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4397 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
4398 PyObject
* _resultobj
;
4400 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
4401 long _arg1
= (long ) 0;
4402 PyObject
* _obj0
= 0;
4406 if(!PyArg_ParseTuple(args
,"|Ol:new_wxMenu",&_obj0
,&_arg1
))
4410 if (!PyString_Check(_obj0
)) {
4411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4414 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4417 wxPy_BEGIN_ALLOW_THREADS
;
4418 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
4420 wxPy_END_ALLOW_THREADS
;
4422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4423 _resultobj
= Py_BuildValue("s",_ptemp
);
4426 _resultobj
= Py_None
;
4435 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4436 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
4437 PyObject
* _resultobj
;
4441 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
4442 int _arg4
= (int ) FALSE
;
4443 PyObject
* _argo0
= 0;
4444 PyObject
* _obj2
= 0;
4445 PyObject
* _obj3
= 0;
4448 if(!PyArg_ParseTuple(args
,"OiO|Oi:wxMenu_Append",&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4458 if (!PyString_Check(_obj2
)) {
4459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4462 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4466 if (!PyString_Check(_obj3
)) {
4467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4470 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4473 wxPy_BEGIN_ALLOW_THREADS
;
4474 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4476 wxPy_END_ALLOW_THREADS
;
4477 } Py_INCREF(Py_None
);
4478 _resultobj
= Py_None
;
4490 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4491 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
4492 PyObject
* _resultobj
;
4497 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
4498 PyObject
* _argo0
= 0;
4499 PyObject
* _obj2
= 0;
4500 PyObject
* _argo3
= 0;
4501 PyObject
* _obj4
= 0;
4504 if(!PyArg_ParseTuple(args
,"OiOO|O:wxMenu_AppendMenu",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4514 if (!PyString_Check(_obj2
)) {
4515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4518 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4521 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4529 if (!PyString_Check(_obj4
)) {
4530 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4533 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4536 wxPy_BEGIN_ALLOW_THREADS
;
4537 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4539 wxPy_END_ALLOW_THREADS
;
4540 } Py_INCREF(Py_None
);
4541 _resultobj
= Py_None
;
4553 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4554 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
) {
4555 PyObject
* _resultobj
;
4558 PyObject
* _argo0
= 0;
4559 PyObject
* _argo1
= 0;
4562 if(!PyArg_ParseTuple(args
,"OO:wxMenu_AppendItem",&_argo0
,&_argo1
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
4572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
4574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
4579 wxPy_BEGIN_ALLOW_THREADS
;
4580 wxMenu_AppendItem(_arg0
,_arg1
);
4582 wxPy_END_ALLOW_THREADS
;
4583 } Py_INCREF(Py_None
);
4584 _resultobj
= Py_None
;
4588 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4589 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
4590 PyObject
* _resultobj
;
4592 PyObject
* _argo0
= 0;
4595 if(!PyArg_ParseTuple(args
,"O:wxMenu_AppendSeparator",&_argo0
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4605 wxPy_BEGIN_ALLOW_THREADS
;
4606 wxMenu_AppendSeparator(_arg0
);
4608 wxPy_END_ALLOW_THREADS
;
4609 } Py_INCREF(Py_None
);
4610 _resultobj
= Py_None
;
4614 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4615 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
4616 PyObject
* _resultobj
;
4618 PyObject
* _argo0
= 0;
4621 if(!PyArg_ParseTuple(args
,"O:wxMenu_Break",&_argo0
))
4624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4631 wxPy_BEGIN_ALLOW_THREADS
;
4632 wxMenu_Break(_arg0
);
4634 wxPy_END_ALLOW_THREADS
;
4635 } Py_INCREF(Py_None
);
4636 _resultobj
= Py_None
;
4640 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4641 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
4642 PyObject
* _resultobj
;
4646 PyObject
* _argo0
= 0;
4650 if(!PyArg_ParseTuple(args
,"Oii:wxMenu_Check",&_argo0
,&_arg1
,&tempbool2
))
4653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4659 _arg2
= (bool ) tempbool2
;
4661 wxPy_BEGIN_ALLOW_THREADS
;
4662 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4664 wxPy_END_ALLOW_THREADS
;
4665 } Py_INCREF(Py_None
);
4666 _resultobj
= Py_None
;
4670 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4671 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
4672 PyObject
* _resultobj
;
4676 PyObject
* _argo0
= 0;
4680 if(!PyArg_ParseTuple(args
,"Oii:wxMenu_Enable",&_argo0
,&_arg1
,&tempbool2
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4689 _arg2
= (bool ) tempbool2
;
4691 wxPy_BEGIN_ALLOW_THREADS
;
4692 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4694 wxPy_END_ALLOW_THREADS
;
4695 } Py_INCREF(Py_None
);
4696 _resultobj
= Py_None
;
4700 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4701 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
4702 PyObject
* _resultobj
;
4706 PyObject
* _argo0
= 0;
4707 PyObject
* _obj1
= 0;
4710 if(!PyArg_ParseTuple(args
,"OO:wxMenu_FindItem",&_argo0
,&_obj1
))
4713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4720 if (!PyString_Check(_obj1
)) {
4721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4724 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4727 wxPy_BEGIN_ALLOW_THREADS
;
4728 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4730 wxPy_END_ALLOW_THREADS
;
4731 } _resultobj
= Py_BuildValue("i",_result
);
4739 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4740 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4741 PyObject
* _resultobj
;
4744 PyObject
* _argo0
= 0;
4747 if(!PyArg_ParseTuple(args
,"O:wxMenu_GetTitle",&_argo0
))
4750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4757 wxPy_BEGIN_ALLOW_THREADS
;
4758 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4760 wxPy_END_ALLOW_THREADS
;
4762 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4770 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4771 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4772 PyObject
* _resultobj
;
4775 PyObject
* _argo0
= 0;
4776 PyObject
* _obj1
= 0;
4779 if(!PyArg_ParseTuple(args
,"OO:wxMenu_SetTitle",&_argo0
,&_obj1
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4789 if (!PyString_Check(_obj1
)) {
4790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4793 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4796 wxPy_BEGIN_ALLOW_THREADS
;
4797 wxMenu_SetTitle(_arg0
,*_arg1
);
4799 wxPy_END_ALLOW_THREADS
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4809 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4810 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4811 PyObject
* _resultobj
;
4812 wxMenuItem
* _result
;
4815 PyObject
* _argo0
= 0;
4819 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_FindItemForId",&_argo0
,&_arg1
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4829 wxPy_BEGIN_ALLOW_THREADS
;
4830 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4832 wxPy_END_ALLOW_THREADS
;
4834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4835 _resultobj
= Py_BuildValue("s",_ptemp
);
4838 _resultobj
= Py_None
;
4843 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4844 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4845 PyObject
* _resultobj
;
4849 PyObject
* _argo0
= 0;
4852 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_GetHelpString",&_argo0
,&_arg1
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4862 wxPy_BEGIN_ALLOW_THREADS
;
4863 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4865 wxPy_END_ALLOW_THREADS
;
4867 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4875 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4876 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4877 PyObject
* _resultobj
;
4881 PyObject
* _argo0
= 0;
4884 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_GetLabel",&_argo0
,&_arg1
))
4887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4894 wxPy_BEGIN_ALLOW_THREADS
;
4895 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4897 wxPy_END_ALLOW_THREADS
;
4899 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4907 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4908 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4909 PyObject
* _resultobj
;
4913 PyObject
* _argo0
= 0;
4914 PyObject
* _obj2
= 0;
4917 if(!PyArg_ParseTuple(args
,"OiO:wxMenu_SetHelpString",&_argo0
,&_arg1
,&_obj2
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4927 if (!PyString_Check(_obj2
)) {
4928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4931 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4934 wxPy_BEGIN_ALLOW_THREADS
;
4935 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4937 wxPy_END_ALLOW_THREADS
;
4938 } Py_INCREF(Py_None
);
4939 _resultobj
= Py_None
;
4947 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4948 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4949 PyObject
* _resultobj
;
4953 PyObject
* _argo0
= 0;
4956 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_IsChecked",&_argo0
,&_arg1
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4969 wxPy_END_ALLOW_THREADS
;
4970 } _resultobj
= Py_BuildValue("i",_result
);
4974 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4975 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4976 PyObject
* _resultobj
;
4980 PyObject
* _argo0
= 0;
4983 if(!PyArg_ParseTuple(args
,"Oi:wxMenu_IsEnabled",&_argo0
,&_arg1
))
4986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4993 wxPy_BEGIN_ALLOW_THREADS
;
4994 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4996 wxPy_END_ALLOW_THREADS
;
4997 } _resultobj
= Py_BuildValue("i",_result
);
5001 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5002 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
5003 PyObject
* _resultobj
;
5007 PyObject
* _argo0
= 0;
5008 PyObject
* _obj2
= 0;
5011 if(!PyArg_ParseTuple(args
,"OiO:wxMenu_SetLabel",&_argo0
,&_arg1
,&_obj2
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
5021 if (!PyString_Check(_obj2
)) {
5022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5025 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
5031 wxPy_END_ALLOW_THREADS
;
5032 } Py_INCREF(Py_None
);
5033 _resultobj
= Py_None
;
5041 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
5042 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
) {
5043 PyObject
* _resultobj
;
5045 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
5046 PyObject
* _argo0
= 0;
5047 PyObject
* _argo1
= 0;
5050 if(!PyArg_ParseTuple(args
,"O|O:wxMenu_UpdateUI",&_argo0
,&_argo1
))
5053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
5060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
5062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
5067 wxPy_BEGIN_ALLOW_THREADS
;
5068 wxMenu_UpdateUI(_arg0
,_arg1
);
5070 wxPy_END_ALLOW_THREADS
;
5071 } Py_INCREF(Py_None
);
5072 _resultobj
= Py_None
;
5076 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
5079 src
= (wxMenuBar
*) ptr
;
5080 dest
= (wxEvtHandler
*) src
;
5081 return (void *) dest
;
5084 #define new_wxMenuBar() (new wxMenuBar())
5085 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
5086 PyObject
* _resultobj
;
5087 wxMenuBar
* _result
;
5091 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
5094 wxPy_BEGIN_ALLOW_THREADS
;
5095 _result
= (wxMenuBar
*)new_wxMenuBar();
5097 wxPy_END_ALLOW_THREADS
;
5099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
5100 _resultobj
= Py_BuildValue("s",_ptemp
);
5103 _resultobj
= Py_None
;
5108 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
5109 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
5110 PyObject
* _resultobj
;
5114 PyObject
* _argo0
= 0;
5115 PyObject
* _argo1
= 0;
5116 PyObject
* _obj2
= 0;
5119 if(!PyArg_ParseTuple(args
,"OOO:wxMenuBar_Append",&_argo0
,&_argo1
,&_obj2
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
5129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
5136 if (!PyString_Check(_obj2
)) {
5137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5140 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
5146 wxPy_END_ALLOW_THREADS
;
5147 } Py_INCREF(Py_None
);
5148 _resultobj
= Py_None
;
5156 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5157 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
5158 PyObject
* _resultobj
;
5162 PyObject
* _argo0
= 0;
5166 if(!PyArg_ParseTuple(args
,"Oii:wxMenuBar_Check",&_argo0
,&_arg1
,&tempbool2
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
5175 _arg2
= (bool ) tempbool2
;
5177 wxPy_BEGIN_ALLOW_THREADS
;
5178 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
5180 wxPy_END_ALLOW_THREADS
;
5181 } Py_INCREF(Py_None
);
5182 _resultobj
= Py_None
;
5186 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
5187 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
5188 PyObject
* _resultobj
;
5192 PyObject
* _argo0
= 0;
5195 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_Checked",&_argo0
,&_arg1
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
5205 wxPy_BEGIN_ALLOW_THREADS
;
5206 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
5208 wxPy_END_ALLOW_THREADS
;
5209 } _resultobj
= Py_BuildValue("i",_result
);
5213 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5214 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
5215 PyObject
* _resultobj
;
5219 PyObject
* _argo0
= 0;
5223 if(!PyArg_ParseTuple(args
,"Oii:wxMenuBar_Enable",&_argo0
,&_arg1
,&tempbool2
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
5232 _arg2
= (bool ) tempbool2
;
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
5237 wxPy_END_ALLOW_THREADS
;
5238 } Py_INCREF(Py_None
);
5239 _resultobj
= Py_None
;
5243 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
5244 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
5245 PyObject
* _resultobj
;
5249 PyObject
* _argo0
= 0;
5252 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_Enabled",&_argo0
,&_arg1
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
5262 wxPy_BEGIN_ALLOW_THREADS
;
5263 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
5265 wxPy_END_ALLOW_THREADS
;
5266 } _resultobj
= Py_BuildValue("i",_result
);
5270 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
5271 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
5272 PyObject
* _resultobj
;
5277 PyObject
* _argo0
= 0;
5278 PyObject
* _obj1
= 0;
5279 PyObject
* _obj2
= 0;
5282 if(!PyArg_ParseTuple(args
,"OOO:wxMenuBar_FindMenuItem",&_argo0
,&_obj1
,&_obj2
))
5285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5292 if (!PyString_Check(_obj1
)) {
5293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5296 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5299 if (!PyString_Check(_obj2
)) {
5300 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5303 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5306 wxPy_BEGIN_ALLOW_THREADS
;
5307 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
5309 wxPy_END_ALLOW_THREADS
;
5310 } _resultobj
= Py_BuildValue("i",_result
);
5322 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5323 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
5324 PyObject
* _resultobj
;
5325 wxMenuItem
* _result
;
5328 PyObject
* _argo0
= 0;
5332 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_FindItemForId",&_argo0
,&_arg1
))
5335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5342 wxPy_BEGIN_ALLOW_THREADS
;
5343 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
5345 wxPy_END_ALLOW_THREADS
;
5347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5348 _resultobj
= Py_BuildValue("s",_ptemp
);
5351 _resultobj
= Py_None
;
5356 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
5357 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
5358 PyObject
* _resultobj
;
5362 PyObject
* _argo0
= 0;
5366 if(!PyArg_ParseTuple(args
,"Oii:wxMenuBar_EnableTop",&_argo0
,&_arg1
,&tempbool2
))
5369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
5375 _arg2
= (bool ) tempbool2
;
5377 wxPy_BEGIN_ALLOW_THREADS
;
5378 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
5380 wxPy_END_ALLOW_THREADS
;
5381 } Py_INCREF(Py_None
);
5382 _resultobj
= Py_None
;
5386 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5387 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
5388 PyObject
* _resultobj
;
5392 PyObject
* _argo0
= 0;
5395 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_GetHelpString",&_argo0
,&_arg1
))
5398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
5405 wxPy_BEGIN_ALLOW_THREADS
;
5406 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
5408 wxPy_END_ALLOW_THREADS
;
5410 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5418 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5419 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
5420 PyObject
* _resultobj
;
5424 PyObject
* _argo0
= 0;
5427 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_GetLabel",&_argo0
,&_arg1
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
5437 wxPy_BEGIN_ALLOW_THREADS
;
5438 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
5440 wxPy_END_ALLOW_THREADS
;
5442 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5450 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5451 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
5452 PyObject
* _resultobj
;
5456 PyObject
* _argo0
= 0;
5457 PyObject
* _obj2
= 0;
5460 if(!PyArg_ParseTuple(args
,"OiO:wxMenuBar_SetHelpString",&_argo0
,&_arg1
,&_obj2
))
5463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
5470 if (!PyString_Check(_obj2
)) {
5471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5474 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5477 wxPy_BEGIN_ALLOW_THREADS
;
5478 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
5480 wxPy_END_ALLOW_THREADS
;
5481 } Py_INCREF(Py_None
);
5482 _resultobj
= Py_None
;
5490 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5491 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
5492 PyObject
* _resultobj
;
5496 PyObject
* _argo0
= 0;
5497 PyObject
* _obj2
= 0;
5500 if(!PyArg_ParseTuple(args
,"OiO:wxMenuBar_SetLabel",&_argo0
,&_arg1
,&_obj2
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
5510 if (!PyString_Check(_obj2
)) {
5511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5514 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5517 wxPy_BEGIN_ALLOW_THREADS
;
5518 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
5520 wxPy_END_ALLOW_THREADS
;
5521 } Py_INCREF(Py_None
);
5522 _resultobj
= Py_None
;
5530 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
5531 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
5532 PyObject
* _resultobj
;
5536 PyObject
* _argo0
= 0;
5539 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_GetLabelTop",&_argo0
,&_arg1
))
5542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
5549 wxPy_BEGIN_ALLOW_THREADS
;
5550 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
5552 wxPy_END_ALLOW_THREADS
;
5554 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5562 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
5563 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
5564 PyObject
* _resultobj
;
5568 PyObject
* _argo0
= 0;
5569 PyObject
* _obj2
= 0;
5572 if(!PyArg_ParseTuple(args
,"OiO:wxMenuBar_SetLabelTop",&_argo0
,&_arg1
,&_obj2
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
5582 if (!PyString_Check(_obj2
)) {
5583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5586 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5589 wxPy_BEGIN_ALLOW_THREADS
;
5590 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
5592 wxPy_END_ALLOW_THREADS
;
5593 } Py_INCREF(Py_None
);
5594 _resultobj
= Py_None
;
5602 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5603 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
5604 PyObject
* _resultobj
;
5607 PyObject
* _argo0
= 0;
5610 if(!PyArg_ParseTuple(args
,"O:wxMenuBar_GetMenuCount",&_argo0
))
5613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5620 wxPy_BEGIN_ALLOW_THREADS
;
5621 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5623 wxPy_END_ALLOW_THREADS
;
5624 } _resultobj
= Py_BuildValue("i",_result
);
5628 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5629 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
5630 PyObject
* _resultobj
;
5634 PyObject
* _argo0
= 0;
5638 if(!PyArg_ParseTuple(args
,"Oi:wxMenuBar_GetMenu",&_argo0
,&_arg1
))
5641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5648 wxPy_BEGIN_ALLOW_THREADS
;
5649 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5651 wxPy_END_ALLOW_THREADS
;
5653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5654 _resultobj
= Py_BuildValue("s",_ptemp
);
5657 _resultobj
= Py_None
;
5662 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5663 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
5664 PyObject
* _resultobj
;
5665 wxMenuItem
* _result
;
5666 wxMenu
* _arg0
= (wxMenu
*) NULL
;
5667 int _arg1
= (int ) ID_SEPARATOR
;
5668 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
5669 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5670 bool _arg4
= (bool ) FALSE
;
5671 wxMenu
* _arg5
= (wxMenu
*) NULL
;
5672 PyObject
* _argo0
= 0;
5673 PyObject
* _obj2
= 0;
5674 PyObject
* _obj3
= 0;
5675 int tempbool4
= (int) FALSE
;
5676 PyObject
* _argo5
= 0;
5680 if(!PyArg_ParseTuple(args
,"|OiOOiO:new_wxMenuItem",&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
5691 if (!PyString_Check(_obj2
)) {
5692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5695 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5699 if (!PyString_Check(_obj3
)) {
5700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5703 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5705 _arg4
= (bool ) tempbool4
;
5707 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
5714 wxPy_BEGIN_ALLOW_THREADS
;
5715 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5717 wxPy_END_ALLOW_THREADS
;
5719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5720 _resultobj
= Py_BuildValue("s",_ptemp
);
5723 _resultobj
= Py_None
;
5736 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5737 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
5738 PyObject
* _resultobj
;
5741 PyObject
* _argo0
= 0;
5744 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_IsSeparator",&_argo0
))
5747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5754 wxPy_BEGIN_ALLOW_THREADS
;
5755 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5757 wxPy_END_ALLOW_THREADS
;
5758 } _resultobj
= Py_BuildValue("i",_result
);
5762 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5763 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
5764 PyObject
* _resultobj
;
5767 PyObject
* _argo0
= 0;
5770 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_IsEnabled",&_argo0
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5780 wxPy_BEGIN_ALLOW_THREADS
;
5781 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5783 wxPy_END_ALLOW_THREADS
;
5784 } _resultobj
= Py_BuildValue("i",_result
);
5788 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5789 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
5790 PyObject
* _resultobj
;
5793 PyObject
* _argo0
= 0;
5796 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_IsChecked",&_argo0
))
5799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5806 wxPy_BEGIN_ALLOW_THREADS
;
5807 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
5809 wxPy_END_ALLOW_THREADS
;
5810 } _resultobj
= Py_BuildValue("i",_result
);
5814 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5815 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
5816 PyObject
* _resultobj
;
5819 PyObject
* _argo0
= 0;
5822 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_IsCheckable",&_argo0
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
5835 wxPy_END_ALLOW_THREADS
;
5836 } _resultobj
= Py_BuildValue("i",_result
);
5840 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5841 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
5842 PyObject
* _resultobj
;
5845 PyObject
* _argo0
= 0;
5848 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetId",&_argo0
))
5851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5858 wxPy_BEGIN_ALLOW_THREADS
;
5859 _result
= (int )wxMenuItem_GetId(_arg0
);
5861 wxPy_END_ALLOW_THREADS
;
5862 } _resultobj
= Py_BuildValue("i",_result
);
5866 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5867 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
5868 PyObject
* _resultobj
;
5871 PyObject
* _argo0
= 0;
5875 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetSubMenu",&_argo0
))
5878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5885 wxPy_BEGIN_ALLOW_THREADS
;
5886 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
5888 wxPy_END_ALLOW_THREADS
;
5890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5891 _resultobj
= Py_BuildValue("s",_ptemp
);
5894 _resultobj
= Py_None
;
5899 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5900 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
5901 PyObject
* _resultobj
;
5904 PyObject
* _argo0
= 0;
5905 PyObject
* _obj1
= 0;
5908 if(!PyArg_ParseTuple(args
,"OO:wxMenuItem_SetName",&_argo0
,&_obj1
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5918 if (!PyString_Check(_obj1
)) {
5919 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5922 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5925 wxPy_BEGIN_ALLOW_THREADS
;
5926 wxMenuItem_SetName(_arg0
,*_arg1
);
5928 wxPy_END_ALLOW_THREADS
;
5929 } Py_INCREF(Py_None
);
5930 _resultobj
= Py_None
;
5938 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5939 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
5940 PyObject
* _resultobj
;
5943 PyObject
* _argo0
= 0;
5946 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetName",&_argo0
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5956 wxPy_BEGIN_ALLOW_THREADS
;
5957 _result
= new wxString (wxMenuItem_GetName(_arg0
));
5959 wxPy_END_ALLOW_THREADS
;
5961 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5969 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5970 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
5971 PyObject
* _resultobj
;
5974 PyObject
* _argo0
= 0;
5977 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetHelp",&_argo0
))
5980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5987 wxPy_BEGIN_ALLOW_THREADS
;
5988 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
5990 wxPy_END_ALLOW_THREADS
;
5992 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6000 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
6001 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
6002 PyObject
* _resultobj
;
6005 PyObject
* _argo0
= 0;
6006 PyObject
* _obj1
= 0;
6009 if(!PyArg_ParseTuple(args
,"OO:wxMenuItem_SetHelp",&_argo0
,&_obj1
))
6012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
6019 if (!PyString_Check(_obj1
)) {
6020 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6023 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6026 wxPy_BEGIN_ALLOW_THREADS
;
6027 wxMenuItem_SetHelp(_arg0
,*_arg1
);
6029 wxPy_END_ALLOW_THREADS
;
6030 } Py_INCREF(Py_None
);
6031 _resultobj
= Py_None
;
6039 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6040 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
6041 PyObject
* _resultobj
;
6043 bool _arg1
= (bool ) TRUE
;
6044 PyObject
* _argo0
= 0;
6045 int tempbool1
= (int) TRUE
;
6048 if(!PyArg_ParseTuple(args
,"O|i:wxMenuItem_Enable",&_argo0
,&tempbool1
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
6057 _arg1
= (bool ) tempbool1
;
6059 wxPy_BEGIN_ALLOW_THREADS
;
6060 wxMenuItem_Enable(_arg0
,_arg1
);
6062 wxPy_END_ALLOW_THREADS
;
6063 } Py_INCREF(Py_None
);
6064 _resultobj
= Py_None
;
6068 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
6069 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
6070 PyObject
* _resultobj
;
6072 bool _arg1
= (bool ) TRUE
;
6073 PyObject
* _argo0
= 0;
6074 int tempbool1
= (int) TRUE
;
6077 if(!PyArg_ParseTuple(args
,"O|i:wxMenuItem_Check",&_argo0
,&tempbool1
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
6086 _arg1
= (bool ) tempbool1
;
6088 wxPy_BEGIN_ALLOW_THREADS
;
6089 wxMenuItem_Check(_arg0
,_arg1
);
6091 wxPy_END_ALLOW_THREADS
;
6092 } Py_INCREF(Py_None
);
6093 _resultobj
= Py_None
;
6097 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6098 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
6099 PyObject
* _resultobj
;
6102 PyObject
* _argo0
= 0;
6106 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetBackgroundColour",&_argo0
))
6109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
6116 wxPy_BEGIN_ALLOW_THREADS
;
6117 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
6118 _result
= (wxColour
*) &_result_ref
;
6120 wxPy_END_ALLOW_THREADS
;
6122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6123 _resultobj
= Py_BuildValue("s",_ptemp
);
6126 _resultobj
= Py_None
;
6131 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
6132 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
) {
6133 PyObject
* _resultobj
;
6136 bool _arg1
= (bool ) TRUE
;
6137 PyObject
* _argo0
= 0;
6138 int tempbool1
= (int) TRUE
;
6142 if(!PyArg_ParseTuple(args
,"O|i:wxMenuItem_GetBitmap",&_argo0
,&tempbool1
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
6151 _arg1
= (bool ) tempbool1
;
6153 wxPy_BEGIN_ALLOW_THREADS
;
6154 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
6156 wxPy_END_ALLOW_THREADS
;
6157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
6158 _resultobj
= Py_BuildValue("s",_ptemp
);
6162 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
6163 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
) {
6164 PyObject
* _resultobj
;
6167 PyObject
* _argo0
= 0;
6171 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetFont",&_argo0
))
6174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
6181 wxPy_BEGIN_ALLOW_THREADS
;
6182 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
6183 _result
= (wxFont
*) &_result_ref
;
6185 wxPy_END_ALLOW_THREADS
;
6187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6188 _resultobj
= Py_BuildValue("s",_ptemp
);
6191 _resultobj
= Py_None
;
6196 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
6197 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
) {
6198 PyObject
* _resultobj
;
6201 PyObject
* _argo0
= 0;
6204 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetMarginWidth",&_argo0
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
6214 wxPy_BEGIN_ALLOW_THREADS
;
6215 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
6217 wxPy_END_ALLOW_THREADS
;
6218 } _resultobj
= Py_BuildValue("i",_result
);
6222 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6223 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
) {
6224 PyObject
* _resultobj
;
6227 PyObject
* _argo0
= 0;
6231 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_GetTextColour",&_argo0
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
6241 wxPy_BEGIN_ALLOW_THREADS
;
6242 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
6243 _result
= (wxColour
*) &_result_ref
;
6245 wxPy_END_ALLOW_THREADS
;
6247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6248 _resultobj
= Py_BuildValue("s",_ptemp
);
6251 _resultobj
= Py_None
;
6256 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6257 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
6258 PyObject
* _resultobj
;
6261 PyObject
* _argo0
= 0;
6262 PyObject
* _argo1
= 0;
6265 if(!PyArg_ParseTuple(args
,"OO:wxMenuItem_SetBackgroundColour",&_argo0
,&_argo1
))
6268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
6275 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
6282 wxPy_BEGIN_ALLOW_THREADS
;
6283 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
6285 wxPy_END_ALLOW_THREADS
;
6286 } Py_INCREF(Py_None
);
6287 _resultobj
= Py_None
;
6291 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
6292 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
) {
6293 PyObject
* _resultobj
;
6296 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6297 PyObject
* _argo0
= 0;
6298 PyObject
* _argo1
= 0;
6299 PyObject
* _argo2
= 0;
6302 if(!PyArg_ParseTuple(args
,"OO|O:wxMenuItem_SetBitmaps",&_argo0
,&_argo1
,&_argo2
))
6305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
6312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
6319 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
6329 wxPy_END_ALLOW_THREADS
;
6330 } Py_INCREF(Py_None
);
6331 _resultobj
= Py_None
;
6335 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6336 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
) {
6337 PyObject
* _resultobj
;
6340 PyObject
* _argo0
= 0;
6341 PyObject
* _argo1
= 0;
6344 if(!PyArg_ParseTuple(args
,"OO:wxMenuItem_SetFont",&_argo0
,&_argo1
))
6347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
6354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
6361 wxPy_BEGIN_ALLOW_THREADS
;
6362 wxMenuItem_SetFont(_arg0
,*_arg1
);
6364 wxPy_END_ALLOW_THREADS
;
6365 } Py_INCREF(Py_None
);
6366 _resultobj
= Py_None
;
6370 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
6371 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
) {
6372 PyObject
* _resultobj
;
6375 PyObject
* _argo0
= 0;
6378 if(!PyArg_ParseTuple(args
,"Oi:wxMenuItem_SetMarginWidth",&_argo0
,&_arg1
))
6381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
6388 wxPy_BEGIN_ALLOW_THREADS
;
6389 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
6391 wxPy_END_ALLOW_THREADS
;
6392 } Py_INCREF(Py_None
);
6393 _resultobj
= Py_None
;
6397 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6398 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
) {
6399 PyObject
* _resultobj
;
6402 PyObject
* _argo0
= 0;
6403 PyObject
* _argo1
= 0;
6406 if(!PyArg_ParseTuple(args
,"OO:wxMenuItem_SetTextColour",&_argo0
,&_argo1
))
6409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
6416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
6423 wxPy_BEGIN_ALLOW_THREADS
;
6424 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
6426 wxPy_END_ALLOW_THREADS
;
6427 } Py_INCREF(Py_None
);
6428 _resultobj
= Py_None
;
6432 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
6433 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
6434 PyObject
* _resultobj
;
6436 PyObject
* _argo0
= 0;
6439 if(!PyArg_ParseTuple(args
,"O:wxMenuItem_DeleteSubMenu",&_argo0
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
6449 wxPy_BEGIN_ALLOW_THREADS
;
6450 wxMenuItem_DeleteSubMenu(_arg0
);
6452 wxPy_END_ALLOW_THREADS
;
6453 } Py_INCREF(Py_None
);
6454 _resultobj
= Py_None
;
6458 static PyMethodDef windowscMethods
[] = {
6459 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, METH_VARARGS
},
6460 { "wxMenuItem_SetTextColour", _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
},
6461 { "wxMenuItem_SetMarginWidth", _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
},
6462 { "wxMenuItem_SetFont", _wrap_wxMenuItem_SetFont
, METH_VARARGS
},
6463 { "wxMenuItem_SetBitmaps", _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
},
6464 { "wxMenuItem_SetBackgroundColour", _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
},
6465 { "wxMenuItem_GetTextColour", _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
},
6466 { "wxMenuItem_GetMarginWidth", _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
},
6467 { "wxMenuItem_GetFont", _wrap_wxMenuItem_GetFont
, METH_VARARGS
},
6468 { "wxMenuItem_GetBitmap", _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
},
6469 { "wxMenuItem_GetBackgroundColour", _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
},
6470 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, METH_VARARGS
},
6471 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, METH_VARARGS
},
6472 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, METH_VARARGS
},
6473 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, METH_VARARGS
},
6474 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, METH_VARARGS
},
6475 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, METH_VARARGS
},
6476 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
},
6477 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, METH_VARARGS
},
6478 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
},
6479 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, METH_VARARGS
},
6480 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
},
6481 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
},
6482 { "new_wxMenuItem", _wrap_new_wxMenuItem
, METH_VARARGS
},
6483 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, METH_VARARGS
},
6484 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
},
6485 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
},
6486 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
},
6487 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, METH_VARARGS
},
6488 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
},
6489 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, METH_VARARGS
},
6490 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
},
6491 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, METH_VARARGS
},
6492 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
},
6493 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
},
6494 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, METH_VARARGS
},
6495 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, METH_VARARGS
},
6496 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, METH_VARARGS
},
6497 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, METH_VARARGS
},
6498 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, METH_VARARGS
},
6499 { "new_wxMenuBar", _wrap_new_wxMenuBar
, METH_VARARGS
},
6500 { "wxMenu_UpdateUI", _wrap_wxMenu_UpdateUI
, METH_VARARGS
},
6501 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, METH_VARARGS
},
6502 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, METH_VARARGS
},
6503 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, METH_VARARGS
},
6504 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, METH_VARARGS
},
6505 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, METH_VARARGS
},
6506 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, METH_VARARGS
},
6507 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, METH_VARARGS
},
6508 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, METH_VARARGS
},
6509 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, METH_VARARGS
},
6510 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, METH_VARARGS
},
6511 { "wxMenu_Enable", _wrap_wxMenu_Enable
, METH_VARARGS
},
6512 { "wxMenu_Check", _wrap_wxMenu_Check
, METH_VARARGS
},
6513 { "wxMenu_Break", _wrap_wxMenu_Break
, METH_VARARGS
},
6514 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, METH_VARARGS
},
6515 { "wxMenu_AppendItem", _wrap_wxMenu_AppendItem
, METH_VARARGS
},
6516 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, METH_VARARGS
},
6517 { "wxMenu_Append", _wrap_wxMenu_Append
, METH_VARARGS
},
6518 { "new_wxMenu", _wrap_new_wxMenu
, METH_VARARGS
},
6519 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
},
6520 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
},
6521 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
},
6522 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
},
6523 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
},
6524 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
},
6525 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
},
6526 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
},
6527 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, METH_VARARGS
},
6528 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode
, METH_VARARGS
},
6529 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode
, METH_VARARGS
},
6530 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, METH_VARARGS
},
6531 { "wxDialog_Show", _wrap_wxDialog_Show
, METH_VARARGS
},
6532 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, METH_VARARGS
},
6533 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, METH_VARARGS
},
6534 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, METH_VARARGS
},
6535 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, METH_VARARGS
},
6536 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, METH_VARARGS
},
6537 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, METH_VARARGS
},
6538 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, METH_VARARGS
},
6539 { "wxDialog_Centre", _wrap_wxDialog_Centre
, METH_VARARGS
},
6540 { "new_wxDialog", _wrap_new_wxDialog
, METH_VARARGS
},
6541 { "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
},
6542 { "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
},
6543 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, METH_VARARGS
},
6544 { "new_wxPanel", _wrap_new_wxPanel
, METH_VARARGS
},
6545 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, METH_VARARGS
},
6546 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, METH_VARARGS
},
6547 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, METH_VARARGS
},
6548 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
},
6549 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
},
6550 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
},
6551 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
},
6552 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
},
6553 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
},
6554 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, METH_VARARGS
},
6555 { "wxWindow_Validate", _wrap_wxWindow_Validate
, METH_VARARGS
},
6556 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
},
6557 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
},
6558 { "wxWindow_Show", _wrap_wxWindow_Show
, METH_VARARGS
},
6559 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, METH_VARARGS
},
6560 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, METH_VARARGS
},
6561 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, METH_VARARGS
},
6562 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
},
6563 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, METH_VARARGS
},
6564 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, METH_VARARGS
},
6565 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, METH_VARARGS
},
6566 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, METH_VARARGS
},
6567 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, METH_VARARGS
},
6568 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, METH_VARARGS
},
6569 { "wxWindow_SetName", _wrap_wxWindow_SetName
, METH_VARARGS
},
6570 { "wxWindow_SetId", _wrap_wxWindow_SetId
, METH_VARARGS
},
6571 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
},
6572 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, METH_VARARGS
},
6573 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, METH_VARARGS
},
6574 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, METH_VARARGS
},
6575 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
},
6576 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
},
6577 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
},
6578 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, METH_VARARGS
},
6579 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, METH_VARARGS
},
6580 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
},
6581 { "wxWindow_Reparent", _wrap_wxWindow_Reparent
, METH_VARARGS
},
6582 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
},
6583 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, METH_VARARGS
},
6584 { "wxWindow_Raise", _wrap_wxWindow_Raise
, METH_VARARGS
},
6585 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, METH_VARARGS
},
6586 { "wxWindow_PopupMenuXY", _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
},
6587 { "wxWindow_Move", _wrap_wxWindow_Move
, METH_VARARGS
},
6588 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, METH_VARARGS
},
6589 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, METH_VARARGS
},
6590 { "wxWindow_Lower", _wrap_wxWindow_Lower
, METH_VARARGS
},
6591 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, METH_VARARGS
},
6592 { "wxWindow_Layout", _wrap_wxWindow_Layout
, METH_VARARGS
},
6593 { "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel
, METH_VARARGS
},
6594 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, METH_VARARGS
},
6595 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, METH_VARARGS
},
6596 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, METH_VARARGS
},
6597 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, METH_VARARGS
},
6598 { "wxWindow_Hide", _wrap_wxWindow_Hide
, METH_VARARGS
},
6599 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
},
6600 { "wxWindow_GetUpdateRegion", _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
},
6601 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, METH_VARARGS
},
6602 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
},
6603 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, METH_VARARGS
},
6604 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, METH_VARARGS
},
6605 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
},
6606 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, METH_VARARGS
},
6607 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, METH_VARARGS
},
6608 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
},
6609 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, METH_VARARGS
},
6610 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, METH_VARARGS
},
6611 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
},
6612 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, METH_VARARGS
},
6613 { "wxWindow_GetName", _wrap_wxWindow_GetName
, METH_VARARGS
},
6614 { "wxWindow_SetLabel", _wrap_wxWindow_SetLabel
, METH_VARARGS
},
6615 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, METH_VARARGS
},
6616 { "wxWindow_GetId", _wrap_wxWindow_GetId
, METH_VARARGS
},
6617 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, METH_VARARGS
},
6618 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
},
6619 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, METH_VARARGS
},
6620 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, METH_VARARGS
},
6621 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, METH_VARARGS
},
6622 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
},
6623 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, METH_VARARGS
},
6624 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, METH_VARARGS
},
6625 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
},
6626 { "wxWindow_Fit", _wrap_wxWindow_Fit
, METH_VARARGS
},
6627 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, METH_VARARGS
},
6628 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, METH_VARARGS
},
6629 { "wxWindow_Enable", _wrap_wxWindow_Enable
, METH_VARARGS
},
6630 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
},
6631 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, METH_VARARGS
},
6632 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, METH_VARARGS
},
6633 { "wxWindow_Close", _wrap_wxWindow_Close
, METH_VARARGS
},
6634 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, METH_VARARGS
},
6635 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
},
6636 { "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent
, METH_VARARGS
},
6637 { "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent
, METH_VARARGS
},
6638 { "wxWindow_Centre", _wrap_wxWindow_Centre
, METH_VARARGS
},
6639 { "wxWindow_Center", _wrap_wxWindow_Center
, METH_VARARGS
},
6640 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, METH_VARARGS
},
6641 { "new_wxWindow", _wrap_new_wxWindow
, METH_VARARGS
},
6642 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, METH_VARARGS
},
6643 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
},
6644 { "wxWindow_FromHWND", _wrap_wxWindow_FromHWND
, METH_VARARGS
},
6645 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, METH_VARARGS
},
6652 * This table is used by the pointer type-checker
6654 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6655 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6656 { "_signed_long","_long",0},
6657 { "_wxPrintQuality","_int",0},
6658 { "_wxPrintQuality","_signed_int",0},
6659 { "_wxPrintQuality","_unsigned_int",0},
6660 { "_wxPrintQuality","_wxWindowID",0},
6661 { "_wxPrintQuality","_uint",0},
6662 { "_wxPrintQuality","_EBool",0},
6663 { "_wxPrintQuality","_size_t",0},
6664 { "_class_wxRegionIterator","_wxRegionIterator",0},
6665 { "_class_wxMenuBar","_wxMenuBar",0},
6666 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6667 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6668 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
6669 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
6670 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6671 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6672 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
6673 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
6674 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
6675 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
6676 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
6677 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
6678 { "_class_wxEvtHandler","_wxEvtHandler",0},
6679 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6680 { "_wxCursor","_class_wxCursor",0},
6681 { "_wxMask","_class_wxMask",0},
6682 { "_wxPen","_class_wxPen",0},
6683 { "_byte","_unsigned_char",0},
6684 { "_long","_wxDash",0},
6685 { "_long","_unsigned_long",0},
6686 { "_long","_signed_long",0},
6687 { "_wxImageList","_class_wxImageList",0},
6688 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6689 { "_wxDC","_class_wxDC",0},
6690 { "_size_t","_wxPrintQuality",0},
6691 { "_size_t","_unsigned_int",0},
6692 { "_size_t","_int",0},
6693 { "_size_t","_wxWindowID",0},
6694 { "_size_t","_uint",0},
6695 { "_class_wxRealPoint","_wxRealPoint",0},
6696 { "_wxPrinterDC","_class_wxPrinterDC",0},
6697 { "_class_wxMenuItem","_wxMenuItem",0},
6698 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6699 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6700 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
6701 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
6702 { "_wxPanel","_class_wxPanel",0},
6703 { "_class_wxMask","_wxMask",0},
6704 { "_wxColour","_class_wxColour",0},
6705 { "_class_wxDialog","_wxDialog",0},
6706 { "_wxBrush","_class_wxBrush",0},
6707 { "_uint","_wxPrintQuality",0},
6708 { "_uint","_size_t",0},
6709 { "_uint","_unsigned_int",0},
6710 { "_uint","_int",0},
6711 { "_uint","_wxWindowID",0},
6712 { "_wxRect","_class_wxRect",0},
6713 { "_wxPoint","_class_wxPoint",0},
6714 { "_wxBitmap","_class_wxBitmap",0},
6715 { "_wxPyTimer","_class_wxPyTimer",0},
6716 { "_wxWindowDC","_class_wxWindowDC",0},
6717 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6718 { "_EBool","_wxPrintQuality",0},
6719 { "_EBool","_signed_int",0},
6720 { "_EBool","_int",0},
6721 { "_EBool","_wxWindowID",0},
6722 { "_class_wxRegion","_wxRegion",0},
6723 { "_wxFont","_class_wxFont",0},
6724 { "_unsigned_long","_wxDash",0},
6725 { "_unsigned_long","_long",0},
6726 { "_class_wxRect","_wxRect",0},
6727 { "_class_wxDC","_wxDC",0},
6728 { "_class_wxPyTimer","_wxPyTimer",0},
6729 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6730 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6731 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6732 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
6733 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
6734 { "_class_wxPanel","_wxPanel",0},
6735 { "_signed_int","_wxPrintQuality",0},
6736 { "_signed_int","_EBool",0},
6737 { "_signed_int","_wxWindowID",0},
6738 { "_signed_int","_int",0},
6739 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6740 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6741 { "_wxMenu","_class_wxMenu",0},
6742 { "_wxScreenDC","_class_wxScreenDC",0},
6743 { "_WXTYPE","_short",0},
6744 { "_WXTYPE","_signed_short",0},
6745 { "_WXTYPE","_unsigned_short",0},
6746 { "_class_wxBrush","_wxBrush",0},
6747 { "_unsigned_short","_WXTYPE",0},
6748 { "_unsigned_short","_short",0},
6749 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6750 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6751 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
6752 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
6753 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
6754 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
6755 { "_class_wxWindow","_wxWindow",0},
6756 { "_class_wxFont","_wxFont",0},
6757 { "_wxClientDC","_class_wxClientDC",0},
6758 { "_class_wxPoint","_wxPoint",0},
6759 { "_wxRealPoint","_class_wxRealPoint",0},
6760 { "_signed_short","_WXTYPE",0},
6761 { "_signed_short","_short",0},
6762 { "_wxMemoryDC","_class_wxMemoryDC",0},
6763 { "_wxPaintDC","_class_wxPaintDC",0},
6764 { "_class_wxWindowDC","_wxWindowDC",0},
6765 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6766 { "_class_wxCursor","_wxCursor",0},
6767 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6768 { "_unsigned_char","_byte",0},
6769 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6770 { "_class_wxMenu","_wxMenu",0},
6771 { "_unsigned_int","_wxPrintQuality",0},
6772 { "_unsigned_int","_size_t",0},
6773 { "_unsigned_int","_uint",0},
6774 { "_unsigned_int","_wxWindowID",0},
6775 { "_unsigned_int","_int",0},
6776 { "_wxIcon","_class_wxIcon",0},
6777 { "_wxDialog","_class_wxDialog",0},
6778 { "_class_wxPen","_wxPen",0},
6779 { "_short","_WXTYPE",0},
6780 { "_short","_unsigned_short",0},
6781 { "_short","_signed_short",0},
6782 { "_class_wxImageList","_wxImageList",0},
6783 { "_wxWindowID","_wxPrintQuality",0},
6784 { "_wxWindowID","_size_t",0},
6785 { "_wxWindowID","_EBool",0},
6786 { "_wxWindowID","_uint",0},
6787 { "_wxWindowID","_int",0},
6788 { "_wxWindowID","_signed_int",0},
6789 { "_wxWindowID","_unsigned_int",0},
6790 { "_int","_wxPrintQuality",0},
6791 { "_int","_size_t",0},
6792 { "_int","_EBool",0},
6793 { "_int","_uint",0},
6794 { "_int","_wxWindowID",0},
6795 { "_int","_unsigned_int",0},
6796 { "_int","_signed_int",0},
6797 { "_wxSize","_class_wxSize",0},
6798 { "_wxRegionIterator","_class_wxRegionIterator",0},
6799 { "_class_wxPrinterDC","_wxPrinterDC",0},
6800 { "_class_wxPaintDC","_wxPaintDC",0},
6801 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6802 { "_class_wxIcon","_wxIcon",0},
6803 { "_class_wxColour","_wxColour",0},
6804 { "_class_wxScreenDC","_wxScreenDC",0},
6805 { "_wxPalette","_class_wxPalette",0},
6806 { "_wxRegion","_class_wxRegion",0},
6807 { "_class_wxClientDC","_wxClientDC",0},
6808 { "_class_wxSize","_wxSize",0},
6809 { "_class_wxBitmap","_wxBitmap",0},
6810 { "_class_wxMemoryDC","_wxMemoryDC",0},
6811 { "_wxMenuBar","_class_wxMenuBar",0},
6812 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6813 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6814 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
6815 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
6816 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6817 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6818 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
6819 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
6820 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
6821 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
6822 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
6823 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
6824 { "_wxEvtHandler","_class_wxEvtHandler",0},
6825 { "_wxMenuItem","_class_wxMenuItem",0},
6826 { "_wxDash","_unsigned_long",0},
6827 { "_wxDash","_long",0},
6828 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6829 { "_class_wxPalette","_wxPalette",0},
6830 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6831 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6832 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
6833 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
6834 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
6835 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
6836 { "_wxWindow","_class_wxWindow",0},
6839 static PyObject
*SWIG_globals
;
6843 SWIGEXPORT(void) initwindowsc() {
6845 SWIG_globals
= SWIG_newvarlink();
6846 m
= Py_InitModule("windowsc", windowscMethods
);
6847 d
= PyModule_GetDict(m
);
6850 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6851 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);