2 * FILE : msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 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
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
106 extern byte
* byte_LIST_helper(PyObject
* source
);
107 extern int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
116 static char* wxStringErrorMsg
= "string type is required for parameter";
118 wxWindow
* wxWindow_FindFocus() {
119 return wxWindow::FindFocus();
122 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
123 wxWindow
* win
= new wxWindow
;
125 win
->SubclassWin(hWnd
);
128 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
) {
129 PyObject
* _resultobj
;
134 if(!PyArg_ParseTuple(args
,":wxWindow_FindFocus"))
136 _result
= (wxWindow
*)wxWindow_FindFocus();
137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
138 _resultobj
= Py_BuildValue("s",_ptemp
);
142 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
) {
143 PyObject
* _resultobj
;
149 if(!PyArg_ParseTuple(args
,"l:wxWindow_FromHWND",&_arg0
))
151 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
153 _resultobj
= Py_BuildValue("s",_ptemp
);
157 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
158 if (PyCallable_Check(func
)) {
159 self
->Connect(id
, lastId
, eventType
,
160 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
161 new wxPyCallback(func
));
164 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
165 PyObject
* _resultobj
;
166 wxEvtHandler
* _arg0
;
172 PyObject
* _obj4
= 0;
175 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
186 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
188 _resultobj
= Py_None
;
192 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
195 src
= (wxWindow
*) ptr
;
196 dest
= (wxEvtHandler
*) src
;
197 return (void *) dest
;
200 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
201 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
202 PyObject
* _resultobj
;
206 wxPoint
* _arg2
= &wxPyDefaultPosition
;
207 wxSize
* _arg3
= &wxPyDefaultSize
;
209 char * _arg5
= "panel";
216 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
225 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
231 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
236 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
238 _resultobj
= Py_BuildValue("s",_ptemp
);
242 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
243 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
244 PyObject
* _resultobj
;
249 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
252 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
257 wxWindow_CaptureMouse(_arg0
);
259 _resultobj
= Py_None
;
263 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
264 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
265 PyObject
* _resultobj
;
267 int _arg1
= (wxHORIZONTAL
);
271 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
274 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
279 wxWindow_Center(_arg0
,_arg1
);
281 _resultobj
= Py_None
;
285 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
286 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
287 PyObject
* _resultobj
;
289 int _arg1
= (wxHORIZONTAL
);
293 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
296 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
301 wxWindow_Centre(_arg0
,_arg1
);
303 _resultobj
= Py_None
;
307 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
308 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
) {
309 PyObject
* _resultobj
;
315 PyObject
* _obj1
= 0;
317 PyObject
* _obj2
= 0;
320 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreenXY",&_argc0
,&_obj1
,&_obj2
))
323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
329 temp
= (int) PyInt_AsLong(_obj1
);
333 temp0
= (int) PyInt_AsLong(_obj2
);
336 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
338 _resultobj
= Py_None
;
341 o
= PyInt_FromLong((long) (*_arg1
));
342 _resultobj
= t_output_helper(_resultobj
, o
);
346 o
= PyInt_FromLong((long) (*_arg2
));
347 _resultobj
= t_output_helper(_resultobj
, o
);
352 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
353 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
354 PyObject
* _resultobj
;
363 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ClientToScreen",&_argc0
,&_argc1
))
366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
372 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
377 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
378 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
379 _resultobj
= Py_BuildValue("s",_ptemp
);
383 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
384 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
385 PyObject
* _resultobj
;
392 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
400 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
401 _resultobj
= Py_BuildValue("i",_result
);
405 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
406 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
407 PyObject
* _resultobj
;
413 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
416 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
421 _result
= (bool )wxWindow_Destroy(_arg0
);
422 _resultobj
= Py_BuildValue("i",_result
);
426 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
427 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
428 PyObject
* _resultobj
;
433 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
441 wxWindow_DestroyChildren(_arg0
);
443 _resultobj
= Py_None
;
447 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
448 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
) {
449 PyObject
* _resultobj
;
456 if(!PyArg_ParseTuple(args
,"si:wxWindow_DragAcceptFiles",&_argc0
,&tempbool1
))
459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
464 _arg1
= (bool ) tempbool1
;
465 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
467 _resultobj
= Py_None
;
471 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
472 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
473 PyObject
* _resultobj
;
480 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
483 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
488 _arg1
= (bool ) tempbool1
;
489 wxWindow_Enable(_arg0
,_arg1
);
491 _resultobj
= Py_None
;
495 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
496 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
) {
497 PyObject
* _resultobj
;
505 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowById",&_argc0
,&_arg1
))
508 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
513 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
515 _resultobj
= Py_BuildValue("s",_ptemp
);
519 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
520 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
521 PyObject
* _resultobj
;
526 PyObject
* _obj1
= 0;
530 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
533 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
539 if (!PyString_Check(_obj1
)) {
540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
543 _arg1
= new wxString(PyString_AsString(_obj1
));
545 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
547 _resultobj
= Py_BuildValue("s",_ptemp
);
555 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
556 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
557 PyObject
* _resultobj
;
562 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
572 _resultobj
= Py_None
;
576 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
577 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
578 PyObject
* _resultobj
;
585 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
593 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
594 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
595 _resultobj
= Py_BuildValue("s",_ptemp
);
599 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
600 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
601 PyObject
* _resultobj
;
607 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
610 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
615 _result
= (int )wxWindow_GetCharHeight(_arg0
);
616 _resultobj
= Py_BuildValue("i",_result
);
620 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
621 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
622 PyObject
* _resultobj
;
628 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
631 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
636 _result
= (int )wxWindow_GetCharWidth(_arg0
);
637 _resultobj
= Py_BuildValue("i",_result
);
641 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
642 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
643 PyObject
* _resultobj
;
658 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
661 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
666 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
668 _resultobj
= Py_None
;
671 o
= PyInt_FromLong((long) (*_arg1
));
672 _resultobj
= t_output_helper(_resultobj
, o
);
676 o
= PyInt_FromLong((long) (*_arg2
));
677 _resultobj
= t_output_helper(_resultobj
, o
);
682 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
683 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
684 PyObject
* _resultobj
;
691 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
699 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
700 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
701 _resultobj
= Py_BuildValue("s",_ptemp
);
705 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
706 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
707 PyObject
* _resultobj
;
708 wxLayoutConstraints
* _result
;
714 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
722 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
724 _resultobj
= Py_BuildValue("s",_ptemp
);
728 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
729 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
730 PyObject
* _resultobj
;
737 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetDefaultItem",&_argc0
))
740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
745 _result
= (wxButton
*)wxWindow_GetDefaultItem(_arg0
);
746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
747 _resultobj
= Py_BuildValue("s",_ptemp
);
751 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
752 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
753 PyObject
* _resultobj
;
760 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
763 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
768 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
769 _result
= (wxFont
*) &_result_ref
;
770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
771 _resultobj
= Py_BuildValue("s",_ptemp
);
775 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
776 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
777 PyObject
* _resultobj
;
784 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
787 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
792 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
793 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
794 _resultobj
= Py_BuildValue("s",_ptemp
);
798 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
799 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
800 PyObject
* _resultobj
;
807 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
815 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
817 _resultobj
= Py_BuildValue("s",_ptemp
);
821 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
822 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
823 PyObject
* _resultobj
;
829 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
837 _result
= (int )wxWindow_GetId(_arg0
);
838 _resultobj
= Py_BuildValue("i",_result
);
842 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
843 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
844 PyObject
* _resultobj
;
850 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
858 _result
= new wxString (wxWindow_GetLabel(_arg0
));
860 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
868 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
869 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
870 PyObject
* _resultobj
;
876 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
884 _result
= new wxString (wxWindow_GetName(_arg0
));
886 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
894 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
895 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
896 PyObject
* _resultobj
;
903 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
911 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
913 _resultobj
= Py_BuildValue("s",_ptemp
);
917 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
918 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
919 PyObject
* _resultobj
;
934 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
937 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
942 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
944 _resultobj
= Py_None
;
947 o
= PyInt_FromLong((long) (*_arg1
));
948 _resultobj
= t_output_helper(_resultobj
, o
);
952 o
= PyInt_FromLong((long) (*_arg2
));
953 _resultobj
= t_output_helper(_resultobj
, o
);
958 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
959 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
960 PyObject
* _resultobj
;
967 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
970 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
975 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
976 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
977 _resultobj
= Py_BuildValue("s",_ptemp
);
981 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
982 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
983 PyObject
* _resultobj
;
990 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetRect",&_argc0
))
993 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
998 _result
= new wxRect (wxWindow_GetRect(_arg0
));
999 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1000 _resultobj
= Py_BuildValue("s",_ptemp
);
1004 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1005 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
1006 PyObject
* _resultobj
;
1012 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
1015 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
1020 _result
= (int )wxWindow_GetReturnCode(_arg0
);
1021 _resultobj
= Py_BuildValue("i",_result
);
1025 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1026 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
1027 PyObject
* _resultobj
;
1034 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
1037 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1042 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1043 _resultobj
= Py_BuildValue("i",_result
);
1047 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1048 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1049 PyObject
* _resultobj
;
1056 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
1059 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1064 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1065 _resultobj
= Py_BuildValue("i",_result
);
1069 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1070 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1071 PyObject
* _resultobj
;
1078 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
1081 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1086 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1087 _resultobj
= Py_BuildValue("i",_result
);
1091 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1092 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1093 PyObject
* _resultobj
;
1108 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
1111 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1116 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1118 _resultobj
= Py_None
;
1121 o
= PyInt_FromLong((long) (*_arg1
));
1122 _resultobj
= t_output_helper(_resultobj
, o
);
1126 o
= PyInt_FromLong((long) (*_arg2
));
1127 _resultobj
= t_output_helper(_resultobj
, o
);
1132 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1133 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1134 PyObject
* _resultobj
;
1141 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1144 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1149 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1150 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1151 _resultobj
= Py_BuildValue("s",_ptemp
);
1155 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1156 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1157 PyObject
* _resultobj
;
1165 PyObject
* _obj1
= 0;
1174 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1183 if (!PyString_Check(_obj1
)) {
1184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1187 _arg1
= new wxString(PyString_AsString(_obj1
));
1189 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1191 _resultobj
= Py_None
;
1194 o
= PyInt_FromLong((long) (*_arg2
));
1195 _resultobj
= t_output_helper(_resultobj
, o
);
1199 o
= PyInt_FromLong((long) (*_arg3
));
1200 _resultobj
= t_output_helper(_resultobj
, o
);
1209 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1210 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1211 PyObject
* _resultobj
;
1222 wxFont
* _arg6
= NULL
;
1224 PyObject
* _obj1
= 0;
1240 if(!PyArg_ParseTuple(args
,"sO|s:wxWindow_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
1243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1249 if (!PyString_Check(_obj1
)) {
1250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1253 _arg1
= new wxString(PyString_AsString(_obj1
));
1256 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1261 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1263 _resultobj
= Py_None
;
1266 o
= PyInt_FromLong((long) (*_arg2
));
1267 _resultobj
= t_output_helper(_resultobj
, o
);
1271 o
= PyInt_FromLong((long) (*_arg3
));
1272 _resultobj
= t_output_helper(_resultobj
, o
);
1276 o
= PyInt_FromLong((long) (*_arg4
));
1277 _resultobj
= t_output_helper(_resultobj
, o
);
1281 o
= PyInt_FromLong((long) (*_arg5
));
1282 _resultobj
= t_output_helper(_resultobj
, o
);
1291 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1292 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1293 PyObject
* _resultobj
;
1299 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1302 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1307 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1309 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1317 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1318 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1319 PyObject
* _resultobj
;
1325 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1328 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1333 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1334 _resultobj
= Py_BuildValue("l",_result
);
1338 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1339 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1340 PyObject
* _resultobj
;
1345 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1348 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1353 wxWindow_InitDialog(_arg0
);
1355 _resultobj
= Py_None
;
1359 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1360 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1361 PyObject
* _resultobj
;
1367 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1375 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1376 _resultobj
= Py_BuildValue("i",_result
);
1380 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1381 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1382 PyObject
* _resultobj
;
1388 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1391 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1396 _result
= (bool )wxWindow_IsRetained(_arg0
);
1397 _resultobj
= Py_BuildValue("i",_result
);
1401 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1402 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1403 PyObject
* _resultobj
;
1409 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1417 _result
= (bool )wxWindow_IsShown(_arg0
);
1418 _resultobj
= Py_BuildValue("i",_result
);
1422 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1423 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1424 PyObject
* _resultobj
;
1429 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1432 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1437 wxWindow_Layout(_arg0
);
1439 _resultobj
= Py_None
;
1443 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1444 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1445 PyObject
* _resultobj
;
1450 wxResourceTable
* _arg3
= NULL
;
1453 PyObject
* _obj2
= 0;
1457 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1466 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1472 if (!PyString_Check(_obj2
)) {
1473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1476 _arg2
= new wxString(PyString_AsString(_obj2
));
1479 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1484 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1485 _resultobj
= Py_BuildValue("i",_result
);
1493 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1494 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1495 PyObject
* _resultobj
;
1500 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1503 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1508 wxWindow_Lower(_arg0
);
1510 _resultobj
= Py_None
;
1514 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1515 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1516 PyObject
* _resultobj
;
1523 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1526 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1531 _arg1
= (bool ) tempbool1
;
1532 wxWindow_MakeModal(_arg0
,_arg1
);
1534 _resultobj
= Py_None
;
1538 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1539 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1540 PyObject
* _resultobj
;
1547 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1555 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1557 _resultobj
= Py_None
;
1561 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1562 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1563 PyObject
* _resultobj
;
1570 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1573 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1579 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1584 wxWindow_Move(_arg0
,*_arg1
);
1586 _resultobj
= Py_None
;
1590 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1591 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1592 PyObject
* _resultobj
;
1602 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1611 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1616 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1617 _resultobj
= Py_BuildValue("i",_result
);
1621 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1622 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1623 PyObject
* _resultobj
;
1628 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1631 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1636 wxWindow_Raise(_arg0
);
1638 _resultobj
= Py_None
;
1642 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1643 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1644 PyObject
* _resultobj
;
1647 wxRect
* _arg2
= NULL
;
1653 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1661 _arg1
= (bool ) tempbool1
;
1663 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1668 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1670 _resultobj
= Py_None
;
1674 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1675 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1676 PyObject
* _resultobj
;
1681 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1684 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1689 wxWindow_ReleaseMouse(_arg0
);
1691 _resultobj
= Py_None
;
1695 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1696 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
1697 PyObject
* _resultobj
;
1703 PyObject
* _obj1
= 0;
1705 PyObject
* _obj2
= 0;
1708 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
1711 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
1717 temp
= (int) PyInt_AsLong(_obj1
);
1721 temp0
= (int) PyInt_AsLong(_obj2
);
1724 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
1726 _resultobj
= Py_None
;
1729 o
= PyInt_FromLong((long) (*_arg1
));
1730 _resultobj
= t_output_helper(_resultobj
, o
);
1734 o
= PyInt_FromLong((long) (*_arg2
));
1735 _resultobj
= t_output_helper(_resultobj
, o
);
1740 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
1741 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
1742 PyObject
* _resultobj
;
1751 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ScreenToClient",&_argc0
,&_argc1
))
1754 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
1760 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
1765 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
1766 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1767 _resultobj
= Py_BuildValue("s",_ptemp
);
1771 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1772 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1773 PyObject
* _resultobj
;
1777 wxRect
* _arg3
= NULL
;
1782 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1785 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1791 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1796 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1798 _resultobj
= Py_None
;
1802 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1803 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
1804 PyObject
* _resultobj
;
1806 wxAcceleratorTable
* _arg1
;
1811 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
1814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
1820 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1825 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
1827 _resultobj
= Py_None
;
1831 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1832 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1833 PyObject
* _resultobj
;
1840 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1843 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1848 _arg1
= (bool ) tempbool1
;
1849 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1851 _resultobj
= Py_None
;
1855 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1856 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1857 PyObject
* _resultobj
;
1864 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1873 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1878 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1880 _resultobj
= Py_None
;
1884 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1885 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1886 PyObject
* _resultobj
;
1888 wxLayoutConstraints
* _arg1
;
1893 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1902 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1907 wxWindow_SetConstraints(_arg0
,_arg1
);
1909 _resultobj
= Py_None
;
1913 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1914 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1915 PyObject
* _resultobj
;
1922 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1930 _arg1
= (bool ) tempbool1
;
1931 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1933 _resultobj
= Py_None
;
1937 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1938 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1939 PyObject
* _resultobj
;
1944 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1947 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1952 wxWindow_SetFocus(_arg0
);
1954 _resultobj
= Py_None
;
1958 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1959 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1960 PyObject
* _resultobj
;
1967 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1970 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1976 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1981 wxWindow_SetFont(_arg0
,*_arg1
);
1983 _resultobj
= Py_None
;
1987 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1988 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1989 PyObject
* _resultobj
;
1996 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1999 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2005 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2010 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2012 _resultobj
= Py_None
;
2016 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2017 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2018 PyObject
* _resultobj
;
2024 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
2027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2032 wxWindow_SetId(_arg0
,_arg1
);
2034 _resultobj
= Py_None
;
2038 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2039 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2040 PyObject
* _resultobj
;
2044 PyObject
* _obj1
= 0;
2047 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
2050 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2056 if (!PyString_Check(_obj1
)) {
2057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2060 _arg1
= new wxString(PyString_AsString(_obj1
));
2062 wxWindow_SetName(_arg0
,*_arg1
);
2064 _resultobj
= Py_None
;
2072 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
2073 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
2074 PyObject
* _resultobj
;
2080 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
2083 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
2088 wxWindow_SetReturnCode(_arg0
,_arg1
);
2090 _resultobj
= Py_None
;
2094 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2095 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2096 PyObject
* _resultobj
;
2107 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2110 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2115 _arg5
= (bool ) tempbool5
;
2116 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2118 _resultobj
= Py_None
;
2122 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2123 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2124 PyObject
* _resultobj
;
2133 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
2136 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2141 _arg3
= (bool ) tempbool3
;
2142 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2144 _resultobj
= Py_None
;
2148 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2149 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2150 PyObject
* _resultobj
;
2156 int _arg5
= (wxSIZE_AUTO
);
2160 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2168 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2170 _resultobj
= Py_None
;
2174 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2175 self
->SetSize(size
.x
, size
.y
);
2177 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2178 PyObject
* _resultobj
;
2185 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2188 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2194 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2199 wxWindow_SetSize(_arg0
,*_arg1
);
2201 _resultobj
= Py_None
;
2205 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2206 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2208 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2209 PyObject
* _resultobj
;
2216 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2225 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2230 wxWindow_SetPosition(_arg0
,*_arg1
);
2232 _resultobj
= Py_None
;
2236 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2237 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2238 PyObject
* _resultobj
;
2249 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2252 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2257 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2259 _resultobj
= Py_None
;
2263 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2264 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2265 PyObject
* _resultobj
;
2272 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2275 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2280 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2282 _resultobj
= Py_None
;
2286 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2287 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2288 PyObject
* _resultobj
;
2295 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2298 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2304 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2309 wxWindow_SetClientSize(_arg0
,*_arg1
);
2311 _resultobj
= Py_None
;
2315 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2316 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2317 PyObject
* _resultobj
;
2324 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2327 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2333 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2338 wxWindow_SetCursor(_arg0
,*_arg1
);
2340 _resultobj
= Py_None
;
2344 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2345 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2346 PyObject
* _resultobj
;
2350 PyObject
* _obj1
= 0;
2353 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2356 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2362 if (!PyString_Check(_obj1
)) {
2363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2366 _arg1
= new wxString(PyString_AsString(_obj1
));
2368 wxWindow_SetTitle(_arg0
,*_arg1
);
2370 _resultobj
= Py_None
;
2378 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2379 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2380 PyObject
* _resultobj
;
2388 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2391 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2396 _arg1
= (bool ) tempbool1
;
2397 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2398 _resultobj
= Py_BuildValue("i",_result
);
2402 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2403 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2404 PyObject
* _resultobj
;
2410 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2418 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2419 _resultobj
= Py_BuildValue("i",_result
);
2423 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2424 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2425 PyObject
* _resultobj
;
2431 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2434 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2439 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2440 _resultobj
= Py_BuildValue("i",_result
);
2444 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2445 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2446 PyObject
* _resultobj
;
2452 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2460 _result
= (bool )wxWindow_Validate(_arg0
);
2461 _resultobj
= Py_BuildValue("i",_result
);
2465 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2466 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2467 PyObject
* _resultobj
;
2474 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2477 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2482 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2484 _resultobj
= Py_None
;
2488 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2489 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2490 PyObject
* _resultobj
;
2499 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2502 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2508 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2513 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2514 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2515 _resultobj
= Py_BuildValue("s",_ptemp
);
2519 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2520 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2521 PyObject
* _resultobj
;
2530 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2533 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2539 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2544 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2545 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2546 _resultobj
= Py_BuildValue("s",_ptemp
);
2550 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2551 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2552 PyObject
* _resultobj
;
2561 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2570 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2575 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2576 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2577 _resultobj
= Py_BuildValue("s",_ptemp
);
2581 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2582 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2583 PyObject
* _resultobj
;
2592 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2595 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2601 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2606 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2607 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2608 _resultobj
= Py_BuildValue("s",_ptemp
);
2612 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2613 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
2614 PyObject
* _resultobj
;
2618 PyObject
* _obj1
= 0;
2621 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
2624 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
2630 if (!PyString_Check(_obj1
)) {
2631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2634 _arg1
= new wxString(PyString_AsString(_obj1
));
2636 wxWindow_SetToolTipString(_arg0
,*_arg1
);
2638 _resultobj
= Py_None
;
2646 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2647 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
2648 PyObject
* _resultobj
;
2655 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
2658 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
2664 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
2669 wxWindow_SetToolTip(_arg0
,_arg1
);
2671 _resultobj
= Py_None
;
2675 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
2676 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
2677 PyObject
* _resultobj
;
2678 wxToolTip
* _result
;
2684 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
2687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
2692 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
2693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2694 _resultobj
= Py_BuildValue("s",_ptemp
);
2698 static void *SwigwxPanelTowxWindow(void *ptr
) {
2701 src
= (wxPanel
*) ptr
;
2702 dest
= (wxWindow
*) src
;
2703 return (void *) dest
;
2706 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2709 src
= (wxPanel
*) ptr
;
2710 dest
= (wxEvtHandler
*) src
;
2711 return (void *) dest
;
2714 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2715 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2716 PyObject
* _resultobj
;
2720 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2721 wxSize
* _arg3
= &wxPyDefaultSize
;
2722 long _arg4
= (wxTAB_TRAVERSAL
);
2723 char * _arg5
= "panel";
2730 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2733 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2739 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2745 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2750 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2752 _resultobj
= Py_BuildValue("s",_ptemp
);
2756 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2757 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2758 PyObject
* _resultobj
;
2763 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2771 wxPanel_InitDialog(_arg0
);
2773 _resultobj
= Py_None
;
2777 static void *SwigwxDialogTowxPanel(void *ptr
) {
2780 src
= (wxDialog
*) ptr
;
2781 dest
= (wxPanel
*) src
;
2782 return (void *) dest
;
2785 static void *SwigwxDialogTowxWindow(void *ptr
) {
2788 src
= (wxDialog
*) ptr
;
2789 dest
= (wxWindow
*) src
;
2790 return (void *) dest
;
2793 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2796 src
= (wxDialog
*) ptr
;
2797 dest
= (wxEvtHandler
*) src
;
2798 return (void *) dest
;
2801 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2802 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2803 PyObject
* _resultobj
;
2808 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2809 wxSize
* _arg4
= &wxPyDefaultSize
;
2810 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2811 char * _arg6
= "dialogBox";
2813 PyObject
* _obj2
= 0;
2819 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2828 if (!PyString_Check(_obj2
)) {
2829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2832 _arg2
= new wxString(PyString_AsString(_obj2
));
2835 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2841 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2846 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2848 _resultobj
= Py_BuildValue("s",_ptemp
);
2856 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2857 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2858 PyObject
* _resultobj
;
2860 int _arg1
= (wxBOTH
);
2864 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2872 wxDialog_Centre(_arg0
,_arg1
);
2874 _resultobj
= Py_None
;
2878 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2879 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2880 PyObject
* _resultobj
;
2886 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2889 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2894 wxDialog_EndModal(_arg0
,_arg1
);
2896 _resultobj
= Py_None
;
2900 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2901 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2902 PyObject
* _resultobj
;
2908 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2911 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2916 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2918 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2926 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2927 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2928 PyObject
* _resultobj
;
2935 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2943 _arg1
= (bool ) tempbool1
;
2944 wxDialog_Iconize(_arg0
,_arg1
);
2946 _resultobj
= Py_None
;
2950 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2951 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2952 PyObject
* _resultobj
;
2958 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2961 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2966 _result
= (bool )wxDialog_IsIconized(_arg0
);
2967 _resultobj
= Py_BuildValue("i",_result
);
2971 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2972 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2973 PyObject
* _resultobj
;
2980 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2983 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2988 _arg1
= (bool ) tempbool1
;
2989 wxDialog_SetModal(_arg0
,_arg1
);
2991 _resultobj
= Py_None
;
2995 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2996 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2997 PyObject
* _resultobj
;
3003 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
3006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3011 _result
= (bool )wxDialog_IsModal(_arg0
);
3012 _resultobj
= Py_BuildValue("i",_result
);
3016 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3017 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3018 PyObject
* _resultobj
;
3022 PyObject
* _obj1
= 0;
3025 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
3028 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3034 if (!PyString_Check(_obj1
)) {
3035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3038 _arg1
= new wxString(PyString_AsString(_obj1
));
3040 wxDialog_SetTitle(_arg0
,*_arg1
);
3042 _resultobj
= Py_None
;
3050 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3051 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3052 PyObject
* _resultobj
;
3060 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
3063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3068 _arg1
= (bool ) tempbool1
;
3069 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3070 _resultobj
= Py_BuildValue("i",_result
);
3074 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3075 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3076 PyObject
* _resultobj
;
3082 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
3085 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3090 _result
= (int )wxDialog_ShowModal(_arg0
);
3091 _resultobj
= Py_BuildValue("i",_result
);
3095 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3096 wxScrolledWindow
*src
;
3098 src
= (wxScrolledWindow
*) ptr
;
3099 dest
= (wxWindow
*) src
;
3100 return (void *) dest
;
3103 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3104 wxScrolledWindow
*src
;
3106 src
= (wxScrolledWindow
*) ptr
;
3107 dest
= (wxEvtHandler
*) src
;
3108 return (void *) dest
;
3111 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3112 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3113 PyObject
* _resultobj
;
3114 wxScrolledWindow
* _result
;
3116 wxWindowID _arg1
= -1;
3117 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3118 wxSize
* _arg3
= &wxPyDefaultSize
;
3119 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
3120 char * _arg5
= "scrolledWindow";
3127 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3136 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3142 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3147 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3149 _resultobj
= Py_BuildValue("s",_ptemp
);
3153 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3154 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3155 PyObject
* _resultobj
;
3156 wxScrolledWindow
* _arg0
;
3164 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3167 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3172 _arg1
= (bool ) tempbool1
;
3173 _arg2
= (bool ) tempbool2
;
3174 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3176 _resultobj
= Py_None
;
3180 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3181 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3182 PyObject
* _resultobj
;
3183 wxScrolledWindow
* _arg0
;
3197 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3200 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3205 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3207 _resultobj
= Py_None
;
3210 o
= PyInt_FromLong((long) (*_arg1
));
3211 _resultobj
= t_output_helper(_resultobj
, o
);
3215 o
= PyInt_FromLong((long) (*_arg2
));
3216 _resultobj
= t_output_helper(_resultobj
, o
);
3221 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3222 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3223 PyObject
* _resultobj
;
3224 wxScrolledWindow
* _arg0
;
3238 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3246 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3248 _resultobj
= Py_None
;
3251 o
= PyInt_FromLong((long) (*_arg1
));
3252 _resultobj
= t_output_helper(_resultobj
, o
);
3256 o
= PyInt_FromLong((long) (*_arg2
));
3257 _resultobj
= t_output_helper(_resultobj
, o
);
3262 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3263 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3264 PyObject
* _resultobj
;
3266 wxScrolledWindow
* _arg0
;
3270 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3278 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3279 _resultobj
= Py_BuildValue("i",_result
);
3283 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3284 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3285 PyObject
* _resultobj
;
3286 wxScrolledWindow
* _arg0
;
3292 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3295 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3301 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3306 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3308 _resultobj
= Py_None
;
3312 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3313 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3314 PyObject
* _resultobj
;
3315 wxScrolledWindow
* _arg0
;
3321 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3324 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3329 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3331 _resultobj
= Py_None
;
3335 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3336 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3337 PyObject
* _resultobj
;
3338 wxScrolledWindow
* _arg0
;
3348 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3356 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3358 _resultobj
= Py_None
;
3362 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3363 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3364 PyObject
* _resultobj
;
3365 wxScrolledWindow
* _arg0
;
3379 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3382 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3387 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3389 _resultobj
= Py_None
;
3392 o
= PyInt_FromLong((long) (*_arg1
));
3393 _resultobj
= t_output_helper(_resultobj
, o
);
3397 o
= PyInt_FromLong((long) (*_arg2
));
3398 _resultobj
= t_output_helper(_resultobj
, o
);
3403 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3406 src
= (wxMenu
*) ptr
;
3407 dest
= (wxEvtHandler
*) src
;
3408 return (void *) dest
;
3411 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3412 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3413 PyObject
* _resultobj
;
3415 wxString
* _arg0
= &wxPyEmptyStr
;
3416 PyObject
* _obj0
= 0;
3420 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3424 if (!PyString_Check(_obj0
)) {
3425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3428 _arg0
= new wxString(PyString_AsString(_obj0
));
3430 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3432 _resultobj
= Py_BuildValue("s",_ptemp
);
3440 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3441 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3442 PyObject
* _resultobj
;
3446 wxString
* _arg3
= &wxPyEmptyStr
;
3449 PyObject
* _obj2
= 0;
3450 PyObject
* _obj3
= 0;
3453 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3462 if (!PyString_Check(_obj2
)) {
3463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3466 _arg2
= new wxString(PyString_AsString(_obj2
));
3470 if (!PyString_Check(_obj3
)) {
3471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3474 _arg3
= new wxString(PyString_AsString(_obj3
));
3476 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3478 _resultobj
= Py_None
;
3490 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3491 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3492 PyObject
* _resultobj
;
3497 wxString
* _arg4
= &wxPyEmptyStr
;
3499 PyObject
* _obj2
= 0;
3501 PyObject
* _obj4
= 0;
3504 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3513 if (!PyString_Check(_obj2
)) {
3514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3517 _arg2
= new wxString(PyString_AsString(_obj2
));
3520 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3527 if (!PyString_Check(_obj4
)) {
3528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3531 _arg4
= new wxString(PyString_AsString(_obj4
));
3533 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3535 _resultobj
= Py_None
;
3547 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3548 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
) {
3549 PyObject
* _resultobj
;
3556 if(!PyArg_ParseTuple(args
,"ss:wxMenu_AppendItem",&_argc0
,&_argc1
))
3559 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
3565 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenuItem_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
3570 wxMenu_AppendItem(_arg0
,_arg1
);
3572 _resultobj
= Py_None
;
3576 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3577 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3578 PyObject
* _resultobj
;
3583 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3586 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3591 wxMenu_AppendSeparator(_arg0
);
3593 _resultobj
= Py_None
;
3597 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3598 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3599 PyObject
* _resultobj
;
3604 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3612 wxMenu_Break(_arg0
);
3614 _resultobj
= Py_None
;
3618 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3619 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3620 PyObject
* _resultobj
;
3628 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3631 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3636 _arg2
= (bool ) tempbool2
;
3637 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3639 _resultobj
= Py_None
;
3643 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3644 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3645 PyObject
* _resultobj
;
3653 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3661 _arg2
= (bool ) tempbool2
;
3662 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3664 _resultobj
= Py_None
;
3668 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3669 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3670 PyObject
* _resultobj
;
3675 PyObject
* _obj1
= 0;
3678 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3681 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3687 if (!PyString_Check(_obj1
)) {
3688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3691 _arg1
= new wxString(PyString_AsString(_obj1
));
3693 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3694 _resultobj
= Py_BuildValue("i",_result
);
3702 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
3703 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
3704 PyObject
* _resultobj
;
3710 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
3713 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
3718 _result
= new wxString (wxMenu_GetTitle(_arg0
));
3720 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3728 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3729 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
3730 PyObject
* _resultobj
;
3734 PyObject
* _obj1
= 0;
3737 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
3740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
3746 if (!PyString_Check(_obj1
)) {
3747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3750 _arg1
= new wxString(PyString_AsString(_obj1
));
3752 wxMenu_SetTitle(_arg0
,*_arg1
);
3754 _resultobj
= Py_None
;
3762 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3763 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3764 PyObject
* _resultobj
;
3765 wxMenuItem
* _result
;
3772 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3780 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3782 _resultobj
= Py_BuildValue("s",_ptemp
);
3786 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3787 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3788 PyObject
* _resultobj
;
3795 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3798 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3803 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3805 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3813 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3814 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3815 PyObject
* _resultobj
;
3822 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3830 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3832 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3840 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3841 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3842 PyObject
* _resultobj
;
3847 PyObject
* _obj2
= 0;
3850 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3859 if (!PyString_Check(_obj2
)) {
3860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3863 _arg2
= new wxString(PyString_AsString(_obj2
));
3865 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3867 _resultobj
= Py_None
;
3875 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3876 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3877 PyObject
* _resultobj
;
3884 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3887 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3892 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3893 _resultobj
= Py_BuildValue("i",_result
);
3897 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3898 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3899 PyObject
* _resultobj
;
3906 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3909 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3914 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3915 _resultobj
= Py_BuildValue("i",_result
);
3919 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3920 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3921 PyObject
* _resultobj
;
3926 PyObject
* _obj2
= 0;
3929 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3932 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3938 if (!PyString_Check(_obj2
)) {
3939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3942 _arg2
= new wxString(PyString_AsString(_obj2
));
3944 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3946 _resultobj
= Py_None
;
3954 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3957 src
= (wxPyMenu
*) ptr
;
3958 dest
= (wxMenu
*) src
;
3959 return (void *) dest
;
3962 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3965 src
= (wxPyMenu
*) ptr
;
3966 dest
= (wxEvtHandler
*) src
;
3967 return (void *) dest
;
3970 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3971 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3972 PyObject
* _resultobj
;
3974 wxString
* _arg0
= &wxPyEmptyStr
;
3975 PyObject
* _arg1
= NULL
;
3976 PyObject
* _obj0
= 0;
3977 PyObject
* _obj1
= 0;
3981 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3985 if (!PyString_Check(_obj0
)) {
3986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3989 _arg0
= new wxString(PyString_AsString(_obj0
));
3995 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3997 _resultobj
= Py_BuildValue("s",_ptemp
);
4005 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
4006 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4007 PyObject
* _resultobj
;
4012 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
4015 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
4020 delete_wxPyMenu(_arg0
);
4022 _resultobj
= Py_None
;
4026 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4029 src
= (wxMenuBar
*) ptr
;
4030 dest
= (wxEvtHandler
*) src
;
4031 return (void *) dest
;
4034 #define new_wxMenuBar() (new wxMenuBar())
4035 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4036 PyObject
* _resultobj
;
4037 wxMenuBar
* _result
;
4041 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4043 _result
= (wxMenuBar
*)new_wxMenuBar();
4044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4045 _resultobj
= Py_BuildValue("s",_ptemp
);
4049 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4050 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4051 PyObject
* _resultobj
;
4057 PyObject
* _obj2
= 0;
4060 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
4063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4069 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
4070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4075 if (!PyString_Check(_obj2
)) {
4076 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4079 _arg2
= new wxString(PyString_AsString(_obj2
));
4081 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
4083 _resultobj
= Py_None
;
4091 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4092 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
4093 PyObject
* _resultobj
;
4101 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
4104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4109 _arg2
= (bool ) tempbool2
;
4110 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
4112 _resultobj
= Py_None
;
4116 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4117 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
4118 PyObject
* _resultobj
;
4125 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
4128 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4133 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
4134 _resultobj
= Py_BuildValue("i",_result
);
4138 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4139 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
4140 PyObject
* _resultobj
;
4148 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
4151 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4156 _arg2
= (bool ) tempbool2
;
4157 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
4159 _resultobj
= Py_None
;
4163 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4164 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
4165 PyObject
* _resultobj
;
4172 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
4175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4180 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4181 _resultobj
= Py_BuildValue("i",_result
);
4185 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4186 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4187 PyObject
* _resultobj
;
4193 PyObject
* _obj1
= 0;
4194 PyObject
* _obj2
= 0;
4197 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
4200 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4206 if (!PyString_Check(_obj1
)) {
4207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4210 _arg1
= new wxString(PyString_AsString(_obj1
));
4213 if (!PyString_Check(_obj2
)) {
4214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4217 _arg2
= new wxString(PyString_AsString(_obj2
));
4219 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
4220 _resultobj
= Py_BuildValue("i",_result
);
4232 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4233 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
4234 PyObject
* _resultobj
;
4235 wxMenuItem
* _result
;
4242 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
4245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4250 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
4251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4252 _resultobj
= Py_BuildValue("s",_ptemp
);
4256 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
4257 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
4258 PyObject
* _resultobj
;
4266 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_EnableTop",&_argc0
,&_arg1
,&tempbool2
))
4269 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
4274 _arg2
= (bool ) tempbool2
;
4275 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
4277 _resultobj
= Py_None
;
4281 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4282 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
4283 PyObject
* _resultobj
;
4290 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetHelpString",&_argc0
,&_arg1
))
4293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
4298 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
4300 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4308 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4309 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
4310 PyObject
* _resultobj
;
4317 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabel",&_argc0
,&_arg1
))
4320 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
4325 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
4327 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4335 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4336 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
4337 PyObject
* _resultobj
;
4342 PyObject
* _obj2
= 0;
4345 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4348 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
4354 if (!PyString_Check(_obj2
)) {
4355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4358 _arg2
= new wxString(PyString_AsString(_obj2
));
4360 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
4362 _resultobj
= Py_None
;
4370 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4371 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
4372 PyObject
* _resultobj
;
4377 PyObject
* _obj2
= 0;
4380 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
4389 if (!PyString_Check(_obj2
)) {
4390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4393 _arg2
= new wxString(PyString_AsString(_obj2
));
4395 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
4397 _resultobj
= Py_None
;
4405 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
4406 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
4407 PyObject
* _resultobj
;
4414 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabelTop",&_argc0
,&_arg1
))
4417 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
4422 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
4424 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4432 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
4433 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
4434 PyObject
* _resultobj
;
4439 PyObject
* _obj2
= 0;
4442 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabelTop",&_argc0
,&_arg1
,&_obj2
))
4445 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
4451 if (!PyString_Check(_obj2
)) {
4452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4455 _arg2
= new wxString(PyString_AsString(_obj2
));
4457 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
4459 _resultobj
= Py_None
;
4467 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4468 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4469 PyObject
* _resultobj
;
4475 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4478 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4483 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4484 _resultobj
= Py_BuildValue("i",_result
);
4488 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4489 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4490 PyObject
* _resultobj
;
4498 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
4501 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
4506 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
4507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4508 _resultobj
= Py_BuildValue("s",_ptemp
);
4512 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
4513 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
4514 PyObject
* _resultobj
;
4520 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
4523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
4528 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
4529 _resultobj
= Py_BuildValue("i",_result
);
4533 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
4534 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
4535 PyObject
* _resultobj
;
4541 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
4544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
4549 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
4550 _resultobj
= Py_BuildValue("i",_result
);
4554 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
4555 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
4556 PyObject
* _resultobj
;
4562 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
4565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
4570 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
4571 _resultobj
= Py_BuildValue("i",_result
);
4575 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4576 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4577 PyObject
* _resultobj
;
4583 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4586 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4591 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4592 _resultobj
= Py_BuildValue("i",_result
);
4596 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4597 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4598 PyObject
* _resultobj
;
4604 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4612 _result
= (int )wxMenuItem_GetId(_arg0
);
4613 _resultobj
= Py_BuildValue("i",_result
);
4617 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4618 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4619 PyObject
* _resultobj
;
4626 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4634 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4636 _resultobj
= Py_BuildValue("s",_ptemp
);
4640 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4641 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4642 PyObject
* _resultobj
;
4646 PyObject
* _obj1
= 0;
4649 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4652 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4658 if (!PyString_Check(_obj1
)) {
4659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4662 _arg1
= new wxString(PyString_AsString(_obj1
));
4664 wxMenuItem_SetName(_arg0
,*_arg1
);
4666 _resultobj
= Py_None
;
4674 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4675 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4676 PyObject
* _resultobj
;
4682 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4685 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4690 const wxString
& _result_ref
= wxMenuItem_GetName(_arg0
);
4691 _result
= (wxString
*) &_result_ref
;
4693 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4698 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4699 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4700 PyObject
* _resultobj
;
4706 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4714 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
4715 _result
= (wxString
*) &_result_ref
;
4717 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4722 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4723 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4724 PyObject
* _resultobj
;
4728 PyObject
* _obj1
= 0;
4731 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4734 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4740 if (!PyString_Check(_obj1
)) {
4741 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4744 _arg1
= new wxString(PyString_AsString(_obj1
));
4746 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4748 _resultobj
= Py_None
;
4756 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4757 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4758 PyObject
* _resultobj
;
4765 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
4768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
4773 _arg1
= (bool ) tempbool1
;
4774 wxMenuItem_Enable(_arg0
,_arg1
);
4776 _resultobj
= Py_None
;
4780 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4781 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
4782 PyObject
* _resultobj
;
4789 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
4792 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
4797 _arg1
= (bool ) tempbool1
;
4798 wxMenuItem_Check(_arg0
,_arg1
);
4800 _resultobj
= Py_None
;
4804 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
4805 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
4806 PyObject
* _resultobj
;
4811 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_DeleteSubMenu",&_argc0
))
4814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
4819 wxMenuItem_DeleteSubMenu(_arg0
);
4821 _resultobj
= Py_None
;
4825 static PyMethodDef windowscMethods
[] = {
4826 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, 1 },
4827 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
4828 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
4829 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
4830 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
4831 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
4832 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
4833 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
4834 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
4835 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
4836 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4837 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4838 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4839 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4840 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4841 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, 1 },
4842 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, 1 },
4843 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, 1 },
4844 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, 1 },
4845 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, 1 },
4846 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, 1 },
4847 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, 1 },
4848 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4849 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4850 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4851 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4852 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4853 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4854 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4855 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4856 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4857 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4858 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4859 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4860 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4861 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4862 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4863 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4864 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4865 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
4866 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
4867 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4868 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4869 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4870 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4871 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4872 { "wxMenu_AppendItem", _wrap_wxMenu_AppendItem
, 1 },
4873 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4874 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4875 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4876 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4877 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4878 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4879 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4880 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4881 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4882 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4883 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4884 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4885 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4886 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4887 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4888 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4889 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4890 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4891 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4892 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4893 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4894 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4895 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4896 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4897 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4898 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
4899 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
4900 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
4901 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
4902 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
4903 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
4904 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
4905 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
4906 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4907 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4908 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4909 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4910 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4911 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4912 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
4913 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
4914 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4915 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4916 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4917 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4918 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4919 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4920 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4921 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4922 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4923 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4924 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4925 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4926 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4927 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4928 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4929 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4930 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
4931 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4932 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
4933 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
4934 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4935 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4936 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4937 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4938 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
4939 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
4940 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4941 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4942 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4943 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4944 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4945 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4946 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4947 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4948 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4949 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4950 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
4951 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4952 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
4953 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
4954 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4955 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4956 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4957 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4958 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
4959 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
4960 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
4961 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4962 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4963 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4964 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4965 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4966 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4967 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4968 { "wxWindow_GetDefaultItem", _wrap_wxWindow_GetDefaultItem
, 1 },
4969 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4970 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4971 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
4972 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4973 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4974 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4975 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4976 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4977 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
4978 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4979 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, 1 },
4980 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4981 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4982 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4983 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
4984 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
4985 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4986 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4987 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4988 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4989 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4990 { "wxWindow_FromHWND", _wrap_wxWindow_FromHWND
, 1 },
4991 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, 1 },
4994 static PyObject
*SWIG_globals
;
4998 SWIGEXPORT(void,initwindowsc
)() {
5000 SWIG_globals
= SWIG_newvarlink();
5001 m
= Py_InitModule("windowsc", windowscMethods
);
5002 d
= PyModule_GetDict(m
);
5004 * These are the pointer type-equivalency mappings.
5005 * (Used by the SWIG pointer type-checker).
5007 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5008 SWIG_RegisterMapping("_signed_long","_long",0);
5009 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5010 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5011 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5012 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5013 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5014 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5015 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5016 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5017 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5018 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5019 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5020 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5021 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5022 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5023 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5024 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5025 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5026 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5027 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5028 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5029 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5030 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
5031 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5032 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5033 SWIG_RegisterMapping("_long","_wxDash",0);
5034 SWIG_RegisterMapping("_long","_unsigned_long",0);
5035 SWIG_RegisterMapping("_long","_signed_long",0);
5036 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5037 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5038 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5039 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5040 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
5041 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5042 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5043 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5044 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5045 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
5046 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5047 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5048 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5049 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5050 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5051 SWIG_RegisterMapping("_uint","_int",0);
5052 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5053 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5054 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5055 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5056 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5057 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5058 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5059 SWIG_RegisterMapping("_EBool","_signed_int",0);
5060 SWIG_RegisterMapping("_EBool","_int",0);
5061 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5062 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5063 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5064 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5065 SWIG_RegisterMapping("_unsigned_long","_long",0);
5066 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5067 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5068 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5069 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5070 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5071 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5072 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5073 SWIG_RegisterMapping("_signed_int","_EBool",0);
5074 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5075 SWIG_RegisterMapping("_signed_int","_int",0);
5076 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5077 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
5078 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
5079 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
5080 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5081 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5082 SWIG_RegisterMapping("_WXTYPE","_short",0);
5083 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5084 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5085 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5086 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5087 SWIG_RegisterMapping("_unsigned_short","_short",0);
5088 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5089 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5090 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5091 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5092 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5093 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5094 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5095 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5096 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5097 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5098 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5099 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5100 SWIG_RegisterMapping("_signed_short","_short",0);
5101 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5102 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5103 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5104 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5105 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5106 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5107 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5108 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
5109 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
5110 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
5111 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5112 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5113 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5114 SWIG_RegisterMapping("_unsigned_int","_int",0);
5115 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5116 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5117 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5118 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5119 SWIG_RegisterMapping("_short","_WXTYPE",0);
5120 SWIG_RegisterMapping("_short","_unsigned_short",0);
5121 SWIG_RegisterMapping("_short","_signed_short",0);
5122 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5123 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5124 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5125 SWIG_RegisterMapping("_wxWindowID","_int",0);
5126 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5127 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5128 SWIG_RegisterMapping("_int","_EBool",0);
5129 SWIG_RegisterMapping("_int","_uint",0);
5130 SWIG_RegisterMapping("_int","_wxWindowID",0);
5131 SWIG_RegisterMapping("_int","_unsigned_int",0);
5132 SWIG_RegisterMapping("_int","_signed_int",0);
5133 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5134 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5135 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
5136 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5137 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5138 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5139 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5140 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5141 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5142 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5143 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5144 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5145 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5146 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5147 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5148 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5149 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5150 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5151 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5152 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5153 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5154 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5155 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5156 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5157 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5158 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5159 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5160 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5161 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5162 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5163 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5164 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5165 SWIG_RegisterMapping("_wxDash","_long",0);
5166 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5167 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5168 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5169 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5170 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5171 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5172 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5173 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5174 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);